10-25-2007 1:43 PM
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
10-25-2007 2:16 PM
Hello Kalpesh,
Try to put your code in USEREXIT_SAVE_DOCUMENT_PREPARE or USEREXIT_SAVE_DOCUMENT.
Regards,
Naimesh Patel
10-25-2007 2:16 PM
Hello Kalpesh,
Try to put your code in USEREXIT_SAVE_DOCUMENT_PREPARE or USEREXIT_SAVE_DOCUMENT.
Regards,
Naimesh Patel
10-26-2007 7:08 AM
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