2006 Nov 01 11:47 PM
Hi,
I need to dynamically split line items in a sales return document based on certain conditions. The added line items would have the same material and details of the first line item but would be different only on return price.
I tried to add lines to xvbap in USEREXIT_MOVE_FIELD_TO_VBEP(in MV45AFZZ. Note that xvbap is not populated at userexit_move_field_to_vbap)but this approach does not produce the desired results. I have also tried it at userexit_save_document_prepare and at userexit_check_vbap but it's not possible to modify xvbap correctly in these exits.
Do you know of a way to handle this?
Regards,
Aravind
Hi,
I need to dynamically split line items in a sales return document based on certain conditions. The added line items would have the same material and details of the first line item but would be different only on return price.
I tried to add lines to xvbap in USEREXIT_MOVE_FIELD_TO_VBEP(in MV45AFZZ. Note that xvbap is not populated at userexit_move_field_to_vbap)but this approach does not produce the desired results. I have also tried it at userexit_save_document_prepare and at userexit_check_vbap but it's not possible to modify xvbap correctly in these exits.
Do you know of a way to handle this?
Regards,
Aravind
2006 Nov 02 4:52 AM
Hi Aravind ,
first thing is Clear and refresh XVBAP table and add ur own data , i think in this case XVBAP will take the new data.
Regards
Prabhu
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |