bildwelt
E2E FORUM
E2E Bridge E2E Commerce

RFC WSDL Generator Error: The SAP function name (RFC/BAPI)is not set

E2E Forum Modeling & Development RFC WSDL Generator Error: The SAP function name (RFC/BAPI)is not set

This topic contains 6 replies, has 2 voices, and was last updated by  marcusr 2 years, 6 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1905

    marcusr
    Participant

    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

    #1906

    Andi
    Moderator

    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.

    Regards,
    Andi

    #1907

    marcusr
    Participant

    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.

    <?xml version=”1.0″ encoding=”utf-8″?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:SOAP-ENC=”http://schemas.xmlsoap.org/soap/encoding/” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”>
    <SOAP-ENV:Body>
    <ns0:LaunchRFCWSDLDataFromResponse xmlns:ns0=”urn:uml:imported:LaunchWSDLGenerator” fldInputFile=”” fldOutputPath=”c:\”></ns0:LaunchRFCWSDLDataFromResponse> </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    ]]
    [2015-05-13 08:18:55 +0200][0000000000][Debug][External][SOAPADLM][SOAP_REQUEST][[91][POST /RFC_WSDL_GeneratorService/LaunchWSDLGeneratorPort HTTP/1.1
    user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
    accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    accept-language: nl,en-US;q=0.7,en;q=0.3
    accept-encoding: gzip, deflate
    content-type: text/xml; charset=UTF-8
    soapaction: urn:launchRFCWSDL2ConfirmByLaunchWSDLGeneration
    referer: https://msappsrv03.msmode.lan:8080/admin/ui/RFC_WSDL_Generator//ui/LaunchWSDLGenerator.html
    cookie: JSESSIONID=256541097ABD6A970B1C428C76133888; tree_e2etree=%5B%220%22%2C%225%22%2C%226%22%2C%2210%22%2C%2224%22%5D
    connection: keep-alive
    pragma: no-cache
    cache-control: no-cache
    Host: msappsrv03.msmode.lan:19610
    Content-Length: 292

    <soap:Envelope xmlns:soap=’http://schemas.xmlsoap.org/soap/envelope/’><soap:Body ><ns1:LaunchRFCWSDLDataForRequest xmlns:ns1=’urn:uml:imported:LaunchWSDLGenerator’ fldOutputPath=”c:\output” fldRFClist=”BAPI_MATERIAL_AVAILABILITY”></ns1:LaunchRFCWSDLDataForRequest></soap:Body></soap:Envelope>]]
    [2015-05-13 08:18:55 +0200][0000000000][Info][User][AppLog][A00][RFC-WSDL-Generation started]
    [2015-05-13 08:18:55 +0200][0000000000][Info][User][AppLog][A02][This SAP system is running on a one-byte charset.]
    [2015-05-13 08:18:55 +0200][0000000000][Info][User][AppLog][A01][Get metainfo of RFC : BAPI_MATERIAL_AVAILABILITY]
    [2015-05-13 08:18:55 +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-13 08:18:55 +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-13 08:18:55 +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-13 08:18:55 +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-13 08:18:55 +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-13 08:18:55 +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-13 08:18:55 +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-13 08:18:55 +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-13 08:18:55 +0200][0000000000][Info][User][AppLog][A06][Generating interface classes for function: BAPI_MATERIAL_AVAILABILITY]
    [2015-05-13 08:18:55 +0200][0000000000][Info][User][AppLog][A07][Generating WSDL classes for function: BAPI_MATERIAL_AVAILABILITY]
    [2015-05-13 08:18:55 +0200][0000000000][Info][User][AppLog][A09][Writing WSDL definition as file for function: BAPI_MATERIAL_AVAILABILITY]
    [2015-05-13 08:18:55 +0200][0000000000][Info][User][AppLog][A05][Successful generation of: BAPI_MATERIAL_AVAILABILITY]
    [2015-05-13 08:18:55 +0200][0000000000][Info][User][AppLog][A10][RFC-WSDL-Generation finished]
    [2015-05-13 08:18:55 +0200][0000000034][Debug][External][SOAPADLM][SOAP_RESPONSE][[91][HTTP/1.0 200 OK
    Server: E2E-Bridge/2014.14
    Pragma: no-cache
    Content-Type: text/xml; charset=utf-8
    Content-Length: 466
    Cache-control: no-cache

    <?xml version=”1.0″ encoding=”utf-8″?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:SOAP-ENC=”http://schemas.xmlsoap.org/soap/encoding/” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”>
    <SOAP-ENV:Body>
    <ns0:ConfirmDataFromResponse xmlns:ns0=”urn:uml:imported:LaunchWSDLGenerator” fldOutputPath=”c:\output”></ns0:ConfirmDataFromResponse> </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    ]]
    [2015-05-13 08:18:56 +0200][0000000000][Debug][External][SOAPADLM][SOAP_REQUEST][[92][POST /RFC_WSDL_GeneratorService/LaunchWSDLGeneratorPort HTTP/1.1
    user-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0
    accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    accept-language: nl,en-US;q=0.7,en;q=0.3
    accept-encoding: gzip, deflate
    content-type: text/xml; charset=UTF-8
    soapaction: urn:confirm2LaunchRFCWSDLByOK
    referer: https://msappsrv03.msmode.lan:8080/admin/ui/RFC_WSDL_Generator//ui/LaunchWSDLGenerator.html
    cookie: JSESSIONID=256541097ABD6A970B1C428C76133888; tree_e2etree=%5B%220%22%2C%225%22%2C%226%22%2C%2210%22%2C%2224%22%5D
    connection: keep-alive
    pragma: no-cache
    cache-control: no-cache
    Host: msappsrv03.msmode.lan:19610
    Content-Length: 240

    <soap:Envelope xmlns:soap=’http://schemas.xmlsoap.org/soap/envelope/’><soap:Body ><ns1:ConfirmDataForRequest xmlns:ns1=’urn:uml:imported:LaunchWSDLGenerator’ fldOutputPath=”c:\output”></ns1:ConfirmDataForRequest></soap:Body></soap:Envelope>]]
    [2015-05-13 08:18:56 +0200][0000000035][Debug][External][SOAPADLM][SOAP_RESPONSE][[92][HTTP/1.0 200 OK
    Server: E2E-Bridge/2014.14
    Pragma: no-cache
    Content-Type: text/xml; charset=utf-8
    Content-Length: 478
    Cache-control: no-cache

    <?xml version=”1.0″ encoding=”utf-8″?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:SOAP-ENC=”http://schemas.xmlsoap.org/soap/encoding/” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema”>
    <SOAP-ENV:Body>
    <ns0:LaunchRFCWSDLDataFromResponse xmlns:ns0=”urn:uml:imported:LaunchWSDLGenerator” fldOutputPath=”c:\output”></ns0:LaunchRFCWSDLDataFromResponse> </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    ]]

    I don’t understand.

    Marcus

    #1908

    Andi
    Moderator

    Hello Marcus,
    in the log I see fldOutputPath=”c:\output” and that the WSDL generation was successfully.

    Have you looked at C:\output of the machine where the RFC_WSDL_Generator was running ? There should be a file called BAPI_MATERIAL_AVAILABILITY.wsdl

    Andi

    #1909

    marcusr
    Participant

    Hi Andi,

    Yes i did, i am running it from my desktop and the console runs from a server.
    I supose the output is not saved on the server.
    I can’t access the server other then running the console via http.

    #1910

    Andi
    Moderator

    Then the file must be on the server. May you ask an operator to send you the file ?

    Another option is that you run the RFC_WSDL_Generator on your local embedded runtime environment in the E2E builder, if you are able to access SAP from your locale machine.

    Andi

    #1911

    marcusr
    Participant

    Hi Andi,

    I have checked with a systems admin who can acces the server and the output was generated on the server.
    I have to figure out a way to access this, but it does work.

    Thanks.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.