Price in bapi_contract_createfromdata

Hi experts,
I have to create contract which is based on price but in the bapi : BAPI CONTRACTCREATEFROMDATA ,there is  no option to input price can anyone help me on this
Thanks in advance
Deepthi
Edited by: deepthi muttavarapu on Mar 8, 2010 7:21 AM

Hi,
there are also fields QT_VALID_F and QT_VALID_T for quotation or inquiry. So it looks like for different contract types you need to use different fields. This BAPI calls FM SD_SALESDOCUMENT_CREATE which has subroutine ms_move_header_in which maps from BAPI fields to internal fields. Here is a small part of this routine.
  MOVE order_header_in-qt_valid_f       TO e_vbakkom-angdt.
  MOVE order_header_in-qt_valid_t       TO e_vbakkom-bnddt.
  MOVE order_header_in-ct_valid_f       TO e_vbakkom-guebg.
  MOVE order_header_in-ct_valid_t       TO e_vbakkom-gueen.
When I check technical fields for the screen  fields "Valid from" and "Valid to" in VA43 I get names GUEBG and GUEEN. So it still looks like you should use CT_VALID_F and CT_VALID_T.
I forgot to mention you can still debug BAPI to figure out where the problem is.
Good luck
Edited by: Martin Voros on Sep 11, 2009 9:57 AM

