Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

set parameter id for a userdefined transaction

Former Member
0 Likes
2,121

i developed an interactive report where when i double click on a particular record a userdefined transaction is calles where we need to set the parameter id.

when i am setting the parameteris using ,

set parameter id 'AUN' using wa_fieldname.

i am not getting the value into the transaction field can any one sugest me

i developed an interactive report where when i double click on a particular record a userdefined transaction is calles where we need to set the parameter id.

when i am setting the parameteris using ,

set parameter id 'AUN' using wa_fieldname.

i am not getting the value into the transaction field can any one sugest me

11 REPLIES 11
Read only

former_member404244
Active Contributor
0 Likes
1,639

Hi,

Check the link for sample coding

http://www.sapdev.co.uk/reporting/alv/alvgrid_ucomm.htm

Regards,

nagaraj

Read only

0 Likes
1,639

you must use get parameter to retrieve the value

kind regards

arthur

Read only

0 Likes
1,639

yes ,

it works in the case of a built in transaction,but when i am doing in the case of user defined transaction i am not getting.

Read only

Former Member
0 Likes
1,639

Hi,

Does that field on the userdefined transaction have a parameter id ? Check by pressing F1 on field and looking into the Technical settings.

If it doesnt have, try to use a standard data element (which has a parameter id ) refrence for that field.

Thanks & Regards,

Navneeth K.

Read only

Former Member
0 Likes
1,639

Hi Anjali,

Check the field of your user defined transaction F1 ->Technical information .

Check if Parameter ID is 'AUN' which you are settind

Also check in debugger if wa_fieldname. is populated with correct value

Regards

Read only

Former Member
0 Likes
1,639

This message was moderated.

Read only

0 Likes
1,639

the userdefined transaction field refers to the database table field which has the parameter id AUN,but still i am not getting

Read only

0 Likes
1,639

Hi Anjali,

Check in debugger what wa_fieldname contains.

Regards

Read only

0 Likes
1,639

i am not getting the f1 help in user defined transaction

Read only

0 Likes
1,639

Hi Anjali,

I tried the same with a custom transaction and got the same problem you are facing.

I added "MEMORY ID AUN" and now it is working can you check this

In your custom transaction put MEMORY ID AUN

PARAMETERS : P_VBELN TYPE VBAK-VBELN MEMORY ID AUN.

When you call your custom transaction

DATA : WA_VBELN TYPE VBAK-VBELN VALUE '12345'.

SET PARAMETER ID 'AUN' FIELD WA_VBELN.

CALL TRANSACTION 'ZTEST_RAD'.

Regards

Edited by: Rajvansh Ravi on Nov 19, 2008 1:47 PM

Read only

Former Member
0 Likes
1,639

Try maintaining Parameter id at following location. (only once for a user)

System --> User Profile --> Own data --> Parameters.

Regards,

Mohaiyuddin