FM to update schedule agreement pricing

Is there a BAPI or FM that I can use to update a schedule agreement in 4.7?  BAPI_PO_CHANGE gives me an error saying it does not work for schedule agreements. 
Thanks,
Matt

Hi Matt,
   I am not sure of the exact function module; but BDC is not just next to direct table update. It plays an important role when it comes to the integrity of the data. In BDC, we are calling the transaction, which performs all the necessary checks(Such as the permitted values of a particular field, Foreignkey relation ship check etc etc) on data base table before performing the data base update. This is very crucial, since the direct table update will never check these kinds of checks on the table, and there is a possibility of updating the table with undesired values. So, it is always a better option to go for BDC, whenever possible, than a direct table update.
Regards,
Shiny Paul

Similar Messages

  • BAPI to create and update scheduling agreement (type LZM) in ECC

    Hi,
    We have a requirement to create and update scheduling agreement of type LZM in ECC from an external system.
    Is there a BAPI available for this in ECC 6.0 which can be used?
    The integration is using PI.
    Regards,
    Srivatsan

    Hello,
    Please use the T-code "SE93" and then click on Display option after entering the T-code. After entering into the detail screen of the T-code, you shall find option to click on OBJECT LIST and then enter into the Function Group. Now enter the T-code and then click on function module and a list of function module will be displayed in referrence to the T-code. 
    For your easy reference i have also mentioned the flow.
    SE93 --> Use tcode (eg. VA01) > display> Object list ---> Function Groups --> Tcode ---> Function module.
    Regards,
    Sarthak

  • Scheduling Agreement pricing condition PB00 value

    Hi Experts.
    Within pricing schema I do have pricing condition PB00 that is manually put in by the user. I have created a routine in order to calculate the PB00 value based on some logics and assign it to PB00 within the pricing schema.
    So, if the custom logic are found, the price value should be change accordingly, if not the value put by the user will be kept.
    The problem is that, at end of my routine the price is correctly calculated (let's say the user writes 2 and my routine calculates a price of 3) and the price is correctly updated on the scheduling agreement line field NETPR. But if i go inside the item to see the conditions I still see PB00 with the not-changed value.
    Can anybody suggest? I am manipulating xkomv-kbetr and  konp-kbetr.

    Hi, Thanks for answering.
    They are set so. But i need in any case to change the value of PB00 accordingly to my routine.The problem is that, at end of my routine the price is correctly calculated. PB00 value is 2 and it correctly recalculated by my routine to 5. on the SA item I see hte net price equal to 5, but if I go in the details I see condition PB00 still equal to 2.
    Do you have any hints? thanks.

  • Scheduling agreement pricing

    Hi,
    Pls tell me how the system will pick pricing in scheduling agreement. When i going to header condition system will give me message "
    Not possible to determine a condition type
    Message no. 06658
    Diagnosis
    The system was not able to find a condition type for the item. Price determination is therefore not possible.
    Procedure
    Contact your system administrator.
    The latter can maintain the calculation schema assigned to the purchasing document using the Implementation Guide (IMG): Define calculation schema
    Pls tell me how i can enter the header level conditions like freight & discounts.
    Regards,
    Dinesh

    Hi,
    First check ur access sequence in your codition type.Check ur condition types are there in the RM0001 Condition Supplement Header and RM0002 Condition Supplement Price. Please include your condition types for the both procedures.

  • Scheduling agreement pricing date category

    Hi
    i have a situation where the pricing date category in the additional data tab in scheduling agreement is defaulted to value 5 in display mode while i create a PO for certain vendors.
    At first i checked for authorizations,but that wasn't helpful.
    The field is in display mode when creating/changing an agreement.
    pricing date category wasn't maintained in vendor master or info record for these vendors.
    It happens only for certain vendors.
    can someone tell me,how this is happening.

    Hi,
    The field price control cannot be changed for scheduling agreements
    with time-dependent conditions, it is always set to '5' (GR date).
    The reason is that the delivery from the vendor does not necessarily
    cover exactly one scheduling line; in many cases several scheduling
    lines with different delivery dates are affected - which delivery date
    should the system take in such a situation? In other words: there is
    no scheduling line based GR in the SAP system - therefore it does
    not make sense to change the field.
    Best Regards,
    Arminda Jack

  • Updating scheduling agreements in SD via IDOC delins.delfor02 / splitting

    Dear All,
    I am having the following problem:
    I am getting an EDI 862, which should update an scheduling agreement in SAP on the SD site.
    The incoming file contains the relevant information for multiple line items and for mulitiple release numbers as well as the information for the forecast and the JIT.
    Based on SAP standard documentation, an IDOC will be only processed if it's containing a single E1EDP10 segment, means in my understanding information for exactly one line item,for exactly one relase number and either the forecast information or the JIT information.
    Due to this I need to split the IDOC into several ones, to be able to use the SAP standard process here.
    It looks like that the splitting is not posssible in XI, which we are using as our middleware. Does anybody can tell me, how to split an incoming IDOC into several ones and to have them saved in the database, so that each IDOC can have it's own status etc.
    I already tried to go away from standard and to use fm sd_salesdocument_ change instead, which is having all the relevant table structures, but finally it was not helpful, because we have not been able to execute changes to the recent release number.
    Thanks for your help.
    Marita

    Dear All,
    I am having the following problem:
    I am getting an EDI 862, which should update an scheduling agreement in SAP on the SD site.
    The incoming file contains the relevant information for multiple line items and for mulitiple release numbers as well as the information for the forecast and the JIT.
    Based on SAP standard documentation, an IDOC will be only processed if it's containing a single E1EDP10 segment, means in my understanding information for exactly one line item,for exactly one relase number and either the forecast information or the JIT information.
    Due to this I need to split the IDOC into several ones, to be able to use the SAP standard process here.
    It looks like that the splitting is not posssible in XI, which we are using as our middleware. Does anybody can tell me, how to split an incoming IDOC into several ones and to have them saved in the database, so that each IDOC can have it's own status etc.
    I already tried to go away from standard and to use fm sd_salesdocument_ change instead, which is having all the relevant table structures, but finally it was not helpful, because we have not been able to execute changes to the recent release number.
    Thanks for your help.
    Marita

  • Scheduling Agreement Pricing Procedure

    I cannot understand how the pricing procedure picked in scheduling agreement, I know pricing procedure for PO picked from caluculation schema and schema determination can any one explain me complete process to assign pricing procedure to scheduling agreement please.

    Hi
              You need not enter the pricing procedure/tax procedure in SA(scheduling Agreement)
    system will pick the pricing procedure from the setting you made for the combination of ur vendor and purch org.
    In me31l go to conditions and you can enter reqd condition types in additional data screen you can enter the tax code
    And the system picks the tax procedure from the assignment of tax procedure for ur country (company code)
                 while doing the schema determination u assign pricing procedure to vendor schema group and schema group og purchasing org conbination system picks the pricing procedure from tht settings.
    the path is as follows:
    Spro-Img-MM-purchasing-conditions-define price determination process-define schema determination.
    for more info please go through these links
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/dd/5616cc545a11d1a7020000e829fd11/frameset.htm
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/75/ee12df55c811d189900000e8322d00/frameset.htm
    thanks..

  • Schedule agreement pricing

    Hi
    Please explain the function of the Time dependent indicator in the Schedule agreement doc. type.
    What is the effect of having and removing it for the  Schedule agreement.
    regards
    arvind

    Hi,
    I would suggest you to check the note 456691.
    Check the Customizing for the document type of the scheduling agreement         
    (Transaction OMED).A price determination only occurs during the creation        
    of the scheduling agreement if the 'time-dependent conditions' indicator        
    is NOT set.  
    Conditions in the info record and contract are master conditions.The                       
    difference between quotations and scheduling agreements is made by the                     
    document type (indicator 'time-dependent conditions').Master conditions                    
    are limited to a certain validity period, have master data status and                      
    are rather valid on a long-term basis.                                                     
    Master conditions, which refer to more general price agreements such as                    
    vendor, material type, ... (general conditions, Transactions MEK*), can                    
    also be represented.                                                                       
    Generally conditions in purchase orders are document conditions.They are                   
    only valid for this document.Document conditions are also available for                    
    quotations and scheduling agreements if this is set in Customizing.       
    Regards,
    Edit

  • Pricing Condition in scheduling agreement

    Hi Gurus,
    I'm working with scheduling agreements and I figured that whenever I create scheduling agreements, pricing condition PB00 gets defaulted to the scheduling agreement,
    Can you guys be kind enough to tell me what configuration is driving this?? How can we make changes to the config settings so that I can have a condition type of my choice assinged to the scheduling agreenment??
    More over I have a requirement to have a tiered pricing in scheduling agreement. I do know that this is driven by SCALES in SAP however as per my requirements I need to have SCALES per formulas. In the condition type configuration we do have a field for SCALES where we can assign the formulas but whenever I click on this field a screen pops up with some ROUTINES.
    Can someone tell me how can I define the ROUTINES and the ABAP formula for this ROUTINE so that I can have my tiered pricing conditions accomplished??
    Any feedback on this will be highly appreciated!!
    Thanks folks,
    Dhaval Joshi

    Hi Ramesh,
    Thanks for the heads up. I looked at the config for the schema dtermination and I see that the pricing procedure RM0002 has not been assinged to any vendor POrg schema in this configuration.
    I then looked at the config for the condition type PB00 --> pricing procedure RM0002 has been assigned to the condition type PB00 and since we don't have any entries maintained for RM0002 in the schema determination config I was just wondering if this is what is influencing the automatic proposal of the condition type PB00 in my scheduling agreement.
    Also can you please tell me what is a difference between a Purchasing Document (BIG) and Purchasing Document (Small) in the schema determination config.
    All I wanted to accomlish here is my teired pricing to work when I assign scales on the condition type in the scheduling agreement ( not in the PIR)
    What currently happening in my case is ....
    Example: Scale From 1 pc - 100.00 USD
    from 50 pc - 90.00 USD
    from 100 pc - 80.00 USD
    Target quant. 100 pc
    schedule lines 30 pc
    20 pc
    The problem is  that the goods receipt of 30 pc is valuated at the price 80.00 USD It always takes a lowest price on the scale.
    I've tried looking for OSS notes and also looked enough on the forums but I could not get any resolution to this question.
    I would appreciate if I could get any heads up from your side.
    Cheers,
    Dhaval

  • Pricing procedure for Schedule Agreement

    Hi,
    How do link the pricing procedure and its corresponding Conditions like (discount and surcharges) to the Schedule agreement LP.
    Regards
    MM

    Hi,
    Please check the below links...
    Pricing Procudure for Scheduling Agreement
    Scheduling agreement pricing
    Hope it helps you..
    Kuber

  • 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

  • Mass-change in scheduling agreement

    Hi Gurus,
    today I wanted to do a mass change in scheduling agreements using transaction MASS.
    Unfortunately, it seems not to be possible to change these agreements with MASS. I found SAP Note # 483303 which tells us that MASS is only able to change documents with VBAK-VBTYP = 'C'.
    The scheduling agreements use VBAK-VBTYP = 'E' or VBAK-VBTYP = 'F'.
    Does anyone have a workaround for this? In the meantime I'll set up a LSMW, this should work fine.
    Thanks
    Ralf

    Yes you are correct, you can't use MASS to update scheduling agreements. As you mentioned, use LSMW or you can try using SCAT/BDC to update the documents.
    Regards,

  • Send Scheduling Agreements as EDI to thirdparty

    Hello,
    We are trying to automate the process of sending the updated scheduling agreements if there are any differences in the validity range of the items. For this I need to trigger an EDI output from the program. I can directly call the routine RSNASTED routine after updating NAST entries but is there any standard way to trigger an EDI from the program ?
    Thanks in advance for your help.
    Regards,
    Pavan.

    Hi Jurgen,
    I have changed the Scheduling Agreement via BAPI_PO_CHANGE and it created another version for the scheduling agreement. Now we want to trigger an output type for this changed agreement which in turn generates the IDOC which needs to be sent for third party system.
    What do you mean by messages here ?

  • Scheduling agreement ( Pur. doc. Type LPA) does not get updated in MEI1

    We have a requirement that, purchasing documents ( POs and Scheduling Agreements) needs to be updated when there is change in price in purchasing info record. We have made configurations to activate the change pointers on pricing conditions and they are working fine. To update the price in purchasing documents following process is used.
    1.     Transaction MEI4 u2013 Create work list
    2.     Transaction MEI3 u2013 Recompilation of document index.
    3.     Transaction MEI1 u2013 Changes to purchasing documents due to changes in conditions.  
    After running MEI1, price is updated only in purchasing documents and the update does not take place in scheduling agreement. Does anyone one know what things may be missing? Or is this a SAP transaction issue?

    Hi
    If scheduling agreement has time dependent conditions it will not update. You need to remove time dependent tick from document type definition config.(spro>MM>purchasing>scheduling agreement>define document type)
    remove tick mark it will update.
    Regards
    Antony

  • Picking of the varient pricing in scheduling agreement

    Hello Gurus
    goodmorning
    i have a small query i.e when i'm using OR as a document type for  my sales order its picking the varient price and all  are going fine but when i'm trying to do same for scheduling agreement DS in my sales order  its not picking the varient pricing plz help me out wat could  be the reason.
    in advance thank you
    venkat
    Edited by: K.Venkata Chalapathi on Jan 30, 2009 9:10 AM

    Dear Venkat,
    Price will get determine in the sales order based on two settings
    1.Pricing procedure determination
    2.Condition record maintanence.
    This may happen for two reasons
    1.Different pricing procedures are getting determined for sales order and scheduling agreement.
    One pricing procedure may have variant condition type and other pricing procedure may not have the variant condition type.
    So check same pricing procedure is getting determine in the both documents or not
    2.Condition record may not maintained for the scheduling agreement document type in VK11
    So check the condition record maintanence for the variant condition type through VK13 transaction.
    I hope this will help you,
    Regards,
    Murali.

Maybe you are looking for

  • Send a XML file using the mail adapter

    HI , I have to send an incoming xml message as a attachment in the mail using mail adapter . how can I achieve this . Thanks Nikhil

  • Zen Vision M 60GB removable disk on Vi

    Hi, I want to use the removable disk function on my zen vision m 60gb at capacity 32GB. I can't do this on the player; it wants me to use the "Creative Removable Disk Manager" to set the capacity, but what looks like the setup for this program on the

  • Header Tags, Meta Tags, Google Search

    Hi, just started using iweb 09 for the very first time, everything is common sense and easy to use but i've been pondering on how to add a header tag or a meta tag where a search engine such as google, yahoo or bing can find my website based on keywo

  • Music From iPhoto

    How does the "From iPhoto" music setting in the photo settings work? If you add an album, which has no music set for it, how does the iPod know which song to play for the photos? I can't get that setting to work, and I can't find a way to put the iPh

  • What is the BAPI for EmployeeAdd

    Hi, can any one tell me what is the BAPI to get all details of Employee Address with employee name., regards, Ansar.