Schedule lines in APO

hi guys
when i run planning in PPDS for material in APO
its creating PR's instead of schedule lines.
when it should create PRs & when it should create Schedule lines
Doc type is LP
Ext planning ind : 1 i maintained.
is there any setting in external procurement relationship.
can you explain me am new to this APO concept.
thanks
nani

Dear Ritwik,
I guess you  have done following steps already.
1. Created APO relevant Scheduling agreement. Ext, Planning Indicator.
2. CIF transfer of the scheduling agreements.
Now you check in External Procurement relationships, you need to ensure that you only have one active external procurement relationship for the products( which is Created by your APO relavant Scheduling Agreement CIF). It is possible that you have more than one procurement relationship active for the product and so it is creating PR's instead of Schedule lines.
Hope  it helps.
Regards\
Kumar

Similar Messages

  • Schedule Lines in APO using CTM

    Dear Experts,
    How to create schedule lines directly in APO using CTM?
    Thanks adn regards,
    Sushant

    Hi,
    Do you mean creation of Planned orders by CTM against the demand /
    Generally "schedule lines" term  in APO are seen in RRP3 Product view and refers to Planned order / purchase requisitions.
    Yes CTM can create schedule lines in APO after CTM planning run.
    Thanks,
    Pavan Verma

  • BAPI to read and change schedule lines in APO

    Hello experts,
    We want to firm schedule lines inside the firm zone of the APO procurement scheduling agreements with a daily job. For this we are trying to use BAPI BAPI_POSRVAPS_GETLIST3 and BAPI_POSRVAPS_SAVEMULTI3. The getlist one does not return schedule lines, it returns purchase orders and purchase requisitions. Are these the right bapis to read and change schedule lines in APO? or is there anyother one we can use?
    Thanks and regards,
    Ergul

    Hi,
             You can use the below code to read the schedule lines.
    Checking a session exists
        CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
          IMPORTING
            ev_simsession = gv_sims
            es_gen_params = gv_params.
    If not create a new session and read it
        IF gv_sims IS INITIAL.
          CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_CREATE'
            IMPORTING
              ev_simsession = gv_sims.
          CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
            IMPORTING
              ev_simsession = gv_sims
              es_gen_params = gv_params.
          g_cre_chk = 'X'.
        ENDIF.
    CALL FUNCTION '/SAPAPO/CMDS_TPSRC_GET'
        EXPORTING
          iv_ebeln                       = p_l_t_acknh_ebeln
          iv_ebelp                       = p_l_t_acknh_ebelp
        TABLES
          et_tpsrc_all                   = lt_tpsrc
        EXCEPTIONS
          matid_not_found                = 1
          locfrom_not_found              = 2
          locto_not_found                = 3
          scheduling_agreement_not_found = 4
          error_selecting_schedagreement = 5
          OTHERS                         = 6.
      IF sy-subrc = 0.
    reading the scheduling agreement records
        READ TABLE lt_tpsrc INTO ls_tpsrc INDEX 1.
        CALL FUNCTION '/SAPAPO/PWB_BZQID_GET_ORDER'
          EXPORTING
            iv_simid               = '000'
            iv_bzqid               = ls_tpsrc-bzqid
          IMPORTING
            ev_ordid               = lv_iordid
          EXCEPTIONS
            lc_connect_failed      = 1
            no_elements            = 2
            unit_conversion_failed = 3
            OTHERS                 = 4.
        IF sy-subrc = 0.
          CALL FUNCTION '/SAPAPO/PWB_GET_RELATED_ORDERS'
            EXPORTING
              iv_ordid             = lv_iordid
              iv_order_type     = '16'
              iv_simid            = '000'
            IMPORTING
              ev_ordid          = lv_eordid
            EXCEPTIONS
              order_not_found   = 1
              lc_connect_failed = 2
              no_elements       = 3
              OTHERS            = 4.
          IF sy-subrc = 0.
            APPEND lv_eordid TO lt_ordid.
            CALL FUNCTION '/SAPAPO/DM_PO_READ'
              EXPORTING
                iv_simsession     = gv_sims
                is_gen_params     = gv_params
                it_ordid          = lt_ordid
              IMPORTING
                et_schedule       = p_lt_sched
              EXCEPTIONS
                lc_connect_failed = 1
                lc_com_error      = 2
                lc_appl_error     = 3
                OTHERS            = 4.
          ENDIF.
        ENDIF.
      ENDIF.
    Use '/SAPAPO/CMDS_SNP_MM_ORD_MODIFY' function module to change the schedule lines (Pass '16' to iv_order_type parameter).
    Let me know if u have any issues.
    Regards,
    Siva.

  • Deletion OF schedule LInes from APO SPP(Spare Parts Planning) through ABAP.

    Dear All,
    I need to delete the schedule Lines from APO SPP(spare parts planning ) system.I am looking for any available BAPI provided by SAP for this purpose.Please provide me help if any of you folks previously in your project went through this requirement.
    If any other way is there other than BAPI please suggest.
    Regards
    Mukesh Pandey

    Hi Siddartha,
    That option is not working.
    Thanks

  • How to delete the old schedule line release in apo

    How to delete the old schedule line release (from current date) in apo which is having schedule  firmed?
    Please suugest.
    Sunil

    How is it possible to delete old purchasing schedule lines in APO (that do not exist in R/3)?
    Though used successfully before, /SAPAPO/CCR will not reconcile our discrepancy in this case.
    Thanks in advance,
    Jim

  • Schedule Line releases in APO do not show in IDoc

    Hey Guys,
    1) The scheduling agreements are released to ECC via /sapapo/pwbsch1 even though i do not maintain any release profile, confirmation profile or process in the /sapapo/pwbsrc1 under the Sch. Agmt tab.   I have the distribution definition maintained.
    My understanding is that without maintaining any values for release profile, the release should fail when executed via PWBSCH1. 
    2) When i create releases for schedule lines using /sapapo/pwbsch1,  the schedule lines get published to ECC and i have verified them. I do not see them published in the IDoc's in APO though. ( transaction WE02 ).  Does the IDoc have any settings to be done for the SA releases to show up.
    Regards
    Ruchi

    another thing, earlier, when everything seemed to be working properly, I noticed that the render indicator lines on top of the time line would change from either a gray or light blue to a green. Now it doesn't change even after I've made changes. So it seems that the timeline isn't recognizing the changes for some reason. Yet when I double click on the clip and then select the filters tab in the viewer and watch the video in the viewer the changes are all there. Only after I drag the clip from the viewer and place it on top of the previous one, the render indicator lines change to red.

  • Firming of schedule lines

    Dear All,
    We are using scenario where we are planning purchase requisitions in APO and sending them in ECC. In ECC we are converting them in to schedule lines.  Once schedule lines they get firm in ECC and for APO as well. But we want to change them through APO in forecast delivery horizon i.e. outside JIT horizon. JIT horizon would be 4 days and 10 days FRC horizon.
    Is it possible to unfix/ un firm schedule lines outside JIT horizon?
    Is there any user exit for this??
    Please advice.
    Thanks & Regards,
    Shirish Kulkarni

    Hi
    I do not think such facility is avaialable in Std SAP.
    Regards
    YMREDDY

  • SCHEDULE AGREEMENT-DELIVERY SCHEDULE LINE ITEM PRINTING

    Scheduling agreement is created in ECC.
    Delivery schedule line items are generated using APO and CIFed over to ECC.
    Upon displaying in ME38 in ECC, the delivery schedule line items are appearing as required. The problem is that no output type is displayed for condition type LPET even though the settings are done & condition records are maintained.
    Can someone throw some light on this?

    Hi Anil ,
    Goto Transaction NACE , Select Application EL and then Click on O/p Types.
    Select your o/p and click on Processing routines.
    Make a copy of medium 1 and change it to 5. The program , Form , Form routine would remain the same.
    Maintain condition records with medium 5 in MN10.
    Ensure that email address exists in Vendor Master.
    Check with ur Basis to make sure that the setting are done in Transaction SCOT for sending document via PDF.
    Create a new Agreement and test it.
    Regards
    Ramesh Ch

  • Confirmed Schedule Lines in Sales order on a Holiday

    HI Experts,
    I am seeing that I have a confirmed schedule lines on a Holiday though the Calender assigned to Shipping Point and Plant has been marked as holiday. I have not maintained any unloading point calender in Customer master and I do not think it is mandatory. However, ECC is connected to APO/GATP. Since The availability check is happening from GATP, Will it consider the factory calender in ECC or Should a Time series be maintained in Location Master so that The confirmed delivery date will not be on a holiday.
    Any inputs will be appreciated.

    Dear Prady Reddy,
    unloading point calendar is not mandantory.
    The ECC factory calendar will be transfered and considered in APO scheduling but you can also define other calendars in APO with time streams and you can assign it to locations.
    Hope this helps.
    Regards,
    Tibor

  • Change delivery date in schedule line

    High gurus,
    I need some help. How is it possible to change the delivery date in a schedule line generate by APO ?
    Thanks.

    Hi Thanks for your reply.
    But the Tcode that you have mentioned appears to be in the SCM system and it calls an External Procurement Relationships report. My requirement is as follows:
    I have a date generated based on the Route Schedule id (VL51, VL52) and I need to sync this date with the Goods issue date of the Sales Order created. So whenever a sales order is created with the schedule line dates, i need to modify the dates generated by the system with my dates like I will have to call a FM or a BAPI by passing the new GI date and get the new set of dates and populate them on the Sales Order schedule lines screen.
    This scenario will happen for a GATP (Global Available to Promise) where by the ECC system does a remote call to the APO system to get the new dates. I will have to modify these dates with a new set of dates created either using a FM or a BAPI and populate them again on to the screen
    Thanks,
    Susanth Kumar

  • Sales order : Creation of VBAP main lines from VBEP schedule lines

    Hello , I am working on SAP sales order interfacing with legacy system. This is the scenario where legacy system orders will come to SAP system for availability check. I mean , the legacy system sales order are replicalted in SAP system. and the availability check runs for it in APO. 
    Based on the SAP system stock availability , the sub item or sub items ( schedule lines) will be created in the sales order. Here is one example of partial quantity availability.Below example shows that sap system has received a order of quantity 100.
    SAP stock available is only 20 for 29th may. Another quantity 80 will be available on 30th May.
    So system will create two sub items or two schedule lines.
    But when I save the sales order the sub-items lines should be converted into main item lines as shown in the below example in after save.
    I tried this developement by using MV45AFZZ. User exit - SAVE_DOCUMENT_PREPARE. But I am not getting right results.
    I short , I would like to have single schedule line for one item line. And if there are multiple schedlue lines then for each schedule line one item line should be created automatically by the system
    Before Save
    Item
    Schedule line
    Req Date
    Req Qty
    Rounding Qty
    Confirmation Qty
    40
    1
    29th May
    100
    100
    20
    2
    30th May
    80
    After Save
    Item
    Schedule line
    Req Date
    Req Qty
    Rounding Qty
    Confirmation Qty
    40
    1
    29th May
    20
    20
    20
    41
    1
    29th May
    80
    80
    2
    30th May
    80

    Hi Ravindra,
    I think this is not possible . If the stock is not available this will display in same passion.
    Regards,
    Madhu.

  • Returns PO based on Return sales order - schedule line problem

    Hi,
    We're designing a return to vendors process as the opposite of a purchasing process through a plant. So normally the process is:
    Customer places order
    We buy from the vendor (PO based on sales order)
    Goods arrive at the plant
    We deliver from plant
    The opposite process is:
    Customer wants to return
    We create return delivery
    Goods arrive at the plant (GR)
    We sent the goods to the vendor (return PO based on sales order)
    This all works, but in the second scenario the sales order gets two schedule lines instead of one. So the system confirms based on the planned delivery time instead of just based on the required delivery time. Since this is a returns process, it doesn't make any sense as we're shipping to the vendor at our convenience once the goods arrive.
    Any ideas how to resolve this? Schedule line settings have been changed to all different versions. Basically the relevant customizing is:
    item category - returns item set
    schedule line category - movement type 653, order type NB, item category 0, acct assignment category M
    Many thanks

    There are a few other places to check, but you probably have exhausted those areas.  You can turn of the availability check at the item category also especially if it is specifically for the return order.
    Sales and Distribution => Basic Functions => Availability Check and Transfer of Requirements => Availability Check => Availability check with ATP Logic => Determine Procedure for each delivery item category
    I have also run into issues with APO active and having unintended consequences on the order.  Another avenue to check if there are any customer specific code in a requirements routine or user exit.
    Jeff

  • Schedule lines in Availability Check Delivery Proposal screen

    Hi,
    This is in continuation to an earlier thread that I had created about Sales Orders not getting CIFfed across to APO. I have a situation in a different system where this is being configured for data transfer. The problem here is not about CIF. All issues pertaining to CIF were addressed in the earlier thread.
    This question is primarily about schedule lines of the sales order not opening up for confirmation in 'APO Availability Check: Delivery Proposal' screen as in this link: https://docs.google.com/leaf?id=0B78qjSKXsqbeNDFjMzlkM2MtMDNlOS00ODFmLWJmYjktYmU0ZDU5Zjk0ZDlh&sort=name&layout=list&num=50&authkey=CO2E0ZYN
    It is perhaps some config that is changed or missing that is causing this problem.
    Kind regards,
    Srikanth

    Srikanth,
    This is what the screen looks like when the ATP you have configured cannot confirm anything.  The only button available to you is to proceed without confirming the order. 
    An example of the types of reasons would be no allocation available, no stock available, no supply elements available, too many existing requirements, etc etc.  Improper or incomplete APO GATP configuration could unfortunately also be the culprit.
    You have two icons at the top, check instructions and Allocation.  Click on these buttons, and they may give you clues as to what is causing your problems. 
    Best Regards,
    DB49

  • Schedule line different from days accepted by customer calendar

    Hi,
    When trying to create order for a customer using fcustomer calendar (receiving days = monday), and proposing delivery date for example on a wednesday, it compares a warning messagge that says that next possible goods receving date is the subsequent monday.
    If you ignore it, the date in the schedule line remains unchanged (programmed delivery on wednesday).
    System uses APO,in the case it runs instead it proposes the nearest monday to the requested date, and no problem with that.
    The problem remains on those cases where APO doesn't run.
    Any ideas on how to make automatic acquisition of the proposed date of the warning messagge and insert it in schedule line?
    User-exit is necessary?
    Thanks,
    Giuseppe

    Anybody that can help me????

  • How to delete the old schedule line release?

    Hello,
    How to delete the old schedule line release in apo?
    Generally GR has to be carry out  schedule line release  in r/3 which reduces the Schdule line release.
    But i do want do GR against old schdule line release instead i want to delete the old schdule line release.
    Please suggest.
    Regards,
    Sunil Patil

    Sunil ,
    /sapapo/cmds_del  is the tcode to deleted sales scheduling agreement confirmations and releases
    /sapapo/display_conf  is the tcode for displaying sls. sch.agr confirmations and releases
    The above two are in the supply chain collaboration menu
    /sappao/cmds_sc02 is the tcode to delete sales scheduling agreements . This tcode is in the application specific master data menu
    Thanks
    Saradha

