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.