Changing details of schedule line agreement-T.code ME38

Hi Abapers!!!
            Is there any function module to change the details of schedule line agereement.. .....if GR quatity is less than the scheduled quantity i want to make scheduled quantity as gr quantity.
          Can't we change this using BAPI_PO_CHANGE? I tried, but I am getting the message 'the schedule line agreement is not possible using this function module'.
          This process is possible through the me38 (just type agreement number ,double click on the screen displayed,finlay a report will displayed there we can make changes). Instead of doing this manualy i asked to develop a program to do automaticaly.
Could anyone pl help me on this issue.....Pl give your suggestions. .
Thanks in advance!!!

Hi Madan,
         Thanks for ur reply!!!
      Refer the purchase order with document category L
and document type LP or LU .BAPI_PO_CHANGE is not working for this.....So i want to know any other function module or methods.
Edited by: Ranganayahi Chandirasekaran on Aug 12, 2008 5:47 AM

Similar Messages

  • Need BAPI Name for updation of Subcontracting scheduling line agreement

    Hi All,
            Can anybody please tell me BAPI Name for updation of Subcontracting scheduling line agreement from EKET table?
    Note: BAPI_PO_CHANGE is not useful for me.
    Thanks and Regards,
    Atul.

    Hi Muralidhara,
    Can you please give some more details for this BAPI..
    I tried using it , but getting an error "No instance of object type PurchSchedAgreement has been created. External reference:"
    and "Enter G/L Account" (Infact I did specify G/L account in account assignment table)
    with regards,
    Kirti

  • BAPI for Maintain Scheduling line agreement

    Dear ABAPer,
    I am using SAP version ECC 5.0. I want to develop Change Scheduling line agreement  enhancement.
    my requirement is, any BAPI is there for the same.
    if you have any idea, please help me.
    thanx.
    with best regards,
    Velmurugan.S

    Hi ,
          Hope it helps.
    Maintenance of Scheduling Agreement Delivery Schedule Lines
    BAPI_SCHEDULE_MAINTAIN
    The BAPI_SCHEDULE_MAINTAIN is used to create or change scheduling agreement delivery schedule lines.
    The parameter PURCHASEDOCUMENT and the scheduling (delivery schedule line) data in POSCHEDULE and POSCHEDULEX are to be passed on to the interface. These three parameters are defined as mandatory.
    IMPORT
    Extensionin
    ScComponentX
    ScheduleX
    TechnicalData
    TestRun
    EXPORT
    ExpHeader
    Extensionout
    return
    Changing
    ScComponent
    Schedule
    CALL FUNCTION 'BAPI_SCHEDULE_MAINTAIN'
      EXPORTING
        PURCHASINGDOCUMENT       =
    "   TESTRUN                  =
    "   TECHNICAL_DATA           =
    " IMPORTING
    "   EXP_HEADER               =
      TABLES
        SCHEDULE                 =
        SCHEDULEX                =
    "   SC_COMPONENT             =
    "   SC_COMPONENTX            =
    "   EXTENSIONIN              =
    "   EXTENSIONOUT             =
    "   RETURN                   =
    Thanks,
    Rajesh

  • Step wise config data for schedule line agreements

    DEar All,
    I need urgently one the foolowing doc:
    step wise config data for schedule line agreements.
    thanks
    regards,
    s KUMAR

    Hi,
    1) Scheduling Agreement is a long term agreement and PO is normally a one-off. When you have long term relation with supplier you will go with SA.
    2) SA need not have delivery schedules at the time of ordering. It's like a contract with vendor for all basic prices, quantities & terms. You will release schedules as & when required. This method is very popular with manufacturing ind (e.g. automotive) where they negotiate prices but delivery schedules are given periodically based on their actual production/sales demands.
    3) In a PO, you must give schedules in PO itself.
    4) If you know contract & release order (or call-off) concept, then SA is like contract and SA schedule is like release order. PO is release order.
    or
    While using schedule agreement, you will create delivery schedule, when ever you require materials.
    Firm and trade off zone in delivery schedule details will be forwarded to your vendor. you can create daily , weekly , monthly schedule lines
    Example : if you have created a schedule agreement for product " A " for quantity 1000, and you require material of 100 nos in the first month, you can create schedule line for this 100 only and this will be transmitted to vendor( if you are using LPA you have to release schedule line). when ever you require further qty based on your requirement you will create another delivery schedule line, then it will be transmited to vendor.
    In case of PO if you are ordering 1000 qty , you need to specify the delivery date in Purchase order it self, and all the dates are immediately transmited to vendor along with Purchase order.
    For configuration steps please follow
    http://help.sap.com/saphelp_47x200/helpdata/en/93/7439fb546011d1a7020000e829fd11/frameset.htm
    Hope this will help.
    Thanks,
    Raja

  • How to use bapi to change so's schedule line category

    dear friends:
       I try to change so's schedule line category using bapi "BAPI_SALESORDER_CHANGE", but it doesn't work,the code is as following:
      T_SCHEDULE_LINES-ITM_NUMBER = ITAB-POSNR.
      T_SCHEDULE_LINES-SCHED_TYPE = ITAB-ETTYP.
      T_SCHEDULE_LINES-SCHED_LINE = '0001'.
      APPEND T_SCHEDULE_LINES.
      T_SCHEDULE_LINESX-ITM_NUMBER = ITAB-POSNR.
      T_SCHEDULE_LINES-SCHED_TYPE = ITAB-ETTYP.
      T_SCHEDULE_LINESX-SCHED_LINE = '0001'.
      T_SCHEDULE_LINESX-UPDATEFLAG = 'U'.
    who can tell me the reason.thanks in advance.

    Hi 
    First try to execute same bapi in test mode and then check thwe respective SO if this work then you have to commint the changes through program, some more help on this topic
    The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.

  • Help on Configuration of Schedule Line agreement

    Hi friends
    please let  me to know the configuration steps of Schedule Line agreement
    Thanks for ur help
    Regards
    Krishna

    HI,
    Refer
    http://help.sap.com/saphelp_47x200/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm
    It is the same as that of the value contracts for Schedulling agreement as well.
    Thanks & Regards,
    Kiran

  • Changing Date in Schedule Lines

    Good Day.
    When I am changing a date in the schedule line. everything resets back to start date.
    For example:
    a> 10/1 x 5000
    b> 10/15 x 5000
    c> 10/30 x 5000
    I just want to change the date of b> from 10/15 to 10/10, but everything just resets back to zero, such that i have to re-enter 10/1 & 10/30 again.
    What should I do to prevent that?
    Let me know...
    Thanks,

    do not use a standard order to manage schedule lines. Use scheduling agreements instead, they are much more flexible.
    Roberto

  • How to put schedule lines for one year  in a schedule line agreement

    dear all
    thanks for the support till now from the forum
    now i need some seetings by which the scheduling agreement will autoumatically take the schedule line for one year automatically
    in my client we are getting open PO so
    we have to make one agreement acording to that PO and thats for one year
    and this one yr will have same quantity to be produced everyday
    means 12nos of material every day for 12 month and this will be for every day
    and as per that it should generate a sales order.i need to put schedule line automatically not mannually one by one for each date.so wat is the settingand how to reffer this scheduling agreement we can produce sales order.
    please help
    subrat
    Message was edited by:
            subrat panda

    Dear Subrat,
    you cannot create a yearly schedule line in the scheduling agreement. It is not possible due to format restrictions of the date field. But what you can do is the follows (it is the modification, but it should work with the help of user-exits):
    1. You can split the year schedule line to the monthly schedule lines. There are two ways to do it. If you apply the DELINS IDOC, then you can do it already during transfer of the data to the application (itr is the best way). Here you can use, for example, user-exit USEREXIT_ZUORDNEN_IDOCS (include LVED4FZZ) or customer function EXIT_SAPLVED4_002, called from the subroutine USEREXIT_DYNPRO (Include LVED4F0U). Alternatively, you can use the user-exit USEREXIT_MOVE_FIELD_TO_VBEP (Include MV45AFZZ) within the call transaction, then it will work also in the dialog case.
    2. After getting the monthly schedule lines, you can create a planning delivery schedule, where you can split mothly schedule lines automatically to daily schedule lines according to the customer factory calender.The settings for generation of planning delivery schedules can be found under:
    Customizing SPRO: Sales and Distribution => Sales => Sales Documents => Scheduling Agreements with Delivery schedules => Maintain Planning Delivery Sched. Instruct./Splitting Rules
    It is the only ways, how you can reach your aim. I hope, this information will help you further.
    Kind Regards,
    Akmal Vakhidov
    Development Support SD, SAP, Walldorf/Germany

  • FM to change / split SD schedule lines in batch

    Dear all,
    Following scenario:
    Material A: Current available stock: 1000 pcs,
                Purchase Order 10000 pcs arriving on 01.09.06
                SD order with 2000 pcs.
    When I run the availability check for the SD order in VA01, the system would create 2 schedule lines:  1000 pcs today & 1000 pcs 01.09.06.
    We would like to use a batch program instead of the online availability check in order to calculate the confirmed qty. based on our rules.
    What I'm looking for is a FM / BAPI which allows the created more than one schedule line and pass the confirmed quantity, eg. 900 pcs scheduled for today and 1100 pcs scheduled for 01.09.06  .
    I tried FM SD_BACKORDER_UPDATE but it allows only to pass one quantity per item line and does not split the schedule lines.
    I also tried BAPI_SALESORDER_CHANGE but it does not allow to pass the confirmed qty. ( It changes the order line qty.)
    Any idea welcome......
    Regards
    Heinz

    Hi Heinz,
    In the sales order you can go to the Item -> Schedule lines and you can split it.
    Did you resolved if so shall i know how.
    Regards
    Agasthuri Doss

  • Scheduling Agreement Schedule Lines firmed after outbound delivery

    Dear All,
    We use scheduling agreement for cross-company process in our client.  After MRP run schedule lines created automatically. For the next step outbound delivery is created via VL10F (or VL10B).
    After outbound delivery creation, on MD04 or ME39, i see the schedule line firmed (*). Because firmig MRP doesn't change those schedule lines. This is a problem for our client.
    Do you know a way for MRP can change the schedule lines even outbound delivery created ? How can i manage this situation ?
    Best regards,

    Hi Anil
    The '*' that you see means that the schedule line has been changed manually and the Firming indicator (EKET-FIXKZ) is set when there is any change to the Schedule line.
    So, when a Delivery is created, the schedule line should be 'Fixed'.
    Otheriwse, MRP can delete or change this schedule line and it would cause an inconsistency in the system. This is the logically intended behaviour.
    Please see the F1 help for the field EKET-FIXKZ:
    "Schedule Line is "Fixed"
    Fixes the schedule line and determines that it cannot now be automatically changed as a result of materials planning and control/MRP activities.
    Procedure
    The indicator is set automatically if:
    .- You make manual changes to a line of a scheduling agreement delivery schedule that was created via the materials planning process
    .- You create a schedule line manually
    Dependencies
    You can specify whether Materials Planning/MRP can change delivery schedule lines within the firm and trade-off zones in the additional data for the scheduling agreement item."
    I hope this helps.
    Anna

  • EDI Message for Scheduling Agreement Schedule Lines

    Hi Experts,
    My client has the EDI set up for the SASL and is running fine.
    Currently we have scheduled background program to trigger the IDOC and convert the IDOC into XML to send the information to the external system via interface after MRP run.Output type in the SASL will be triggered at header level (Without release documentation) whenever there is a new or change in the schedule line. Schedule line will be fixed automatically for every MRP run based on the Firm zone maintained in scheduling agreement.
    Now the requirement is, Client wants to send the schedule lines regardless of New or change after MRP run sothat all the information will be sent to the suppliers. This requirement may be contradictory one but the client needs it.
    1) For the New schedule line creation the output type will be triggered so no issues the program will take care
    2) For the change schedule line also the output type will be triggered so No problem.
    Requirement :
    1) When there is no new & change in the schedule lines , how we can handle this???
    2) Client wants to fix the schedule lines based on the planned delivery time and they do not want to maintain this PDT in the Firm zone field.??
    Kindle explore and provide me the inputs. Appreciate your help.
    Thanks /Karthik

    Can you elaborate bit more on the issue.
    see if you are not mentioning the PDT in the firm zone field. then it means the schedule lines can be changed and once they are changed the change idoc will get trigger.
    however if there is no change in the schedule line and since its a old one there will not be any idoc generation for this.
    seems as per your requirement you want to get the idoc generated for the old line as welll then u need to look for the anhancement badi/uer exit to map this.
    need more insight of the issue to resolve it

  • Schedule Lines generated for expired Scheduling agreements

    Hi All,
    We are facing problems in Scheduling agreements.
    Schedule lines are getting generated for those agreements whose validity has expired(i.e Validity in Past).
    Is there any check to restrict those Scheduling Agreements??
    Please Help.
    Regards,
    Ritesh.

    from OSS note 914607 - FAQ: Validity and status of scheduling agreements
    1. Question: When I process scheduling agreements without delivery schedules, I have the option to specify the validity of the scheduling agreement: "Valid" and "Valid to". What role does the validity play when the scheduling agreement is processed?
    Response: In the case of scheduling agreements without delivery schedules, the system checks the validity of the scheduling agreement if you create a new schedule line or change an existing schedule line. If the schedule line date is outside the validity interval, a warning message is issued. You can then decide whether or not to create the schedule line or whether to adjust the validity of the scheduling agreement. No error message is issued.
    2. Question: What role does the validity play in the case of scheduling agreements with delivery schedules?
    Response: The function is similar to scheduling agreements without delivery schedules. The only difference is that the entry of the validity is optional (unlike scheduling agreements without releases) and this is not checked by the system. If the validity is missing, the system does note issue a warning message. If you specify the validity, the system behaves in the same way as for scheduling agreements without releases.

  • Mass change schedule line

    Hi,
    I want to know how to mass maintain the schedle line rejection code for a specific grid value.
    I tried using the T Code MASS, but i cant carry out mass changes at the schedule line level.
    Thanks,

    Hi,
    Rejection code is at item level and once rejected system automatuically deletes the SC lines.
    Vivek

  • Change shipping dates/times for confirmed schedule line

    Hi,
    I am having a problem changing the confirmed schedule line in a Sales Order VA01.
    I have added my code into the user-exit
    *       FORM USEREXIT_MOVE_FIELD_TO_VBEP                              *
    *       This userexit can be used to move some fields into the sales  *
    *       dokument schedule line workaerea VBEP                         *
    *       SVBEP-TABIX = 0:  Create schedule line                        *
    *       SVBEP-TABIX > 0:  Change schedule line                        *
    *       This form is called at the end of form VBEP_FUELLEN.          *
    FORM userexit_move_field_to_vbep.
          vbep-ezeit  = '235900'.
          vbep-wauhr  = '235900'.
          vbep-lduhr  = '235900'.
          vbep-mbuhr  = '235900'.
          vbep-tduhr  = '235900'.
    However, in the above code I manage to only change the first schedule line in case I choose a delivery proposal. I need to change the line with a confirmed quantity. Instead I change only the first shedule line without a confirmed quantity.
    Question: Which user-exit can i use to change shipping times dates for all schedule lines or just confirmed schedule lines?
    Thanx

    Hi,
    Use form routine "USEREXIT_SAVE_DOCUMENT_PREPARE" in MV45AFZZ.  Update VBEP as well as XVBEP Structures.
    Regards
    Vinod

  • Scheduling Agreement Vs Schedule Lines

    Dera All,
    ECC 6.0
    We are working on Scheduling agreement and schdelue line for Raw Material Procurement , for this we have created the Scheduling agreemnt  for vendor say for 100 kg for next 12 months, and maintained the source list in ME01 with "2"  to get the schedule lines auto generation once we run the MRP.
    Dependenet requirement for next 12 months = 1200
    After MRP run  the schedule lines are generating in ME38 for all 12 months = 1200 kg , but we have maintained the schedule agreement for 100 kg only , so can we restrict system to generate the schedule lines in ME38 for 100 kg only   ?
    I mean in ME38 schedule lines should not plant More than scheduling agreement
    Pls help me to resolve this .....
    Thanks in advance,
    Regards,
    Rajesh patil

    Hi, Not sure of any work around.
    Post-ME38 phase SAP gives the option of ensuring that 'Scheduled quantity & & greater than target quantity & &'  with the 06/067 message and this requirement is Pre-ME38 phase.
    A similar requirement got raised today after your response, in the MM forum, and it also received the same response.
    http://forums.sdn.sap.com/thread.jspa?threadID=2148427&tstart=30

