cancel
Showing results for 
Search instead for 
Did you mean: 

Order combination

arvind_soni
Participant
0 Kudos

Hello All,

We have activated the order combinaton routine and assigned the standard routine 51 for combining the orders into one delivery. This is all working fine.

But for one order type (Return Order types) we do not want to combine the orders into one delivery. We have created a custom routine and but this seems to be not working.

Could you please suggest what should be the best solution to restrict order combination for one particular order type ?

Also if possible please provide the sample code to be implemented in the cusomt routine.

Thanks

Arvind

Edited by: Arvind Soni on Sep 17, 2011 10:04 PM

Accepted Solutions (0)

Answers (4)

Answers (4)

arvind_soni
Participant
0 Kudos

Issue resolved.

Hello All,

Issue resolved. This was getting difficult to acheive or may be not possible using copy control routines.Instead I have implement as simple check in user exit MV45AFZZ move_field_to_vbkd and unchecked the order combination field for return orders and made that field non editable for the user.

This has solved the issues and now the return orders are not getting merged into one delivery.

Thanks all fo

Thanks\Arvind

ajitsingh6
Active Contributor
0 Kudos

Hi,

Mr. Laxmi is correct, u can achieved it through COPY CONTROL b/w Return Order Type and Delivery type and at Header

in field combination requirmt put 000 and retry ur process.

Regards,

Ajit K Singh

Happy to Help U

arvind_soni
Participant
0 Kudos

Hello Lakshmi, Ajit,

I have entered 000 in combination requirement for my return order and delivery type copy control but still it did not work.

When we are executing VL10A in background the return orders get combined but when executed in dialog mode separate deliveries are created

This may be because it calls VL01N transaction for each order and does not combine.

but in our case we have to use VL10A as this is the one transaction for mass delivery creation.

Please suggest!!

Br,

Arvind

Shiva_Ram
Active Contributor
0 Kudos

Check whether OSS Note 166397 - Delivery split according to customer field ZUKRL would be of any help.

Regards,

arvind_soni
Participant
0 Kudos

Hello All,

Issue resolved. This was getting difficult to acheive or may be not possible using copy control routines.Instead I have implement as simple check in user exit MV45AFZZ move_field_to_vbkd and unchecked the order combination field for return orders and made that field non editable for the user.

This has solved the issues and now the return orders are not getting merged into one delivery.

Thanks all fo

Thanks\Arvind

Lakshmipathi
Active Contributor
0 Kudos

I think the standard routine assigned in RE > LF itself should work. Also deliveries cannot be clubbed via VL01N and since this being returns, I feel, you can control the TCodes like VL10A, VL10C etc., via authorisation profile. Give only VL01N for returns.

G. Lakshmipathi

Former Member
0 Kudos

Hello:

Please make sure order combination routine is excluding this order type(RE)

thanks

Dilip sadh

arvind_soni
Participant
0 Kudos

Hello Dilip,

We have created custom routine and assigned this custom routine to RE order type. The routine checks if order type is RE then set SY-SUBRC not equal to 1.

The orders are combined using VL10A transaction but the routine is not at all getting triggered, even though routines are activated.

Br,

Arvind