Skip to Content
avatar image
Former Member

Order combination

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Sep 17, 2011 at 08:22 PM

    Hello:

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

    thanks

    Dilip sadh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Sep 18, 2011 at 03:09 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 19, 2011 at 06:46 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Shiva Ram

      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

  • avatar image
    Former Member
    Sep 25, 2011 at 12:14 PM

    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

    Add comment
    10|10000 characters needed characters exceeded