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

VA01 - Create with reference

Former Member
0 Likes
489

Hi,

I want to create sales order with reference.

It copies all the data of existing sales order to new sales order.

I want to populate the line item description (VBAP-ARKTX) with Employee's name instead of the old sales order's description.

I have tried the subroutine USEREXIT_MOVE_FIELD_TO_VBAP of the include MV45AFZB ,But it does nt works. But in the same exit I can populate the name of employee at each item level but it is in Z field of additional tab.

So I can't populate the VBAP-ARKTX . I have also tried another subroutine USEREXIT_FILL_VBAP_FROM_HVBAP but it is not useful. Kindly suggest for this query.

Regards,

Kalpesh

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
427

Hello Kalpesh,

Try to put your code in USEREXIT_SAVE_DOCUMENT_PREPARE or USEREXIT_SAVE_DOCUMENT.

Regards,

Naimesh Patel

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
428

Hello Kalpesh,

Try to put your code in USEREXIT_SAVE_DOCUMENT_PREPARE or USEREXIT_SAVE_DOCUMENT.

Regards,

Naimesh Patel

Read only

0 Likes
427

Hi Naimesh,

Thanks for your input.

At the time of SAVE I can populate the employee name in Description field.

But I think there is no exit for the PBO at first event.

It resolved my requirement,

Regards

Kalpesh