cancel
Showing results for 
Search instead for 
Did you mean: 

Handle multiple screens in the URL ITS request?

Former Member
0 Kudos

Hi guys,

Anybody knows how to handle multiple screens in a URL ITS request? (I'm using ERP 6.0 IDES)

Example:

I want to retrieve customer information by the customer name using transaction VD03.

When you call trx VD03 it asks is for the customer number (not the name). So then I have to search (press binoculars) enter the name and press enter twice to retrieve that information.

I was trying to include all this sequence in a URL ITS request, but dont know if is possible... so far I'm able to retrieve the screen to write the name but for some reason is not accepting the name:

http://sapits:8000/sap/bc/gui/sap/its/webgui/?transaction=vd03&okcode=/ESRCH&ADDR1_DATA-NAME1=John%20Woods

It shows the screen to enter the name but it doesnt write "John Woods".

Any ideas?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

this does not work, since you try to fill fields of the second screen - that's not supported.

I suggest to use the good old match code syntax. Should be something like this:

...&transaction=vd03%20RF02D-KUNNR=%3DF....hugo&okcode=/0

where %3D escapes the '=' used for invoking the search and 'F' is the matchcode ID of

interest. Each dot selects the next entry field of the matchcode (search help).

Check it out, it works for me.

best regards

Tobias

thorsten_domsalla
Active Participant
0 Kudos

Hi Tobias,

shouldn't it read

...&transaction=*vd03%20RF02D-KUNNR=%3DF....hugo&okcode=/0

(note the '*' before vd03)?

Best regards,

TJ

Former Member
0 Kudos

Thanks a lot!

that solved my problem

Jessica.

Former Member
0 Kudos

Hi Jessica,

I am happy to read this! But please keep in mind, that SAP strongly recommends not

to use ~okcode anymore. Instead you should use the new syntax using DYNP_OKCODE.

You may find information about this topic in our article

' How to prefill fields and skip first screen with webgui?'

in the WIKI FAQ section.

regards and happy ITSing

Tobias

Former Member
0 Kudos

Hello Thobias,

I have given okcode in my SAP Transaction. It is opening a popup.

I would like to fill a field in this pop up and give one more ok-code.

COuld you please tell me how to prepare URL for this.

Can you give me any link for reading on how to create url for SAP Transactions.

Thanking you,

Regards,

satya

Answers (0)