Maybe you are looking for

  • I saved a document in pages and have overtyped,  I thought I was savings a separate document.  It seems to have overridden the original.  Is there anyway to get the original document back?

    Sorry first time I have posted so if I have got this wrong I apoligise. Hi, I have produced a letter on pages and saved this.  Then I needed to send another letter to the same person and overtyped the original.  I thought I was saving a version so wo

  • Agent Assignment for tasks

    Hi, i have created a ECM WF. Now i wanna do d "Agent Assignment" Requrement is if User A checks the ECR then User B shud approve it. If user X checks the ECR then User Y shud approve it and so on. Thus my requirement is Hierarchy based i.e. depending

  • MP3 wont play in Firefox

    Hello all, Ive just created my site in I web and published it to my domain name. It looks and works great in Safari, Looks great in Firefox but the music file won't play - any clues. The site is oddshoesav.com by the way. cheers

  • Why can't I download the new itunes?

    My computer won't let me upgrade software or itunes.  I keep getting a 'not recognized' message when I try to download the .dmg file.  I tried calling apple, but they want 60 bucks to help me, and I think that it a joke, I just want to upgrade alread

  • Button links to a wrong Timeline.

    Hi. Another weird error: when viewed in a DVD player, one button in a menu does not link to the timeline assigned to that button, but to another completely different and not related. The same disk, when played with VLC, Windows Media Player or whatev