Skip to Content

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

web dynpro to call and pass parameters to a custom T-code

Hi folks,

i made a custom t-code linked to a classic abap report who does a few operations (i.e. calls 3 bapi and download on a local folder).npro

The custom report must be called(/started) by a standard webdynpro which ai managed to enhance , inserting a new menu voice

from which i call my t-code using a ITS webgui service.

So far so good.

Now the webdynpro MUST pass some values(parameters) to my custom t-code.

Scenario: i select a line on the standard WD (a document number ) which i need to pass to my custom t-code.

The custom report needs those values to execute a few operations but so far i wasn't able to transfer the fields value from WD

to T-code report.

Please help me.

I am worried i might need to transform my custom abap report into a wdynpro.

PS: The report must allow the user to select a local folder where i need to download some files from Kpro.

Thanks

Tags:
Former Member replied

Hi Bruno,

You can pass the parameters while calling the ITS URL , just like we pass the client and language information .

Example URL :

http://<url>:portno/sap/bc/gui/sap/its/webgui?~TRANSACTION=SU01D%20USR02-BNAME=’.


Here USR02-BNAME contains the user id to be displayed ,

Below article will be helpful call SAP Tcode using webdynpro for ABAP

thanks

~Raj

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