Skip to Content
author's profile photo Former Member
Former Member

SAP Sales Contact (VA41) : Splitting one line item of quantity N to N line items of quantity 1

Hi

My client new requirement is to split one line item of quantity N to N line items of quantity 1, while creating Contract in VA41 With reference to the Sales Order.

Sales Order xxxxx has Item 0010 of 4 Units

When they create Contract in VA41 with reference to SO xxxxx - they want to split the Line items as

0010 1 Unit

0020 1 Unit

0030 1 Unit

0040 1 Unit

I tried to look into MV45AfZZ and USEREXIT_MOVE_FIELD_TO_VBAP and changed the Internal table XVBAP but doesn't gives expected result.

Also tried USEREXIT_MOVE_FIELD_TO_VBAK changing CVBAP by splitting lines, It gives output of 4 lines each of individual 4 Units which is not correct and these exits are iterated multiple times - enhancing here the splitting logic is not correct i think.

Kindly answer me if you have come across similar requirement and solution if you have resolved, Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.