Skip to Content

How to move offline form from SAP dev to QA and Production environments?

I developed and Adobe Form that can be used offline - steps in development are as below:

1. Webservice generated out of a BAPI in SAP.

2. WSDL generated from SOAMANAGER transaction code and kept on a newtowrk folder

3. Used this WSDL to prepare the form in SAP WebDynpro view

4. generated the URL of the webservice per Dev / QA / Prod when the form is being generated out of the WebDynrpo app - function module ICM_SERVER_INFO (used here)

4. Placed a regular type button on the form and passed the URL on the click of the button

5. This worked fine in Dev system.

6. Now the transports are moved to QA. But click of the button was still pointing to the Dev system.

7. Realized that it is reading the Dev WSDL from the network drive - it still tries to submit to the dev url of the webservice

8. So generated the WSDL from SOAMANAGER fo QA and over wrote with the Dev WSDL files.

9. When I opent he Adobe Form in WebDypro in QA, it reads the new WSDLs and updates the correct URLs - I checked this in the XML of the source of the Adobe Form

10. here comes the problem - even though step 9 is done correctly, I can not save the form and activate it to reflect the new URLs - since QA is not open. Same procedure may need to be followed in case of Production also.

So the question is:

How to circumvent this issue of updating the WSDL and URL after the development transport is moved to QA and Prodcution?

Or - QA and Prod have to opened, WSDL and URl updated in change mode of form and a transport also created?

(seems to be a limitation)

(I looked a bit but did not get any pointers when I googled - may be my search is not correct).

Please advise.


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 02, 2014 at 02:07 AM

    hi Chandra,

    I store the url in one of hidden field in form, then copy javascript below to click event, button control type: Regular.

    just replace all the "<>" in the code below.

    var message;

    var response;

    // The name of the data connection will be pulled from the WSDLConnection name in the ConnectionSet packet

    var sWSDLName = <DataConnection name>;

    // clone, modify and execute the connection.

    var vConnection = xfa.connectionSet[sWSDLName].clone(true);

    vConnection.soapAddress.value = <url>;

    // Execute the connection, without remerge data after the result.

    var ws_rc = vConnection.execute(true);

    for multiple data connection, you have to repeat these code with replace different data connection name and it's url address.

    you may use script object (something like subroutine).


    Kathy Lau

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 24, 2014 at 02:20 PM

    I think there was an tool to handle that deliverd by SAP. I'm not sure, because I didn't got my documents available right now.

    A classic solution might be to have a customizable webservice-string in your interface. But I know that this got other problems behind (Syntaxcheck, Securityaspects and stuff like that)


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.