Creation of PO/Contract/Scheduling agreement with ref to PR using IDOC

Hi Experts,
Is it possible to <b>create PO/Contract/Scheduling agreement</b> <b>with reference to PR</b> <b>using inbound IDOC ?</b>
If yes, please let me know the segment type and field to be populated for referencing PR in the IDoc .
Thanks in Advance,
Best Regards,
Mitesh Desai

Hi Aarif,
Thanks for taking time to reply .
We are palnning to integrate SAP and non SAP systems.
The business Process is as under .
(1) PR will be generated in ERP (Manaul/MRP)
(2) PR will be coverted into RFQ (for which there is no appropriate source of supply
     in ERP)
(3) Sourcing will be done in non SAP system. RFQ will be created with dummy vednro (for example say "source") to identify RFQs to be sent to another system.
These RFQs needs to be sent using IDOC alonwith reference PR numbers and line item numbers.
  Multiple PRs will be combined into one RFQ as multiple line items.
(4) Non SAP system will do sourcing and generates either PO or master outline agreement and have reference PR/RFQ numbers and line item numbers.
No SAP system will send PO/outline agreement information to SAP system in XML file format to generate inbound IDOC in SAP .
(5) This inbound idoc will generate PO/outline agreement in SAP.
From SAP functionality point of view, I ca createPO/outline agreement with reference to PR but <b>My Question is how I can generate PO/outline agreement in SAP through IDOC and using "Reference PR or RFQ numbers".</b>
Looking forward to help ASAP.
Regards,
Mitesh Desai

