Application Development 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: 

How to recover scheduling agreement number in VA01

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Luca,

Your scheduling agreement will probably be in field VBAP-VGBEL.

Regards,

John.

2 REPLIES 2

Former Member
0 Kudos

Hi Luca,

Your scheduling agreement will probably be in field VBAP-VGBEL.

Regards,

John.

0 Kudos

Yes correct.

I've found the same solution.

Thanks for your reply.

Luca