01-15-2008 9:05 AM
Good Morning,
I need to take the scheduling agreement number in the VA01 transaction.
During the creation of a call off in the first screen of VA01, I select "create with reference" button and then I select tab "Sched Agrmt".
I fill the field "Sched Agree" with my scheduling agreement number.
Then in the user_exit "FORM userexit_move_field_to_vbep" I've type a command like this BUT WITHOUT RESULT:
DATA: lv_rif LIKE vbak-vbeln.
IF sy-tcode = 'VA01'.
GET PARAMETER ID 'AUN' FIELD lv_rif. <--
The variable lv_field is not filled with sched agreement number.
Any suggestion, to solve my problem?
Regards.
01-15-2008 10:09 AM
Hi Luca,
Your scheduling agreement will probably be in field VBAP-VGBEL.
Regards,
John.
01-15-2008 10:09 AM
Hi Luca,
Your scheduling agreement will probably be in field VBAP-VGBEL.
Regards,
John.
01-15-2008 11:28 AM
Yes correct.
I've found the same solution.
Thanks for your reply.
Luca