Sales Order with zero price.

Hi,
                               I am creating sales order using the bapi  'BAPI_SALESORDER_CREATEFROMDAT2'  .For some materials we have condition type 'ZR00' and amount 0.00 per 1 unit. The problem is when i  create sales order, in item conditions it shows zero amount. How can I pass ZR00 price value through BAPI.?i.e i mean to oerwrite the value in Vk13.
Regards,
Vinsa.R

HI Vinsar
Make use of tables: ORDER_CONDITIONS_IN and ORDER_CONDITIONS_INX of the BAPI.
Required paramters to be passed for the structures:
<b>ORDER_CONDITIONS_IN</b>
--ITM_NUMBER --> Item Number Eg: 000010
  COND_TYPE -> Condition Type(ZR00)
  COND_VALUE -> Amount
<b>ORDER_CONDITIONS_INX</b>
-- ITM_NUMBER -> Item Number(000010)
   COND_TYPE -> Cond Type(ZR00)
   UPDATEFLAG -> 'I'
   COND_VALUE -> 'X'
Hope the info helps you.
Kind Regards
Eswar

Similar Messages

  • Sales Order with Zero value

    Hi,
    Can I enter an item in sales order with zero price, and book it, thereby creating a zero value sales order.
    I am asking this in context of promotional items for which price is not maintained by us.
    Regard,
    Sohail

    Hi,
    Yes you can book Sales Order with Zero price, if the item's unit price is defined as Zero in the price list that you are using in the Sales Order.
    Regards,
    Moniica

  • Purchase order with zero price

    hello
    is i possible to create pos with zero price. i have a scenario that i need to create po with out paying to vendor.
    please help
    regards

    Hi,
    If yours is a Free Goods Scenario. Then Mark the Free Item Tab ( Next to Returns) in the Purchase Order detail tab.
    Now you can create a Purchase order with Zero Price. By the time GR thru. 511 Mov. Type (Material receipt with out charge) you can receive the material.
    Reg,
    Ashok
    Rewards Welcome.

  • Sale order with Zero quantity

    Hi,
    I should not see the sale order with Zero quantity in APO product view . I tried by de-selecting the Display customer requirement w.0 qty from user setting in product view but it din work.
    Is there any other option to switch off sale order with zero quantity in product view ?
    Regards
    BVN

    Hi Valavan,
    Please check in customisation under PPDS whether set order view/periodic product view is
    maintained
    Regards
    R. Senthil Mareeswaran.

  • Sales order with out Price List or Sales Person

    Can Sales Order be prepared without Price List or Sales Person ?

    No and no.
    If you're not using sales compensation and not interested in recording the salesperson for the purposes of printing on documentation or internal analysis, you could always set up a default to the seeded value 'No Sales Credit'.
    As for the pricelist, every item on an Oracle sales order has to exist on a price list. The only exception is a configuration item if you're using CTO. Of course there is nothing to stop you creating one simple pricelist with a product context of 'All items' priced at zero which can sometimes be useful during initial system setup when you're checking your OM setups work correctly before moving on to pricing.

  • Sales Order with zero DocTotal

    Is there anyway to create a Sales Order via DI-API with a zero DocTotal?  In this application, the Sales Order will initially have only text lines imported from an external application.  The actual inventory items will be added by customer service later, when the order is processed (based on the text lines).
    The error that I'm getting is -5002: Invalid total ORDR.DocTotal.  I can circumvent the error by adding a dummy item, but would prefer not to do this.
    In the Authorizations for the DI-API login user, I have 'Documents with Zero Amounts' set for 'Full Authorization' in the 'Sales - A/R' section.  I am able to create a zero order manually through the application.  However, I'm unable to do so through DI-API.
    This is on 2007A SP00 PL42.
    Thanks,
    Dave
    Edited by: David Credicott on Jan 4, 2010 2:05 PM

    Hello Dave,
    It is possible. Maybe your code is coming from some invalid customizing settings...
    for me working fine the following code:
    Sub CreateSalesOrderWithZeroAmount()
            Dim So As SAPbobsCOM.Documents = oCompany.GetBusinessObject(BoObjectTypes.oOrders)
            So.CardCode = "CUSTOMERCODE"
            So.DocDueDate = Today
            So.SpecialLines.SetCurrentLine(0)
            So.SpecialLines.LineType = BoDocSpecialLineType.dslt_Text
            So.SpecialLines.AfterLineNumber = -1
            So.SpecialLines.LineText = "TEST"
            If So.Add <> 0 Then
                sbo_application.MessageBox(String.Format("{0}-{1}", oCompany.GetLastErrorCode, oCompany.GetLastErrorDescription))
            End If
        End Sub
    Regards,
    J.

  • Changing Price Conditions in Sales Order with SD_SALESDOCUMENT_CHANGE

    Hello there!
    I need to change the value of a price condition in a sale order ;I'm using the f.m.  SD_SALESDOCUMENT_CHANGE.
    It doesnt' work as I want, 'cause it creates an other price conditions instead of just changing the price value of the actual one.
    Waiting for your tips,
    thanks.
    This is how my code looks like:
    PARAMETER: p_vbeln LIKE vbak-vbeln.
    data: st_order_header_inx   TYPE  bapisdhd1x,
            st_conditions LIKE bapicond,
            st_conditionsx LIKE bapicondx,
            tb_conditions TYPE TABLE OF bapicond,
            tb_conditionsx TYPE TABLE OF bapicondx,
            tb_return TYPE TABLE  OF  bapiret2.
    st_order_header_inx-updateflag = 'U'.
      st_conditions-itm_number = '0010'.
      st_conditions-cond_type = 'PR00'.
      st_conditions-cond_updat = 'X'.
      st_conditions-cond_value = '100'. "Value I want to enter
      APPEND st_conditions TO tb_conditions.
    st_conditionsx-itm_number = '0010'.
      st_conditionsx-cond_type = 'PR00'.
      st_conditionsx-updateflag = 'U'.
      st_conditionsx-cond_value = 'X'.
      APPEND ls_conditionsx TO tb_conditionsx.
    CALL FUNCTION 'SD_SALESDOCUMENT_CHANGE'
        EXPORTING
        salesdocument                = p_vbeln
          order_header_inx          = st_order_header_inx
        TABLES
          return                           = tb_return
          conditions_in               = tb_conditions
          conditions_inx              = tb_conditionsx  .

    Get the conditions records first from the Sales Order with BAPI BAPISDORDER_GETDETAILEDLIST
    CALL FUNCTION 'BAPISDORDER_GETDETAILEDLIST'
      EXPORTING
        i_bapi_view          = lw_bapi_view
      TABLES
        sales_documents      = lt_order
        order_conditions_out = lt_conditions_out.
    Then populate the conditions internal table with the data that you get from the previous code
    move-corresponding lw_conditions_out to lw_order_conditions_in.
    lw_order_conditions_in-cond_value = '100'   " the value that you want to modify
    APPEND lw_order_conditions_in TO lt_order_conditions_in.
    CLEAR lw_order_conditions_inx.
    lw_order_conditions_inx-itm_number = lv_kposn.
    lw_order_conditions_inx-cond_st_no = lw_conditions_out-cond_st_no.
    lw_order_conditions_inx-cond_count = lw_conditions_out-cond_count.
    lw_order_conditions_inx-cond_type  = lw_conditions_out-cond_type.
    lw_order_conditions_inx-updateflag = 'U'.
    lw_order_conditions_inx-cond_value = lc_x.
    APPEND lw_order_conditions_inx TO lt_order_conditions_inx.
    You didn't populate the fields cond_st_no and -cond_count. Then just call BAPI SD_SALESDOCUMENT_CHANGE to change the Sales order.
    Hope that helps.
    Erwin

  • Create Sales order with reference to a Billing Document - Net price issue

    Hi Everyone,
        The Billing Document has one line item with Net value of 16,000. However, when I create the Sales Order with reference to the Billing Document, the net price shows 64,000.  When I check the Document flow of the Billing Document, there were two Contracts on top of my Billing Document. One is a contract with the overall status of "Being Processed" and this is where I checked the net value is 64,000. The next contract invoice is already completed (net value is 16,000).
        Has anyone encounter such case? How would I be able to create the sales order with reference to the Billing document and have the net value of what is in the Billing Document (16,000). Which part of the configuration is setting this up. Thanks!

    Hi,
    This is a very rare case, if you are sure of the scenario, would suggest you two alternatives:
    1) whenever you go against the flow of SAP, you have customize it, so its better you discuss this matter with your ABAP person.
    2) never tried it out but you can:
    you cannot see that in Billing Document that which is the sales document assigned to it, but to estblish that relationship,
    we do copy control setting from Billing Document to Sales Order type (T.Code:VTFA).
    Menupath: SPRO >> IMG >> Sales & Distribution >. sales >> Billing Document >> Copy Control >> Copy Control from Billing Document to Sales Order Type.
    Hope this will help you.
    Regards,
    Siddharth.

  • Automatic Freight price on Sales Order with minimum total freight for order

    Hi,
    I am stuck trying to solve a freight pricing scenario on sales orders and I was hoping that someone might have seen this problem before. There are a number of basic requirements:
    1. The freight should be calculated automatically.
    2. The freight should be based on weight and shipping condition.
    3. The total freight of the order should be minimum X Euro.
    The problem we have is to try combining these three requirements since access sequences and condition records are not used on header conditions. The first 2 should be possibe to solve using a copy of standard item freight condition KF00 and creating a new access sequence including shipping condition. However, when including the last requirement we must see to the freight price of the complete Sales order and the system must automatically if the total reaches the minimum level.
    For example, say that we have a sales order with 2 items and the minimum freight for a total order should be 10 Euro. Based on weight and shipping condition the system automatically finds condition records giving item 1 a freight price of 2 Euro and item 2, 3 Euro -> giving us a total freight of 5 Euro.
    The system should see that the total freight of the 2 items does not reach the minimum freight price and automatically use the minimum price instead.
    I have been looking at the possibility to use 2 separate condition types (since the minimum should be a fixed price), or maybe it is possible to solve this through a user exit somehow? Has anyone seen this type of problem before?
    Any input and thoughts would be highly appreciated.
    Regards,
    /Dan

    Hi Dan
    For the 1st  query , maintain access sequence and assign it to the condition type and maintain condition record for that freight condition type
    For your 2nd query , in V/06 change the calculation type of the freight condition type to gross weight /Net weight
    But as  issue is concerned   in VK12 maintain minimum & maximum values. So if the Minimum value reaches then only the condition type triggers
    So in your pricing procedure say you have a 2 freight condition types of  ZXXX & YXXX . So assign minimum & maximum order values in VK12 for ZXXX condition type . And if its maximum value exceeds then YXXX condition type should trigger.
    Regards
    Srinath

  • Close open sales order with no subsequest documents

    Hi,
    I have a scenario where line items in a sales order have been rejected citing a reason. But for two of these line item materials in a  report are showing up as open with zero quantity (comes up as error in report). The quantity of all line items in the sales order is zero. These line item description column is complete.
    how can this be corrected. how the sales orders  can be made completed, without deleting line items.
    Thanks
    Sharan

    Just a quick check,
    do all items you rejected have been assigned the same reason for rejection.

  • Doubt in creating a sales order with reference to contract

    Hi all,
    when I create the sales order with reference to contract, in the table VBFA, the field PLMIN is set to zero some times and set to '+' some times. May I know whats the functionality behind this. Any pointers on this will be helpful.
    Regards,
    A.Rathinaprakash

    Hello A.Rathinaprakash,
    This is an Indicator which indicates the quantity or value in the target document(means Sales order) has a negative effect, positive effect, or no effect at all on the quantity still to be completed in the source document(means contract).
    Example from the Help file..
    In sales documents, for example, you can expect the following results:
    Quotation   -> Sales order: positive effect
    Contract    -> Return: negative effect
    Sales order -> Sales order: no effect
    In billing documents, for example, you can expect the following results:
    Delivery    -> Invoice: positive effect
    Delivery    -> Cancellation: negative effect
    Delivery    -> Pro-forma invoice: no effect
    Hope it helps..
    Regards,
    HP

  • Sales order with reference to the invoice

    How can we create a sales order with reference to the invoice

    Hi,
    1. Create sales order
    This process step can be triggered as follows:
    The customer accepts the quotation and places an order.
    You create a sales order with reference to a quotation. For more information, see Structure link processing Quotations. The system copies the items from the quotation.
    You create a sales order. This is also possible without performing the previous steps.
    2. Enter products
    You enter products requested by customers.
    Note
    If necessary, you can configure products again for every item of the sales order. You can find more information in the business scenario variant Structure linkQuotation and Order Management (Configure-to-Order) and under Structure linkProduct Configuration in the Sales Transaction.
    3. Check availability, schedule order and create requirements
    The system triggers an availability check and scheduling in SAP APO for every order item in SAP CRM. The confirmed quantities and dates are confirmed by SAP APO to SAP CRM, and saved in the sales order (see Structure linkAvailability Check in the Sales Order). At the same time, a customer requirement is created in SAP APO.
    Note
    You can also execute the availability check in SAP R/3. You can find more information under Structure linkAvailability Check with SAP R/3.
    4. Maintain and determine conditions
    The system determines the prices and the value of individual items. If necessary, you can process these. For more information, see Structure linkPricing.
    5. Perform credit check
    SAP R/3 executes a credit check based on the results of pricing in SAP CRM. The result of the credit check is confirmed in SAP CRM, and saved as the credit status at item level. For more information, see Structure linkAutomatic Credit Check.
    6. System replicates sales order
    After the sales order has been saved in SAP CRM, complete and without errors, it is replicated for logistics processing in SAP R/3. Order data is transferred together with confirmed scheduling lines to SAP R/3.
    7. System receives sales order
    After replication to SAP R/3, you can change the sales order in SAP CRM and SAP R/3. You can find more information on this under Structure linkData Exchange for Sales Transactions: CRM Enterprise - SAP R/3
    8. Send order confirmation to customer
    You can send the order confirmation either electronically, or in print to the customer. You can find more information under Structure linkSales Order Confirmation by E-Mail.
    9. Monitor status of order
    PS: Do award points

  • BAPI: Create Sales order with reference to Quotation

    Hi ...
    I am using bapi BAPI_SALESOREDER_CREATEFROMDATA2  and
    i want to create sales order with reference Quotation... All quotation data like Materials prices and conditions must be copied from reference quotaion which is allready created .....
    ..Thanks..
    ..Ashish

    Hello,
    nice to see that this has already been solved.
    But it actually doesnt work in my scenario. Do you have an example coding which will explain your solution.
    Mine looks like this:
    * Update Flag
      ls_header_inx-updateflag = 'I'.
    * Angebotskopf einlesen
      SELECT SINGLE * FROM vbak INTO ls_vbak
        WHERE vbeln = iv_vbeln
          AND vbtyp = lc_vbtyp.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
    * Auftragskopf setzen
      ls_header_in-doc_type      =  ls_vbak-auart.
      ls_header_in-sales_org     = ls_vbak-vkorg.
      ls_header_in-distr_chan    = ls_vbak-vtweg.
      ls_header_in-division         = ls_vbak-spart.
      ls_header_in-req_date_h   = ls_vbak-VDATU.
      ls_header_in-ref_doc        = ls_vbak-vbeln.
      ls_header_in-refdoc_cat   = 'B'.
    * Angebots-Partner einlesen (Nur AG und WE)
    * Auftrag anlegen
      CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
        EXPORTING
    *   SALESDOCUMENTIN               =
          order_header_in               =  ls_header_in
    *      order_header_inx              = ls_header_inx
    *   SENDER                        =
    *   BINARY_RELATIONSHIPTYPE       =
    *   INT_NUMBER_ASSIGNMENT         =
    *   BEHAVE_WHEN_ERROR             =
    *   LOGIC_SWITCH                  =
    *   testrun                       = 'X'
    *   CONVERT                       = ' '
       IMPORTING
          salesdocument                 = ev_vbeln
        TABLES
          return                        = et_return
    *      order_items_in                = lt_items_in
    *      order_items_inx               = lt_items_inx
          order_partners                = lt_partners
    *   ORDER_SCHEDULES_IN            =
    *   ORDER_SCHEDULES_INX           =
    *   ORDER_CONDITIONS_IN           =
    *   ORDER_CONDITIONS_INX          =
    *   ORDER_CFGS_REF                =
    *   ORDER_CFGS_INST               =
    *   ORDER_CFGS_PART_OF            =
    *   ORDER_CFGS_VALUE              =
    *   ORDER_CFGS_BLOB               =
    *   ORDER_CFGS_VK                 =
    *   ORDER_CFGS_REFINST            =
    *   ORDER_CCARD                   =
    *   ORDER_TEXT                    =
    *   ORDER_KEYS                    =
    *   EXTENSIONIN                   =
    *   PARTNERADDRESSES              =  .
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
    Unfortunatly this just makes the reference to the quotation but does not takeover ALL data from header and pos level.
    Thanks and regards
    Markus Armbruster

  • List of rejected sales order with quantity and value

    Hi,
    Is it possible to get the report from VA05 for the list of rejected items with value and quantity ?
    Pls help
    Thanks,
    Vijesh

    Dear Vijesh,
    VA05 I believe is a very powerful report for doing analysis at order and line item level. If your rejection criterion includes a rejection reason at line item level, yes this list from VA05 can give rejected Sales Orders with Quantity and Value.  See the screen shot below.
    I selected a list with open dates till date, I can see Sales Order number, Sales Document Type, Item Number, Material, Rejection reason, Quantity at line item level and net price.
    However, I am not sure what is the rejection criterion you use in your business and I am not sure if you use rejection reason and hence I would like to hear from you, if this explanation helps you.
    Thanks
    Nagaraj

  • Condition Values not being copied when creating sales order with reference

    hi experts
    i am copy a sales order with reference in va01 , when i copy the order it status is shown as incomplete beacue the condition values in some condition type sis zero, whereas if i delete amount for some condition type and re-eneter it the condition values for all conditon types appears ...
    in all after copying order i go to condition at item level some codition values are zero but if erase amount for any condition type and then re enter it value comes for all condition types

    Hi Sunny,
    Maintain some value against that condition type in VK11.
    This must solve your question. Please set to resolved if it solves your doubt.
    Regards
    Abhii....