Similar Messages

  • Net Price not Updating Using BAPI : BAPI_CONTRACT_CREATE

    Dear Experts,
    I am facing an issue while creating CONTRACT using the bapi: BAPI_CONTRACT_CREATE. I am creating the Contract based on data from my excel sheet. And we are maintaining the INFO RECORDS for the same materials.
    In the excel sheet we are providing the NetPrice (NETPR) and creating the Contract. My issue is " instead of taking the Net Price from the excel it is taking the Net Price from Info Records". For Example, if for a Particular material the Net Price in our excel file is 125, after bapi execution, the net price is updating as 100 instead of 125 in Contract Creation( ME31k-ME33K). In the Info Records we are maintaining this net price(100) for that material.
    Thanks in Advance for your response.
    Regards,
    Prasad

    you can use BAPI_CONTRACT_CREATEFROMDATA
    * Create Contract Order Number [BAPI_CONTRACT_CREATEFROMDATA]
      CALL FUNCTION 'BAPI_CONTRACT_CREATEFROMDATA'
           EXPORTING
             contract_header_in      = header
             convert                 = 'X'
           IMPORTING
             salesdocument           = v_order
           TABLES
             return                  = t_return
             contract_items_in       = itab_item
             contract_items_inx      = itemx
             contract_partners       = t_partners
             contract_conditions_in  = t_conds
             contract_conditions_inx = t_condsx
             contract_data_in        = t_contract
             contract_text           = t_texts.

  • I'm trying to upgrade my iCloud storage for the new price.

    I'm trying to upgrade my iCloud storage for the new price, but it doesn't gives me the option of 20G for $0.99 a month.
    How can I get 20g for $0.99 a month?
    Thanks!

    Katherine,
    have you read the message in the panel? Something is wrong with your credit card. Perhaps you have to enter a new date of expiration.
    In the small print it says, there is still a purchase, that needs paying,"Ugly Heart" with an amount of R 9.99. And "We were unable to authorise your credit card for this purchase".  You will first have to update your Billing Information before you can proceed to make a new purchase for upgraded storage.  Click "Account Details" in the iCloud panel.
    -- Léonie
    If you cannot fix the account from the iCloud panel, open iTunes and sign into the "Store" menu, Then use the "Store > View account" item there to check for problems with your Billing Information.

  • Creation of PO with Zero Price

    Dear Experts,
    I need to craete a PO with 0 Price (Free of Cost). But I will be charged only for the transportation.
    Example I am creating a PO for 1000 TON of Material. Free of Cost. For delivering 1000 TON 100 delivery will be required. Transportation charge for each delivery =  150
    So I should be charged for only 100 * 150 = 15000.
    How to do this in SAP.
    Thanks.

    Hi,
    You can post Transportation charge related to separate G/L account in MIRO.
    Active "G/L account'  TAB in the MIRO screen to post COST by selecting check box of "Direct posting to G/L account=active" &  then save, in the following path
    SPRO> Material Management>Logistics Invoice Verification->Incoming Invoice->Activate Direct Posting to G/L Accounts and Material Account
    OR.
    Post Transportation charge related in t.code:FB60.
    For check link:
    http://www.sap-img.com/financial/unplanned-and-plan-delivery-costs-in-stock-and-gl-account.htm
    Regards,
    Biju K

  • Moving average price in case of goods receipt with free of charge

    Hello everyone,
    Need some inputs......
    Sometimes we receive materials from suppliers free of charge (e.g. warranty replacement) u2013 moving average goes down u2013 worst case 0,01 EUR/piece. This causes problems in government reporting and export documentation EX1 and clearance/pro-forma invoice) for deliveries to field engineers (Order type ZIS1, ZIS3 u2013 item cat. ZICA), because moving average price is used for the values in government reporting and on the invoices. In government reporting and on invoices we need to state a true value of the part.On the other hand, the value warehouse stock is depending on the moving average cost as well.Could you please let me know, how to handle such receipts from the supplier to have a correct stock value and correct values on invoices and government reporting?
    Thanks
    Deepthi...

    Hello Deepthi,
    It depends on your company policy. If you want to valuate the material along with the material purchased handled in moving average price, free consignment will bring down the MAP for the material.
    In that case, you can revaluate the material to the original price in MR21 transaction.
    If you are not going to handle the materials received free of charge along with the purchased material, you can go with another material code, with non valuated material type.
    But i guess, no company will be asking for another material code. So go for revaluation after the receipt of free consignment.
    Regards

  • Need to specify different price on Goods Receipt than on Purchase Order

    Hi!
    My application creates Goods Receipt (object of type SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes). This Goods Receipt is based on an existing Purchase Order. Creation itself (including the reference to the Purchase Order) works well.
    The problem is that using DI API, price in a document line is always set (automatically) to the price specified on the Purchase Order line. I'm not able to set the unit price to any other value. When I assign my unit price, document is added successfully, but my unit price is ignored. Unit price specified on the appropriate line on Purchase Order is used instead.
    Thanks for help!
    Jan

    Hi! I'm using SBO 8.81. I put my C# code below. The %xxx% strings are just symbols - for simplification.
    SAPbobsCOM.Documents oPurchaseDeliveryNotes = (SAPbobsCOM.Documents)SBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes);
    oPurchaseDeliveryNotes.CardCode = %CARDCODE%;
    oPurchaseDeliveryNotes.DocDate = %DOCDATE%;
    oPurchaseDeliveryNotes.TaxDate = %TAXDATE%;
    bool first = true;
    while(...) {
        if(!first) oPurchaseDeliveryNotes.Lines.Add();
        oPurchaseDeliveryNotes.Lines.BaseType = (int)SAPbobsCOM.BoAPARDocumentTypes.bodt_PurchaseOrder;
        oPurchaseDeliveryNotes.Lines.BaseEntry = %DOCENTRY_OF_PO%;
        oPurchaseDeliveryNotes.Lines.BaseLine = %LINENUM_OF_PO%;
        oPurchaseDeliveryNotes.Lines.ItemCode = %ITEMCODE%;
        oPurchaseDeliveryNotes.Lines.Quantity = %QUANTITY%;
        oPurchaseDeliveryNotes.Lines.Price = %UNIT_PRICE_DIFFERENT_FROM_PO%;
        oPurchaseDeliveryNotes.Lines.Currency = %CURRENCY%;
        first = false;
    oPurchaseDeliveryNotes.Add();
    Althought the unit price on the Purchase Order is for example 7 and in my code I assign the Price property for example 9, then when the document is successfully added, I see that on newly created document the unit price is still 7 (same as on PO). Value 9 is ignored without any errors or warnings.
    When I remove the code which connects this Goods Reception with PO (i.e. assignment to BaseType, BaseEntry and BaseLine properties), created document is correct. However when there is a connection to PO, I'm unable to set different unit price.
    Do you or anybody else have explanation for this? Or do you have some piece of working code you can provide?
    THANKS!

  • Change of Net Price in Sales Order

    Hello Experts!
    I wanted to know how the "Net Price" of a sales order can be "changed" by the system or "indirectly" by the user.  I have an issue with the net price that changed in the sales order, and wanted to know how this could have happened; <b>besides</b> changing the pricing conditions, price adjustments, and order surcharge.  Is there someway the system could have changed it or user "indirectly"?  Please advise.  Thank you in advance!
    WC

    Net price is not changed directly.
    It's chanegd via changes to pricing only unless you have some code which updates this field AFTER SAP calculated it based on pricing conditions.
    NOTE: if you reject line items it's vlaue is substracted form order net value, the same is true if any of your pricing conditions is made inactive due to various reasons.
    Changes to pricing condiitons are not shown in order change history, you can see changes per condition record, but if any of your conditions in sales order was made inactive - you won't see it in change log. One of the options may be - if you generate any outputs (IDOCs) which send pricing info - you can check those IDOCs to determine when & what was changed in the pricing of your order.

  • Price difference after return of saled goods.

    Hi gurus,
    Please help me to solve one scenario.
    I sale X material for Y price to my customer.But due to some problem if he returns my material.
    If I want to take that material in stock again for Z price that will be less than price Y, then what should I do.
    i.e.Suppose sale price-100 Rs and I want retun price should be -90 Rs.
    How would I handle this price difference.
    Pl help.
    Regards,
    rb

    Hi Bruce,
    Thanks for your reply.
    Can this will change my material price having price control "V".
    Because I don't want to change my material price.
    Waiting for your reply.
    Regards,
    rb

  • Config of Goods Receipt indicator specific to individual PO line price

    Hello all
    Is there a way to define Goods Receipt indicator (field WEPOS in EKPO table) to default to either checked or unchecked, for individual PO Lines, based on the price of the material at each PO line ? (ex price beyond a threshold value should require a Goods Receipt)
    Goods Receipt requirement would therefore not be vendor specific (ie configured at Vendor level XK01) or Account Assignment Category specific (ie configured at OME9), but specific to individual PO lines value/price. Where can this threshold value of price be specified ?
    Thanks a lot

    This can be configured on the basis of USER ID
    Inforecord.
    I dont think on the basis of PO valu.
    IN inforecord u can check this.

  • Price condition equal to VPRS cost of goods

    I have a senario ,which we will create sales orders for customers with sales price equals to the MAP(moving average price) at the  time when the SO being input .And the sales price in sales orders should be copy to the billing whether  the MAP has changed or not .
    Now I have set up an pricing procedure ,which  use  VPRS  as the sales price condition type ,but here comes another question when I create billing according to the delivery . When I create the billing document ,the net value is defferent with the net value of the sales order ,because the MAP has changed during the goods issue.
    Is there any idea that can make sure the sale price equals to the MAP , and the billing net value is same as sales order net value?
    can you give me some advice ? thanks for you help!

    Hi,
    The pricing type (Copy control)  is an extremely important field. It is worthwhile keeping this entry
    in mind when creating your pricing condition types. As a rule of thumb, you should
    have all item categories for a particular sales document with the same settings.
    Generally, you may use pricing type B (carry out new pricing), G (copy pricing
    elements unchanged and redetermine taxes), or C (copy manual pricing elements
    and redetermine the others).
    When using condition B all manual pricing condition types are lost.
    If you want to copy the sales order to the invoice without changing the sales order
    conditions, use pricing rule G. This will copy the pricing conditions from the order into the
    invoice without changing them, but will redetermine the taxes.
    Regards...
    SBC

  • Transfer cost price from free of charge item to main item but not for VPRS

    Hi,
    I want to transfer cost price from free of charge item to main item but not for VPRS but for a new Z contidion type.
    For CO-PA proposes. Can you help me with This?
    Catarina Alves

    hi,
    transfer of cost from sub item to main item is configured in the delivery to billing copy control for the main item. go to VTFL  > select the required item cateogry > here at the bottom you will find a check box Cummulate cost. Tick it.
    Not really what you meant COPA purposes. But the pricing conditions are mapped to COPA value fields at KE4I transaction.
    regards
    sadhu kishore

  • Error in Updating the Prices through DTW

    Hello Expert,
                         I am getting an error while updating the item prices through DTW.
    I upload all the items in SAP and prices in Price List 01
    Now I create One more Price List with Other name and want to update the Price in this Pricelist for all items through DTW
    but system giving an error "this entry is already present in Table(ODBC-2035) Application Defined or Object Defined ErrorItems"
    SAP 8.8
    PL 5
    Regards
    Atif

    What Neetu suggests is great.  However, you will run into problems if your users have deleted a price list.  Perform the following query as suggested:
    SELECT T0.[ListNum], T0.[ListName] FROM OPLN T0
    Copy this to excel and create a further column called 'RealNumber' or something
    Start numbering cells in this new column from 0 to whatever you need to cover all the lists from the database.
    The number in the 'Real Number' column is the one you should insert into the LineNum field in the prices spreadsheet.
    Hope this helps.  Reply if you need more guidance.
    Regards
    Bob

  • Not able to view actual Price updated 'Value' in Change Tracker

    I was able to get my Change tracker to work and it is functioning. (SRM 5.0 MDM5.5 )... Configured Portal iViews for change tracker.
    If I change a description I can see it in the change tracker application. But if I try and track a Price change it only shows me a date-time  and user as to I when the price was changed it doesnu2019t show me the actual value changed, for my audit purposes.
    On the portal the change tracker "Field" dropdown shows -> Price Updated. this is what is tracking any change of price.
    In MDM Console-> Admin->Change Tracker I am tracking under Catalog Items: Price information, Price Updated, Special search terms, long description.
    When I look at the Data manager in the Record Detail, I see  u2018Price Updatedu2019 and it only has a Date and time stamp. In this same Record Detail,  I see the field Price Information that contains :Lower bound, Purchasing Info record ID, Purchasing Organization, Amount and Currency.  Amount-> contains the actual price value. This is what i want to see in the portal iView as Old value and New value....this is what I am unable to view? theres one small step i am not doing...
    I am trying to track the actual change in the filed u2018Amountu2019u2026 I have tried to search for it in the Portal iView fields (table, record contains, fields, record)
    cheers
    alex

    Hi Alex,
    I would not here comment on change Tracking functionality but can you suggest another workaround to achieve this requirement. If it fits in your requirement you can go ahead with it.
    In MDM, Create another field in Main table say Initial Price and for already existing field Amount replace its name with Updated Price in Qualified table Price.
    now after this you will see that your by default Updated Price has values as it was your Amount field earlier and Initial Price field as empty. Now for next time, if any record comes using Import Manager then MDM workflow should trigger at Record Import.
    This workflow contains following steps.
    Start(Checkout)>Assign>Stop(CheckIn)
    Assign step should have below expression and assignment:
    Price Information.Updated Price
    Where I am assuming Price Information is the field in main table which is look up to this qualified table Price.
    So in this way you can maintain both existing and updated values of Price and cant then show in your Catalog.
    suppose you have already existing record say 1 which has value of Amount as 20.
    So that means you have Updated Price as 20 and Initial Price as empty(Null)
    Now when same record 1 updates with new Amount say 40, it triggers this workflow on record import which will then assign value of existing updated Price 20 to Initial Field after that Updated Price will update by 40.
    Note: This Assignment works well only if your main table record has this Qualified table link as single record. If your main table record contains more than one qualified links then this Assignment would not work fine. So use only if it fits.
    Regards,
    Mandeep Saini

  • How to reflect variable price in outline agreement

    We procure many very complex tools that have options which significantly affect the price of that tool.  We would like to be able to reflect those price differences in the outline agreement by option within the following boundary conditions.
    1. Do not want to create a new material master for each option
    2. Do not want to utilize BOM
    3. We are buying the tool so sales order solutions won't work for us
    I have looked at configurable materials where I set up characteristics to reflect the options but I have not been able to figure out a way to price those individual options.  I do see how I could create multiple line items on the outline agreement for the same material and put unique combinations of the option characteristics in individual lines but that means I have to create a line item per option combination permutation which is much more painful than simply pricing individual options.  I also haven't seen any way to get SAP to select the correct line item based on these characteristics when doing source selection on the PR or PO.   I have started looking at variant pricing but that is completely new to me and I am not sure if that is going to go in the direction I want.  My fear is that this just allows me to price a combination of characteristics vs. pricing individual characteristics then combining the prices at the time of purchase (no different that having to create an OA line item per option combination permutation).  My apologies in advance for the convoluted message but it is difficult to ask about solutions when you are not sure what functionality potentially exists.
    Thanks,
    Ben

    Hi
    Try to check with variant Configuraqtion may be upto some extent helpful
    Check the link
    http://help.sap.com/saphelp_erp2004/helpdata/EN/92/58d455417011d189ec0000e81ddfac/frameset.htm

  • How hard can it be to get a price for DPS Enterprise?

    Is the Enterprise License made from Unicorn tears or what?
    We have now spent  three hours on three separate calls to Adobe enquiring about the cost of an Enterprise license. We are Adobe Pro users, and find it bizarre that no-one in the wide Adobe world appears to be able to be prepared to even guestimate a price for us.
    But Adobe's support network is really good at passing us on to another department, in another country, to another department in another country until "our office is now closed".
    Today, on attempt no 3 the Adobe sales person cut me off. She then  called my phone and left me a voicemail message, during which she put my voicemail on hold. Yes, she put my voicemail on hold…

    Hi Renny,
    I work for MEI, Adobe's top reseller for the DPS product. We're working with a number of customers moving from Pro to Enterrpise and I'd be happy to help you as well. We also have some value-add products and services to help you make the most out of the DPS Enterprise platform like our recently announced MEI Portico solution.
    Please feel free to email me at the address below. I also sent you a PM with my cellphone.
    Best,
    Brett
    [email protected]

Maybe you are looking for

  • Can't set a home screen background

    i have just updated my ipod touch, i bought it last week as far as i know it's the newest one available (8GB). the Utilities folder is working & i have noticed a few other differences but when i go to apply a wallpaper it doesn't ask me to move or sc

  • .pdf in preview won't print

    For the past 2 days, I am having issues printing documents I am viewing in Preview.  When I press (command P) the File button highlights briefly, but then the print screen does not come up.  However, on occasion, it has worked.  I have all software u

  • XML schema size restrictions

    I was wondering what size restrictions there are on XML schemas? I'm developing a schema that has just raised the following error on registration. ERROR at line 1: ORA-31084: error while creating table "CAS"."swift564357_TAB" for element "swift564" O

  • I can't get my imessages to send and I don't want them to turn green. What do I do?

    I can't get my imessages to send right now and they were just working fine. I have already turned my phone off and on and it still won't work. I don't want my messages to turn green and my SMS is already turned off. What should I do to fix this?

  • What is backup error (-43) when trying to update an iPod touch?

    Error (-43) occurs everytime I try to update my iPod, so I would like to know more about what it is.