on 05-26-2009 10:25 PM
Hi,
I have a table column in my WDJ application that contain PO number.
I have created an SAP Transaction Iview for TCode me23n (display po).
When user clicks on the PO number in the table column, it should dynamically pass the PO number to the transaction iview and display ME23N for that particular PO. How can I pass the PO to this SAP transaction Iview?
Hi,
You cannot do it with ME23N because the PO number field is not editable for this transaction. You have to navigate via the top-level menu to enter a new PO number. But you can do it for ME23, the older version of PO display.
You will need to know the screen field name as well as the ok code that's fired when the user hits enter on the entry screen for ME23. Assuming you have the string for the PO number already from the table, you could use this code:
WDPortalNavigation.navigateAbsolute(
"ROLES://<pcd path of the SAP transaction iview>",
WDPortalNavigationMode.SHOW_INPLACE,
"",
"",
WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
"",
"",
"",
"RM06E-BSTNR=<PO string here>&OkCode=AB"
true,
true);
Regards,
Satyajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
used existing tcode MMPURPAMEPO
Parameters Forwarded to Transaction: P_EBELN
OK Code Field: AB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
any idea of how we might make it work for ME23N?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.