Maybe you are looking for

  • Images in PDFs are too dark - wrong color, brightness, contrast

    I use my IPAD mainly for viewing medical books, e.g. radiological atlases. Most come in PDF format and most don't look much different on the IPAD than they do on PC. But it is very frustrating to find that the most important book I need looks incredi

  • Need help for SRM Data Extraction into BI-7

    Hi Experts, I am looking for help regarding SRM DataSource Extraction to BW. I am working on BW project and need to extract data from SRM Data Source 0BBP_TD_CONTR_2 and 0SRM_TD_PRO. I need to know about the extraction process from SRM. Is there a to

  • Blu Ray EASY EXPORT option in new FCP 7

    Would love to hear from anyone who has tried the new feature Easy Export in FCP 7 upgrade for Intel Macs, particularly the Blu Ray burning export from within FCP 7 to Blu Ray Disc. What is the quality (limits) and do we finally have actual Chapter Ma

  • Photoshop CS2, UI too small to read or use on lenovo yoga 2 pro HELP!

    I have been using Photoshop CS2 for years and had to move it to my new laptop but I can't even see where the mouse it to work on anything. Please help!

  • Portege r835-p55x randomly runs hot?

    I've had the portege for about two months now and have generall been very pleased with it. However, I've noticed that it has some very random issues with temp management. About 10 minutes ago, the computer randomly got up to 70C on each core after re