Skip to Content

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

Feb 02 at 05:12 PM


avatar image
Former Member


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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jelena Perfiljeva
Feb 02 at 07:50 PM

Why do you create a contract with reference to an order? It's a bit odd document flow...

In general, there is no such functionality in SAP, to my knowledge. Similar questions have been asked before, make sure to search in Google for "order line split". You'll find some additional questions and possible alternatives there.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Because the Sales Order is to bill initial One time Sale

and Contract to bill annually for the Service addon,

The contract needs to link to the initial order, so the client creating with reference to the Order.

I was not getting much help when i search online, thats why i kept a question for help - thanks for your reply.


OK. No, sorry, there is really no such functionality in SAP. The best "out of the box" idea I can come up with is to have a custom report that will take the initial order # and create a contract with multiple lines as you're describing using a BAPI. I'm not 100% sure the document flow will look right but there is no harm in trying.