on 10-01-2011 11:54 AM
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
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'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.