cancel
Showing results for 
Search instead for 
Did you mean: 

Passing parameters to Transactions from Web dynpro Application through ITS

pradeep_sampath
Explorer
0 Kudos

Hi,

i need to call a transaction from Web dynpro through ITS. On action from web dynpro application, i am concatenating the respective parameters mentioned below along with URL. The problem is one parameter(VARIANT) is being passed to the t-code CAT3 correctly. The next mandatory parameter(PERNR) is not passed to the respective field.Here is the URL Code:

CONCATENATE 'http'

'://' host ':' port

'/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'CAT3'

'%20TCATST-VARIANT=' lv_name2 '&CATSFIELDS-PERNR=' lv_name1 INTO url.

Called T-Code CAT3

Passing Parameters are:

Data Profile TCATST-VARIANT

Pernr: CATSFIELDS-PERNR

Accepted Solutions (0)

Answers (2)

Answers (2)

pradeep_sampath
Explorer
0 Kudos

Hi Saran,

Thanks a lot. It's working fine now.

'*' need to be given along with the transaction code as below

CONCATENATE 'http://' host ':' port '/sap/bc/gui/sap/its/webgui?sap-client=&~transaction=CAT3 ' ' TCATST-VARIANT=' lv_name2*

';' 'CATSFIELDS-PERNR=' lv_name1 ';' 'DYNP_OKCODE=SHOW'

Former Member
0 Kudos

Pradeep,

iam trying to pass values from webdynpro application to SAP GUI Transaction

here is the sample code which iam using

CONCATENATE 'http://s0164dep01.adta.uae:50000/irj/portal/interop?NavigationTarget=pcd:portal_content/Testing/trn_iw33?'

'%20CAUFVD-AUFNR='

'ApplicationParameter=CAUFVD-AUFNR='

lv_workorder';'

'DYNP_OKCODE=SHOW'

INTO lv_url.

i could'nt able to succed as its displaying page not found exception.

Help me on this to proceed further

Regards

Jaipal.E

saravanan_narayanan
Active Contributor
0 Kudos

Hello Pradeep,

while concatenating parameters for the transaction you need to use ';' (semi colon) instead of '&'

change the

TCATST-VARIANT=' lv_name2 '&CATSFIELDS-PERNR=' lv_name1 

to

TCATST-VARIANT=' lv_name2 ';CATSFIELDS-PERNR=' lv_name1 

BR, Saravanan