cancel
Showing results for 
Search instead for 
Did you mean: 

One delivery for each Sale Order Item

Former Member
0 Kudos

Dear all, I have the following issue: My Customer asks me to split the delivery for each itme of the same SO.

I think that the solution should be acting into copy rule, expecially in the Grouping routine.

Are you agree? Do anybody has already had the same issue?

At the moment the standard grouping rule is 0051, I need to add CVABP and write ababp in order to split for item.

Can anyone write me the code to use?

thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

can you brief the business logic to make split???

if you have 20 line items, do you need 20 delivery docs? tell me what was the special case to make split?

warm regards,

jagadeesh

former_member184701
Active Contributor
0 Kudos
Former Member
0 Kudos

Dear, this is not my need.

I need to have 1 delivery document for each item of the Sale order.It means that if the order has 10 items, the system automatically creates 10 delivery documents and not 1 with 10 items.

How can I obtain this?

regards

moazzam_ali
Active Contributor
0 Kudos

Dear

In copying routine splitting area add POSNR as your splitting criteria. Ask your abaper. He can do this easily.

Former Member
0 Kudos

Hello Alessandra,

Just giving a high level pseudocode

If needed pls have a flag logic to control this only for certain shippoints/plant whatever you feel

loop at cvbap where vbeln eq cvbak-vbeln

likp-zukrl=cvbap-posnr

endloop

Whenever you want a sales order to be splitted you can make use of field ZUKRL(Combination criteria). whenver there are differences in ZUKRL for any line item in sales order, all those line items will be splitted into a separate delivery.

Please try this and let us know if it works. You may use it in copy control routine 650(RV50C650) i believe.

Regards

Dhilipan