/// <summary> /// 함수의 인자 정보를 반환한다. SAP 서버에 연결되지 않은 경우, null 값을 반환. /// </summary> /// <param name="strFuncName">함수 이름</param> /// <param name="strLang">언어</param> /// <returns>SAP 함수의 인자 정보 (ADO.NET DataTable)</returns> private DataTable RFC_Get_Function_Interface(string strFuncName, string strLang) { RFC_FUNINTTable oRFCFT = null; // RFC_FUNINT 클래스 // SAP 서버에 연결되지 않은 경우, null 값을 반환하고 함수를 종료한다. if (this.Connection.IsOpen == false) { return(null); } try { oRFCFT = new RFC_FUNINTTable(); // none_unicode_length => 공백과 'X'를 사용 // 공백일 경우엔 unicode 길이를, 'X'일 경우엔 non-unicode 파라미터 길이를 반환함. RFC_GET_FUNCTION_INTERFACE(strFuncName, strLang, "X", ref oRFCFT); } catch (Exception exp) { throw exp; } return(oRFCFT.ToADODataTable()); // Converts the SAP table to an ADO.NET DataTable. }
private DataTable RFC_Get_Function_Interface(string strFuncName, string strLang) { RFC_FUNINTTable oRFCFT = null; if (this.Connection.IsOpen == false) { return(null); } try { oRFCFT = new RFC_FUNINTTable(); RFC_GET_FUNCTION_INTERFACE(strFuncName, strLang, "X", ref oRFCFT); } catch (Exception exp) { throw exp; } return(oRFCFT.ToADODataTable()); // Converts the SAP table to an ADO.NET DataTable. }