Question:
Hi,
We are facing a situation , where we want to generate an URL which can be sent to the user and he can check the status of a sales order via browser. We have ITS server. We have used the function module CREATE_URL_TRANSACTION , and have been able to generate an URL which brings the user directly to the initial screen of VA03. The URL is like following:
http: //<ITS server host IP>/scripts/wgate/webgui/!?P_VALUE=1&~client=<nnn>&~language=EN&~transaction=VA03
But the user then has to enter the order number and get the details. Can we somehow pass the order number through this URL and get the detail screen directly ?
Answer:
I didnt get any reply to te above message. Can anyone give me a method for generating an URL , where I can pass a document number and thereby skip the initial screen of SAP for selecting the document number ?
Answer:
I haven't checked tx VA03, but the trick is always the same :
http: //<ITS server host IP>/scripts/wgate/VA03/!?-FIELDNAME-=XXXX&~okcode=/0
You get the -FIELDNAME- from the technical help and the okcode depends on the transaction and which screen you wanna go next.
So your were close, but you missed the ~okcode.
This is actually a feature with a name, something like "start transaction - skip first screen".