cancel
Showing results for 
Search instead for 
Did you mean: 

Webgui pass parameter OK CODE with transaction enjoy : MIGO

former_member317232
Participant

Hello ,

I create a webgui service to run SAP ECC transaction into SAP Portal.

i'am able to use parameter and okcode to all old sap transaction (ME22, ME23..)

But with transaction enjoy, Ok code does not wok.

Is it a solution to prefill some field( Purchase document Number ) in a transaction Enoy?

thanks for your helps

Example of ul :

http://<server>:<port>/sap/bc/gui/degt/zwebgui/?&~transaction=ME54N MEREQ_TOPLINE-BANFN_EXT=10000458;DYNP_OKCODE=/00

Accepted Solutions (1)

Accepted Solutions (1)

former_member201257
Active Contributor
0 Kudos

Using OKCODE to skip the screens is obsolete.

Please use the approach suggested in the following link:

https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=22375

Also, please fill in all the mandatory fields in your transaction when you are trying to skip screens using OKCODE or any other approach.

Thanks,

Shanti

former_member317232
Participant
0 Kudos

Thanks u Shanti ,

I tried to use it with transaction code ME54N, it stil display the last Purchase requisition i have in the buffer (via parameter id ).

example :

http://<server>:<port>/sap/bc/gui/degt/zwebgui?~transaction=*ME54N MEREQ_TOPLINE-BANFN_EXT=10000457;DYNP_OKCODE=/00.

this url does'not display the PR number 10000457.

thks for helpful answers

cris_hansen
Advisor
Advisor
0 Kudos

Hi Team ALTI,

Have you tried the same using the standard WEBGUI internet service? Maybe you have a different configuration in your zwebgui.

Complementary, you can check this [blog|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/855] [original link is broken];.

Best regards,

Cristiano

Edited by: Cristiano Hansen on Jun 17, 2010 7:14 PM

former_member317232
Participant
0 Kudos

Thanks u guy,

The main problem is that an enjoy transaction does not have an input fields where you can fill a value ( with old ME22 you can fill the field purchase order and to click on enter to diplay document).

With enjoy transaction ME22n for example, if you want to display a purchase order, the only way is :

---1° to press button "other document"

-- 2° a popup appear

--3° fill document number.

The question is how to simulate all these steps into a webgui URL.

former_member317232
Participant
0 Kudos

Problem (temporary) resolved.

i created a Z report with a Z transaction.

one screen-field for the document number

another screen-field for doc type (PO, PR)

Depending on doc type, i set parametr id and

call transaction ''ME54n' or 'ME29n'

Answers (1)

Answers (1)

balakrishna_vegi2
Participant
0 Kudos

Hi All

I am using the SAP ITS Service LInk

for examp,le

/sap/bc/gui/sap/its/webgui/?transaction=ML81N&BSTNR=4800003605

My requirement is like

/sap/bc/gui/sap/its/webgui/?transaction=ML81N&LBLNI=1000006684&~okcode=/0 but its not workiing i want to open the record in the change mode ..