Find Planned orders

Hi Experts,
My task is to find the sum of requrements of the planned orders.
How to find the 'Planned orders' from the output of FM "MD_STOCK_REQUIREMENTS_LIST_API".
Please help.
Thanks in advance.
Matt.

Hello Raj
Please note that your "objective" (Find planned and Production Orders) has little to do with object orientation.
Function module BAPI_ALM_ORDEROPER_GET_LIST is probably the one you are looking for. You need to feed TABLES parameter IT_RANGES with the appropriate values.
Please note that the selection parameters have special names that can be found in the structures defined in fm IBAPI_ALM_ORDEROPER_GETLIST:
* set some local constants:
  constants:
    lc_progname like rsvar-report value 'RIAFVC20',
    lc_par_int  type ddobjname value 'IBAPI_ORDER_LISTOPER_PARAMS',
    lc_par_ext  type ddobjname value 'BAPI_ALM_ORDER_LISTOPER_PARAMS',
    lc_sel_int  type ddobjname value 'IBAPI_ORDER_LISTOPER_SELOPS',
    lc_sel_ext  type ddobjname value 'BAPI_ALM_ORDER_LISTOPER_SELOPS'.
Example: If you want to select for a specific work center then I assume the selection parameter is:
(BAPI_ALM_ORDER_LISTOPER_SELOPS-) OPTIONS_FOR_WORK_CNTR
Thus, to select for a given work center add the following record to IT_RANGES:
FIELDNAME = 'OPTIONS_FOR_WORK_CNTR'   " presumably without the DDIC structure name
SIGN = 'I'
OPTION = 'EQ'
LOW = <work center>
If the selection does not work then just do a little debugging.
Regards
  Uwe