Maybe you are looking for

  • My disc drive doesn't work how can I fix it?

    My disc drive is not proccessing discs, is there any way to fix that because I need to update my computer. thanks

  • How to get the sent date in Adapter Module

    Hi How to get Sent Date in Adapter Module. I have used message.getSentTime(). But i am getting in 1179051733406 format is there any way to change this format. Is there any other way to get the date when file sending.? Is it possible to get Soap Heade

  • Installing 10.6.1 not successful

    I got a notice from the Software Update Manager saying I needed to update to OS X 10.6.1 and iTunes 9.0. I said yes, and the system started to reboot. During the reboot, I got the message "There was an error during installation." The system rebooted

  • Itunes won't recognize iphone 4s after itunes 10.7, ios6 and ios6.0.1 upgrades

    I recently upgraded to ios6. My old version of itunes had to be upgraded to 10.7 to work with my 4s. Ok fine, whatever. Worked for a few days and then itunes has now suddenly stopped recognizing my iphone. Iphoto works so it's not a problem with the

  • Blank Thumbnails, iPhoto hangs.

    Hi, Suddenly a lot of my thumbnails went blank. Looking at info, the file has it´s original size, but looking in Finder reveals that the file is 0kb and the symbol in Finder is gray and has the text "exec" in green printed on it. My db is not larger