Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Pass PO Num parameter to SAP transaction iview

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?

Former Member
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question