Similar Messages

  • Where do I find planned order capacity

    We need to incorporated planned orders into our capacity.  I found the extractor for production orders but planned is not contained in it.  I found the table to get planned orders but thee is no capacity in the PLAF table.  any ideas where this information resides?

    Hi,
    Have you got this,
    We are also stuck at the same point
    Would appreciate your inputs
    Regards
    Lalan

  • To find BOM from a closed Planned Order in REM process.

    Hi,
    Pl. let me know how to find Planned order no. and its BOM which has been closed?
    In mb51 we get only Order no. which is not the pld ord and we cannot get the bom.
    pl. help.

    Hi,
    Planned Order details are available in Table : PLAF.
    Once you convert a Planned order into Production Order the Planned Order will be deleted from PLAF.
    You can only view the Planned order number from the Production order tables AFPO/AFKO where you need to provide the production order number and get the planned order number (PLNUM).
    If you want to find the BOM items of the planned order which is converted to Production can be known from the table : RESB, where you can provide the Planned order number fetched from the AFPO/AFKO tables.
    Hope this will help you.
    regards
    radhak mk

  • Planned Order

    Hi Experts,
    I am using one production line for 3 products in REM. If there are requirements for all 3 products in same periods, after MRP run I find planned order for all products assigned to production on same date in planning table with capacity requirement more than 200%. Is there any automatic method to distribute planned order based on capacty available to avoid overload on same date.I mean system should find the period where the capacity is available and distribute the planned order accordingly.
    Can somebody give solution for this?
    Thanks
    Mil

    Hi,
    Automatic capacity distribution over the period is not available in standard SAP.
    Regards,
    Dharma

  • How to find out manual deletion of planned orders in APO.

    Planned orders are created on multiple bom levels when we call CTP from GATP for sales orders. For particular sales order there is no planned ordere at lower level. Dependent requirement is there which is uncovered.
    I want to find  somebody has deleted this planned order manually in apo. How to find out the same?
    Regards,
    Santosh

    Hi Santosh,
    If you suspect that the planned order was created but later on deleted manually, there is a cross check you can do to determine that.
    In case of MATP, System uses the higher level Planned Order number to create the Dependent Demand at the lower level and only when this dependent demand is covered by a planned order it assigns the corresponding planned order number to it. So if you see the dependent demand number with same  number as the higher level planned order for which it was created, you can be sure that a planned order was not created to cover the dependent demand that you see uncovered.
    If the dependant demand number is not same as the planned order at higher level, then the planned order to cover the dependent demand was deleted.
    I guess CTP also works the same way. If you're unsure about this, test it out.
    Hope it helps.
    Regards,
    Mohan

  • Not able to find the source requirement of MRP RUN-(for planned order)

    Dear All,
    Actullay In MRP run system is generating 10000 qty in planned order but in MD61 there is only 3000 qty and no sales order requirement also exists for the same. And when i rerun the MRP by choosing option 3 in planning mode, then also it is generating the planned order for 10000 qty only but Iam not able find out the base requirement for that. Kindly suggest me the solutions.
    Regards,
    Krishna

    Hi
    In MD04 at bottom, you can see a button for pegged requirement, click there you will come to know the list of requirement. It is not only because of Planned independent requirement you maintain in Md61, it could be due to lot size in Material master, or if you have fixed vendor in sourcelist then it could be because of Minimum order quantity with the vendor, or it could be safty stock or reorder point maintained in Material master
    Regards
    Antony

  • Not able to find the source requirement of MRP RUN-(planned order)

    Dear All,
    Actullay In MRP run system is generating 10000 qty in planned order but in MD61 there is only 3000 qty and no sales order requirement also exists for the same. And when i rerun the MRP by choosing option 3 in planning mode, then also it is generating the planned order for 10000 qty only but Iam not able find out the base requirement for that. Kindly suggest me the solutions.
    Regards,
    Krishna

    Dear balu
    Check assembly scrap in MRP 1 view
    and also check which lot size u r using
    is it HB - replanishment up to maximum stock level
    or FX - fixed order size
    Kindly check
    Regards
    Sachin

  • How to find atp category of planned order in APO

    Hello experts,
    I have to change planned order ATP category in APO system. Is that category stored in any database table?
    I'm using /SAPAPO/OM_ORDER_CHANGE to achieve this, but I want to know current ATP category of order before changing it.
    Thanks in advance!
    Kind regards!
    Emanuel

    Hello Emanuel,
    The planned order ATP categories in APO are
    AI PlOrd. Planned order (not firmed, unconfirmed)
    AJ PlOrd. (F) Planned order (firmed, unconfirmed)
    AK PlOrd.(NC) Planned order (not firmed, confirmed)
    AL PlOrd.(CF) Planned order (confirmed, firmed)
    Not sure whether you are asking how to find out the ATP category within the SAPAPO/OM_ORDER_CHANGE .
    Regards
    Gk

  • Find Planned and Production Orders

    Hi all ,
    I have a requirement . If i give the Work center Name i should get already assigned Planned Orders or Open Production Order against that Work center .
    Please let me know . If there is no standard FM then let me know can i retrieve those from any tables .
    I appreciate for any suggestions .
    Regards
    Raj

    Hello Raj
    Please note that your "objective" (Find planned and Production Orders) has little to do with object orientation.
    Function module BAPI_ALM_ORDEROPER_GET_LIST is probably the one you are looking for. You need to feed TABLES parameter IT_RANGES with the appropriate values.
    Please note that the selection parameters have special names that can be found in the structures defined in fm IBAPI_ALM_ORDEROPER_GETLIST:
    * set some local constants:
      constants:
        lc_progname like rsvar-report value 'RIAFVC20',
        lc_par_int  type ddobjname value 'IBAPI_ORDER_LISTOPER_PARAMS',
        lc_par_ext  type ddobjname value 'BAPI_ALM_ORDER_LISTOPER_PARAMS',
        lc_sel_int  type ddobjname value 'IBAPI_ORDER_LISTOPER_SELOPS',
        lc_sel_ext  type ddobjname value 'BAPI_ALM_ORDER_LISTOPER_SELOPS'.
    Example: If you want to select for a specific work center then I assume the selection parameter is:
    (BAPI_ALM_ORDER_LISTOPER_SELOPS-) OPTIONS_FOR_WORK_CNTR
    Thus, to select for a given work center add the following record to IT_RANGES:
    FIELDNAME = 'OPTIONS_FOR_WORK_CNTR'   " presumably without the DDIC structure name
    SIGN = 'I'
    OPTION = 'EQ'
    LOW = <work center>
    If the selection does not work then just do a little debugging.
    Regards
      Uwe

  • How can i find PP Order & Plan Order from Sales Documents?

    I want to trace all PP Orders & Plan Orders form Sales Documents No.(Item)
    What logic can make me achive?(AFPO?)
    TKS a million~~

    If you want standard report you can get it through COOIS report.
    If Z then through AFPO you can get the production order -- sales order link.
    And yes for planned order against sales order use PLAF table.

  • MD06  Issue - Planned orders not getting displayed

    Hello,
    Planned order with the exception "Newly created order proposal" does not get displayed in MD06 with the option "Only Unprocessed MRP Lists" in the processing indicator.
    I am running MD06 report with the following parameters:
    Plant
    MRP Controller
    Exeception Group - All exception selected except 8-Terminations
    Processing indicator - Only unprocessed MRP LIsts, Only with new exceptions
    My material which has a newly created planned order thorugh MRP run with exception "1 - Newly created order proposal" does not get displayed.
    Only when I specify Only processed MRP lists or All MRP LIst in the processing indicator, this material gets displayed. The planned order is for a Stock Transfer order to this plant (receiving plant). How is the MRP LIst processed?
    Please help me out with this issue.
    Sincerely,
    Ketan

    Hi Ketan,
    When you execute the MD06 report, you would find a column with the heading CI, if am right it would be just after the MRP cntlr, here you would find a Pencil & a tick mark. If you find them both, it means the row is unprocessed, but if you find only a tick mark it means that the row is processed.
    So now check for the planned order, it would be just a tick mark & hence would be showing only for the processed MRP list or all MRP lists.
    To process a row or unprocess, just click on the icon & it changes.
    Check & revert if it answers your query.
    Regards,
    Vivek

  • Date Mismatch of Planned Orders and Production Orders in APO & ECC

    Dear APO Experts
    When i am performing /SAPAPO/CCR , we are getting errors for Few Materials
    Please kindly advice.
    Following error for Planned Orders:
    Order 0026037355 difference for receipt date:    06.02.2012 01:05:53(APO) <-> 04.02.2012 01:05:53
    Message no. /SAPAPO/CIF161
    Diagnosis
    Order 0026037355 for material yyyy has a different receipt date in SAP APO and SAP R/3:
    Receipt date in SAP APO: 06.02.2012 01:05:53
    Receipt date in SAP R/3: 04.02.2012 01:05:53
    Procedure
    This data inconsistency can be rectified by choosing Send to R/3.
    Note that the receipt date of the primary product is compared without taking into account the goods receipt processing time between SAP APO and SAP R/3.
    Note the following if this message is issued for production/process orders:
    In SAP APO, if the receipt date of the primary product deviates from the end date of the last activity of the order (for example, due to an offset or scheduling at the end of a fixed block), the receipt date always identifies this as inconsistent. You cannot rectify inconsistencies of this type by using the reconcile provided in the CIF compare/reconcile function.
    In this case, you should deactivate the receipt date comparison. Alternatively, you can activate the order end date comparison if the primary product is assigned to the final operation.
    Procedure for System Administration
    You can use the business add-in /SAPAPO/CIF_DELTA3 Enhancements Comparison Report to deactivate individual comparisons.
    In SAP Note 645597, you can find example coding with which you can activate the order end date comparison.
    Following Error for Production Orders:
    Order 000100163960 difference for receipt date:    14.01.2012 08:30:00(APO) <-> 23.01.2012 18:29:59
    Message no. /SAPAPO/CIF161
    Diagnosis
    Order 000100163960 for material xxxx has a different receipt date in SAP APO and SAP R/3:
    Receipt date in SAP APO: 14.01.2012 08:30:00
    Receipt date in SAP R/3: 23.01.2012 18:29:59
    Thanks
    Kanth

    Hi,
    Kindly check the SAP note mentioned on the message. Or you may reconcile the data by selecting the "send to APO" or "send to ECC" button on thhe CCR.
    Also please check oss # 453244 if its releveant to your current system, otherwise please disregard.
    Cheers!

  • To build query related to SNP: Planned Order

    Hi,
    System: SCM 5.0
    Scenario: SO received at plant and planning creates PR against SO at plant and accordingly SNP:Planned Order at Vendor location. If SO is cancelled/deleted (manually), sometime only the PR gets cancelled/deleted (automatically during planning run) but corresponding SNP:Planned Orders still remains at vendor location and so the dependent requirements. PR and Planned Orders are pegged to SO so one-to-one relation is maintained.
    I could not find any reason why system is not deleting Planned Order at vendor location despite SO and PR is deleted at plant location. So I am planning to build query where SNP:Planned Orders are not pegged to any PR or SO.
    Can anyone help with list of SNP:Planned Order tables so that I can build query around it to identify ghost Planned Orders.
    Hope I was clear with my query but let me know if any further information is require.
    Thanks and regards,
    Devang

    HI Marius,
    Sorry for delay reply.
    I was working on on some other more critical issues to business.
    Finally we decided to built report to identify obsolete Planned Orders for which PR is not available in ordering plant. I have listed below logic for that report:
    Get Location ID from table /SAPAPO/LOC based on Location entered in selection screen
    Get PEGIDs from FM /SAPAPO/DM_MATLOC_GET_PEGIDS based on IV_SIMID as 000 and location id from step 1
    In FM /SAPAPO/OM_PEG_CAT_GET_ORDERS, use SIMVERSION as 000 and in Import Para IS_GEN_PARAMS insert all PEGIDs from step 2.
    From Export Para ET_PEG_INPNODE take From_OrderID and store in internal table.
    Execute T.Code /SAPAPO/RRP4 with following selection (Use Selection Variant: OBSOLETE PR and add Location as entered in Selection Screen)
    Planning Version: 000
    From: Current date – 60 days
    To: Current date +180 days
    Location: 0000201328
    Product: *
    Order Type: 1F
        6. Compare output of step 4 and step 5 and display result.
    From FM /SAPAPO/DM_MATLOC_GET_PEGIDS the output (step 4) will be Order ID (22 characters) while step 5 (T.Code /SAPAPO/RRP4) will give Planned Order number (8 character). I am not sure how to compare Internal Order ID (22 characters) for corresponding Planned Order Nos. (8 characters).
    I have not marked your post as correct answer as still need to find answer of above query.
    Thank you in advance for your guidance.
    Regards,
    Devang Shah

  • Link from the Sales order/Sheduling Agreement to planned order

    Hi,
    SAP SD Gurus,
    Can you please tell me the the link from sales order/sheduling agreement to planned order.
    Thanks,
    Anand

    . I would like to know why only for this character the values is not displayed.
    Dear,
    Please check the relevant characteristic in CT04
    select the addnl data tab
    You can find the table name and field name
    and also you can find the check mark in   not ready for Input in procedure of value assignment

  • Error while creating planned order in product view

    I am getting following error when I try to create planned order for a product in a Location  manually in product view using /SAPAPO/RRP5.
    Error occurred while creating order
    Message no. /SAPAPO/RRP251
    I checked the product and resource. Everything looks good.
    Block is available in the resource WMP1_2041_001 for characteristics specified in planned order.
    Product master and PDS look good.
    In the planning log, I see the following error message.
    Plan explosion failed for product LBRA1050-661 in location 2041
    Message no. /SAPAPO/RRP718
    I have not found SAP notes for above error.
    Can you pl let me know what this is due to?
    Thanks,
    Srini

    Srini,
    The message was created as a result of several notes, such as 1582997.  There are others.
    The implication is that you have an invalid source somewhere in your BOM.  Maybe a bad component part, maybe a bad transportation lane, maybe an invalid BOM, or maybe a bad PPM/PDS.
    If you can't find the problem using logical troubleshooting steps, have one of your programmers debug.  Have him put breakpoints in FM  /SAPAPO/RRP_PLORD_CREATE .  If you are particularly lucky, you will find a developer that understands German, because all the internal comments in this FM are in German.
    Best regards,
    DB49

Maybe you are looking for