I am trying to generate a wsdl file from the bapi_material_availability, but keep getting the same error. I can’t seem to find the field in the GUI that seems to be missing an required input value. Could someone clarify ?

[2015-05-12 15:40:26 +0200][0000000000][Info][User][AppLog][A02][This SAP system is running on a one-byte charset.] [2015-05-12 15:40:26 +0200][0000000000][Info][User][AppLog][A01][Get metainfo of RFC : BAPI_MATERIAL_AVAILABILITY] [2015-05-12 15:40:26 +0200][0000000000][Info][User][AppLog][A02][Tableinfo for: BAPIUPDATE is not supplied in BDLFIES structure. Trying to get the info with a seperate RFC call (RFC SDIXML_FIELDINFO_GET or with ECATT_SIXML_FIELD…)] [2015-05-12 15:40:26 +0200][0000000000][Info][User][AppLog][A04][Tableinfo for: BAPIUPDATE has been successfully received from SAP via RFC call RFC SDIXML_FIELDINFO_GET and appended successfully to the structure result of BDLFiesArray] [2015-05-12 15:40:26 +0200][0000000000][Info][User][AppLog][A02][Tableinfo for: BAPIMGVMATNR is not supplied in BDLFIES structure. Trying to get the info with a seperate RFC call (RFC SDIXML_FIELDINFO_GET or with ECATT_SIXML_FIELD…)] [2015-05-12 15:40:26 +0200][0000000000][Info][User][AppLog][A04][Tableinfo for: BAPIMGVMATNR has been successfully received from SAP via RFC call RFC SDIXML_FIELDINFO_GET and appended successfully to the structure result of BDLFiesArray] [2015-05-12 15:40:26 +0200][0000000000][Info][User][AppLog][A02][Tableinfo for: BAPIWMDVS is not supplied in BDLFIES structure. Trying to get the info with a seperate RFC call (RFC SDIXML_FIELDINFO_GET or with ECATT_SIXML_FIELD…)] [2015-05-12 15:40:26 +0200][0000000000][Info][User][AppLog][A04][Tableinfo for: BAPIWMDVS has been successfully received from SAP via RFC call RFC SDIXML_FIELDINFO_GET and appended successfully to the structure result of BDLFiesArray] [2015-05-12 15:40:26 +0200][0000000000][Info][User][AppLog][A02][Tableinfo for: BAPIWMDVE is not supplied in BDLFIES structure. Trying to get the info with a seperate RFC call (RFC SDIXML_FIELDINFO_GET or with ECATT_SIXML_FIELD…)] [2015-05-12 15:40:26 +0200][0000000000][Info][User][AppLog][A04][Tableinfo for: BAPIWMDVE has been successfully received from SAP via RFC call RFC SDIXML_FIELDINFO_GET and appended successfully to the structure result of BDLFiesArray] [2015-05-12 15:40:26 +0200][0000000000][Info][User][AppLog][A06][Generating interface classes for function: BAPI_MATERIAL_AVAILABILITY] [2015-05-12 15:40:26 +0200][0000000000][Info][User][AppLog][A07][Generating WSDL classes for function: BAPI_MATERIAL_AVAILABILITY] [2015-05-12 15:40:26 +0200][0000000000][Info][User][AppLog][A09][Writing WSDL definition as file for function: BAPI_MATERIAL_AVAILABILITY] [2015-05-12 15:40:26 +0200][0000000000][Info][User][AppLog][A05][Successful generation of: BAPI_MATERIAL_AVAILABILITY] [2015-05-12 15:40:26 +0200][0000000000][Error][User][UserError][U2][The SAP function name (RFC/BAPI)is not set in the input parameters.] [2015-05-12 15:40:26 +0200][0000000000][Info][User][AppLog][A10][RFC-WSDL-Generation finished] [2015-05-12 15:40:26 +0200][0000000006][Debug][External][SOAPADLM][SOAP_RESPONSE][[19][HTTP/1.0 200 OK

Hi Marcus, according the log, the WSDL file was successfully generated. Please look at the output folder you have specified. The file should be there.

The error leads probably from empty new line you have put in the input accidentally. The RFC WSDL Generator was trying to proceed this second line, but since it was empty, no function name could be found.

Hi Andi, You are correct about the error, i was adding a newline after the bapi. Without this newline, the usererror does not occur. But i am a bit lost here. There is no output, i have set the output to folder c:\output but it is empty. The logging states otherwise.