cancel
Showing results for 
Search instead for 
Did you mean: 

execute automatically when calling transaction iview

Former Member
0 Kudos

Hi All,

I am navigating to a "Transaction iView" (SAPGUI for Windows) from a WebDynpro application.

I am able to fill all screen fields dynamically, but I have a problem executing the transaction.

I have tried passing a parameter called "OkCode" (or "OKCODE" or "OK-CODE") with the value "MELD" (transaction IW52) but it's not working.

Any Ideas?

Aviad

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Aviad,

i think you will skip the fist 'Screen'.

Look for the iview-property 'Process First Screen' and

chose 'yes'.

Bernd

Answers (1)

Answers (1)

sridhar_k2
Active Contributor
0 Kudos

If that transaction accepts any value, you can use this code to send params to SAP R/3.

WDPortalNavigation.navigateAbsolute(PageURL, WDPortalNavigationMode.SHOW_INPLACE, WDPortalNavigationHistoryMode.NO_DUPLICATIONS,

queryString);

like this way,

String OkcodeStr = "MELD";

WDPortalNavigation.navigateAbsolute(

"ROLES://portal_content/...iview path";,

WDPortalNavigationMode.SHOW_EXTERNAL,

(String) null,

(String) null,

WDPortalNavigationHistoryMode.NO_DUPLICATIONS,

(String) null,

(String) null,

"OkCode="OkcodeStr);

OkCode - is the SAP Transaction input param (Give same name)

Regards,

Sridhar