Similar Messages

  • BAPI for creating scheduling agreement with reference to Contract agreement

    Hi All ,
    Can anyone please suggest if there is any BAPI for creating scheduling agreement with reference to the contract agreement number.
    Thanks for your help.
    Vadivukkarasi

    Hi,
       Check this BAPI <b>BAPI_AGREEMENT_MAINTAIN.</b>
    check these
    BAPI_CUSTSCHEDULAGREE_CONFDELV Customer Sched. Agreement: Confirmation of Delivery; Document Flow Upd
    BAPI_SALES_DEL_SCHEDULE_CREATE BAPI for creation of releases in scheduling agreements
    Regards

  • Error in modifying Schedule Agreement with reference to contract

    I have created a Schedule Agreement with reference to a contract manually.The contract is of type MK, while the SA is of type LP.
    The contract contains one Material which was successfully added to the SA.
    Now I am trying to automate the same using BAPI BAPI_SAG_CHANGE. This causes a short dump in the system -
    Runtime Errors       MOVE_CAST_ERROR
    Exception              CX_SY_MOVE_CAST_ERROR
    Short text              Dynamic type conflict when assigning references
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_MOVE_CAST_ERROR', was not caught in procedure "GET_CREQS" "(METHOD)", nor was it propagated by a RAISING clause. Since the caller of the procedure could not have anticipated that the exception would occur, the current program is terminated. The reason for the exception is: It was tried to assign a reference to a rereference variable using the
        'CAST' operation ('?=' or 'MOVE ?TO'). However, the current content of the source variable does not fit into the target variable.
        source type: "\FUNCTION-POOL=MEOUT \CLASS=LCL_OUT_ITEM_SA"
        target type: "\FUNCTION-POOL=MEOUT\CLASS=LCL_OUT_ITEM_CON"
    Information on where terminated:
        Termination occurred in the ABAP program "SAPLMEOUT" - in "GET_CREQS". The main program was "RS_TESTFRAME_CALL". In the source code you have the termination point in line 105 of the (Include) program "LMEOUTP2F". The termination is caused because exception "CX_SY_MOVE_CAST_ERROR" occurred in procedure "GET_CREQS" "(METHOD)", but it was neither handled locally nor declared in the RAISING clause of its signature. The procedure is in program "SAPLMEOUT "; its source code begins in line 101 of the (Include program "LMEOUTP2F ".
    The following data was populated before calling the BAPI:(along with itemx table also)
    item-item_no
    item-agreement
    item-agmt_item
    The entire logic consists of updating the contract first with a new line item and then adding a line item in SA with reference to the new item in the contract.
    The contract updation is working correctly [BAPI_CONTRACT_CHANGE].

    Hi Bahrat,
    I am also facing the same issue now. Is this issue resolved for you?
    Please send the threads if any.
    Can anyone plz respond for the issue?

  • Time-indepement Scheduling agreement with reference to contract

    I want to attach pricing procedure to scheduling agreement, so I change LPA SA from time-dependent to time-independent.
    But after the change, I can't reference contract to create SA. error message as below "Contr. release order only allowed for sch. agmts. w. time-dep. conditions".
    How shoud I do to attach pricing procedure and create SA with reference to contract at the same time?

    Hi,
    please see the notes
    160630  - Conditions in scheduling agreement with reference to contract
    1046794 - FAQ: BAPI for outline agreement, questions 1 and 5
    1034912 -  MEMASSSA - document conditions are deleted  
    456691 - FAQ: Price determination in purchasing, question 4
    Regards,
    Edit

  • Quantity contracts/ Scheduling Agreements

    Hello All,
    I am working on a special business scenario.
    To do this I need to invoice the "quantity contract" or "scheduling agreement". I know itu2019s not possible in standard but is there anyway where I can invoice the quantity contract or scheduling agreement? With modifications and maintaining copying control I can do the invoice to the contracts but I know I canu2019t run MRP. Is there any possibility where I can run MRP for Quantity contracts? Both the steps (Invoice and MRP) should configure to run the functionality.
    My next query is how I can save outline agreement with out mentioning the dates and quantity.
    I know the questions I raised look strange but itu2019s very useful to my business process if I can configure above items.
    Regards,
    Vamsi

    Hi,
         My req also similar to yours.
    Customer place the req- with or without delivery dates.
    In this case,initially i started luking for quantity contract. but both with r without delivery dates, I cant maintain in contracts.moreover this contracts,we cant run MRP & cant create billing too (as its not rel for billing )
    then i look for the scheduling agreement,
    In std SAP,you cant create agreement without qtty,because agreement will have pricing procedure applicable. without qtty pricing will be "zero"- then system wont allow to save the agreement.
    for me, Scheduling agreement working fine,
    I can use this with or without delivery dates & with or without qtty. this req will be transferred for MRP run.
    Just analyze, why you need to create agreement without qtty- will solve ur issue.
    in my case,
                  Customer can receive the goods irrespective of ordered qtty. means its considered as open order all the time until the validity period completes. But the pricing will be mentioned in agreement.But without qtty we cant have pricing.So i entered the max-X qtty in agreement started creating delivery with ref to this agreement. In delivery item cat -checked"over delivery allowed"- So irrespective of the order qtty i can delivery as per customer req & the same delivered qtty n price will be copied at the time of invoice creation.
    hope it helps

  • Contract , scheduling agreement and service order

    Hi all,
          Can anybody tell me about the contract scheduling  agreement and when we can suggest our client to go for schedule or contract agreement ?
    Pls tell me elaborately .
    Also Pls explain me about service order and when can i go for service order . whether it is restricted to AMC ?
    Pls explain me elaborately.
    pls explain me steps for creating contract or scheduling agreement and service order..........................
    points to be rewarded.
    Regards,
    Girish.

    Hi,
    Contract is outline purchasing agreement where you have a contract with the vendor,may be a for a predetermined quantity or predefined value. So everytime you need the matl,  you need to make PO ref the contract asking for the delivery of the matl. In such instance when PO is ref with contract its called contract release orders or call off orders. So Process are ME01, ME11, ME31K with aggnrement type, ME51,ME21 & MIGO,
    Scheduling agreement is a long term purchase agreement, where you will keep issuing the delivery schedules whenever there is a change in requirement or at predetermined time intervals. The delivery schedule can be on hour/daily/weekly/monthly basis. SA is also an agreement with the vendor for the supply of matl, may be a quanity or value. The delivery dates will be maintained in ME38 ref the SA which are called delivery schedules.So you can maintain the delivery schedule and communicate the vendor on Forecase basis or JIT basis. And when you need some more matl then will only create SA deliveries using ME38. SA could be of 2 types:- without release documentation-system will transmit the delivery info to the vendor once you save the document.
    With release documentation- after creating the delivery schedules you need to create SA release using ME84.So Process are ME01, ME11, ME31K with aggnrement type, ME38 & MIGO,
    Service order or service PO is created with item Category "D" and an account assignment category as per ur requirement. U can not enter ur material here only u have to maintain short text of material. Example: You want to clean the boiler and u given contract to your Vendor. Vendor sends quotation mentioning that Rs.100/hr/Man head. Now how you will measure the cleaning activities of furnace? You can pay to contractor based on the hourly basis/ man head spent in cleaning activities. So in this case create the Purchase Order mentioning "Cleaning" in the short text in Item overview(Acc assignment ' K' or “C” or “P” and Item category 'D) and item details " Man Head" Service No , Gross price - Rs.100.00 and unit - hour ( or pick from Service master) and Quantity-number of hours spent by all man head.
    The steps to create Service PO are:
    1) Maintain Item Category as D & account assignment such as cost center “K”or slaes order”C”
    2) Keep material code field blank.
    3) Enter description of service & other fields in the PO Item Overview level. Press Enter.
    4) System will prompt you to maintain services at Item Level. Maintain your service master number / service description & other fields (quantity / rate /)
    5) Save the PO.
    For more follow the links;
    For more follow the link;
    http://esoadocu.sap.com/socoview(bD1lbiZjPTgwMCZkPW1pbg==)/render.asp?packageid=DBBB6D8AA3B382F191E0000F20F64781&id=EB65A89F1AFD4C46AB61C6161BAF
    http://www.sap-img.com/sap-sd/sap-sd-scheduling-agreement-vs-contract.htm
    http://www.copacustomhelp.state.pa.us/infopak/nav/procurement/contracting/file1499/index.htm
    http://www.sap-img.com/materials/what-is-outline-and-scheduling-agreement.htm
    Regards,
    Biju K

  • Contracts/scheduling agreements

    Hi,
    Could anyone suggest me some useful links on contracts/ scheduling agreements?
    Thanks in advance
    Aparna

    Dear,
    Outline agreements in procurement can be 2 types:
    Contracts or Scheduling agreements.
    Contract is where you have a contract with the vendor,may be a for a predetermined quantity or predefined value. So everytime you need the matl,  you need to make PO ref the contract asking for the delivery of the matl. In such instance when PO is ref with contract its called contract release orders or call off orders. 
    Scheduling agreement is a long term purchase agreement, where you will keep issuing the delivery schedules whenever there is a change in requirement or at predetermined time intervals. The delivery schedule can be on hour/daily/weekly/monthly basis. But it will contain different zones viz. firm/tradeoff/Forecast.  Firm zone schedules are confirmed requirement and need to be taken by ordered party. Tradeoff zone requirement is to purchase the raw materails and ordering party is liable to pay raw material cost, in case of requirement cancellation. Forecast zone requirement is to help the vendor to plan his requirements.
    SA is also an agreement with the vendor for the supply of matl, may be a quanity or value. The delivery dates will be maintained in ME38 ref the SA which are called delivery schedules.So you can maintain the delivery schedule and communicate the vendor on Forecase basis or JIT basis. And when you need some more matl then will only create SA deliveries using ME38. SA could be of 2 types:- without release documentation-system will transmit the delivery info to the vendor once you save the document. 
    With release documentation- after creating the delivery schedules you need to create SA release using ME84.
    The main difference between contract and SA is volume of docs generated would be higher in contract since everytime you need to make a PO ref the contract and its time consuming, whereas SA can be integrated with MRP such that it automatically creates delivery schedules during MRP run provided if there is a requirement to the matl. 
    Visit : http://help.sap.com/saphelp_srm30/helpdata/en/7d/0a093f7c392e5ae10000000a114084/content.htm
    Regards,
    Syed Hussain.

  • Scheduling Agreement with Kanban

    I was looking in to the forum and as per my understanding FRC and JIT schedule, On the days on which the next FRC date (1st. Monday in the month) or the next JIT date (Monday each week) is reached, scheduling agreements with the above profile settings are selected and SA releases (delivery schedules to be issued to the vendor) created (because the next creation date has been reached).
    In my case I like to aggregate the requirment daily and send to the vendor end of everyday .What setting I need to do and what will be the process.I am using this functionality with KANBAN.
    thanks in advance

    Eduardo,
    We already decided to use Kanban with Scheduling agreement. We have some MRO parts which we move from one Main storage location to another storage location in production area and once someone will scan the main storage location and if  it hits the reorder point it will generate the external scheduling agreement to the vendor. If we have agreement for different parts with same vendor it will combine all the parts in one scheduling agreement and the other thing business want send these scheduling agreement to vendor on the same day not in 14 days or once in a week.
    Please let me know how what I have to do to achieve this functionality and we are using LPA agreement.
    Thanks

  • Scheduling Agreement with LPA

    Hi,
    I am trying to generate schedule lines and release them to delivery schedules with doc type LPA.
    I have done the settings in MRP2 view and done the settings in source list, info record and scheduling agreement.
    I have created and Plnd Independent requirements in MD61 and executed the planning run in MD02 but unable to create schedule lines.
    Could you please advise me if i am missing any settings or config's.
    I wan to know how the zones work with LPA and how the whole cycle and the functions available with LPA.
    Responses will be highly appreciated.
    Regards,
    Mittu G

    hi
    These are the Prerequisites befor you go on to SA with release
    Scheduling agreement releases (FRC and JIT schedules) can only be generated for scheduling agreements with release documentation (in the standard system, document type LPA).
    (In the standard system, the Release docu. indicator is selected for document type LPA in Customizing for Purchasing under
    Scheduling Agreement -> Define Document Types.)·
    If you wish to work with JIT delivery schedules, the JIT schedule indicator must be set in the material master record (Purchasing or MRP 2 view) and the Additional data of the scheduling agreement item.
    You create SA releases by means of the Purchasing menu via
    Scheduling agreement -> Create release
    Choose release type ->FRC and JIT delivery schedulesSelect scheduling agreements - Specification of plant
    Scope of selection- Changed or next date
    Creation- According to strategy in profile, Tolerance check active
    On the days on which the next FRC date (1st. Monday in the month) or the next JIT date (Monday each week) is reached, scheduling agreements with the above profile settings are selected and SA releases (delivery schedules to be issued to the vendor) created (because the next creation date has been reached).
    Reward points if useful
    Thanks & Regards
    Kishore

  • Scheduling agreement- With Release

    Dear All,
    Can anybody give the steps for Scheduling agreement with Release documentation from SPRO settings and ME84.
    Also Delivery schedule print settings with re to scheduling agreement also needed.
    Regards

    Hi
    You can refer the below link
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm

  • Creation profile settings for Scheduling Agreement

    Hi Experts,
    I have a question regarding parameters of Creation profile maintained in Scheduling Agreement.
    In ‘General Parameters’, the Forecast delivery schedules there exists a parameter  ‘FRC:Aggregation’.
    I would like to know about the significance of using option ‘3’ as ‘FRC:Aggregation’ parameter in creation profile.
    Please provide some details regarding usage of above said Aggregation parameter in Creation profile.
    Thank you.
    Best Regards,
    Ashok

    If you work with release creation periodicity and planning calendar (lets say delivery schedule every Friday) there might be schedule lines in between and these were aggregated to this fixed day.
    Best regards,
    Hans

  • Procedure of scheduling agreement with jit

    Can any one explain the step by step by procedure of creation of scheduling agreement with jit(just in time)
    Vasu,K

    Dear vasu,
    The steps are
    Step 1: Create Creation Profile in IMG under Scheduling agreement node
    Step 2: Assign that creation profile to Material in the material master and the JIT indicator
    Step 3: Ensure that creation profile copied to the SA, if not then assign it in the item detail
    Step 4: Then run the Transaction for the delivery shedule creation
    Ste 5: Check the shedule created
    Thanks,
    With regards,
    Krishna Reddy

  • Pricing Procedure determination for Quotation,Contract,Scheduling Agreement

    Hello All,
                 Plz let me know,how the pricing procedure(Both Item & Header Level) can be determined for Quotation,Contract,Scheduling Agreement.
    Do let me know with configuration details.
    Thanks
    JP

    Hi Jyoti ,
    There isn't any separate pricing procedure for Quotaions , Contracts , Scheduling Agreement s..
    The pricing which u normally find in PO derived from Vendor Master ( Based on Vendor Schema ) , hold good for the above purchasing documents.
    Regards
    Ramesh Ch

  • Finding of materials in scheduling agreement with more than 150 lines

    Dear Experts,
    we are in need to find materials in scheduling agreement with more than 150 lines. In standard SAP, materials can be searched only based on item Nos. is there a way we can search by material in ME38. also we noticed that find icon is greyed out in ME38.
    Please suggest.
    One more request is, to create an uplaod program for maintaining delivery schedules for multiple SAs.
    please sugegst if this is feasible.
    Regards
    Raghavendra MS
    9886138875

    I am also curious if anyone has found a solution to this problem.
    We routinely have scheduling agreements that are hundreds of line items. Users find it difficult to find the line item they wish to work with. It would be helpful if we could search by material number or sort the line items by material.
    As Raghavendra mentioned (ctrl+F) functionality is not available in ME33L or ME38.
    Thanks.

  • Scheduling agreement with relase - doc type LPA with JIT

    Hi
    can any one give the steps for Scheduling agreement with relase - doc type LPA with JIT process.. and explain how the JIT will work in SA.
    Pls advise what are config required and what the user tcode needed to perform the SA with JIT concept.

    Dear Friend,
    Without release documentation(Document type LP)
    The delivery schedule lines have official character-that is to say,they are transmitted to the vendor as they are saved in the system.The system does not document in detail releases aganist the scheduling agreement that have been sent to the vendor.Therefore,in the case of the document type without release documentation,the message control facility should be set up in such a way that a message is immediately sent to vendor if any changes are made to the delivey schedule stored in the system.
    With release documnetation(Document type LPA)
    If you use scheduling agreement with release documentation,the delivery schedule lines are not transmitted directly to the vendor.Intially ,the lines of the delivery schedule stored in the system for an LPA scheduling agreement for an internal information only.A message informing the vendor of your material requirements cannot be transmitted to the vendor until you explicitly create an SA release,that is forecast (FRC) or Just in Time(JIT) delivey schedule.Through this process,you can change the way schedule lines are represented.With release documentation,you can disply the SA releases(delivery schedules) transmitted to a vendor over a certain period of any time.This enables you to trace precisely when you sent which information to vendor.
    Regards
    Pramod

Maybe you are looking for

  • Installed the new iTunes 11.1.4.62 and now my iPod is not recognized by iTunes

    Seems to be lots of people on here with the same issue. It would be nice if Apple were to advise users of iTunes that there is an issue with iPod syncing so we all don't run around wasting our time. Looks to me like in Device Manager under portable d

  • External Portal - Security Best Practice

    We will be initiating an external portal for ESS access. For those using ESS from home, what type of additional security access is anyone using if the person happens to lock themselves out of their ESS account? Do you have a security question built i

  • Render items prior to a main render

    Hey sorry but couldn't think of a better way to title this.  First off thanks for all your help in the past.  I am slowly learning but you guys have always given me good direction and great advise. I was wondering what do you do in the case of using

  • JSP beginner.  class problems

    Hello, While following the example tutorial at I got the following error after submitting the form when attempting to test the app: http://www.jsptut.com/Forms.jsp HTTP Status 500 - type Exception report message description The server encountered an

  • RMAN CATALOG

    Dear Gurus, I am newbie to oracle 11g database. I am explaining my situation what i have now..... ## My target database is in the server 203.XXX.XXX.8 ## My catalog database is in the server 203.XXX.XXX.7 ## Now when i am backing up the database, bac