Commom BAPI for Scheduling Agreement and PO

Hi,
I am trying to post a PO and a SA through IDOC, I have found two different IDOC type for this two. Can any one suggest any BAPI or Message type, which can post PO as well as SA.
Thanks,
Kuntal

For PO : BAPI_PO_CREATE
For SA : BAPI_SAG_CREATE

Similar Messages

  • I want to know the name of bapi for schedule agreement

    hi,
    please give me the name of bapi for schedule agreement (mm module) .
    ok bye
    sreenu.

    Hi,
    As Rich Mentione there is no BAPI for Schedule Agreeement.
    You can Try : ME_UPDATE_AGREEMENT_PO  -Update Pur Document
                  ME_READ_OUTLINE_AGREEMENT_DISP --Read outline agreement item (From Agreement no and item no)
    Lanka

  • Exit for role determination via exit for scheduling agreement and contract?

    Hi..
    I have a requirement to fetch the agents in run-time for PO,PR,SCHEDULE AGREEMENT, CONTRACT..
    For PO i am using EXIT : - M06E0005
    For PR release i am using EXIT :- M06B0001
    By using above 2 exits i am getting the agents at run-time...
    Same way i need the EXIT for SCHEDULE AGREEMENT and CONTRACT..
    if there is any EXIT for this please share with me..
    Regards,
    Imtiaz Khan

    Hi Imtiaz,
    Ideally you should have your agent determination logic in workflow itself instead of determinining them in EXIT.
    Can you tell me why you are determining agents in exit and how you are making use of it ?
    Also let us know how your workflows are getting trigger for all these documents.
    Regards,
    Ibrahim

  • BAPI for Scheduling Agreement Scales

    Hello,
    I want to add Scales to my Scheduling Agreement.
    Tried using BAPI_SAG_CREATE, I was able to successfully create a Scheduling Agreement but it says that "No scales exist". According to the FM documentation, scales are not supported during the creation of outline agreements.
    Tried using BAPI_SAG_CHANGE using the Scheduling Agreement created but I always get a dump and points me to a standard code.
    Runtime Errors         GETWA_NOT_ASSIGNED
    ABAP Program         SAPLMEOUT
    Include                      LMEOUTP14
    Row                          1,454
    Module type              (METHOD)
    Module Name           POST
    If these BAPI will not work, my last option would be BDC.
    Thanks in advance.

    first see the documentations.
    Regards
    Peram

  • BAPI for Scheduling Agreement

    any bapi for updating scheduling agreement ME38 txn
    i have checked bapi BAPI_AGREEMENT_MAINTAIN
    but how to maintatin schedulines over there

    first see the documentations.
    Regards
    Peram

  • Is there any BAPI for scheduling agreement (VA31) ?

    Hi All.
    I need to creat scheduling agreement (T-code:VA31) using some data uploaded from EXCEL,but i can not find correct BAPI.
    Someone tell me try the two below:
    BAPI_AGREEMENT_MAINTAIN
    BAPI_SALES_DEL_SCHEDULE_CREATE
    But the two seem not effective, because they have no import parameters such as: SO type, sales organization, division, sold to party, valid from date,valid to date, material-number, quality etc.
    These parameters are obligatory when creat scheduling agreement(t-code: VA31) manually.
    My sap release is ECC6.0.
    How can i do? if there is no bapi , i use BDC ?
    MSN : [email protected]
    Best Regards.
    Jordy.

    Hi,
          Please try with the BAPI <b>BAPI_SALES_DEL_SCHEDULE_CREATE</b>.
    Regards,
    Hema.
    Reward points if it is useful.

  • Bapi for scheduling agreements!

    Hi can any one help me in changing the rate KBETR in ME32L transaction.
    Actually I cant find any parameters related to rate in BAPI_Agreement_maintain.
    If not, can some one suggest me the correct BAPI in changing it.
    Thank you.
    Shekar.

    Sorry, unfortunately that wasn't helping me.
    Actually I was looking for some thing where in I can populate the field KBETR from KNOP table i.e rate.
    If you can help me in finding this, that would be really helpful.
    Thank you,
    Shekar.

  • Foreign Trade - Legal Control for scheduling agreements

    We are on version 4.6C and I am setting up the legal control for my company.  It seems to work quite well for sales orders but then when I went in to configure scheduling agreements it errors and tells me you cannot do legal control for document type "E" which are typically scheduling agreements.
    I cannot find any documentation on this.  Does anyone know why legal control does not work for scheduling agreements and/or is this functionality available in the Global Trade Services module??
    Thanks in advance for any and all help!!
    Debbie

    Jean,
    I have done a Foreign trade implementation.
    The core team of the client are FT experts and they would tell you about the legal requirements. Your job is to map them in SAP FT.
    In this process you would gain Knowledge about  Foreign trade regulations of that country. Remember its country specific.
    The ECCN's are provided by the client. Info abt the same is extensivley available on the NET.
    You have to get the list of all the mtrls which fall under the controlled cantegory of the respective commerce ministry and then start the config setting  these mtrls as relevant for FT checks.
    Thanks
    Vishal

  • SAPSCRIPT for Scheduling Agreement

    Can anyone tell me , what is the SAP form name for Scheduling  Agreement and also the Output type for the same.
    Kindly do the needful.
    Thanks in advance.
    Regards,
    Shankar

    Is it purchasing SA? use sapscript MEDRUCK and output type NEU.
    Form: ENTRY_NEU Program: SAPFM06P
    Regards
    Sridhar
    Message was edited by: Sridhar K

  • Scheduling Agreements and relevant schedule lines configuration !

    Dear Sapients,
    I request you all to help me in providing the configuration steps for Scheduling Agreements and relevant Schedule lines configuration.
    Its urgent please help me !!
    Regards,
    Sreedhar.
    kodalisreedhar----
    com

    Hi Sreedhar,
    Scheduling Agreement with Delivery Schedules
    Definition
    An outline agreement that is created for one or more materials and outlines the overall expected quantity of the material(s) to be delivered to the customer over a specific period of time.
    Use
    The scheduling agreement is used as a basis for delivering a material. The customer sends in scheduling agreement releases, referred to as delivery schedules, at regular intervals to release a quantity of the material.
    Structure
    The structure of scheduling agreements with delivery schedules resemble that of other sales documents in the R/3 System, in particular the standard scheduling agreement.
    Data that applies to the entire document appears in the header; data about materials appears at item level; and delivery dates and quantities appear in the schedule lines within the delivery schedule. Additionally, the system maintains a history that permits you to compare and contrast various generations of delivery schedules.
    Integration
    Data in scheduling agreements comes from three sources:
    The customer sends in requested quantities and dates, normally by Electronic Data Interchange (EDI)
    The component supplier enters data manually
    The system automatically copies data into the scheduling agreement from master records
    Please go through the below link for further information
    http://help.sap.com/saphelp_47x200/helpdata/en/93/7439fb546011d1a7020000e829fd11/frameset.htm.
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Change Scheduling Agreement and Info Record using Bapi

    Hi Experts,
    Can anybody say how to change the Scheduling agreement and Info Record using Bapi.
    I use BAPI_AGREEMENT_MAINTAIN to change Scheduling Agreement .
    But it does not changing Scheduling lines.

    Hi,
    Please find the below link check the setting are correct or not
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02cb00a-bfb4-2c10-98aa-e33e7f64ba28?quicklink=index&overridelayout=true
    Reagrds,
    Pramod

  • Same BO is getting invoked for Pur. Order, Schedule Agreement and Contract

    Hi All,
    My Scenario is like this:
    For Purchase order, Scheduling Agreement and for Contract the Release Statergy are same. For these three scenarios i have created 3 different workflow templates.
    My Purchase order workflow is working fine.
    My problem is :
    When i create a Schedule agreement or a contract, my PO business object is getting invoked and it goes to error.
    I have a doubt:
    For all the three scenario's they are using same number range, will this may be one of reason for the above problem???
    Kindly help me to resolve the issue.
    Thanks and Regards
    Balaji E.

    Hi,
    You can check this link:-
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow+scenario (based on PO change)
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/crm/action%252bprofiles%252bin%252bsap-crm(reason for more than 1 WF trigger)
    More than 1 WF trigger, could be that there would be a triggering condition that triggers more than 1 WF. Since further the conditions are not satisfied, this could lead the WF in error state.
    Let me know if u still face any issues..!!
    Regards,
    Kanika

  • Tables for following scheduling agreements and PR data

    Hi All ,
    Please can you tell me table names if I want the following information
    1. Scheduling Agreement Created By, Amended By, Modified Date, Plant
    2. Req Created by, Released by, Cost center, plant
    Thanks in advance
    Vinayak

    To view the fields listed in a table go to Tcode SE11 and enter the table name and execute
    EBAN  - Purchase Requisition 
    EBKN  - Purchase Requisition Account Assignment 
    Req Created by Table:EBAN Field ERNAM
    Released by- Table:EBAN Field FRGGR
    Cost center- Table:EBAN Field FISTL (Funds Center)
    plant-Table:EBAN Field WERKS
    For Scheduling Agreements following are the tables:
    EKEH    - Scheduling Agreement Release Documentation 
    EKEK    - Header Data for Scheduling Agreement Releases 
    EKET     - Scheduling Agreement Schedule Lines 
    EKETH   - Scheduling Agreement Schedules: History Tables
    You will find the following list of fields in these tables:
    MANDT                          Client
    EBELN                          Purchasing Document Number
    EBELP                          Item Number of Purchasing Document
    ETENR                          Delivery Schedule Line Counter
    EINDT                          Item Delivery Date
    SLFDT                          Statistics-Relevant Delivery Date
    LPEIN                          Category of Delivery Date
    MENGE                          Scheduled Quantity
    AMENG                          Previous Quantity (Delivery Schedule Lines
    WEMNG                          Quantity of Goods Received
    WAMNG                          Issued Quantity
    UZEIT                          Delivery Date Time-Spot
    BANFN                          Purchase Requisition Number
    BNFPO                          Item Number of Purchase Requisition
    ESTKZ                          Creation Indicator (Purchase Requisition/S
    QUNUM                          Number of Quota Arrangement
    QUPOS                          Quota Arrangement Item
    MAHNZ                          No. of Reminders/Expediters for Schedule L
    BEDAT                          Order date of schedule line
    RSNUM                          Number of Reservation/Dependent Requiremen
    SERNR                          BOM explosion number
    FIXKZ                          Schedule Line is "Fixed"
    GLMNG                          Quantity Delivered (Stock Transfer)
    DABMG                          Quantity Reduced (MRP)
    CHARG                          Batch Number
    LICHA                          Vendor Batch Number
    CHKOM                          Components
    VERID                          Production Version
    ABART                          Scheduling agreement release type
    MNG02                          Committed Quantity
    DAT01                          Committed Date
    ALTDT                          Previous delivery date
    AULWE                          Route Schedule
    MBDAT                          Material Staging/Availability Date
    MBUHR                          Material Staging Time (Local, Relating
    LDDAT                          Loading Date
    LDUHR                          Loading Time (Local Time Relating to a
    TDDAT                          Transportation Planning Date
    TDUHR                          Transp. Planning Time (Local, Relating
    WADAT                          Goods Issue Date
    WAUHR                          Time of Goods Issue (Local, Relating to
    ELDAT                          Goods Receipt End Date
    ELUHR                          Goods Receipt End Time (Local, Relating
    ANZSN                          Number of serial numbers
    NODISP                         Ind: Reserv. not applicable to MRP;Purc
    hope this helps!

  • Inbound Delivery For Scheduling Agreement Lines using LSMW

    Hi,
    We need to create inbound deliveries for scheduling agreements. Our scheduling Agreements are too big with 200 lines. But the vendor used to send only few discrete lines in his ASN. Is it possible to create inbound deliveries for the Scheduling agreement using LSMW? Is there any standard BAPI or IDOC available to handle this in LSMW? Has anyone done this before?
    Our requirement is as follows.
    1. Create Inbound Delivery for few lines of the Scheduling Agreement
    2. The delivery quantity of the inbound delivery will be a partial quantity of the Scheduling Agreement
    3. Materials are batch managed and the batch number for each inbound delivery item need to be captured.
    4. Vendor's ASN Number and its item number need to be captured at inbound delivery header and item level respectively.
    Note: Delivery Schedule of the Scheduling Agreement is not used in the above scenario.
    If you have any input, it will be really appreciated.
    Regards,
    SP0526

    Hi,
    You can give your scheduling agreement number in the field Purchase Order.
    If you want select from the list, you can click on PO tree (just under create inbound delivery). There selet document category as "L". You will get the scheduling agreement list.
    Regards,
    Prabu

  • MRP To Generate SCHEDULE LINES for Scheduling Agreement

    Hi
    I have followed the below steps but still the Schedule lines is not generated for scheduling agreement.
    1Maintain MRP views 1,2,3,4 for the material in material mste.(MM01)
    2. Maintain Purchase Info Record for the vendor plant & material combination.(ME11)
    3. Create Scheduling agreement using ME31L
    4. Maintain source list for the material & the scheduling agreement # and Line item set the MRP relevant indicator 2 (Necessary ?) ME01
    During Run MRP for the material.the below details entered///
    Processing key NETCH Net Change in Total Horizon
    Create purchase req. 1 Purchase requisitions in opening period
    Schedule lines 3 Schedule lines
    Create MRP list 1 MRP list
    Planning mode 1 Determination of Basic Dates for Planned
    Run MDBT or MD02 but still doesn't create the schedule lines......Anything else missing.
    MRP1:
    MRP Procedure: PD
    MRP Group: 0000 (External Procurement only)
    Lot Size: EX (Lot For Lot)
    MRP2:
    Procurement Type: F
    Sched Margin Key: 000
    MRP3:
    Avilablity chec: 02 (Individual requirement)
    MRP: 4
    Nil

    Raj,
    Source List a Mandatory for Scheduling Agreement, if you want to create automatic Scheduling line.
    Plz use (2) in MRP RELEVENT tab in ME01 (Source List).
    rest of the thing is ok, make sure a material master(MRP 2 VIEW) in that view you have to give a planed delivery days. it is must.
    HOPE IT WILL WORK
    Regards:
    Poision

Maybe you are looking for

  • Parse a xml file from clob column.

    Dear, i have been suffreing a problem about xml. i have a table with two columns, one is bfile data type other is clob data type. A xml data is stored into both cloumns as clob and bfile. My xml data format is correct. when i took xml data from bfile

  • Links don't work zoomed, issue not solved?

    I've been waiting for months on this issue; when zoomed, zoomed to anything, links don't work in Safari. I was told months ago, something is wrong with Safari toolkit. I just updated and issue remains. (just amazing) <Edited by Host>

  • DMZ and php page issue

    Hi, We have an Oracle database server 11.2.0.1 that run in Oracle Linux version 3.8.13-16.2.3.el6uek.x86_64, and a Linux 32-bit client server that run in Linux CentOS 6.2. From the 32-bit client server in the DMZ if we run the query below by sqlplus

  • How to use JDI handle event, need you help!~

    Hi, In our recent project, I need listen some event such as ClassPrepareEvent, MethodEntryEvent using JDI and handle it. I am trying to mend the TTY and let it do something simple when MethodEntryEvent occur. I just add a print line in the method met

  • Ipod battery discharges quickly

    Ok... I've been through all the FAQ's, suggestions, tips for long battery life, and I still am having my problem. I began having problems with the battery not holding a charge for more than 12 hours (turned off) and discharging quite quickly (from a