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

DEALLOCATING PLANNED ORDERS USING BDC (CM40)

Hi Gurus,

We are trying to deallocate (undispatched) a bunch of planned orders using BDC through transaction CM40.

After getting all the planned orders to be deallocated into an internal table, I then passed it to the BDC "on the screen multiple selections" at the levelling in batch (filter), I have an error saying "Screen 0000 is too large for the batch input".

Is there any other way to pass this data to the BDC or is there a BAPI to deallocate (undispatch) planned orders.

Thanks for your help.

Edited by: Basil Balogun on Jan 14, 2009 6:23 AM

Edited by: Basil Balogun on Jan 14, 2009 6:23 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 14, 2009 at 06:39 AM

    Hi,

    This program might give you some hints:

    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/scm/planned%2border%2bidoc%2bprogram

    cheers

    Aveek

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 07, 2010 at 03:43 PM

    Hello Basil,

    did you get a solution for your problem? I have all planed orders in an internal table and want to undispatch only these planed orders via cm40.

    Thx

    Johannes Schulte

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      I had a similar problem and if you are tyring a BDC with CM40 the BDc exits when you click execute on the capacity levelling screen

      thats because CM40 does a submit program to generate the selection screen for Capacity levelling and a leave statement inside it kicks it out of the selection sccreen

      In online process that works fine, but when you call cm40 in a bdc then the leave statement takes it out of the bdc and does not dispatch/deallocate the orders

      my solution was to do a sumbit program RCCYMAB1 with selection table

      i dont know if this is the same problem that is depicted here, but for anyone in future this might help

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.