2008 Nov 19 11:51 AM
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
2008 Nov 19 11:58 AM
Hi,
Check the link for sample coding
http://www.sapdev.co.uk/reporting/alv/alvgrid_ucomm.htm
Regards,
nagaraj
2008 Nov 19 11:59 AM
you must use get parameter to retrieve the value
kind regards
arthur
2008 Nov 19 12:06 PM
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.
2008 Nov 19 12:09 PM
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.
2008 Nov 19 12:09 PM
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
2008 Nov 19 12:09 PM
2008 Nov 19 12:13 PM
the userdefined transaction field refers to the database table field which has the parameter id AUN,but still i am not getting
2008 Nov 19 12:22 PM
Hi Anjali,
Check in debugger what wa_fieldname contains.
Regards
2008 Nov 19 12:28 PM
2008 Nov 19 12:46 PM
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
2008 Nov 19 12:42 PM
Try maintaining Parameter id at following location. (only once for a user)
System --> User Profile --> Own data --> Parameters.
Regards,
Mohaiyuddin
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |