cancel
Showing results for 
Search instead for 
Did you mean: 

Passing tables wile calling Tcodes

Former Member
0 Kudos

Hi,

Can I pass table as parameter while calling Tcodes from my web dynpro application.

My table should contain the logged in user id and session id.

Thanks

Anjana

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Anjana

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/761eba66-0401-0010-b982-d5f5bd9e8f90">Try this tutorial</a>

Best Regards

Chaitanya.A

Former Member
0 Kudos

Hi Chaitanya,

Your tutorial describes about getting data from backend table.

But my situation is to pass a table structure from webdynpro view to the backend through TCodes.

Thanks

sridhar_k2
Active Contributor
0 Kudos

With my best of knowledge, you can not send Table or Object to another application (SAP Transaction - tcode). It just takes only String.

But there is other way to archive this.

Write BAPI, which internally call to SAP TCODE. You can directly call BAPI using RFC Model.

<u>For more info go thru this link.</u>

http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm

<u>Method Signature</u>

WDPortalNavigation.navigateAbsolute(java.lang.String navigationTarget,

WDPortalNavigationMode mode,

java.lang.String windowFeatures,

java.lang.String windowName,

WDPortalNavigationHistoryMode historyMode,

java.lang.String targetTitle,

java.lang.String contextUrl,

java.lang.String parameter);

Regards,

Sridhar