Net Price error in BAPI

Hi ,
       I am new to BAPI.   I am getting error in the return table of BAPI BAPI_PO_CREATE1 that "net price should be greater than 0 " .Until i call the BAPI the value is greater than zero , but when i call the BAPI the net_price(TYPE BAPICUREXT)  is becoming automatically zero. I am not able to know why the the value net_price is changing at the item level.
         So no purchase Order is created . Why the net_price is changing and how can i overcome this.

Hi Meghana,
  could you plz post the code before calling the BAPI, so that i can able to tell you why it is making the price as zero.
Regards,
Ramesh.

Similar Messages

  • Enter Net Price Error in SRM System

    Dear Gurus,
    The user has created Purchase order in SRM Portal without flagging 'Confirmation-Related Invoice Verification' and 'Invoice Expected'.  The PO is transferred to R/3 system with '0' price and free goods indicator.  Then the user modified the PO in the portal, flagging the Confirmation-Related Invoice Verification & Invoice Expected indicator. 
    Now the changes is not getting transferred to R/3 and getting error message as 'Enter Net Price' in RZ20.
    Is there any note on this issue.
    Please throw some light to resolve this issue.
    Regards,
    Suresh

    Hi,
    Since you have flagged Invoice Expected indicator, make sure you enter a non zero price when you change the PO.
    Alternatively you could implement note 1532505 and check
    Regards,
    Nikhil

  • ZA00 Surcharge on net, price error Purchase Order

    Hi experts
    we are working into MM ECC 6.0
    After an upgrade from 4.7 we are not able to create PO with ZA00 Surcharge on net as condition type (item level).
    Into MM 4.7 all worked properly.
    Using bapi POCREATE1 all works correctly if we are without ZA00, but if an order has ZA00 (Surcharge on net) it dosen't work, the PO is without NET PRICE.
    Is there anyone with the same issue?
    regards
    andrea

    solved by me

  • Passing Net Price (VBAP-NETPR) in BAPI_SALESORDER_CREATEFROMDAT2

    Hi All,
    I need to pass net price in the Bapi BAPI_SALESORDER_CREATEFROMDAT2.
    Where to pass it ...? PLz help.

    Hi,
    i Think that the price condition should to maintain for the particular material and you see from VK13 for that material take the price form accouting view of the material an use it in bapi in    ORDER_CONDITIONS_IN-CONDVALUE and enter the other details condition for the material  for basic price..
    Trt this.

  • Net price must be greater than 0 error while creating PO using BAPI

    Hi guys!
    I'm using BAPI_PO_CREATE1 to create several PO's from a Z table record. I finally achieved that my BAPI to work as wished, with conditions, etc.
    The problem im having is that  i get the error of net price must be > 0.
    I do not have any condition type defined . Is it necessary to define one?
    Plz any help will be very appreciated.
    Thx.

    It will be configuration problem,create one PO manually and see the results
    and create same data for Po using  Function module and see the results
    most of the time net price should be more than 0,keep net price should be more than zero
    see the simple program ,what i created :
    *& Report  ZBAPI
    REPORT  ZBAPI.
    DATA: BEGIN OF i_data OCCURS 0,
            text(255),
          END OF i_data.
    DATA: i_ekko TYPE bapiekkoc.
    DATA: it_ekko LIKE TABLE OF i_ekko INITIAL SIZE 0  WITH HEADER LINE.
    DATA: BEGIN OF i_ekpo OCCURS 0,
            po_item(5),
            pur_mat(18),
            plant(4),
            net_price(23),
            disp_quan(13),
         END OF i_ekpo.
    DATA: it_ekpo LIKE TABLE OF bapiekpoc INITIAL SIZE 0 WITH HEADER LINE .
    DATA: BEGIN OF i_eket OCCURS 0,
             po_item(5),
             deliv_date(8),
             quantity(13),
          END OF i_eket.
    DATA: it_eket LIKE TABLE OF bapieket INITIAL SIZE 0 WITH HEADER LINE.
    DATA: v_index TYPE i.
    DATA: return TYPE TABLE OF bapireturn INITIAL SIZE 0 WITH HEADER LINE.
    DATA: po_num(10).
    START-OF-SELECTION.
    CALL FUNCTION 'UPLOAD'
    EXPORTING
      CODEPAGE                      = ' '
      FILENAME                      = ' '
      FILETYPE                      = ' '
      ITEM                          = ' '
      FILEMASK_MASK                 = ' '
      FILEMASK_TEXT                 = ' '
      FILETYPE_NO_CHANGE            = ' '
      FILEMASK_ALL                  = ' '
      FILETYPE_NO_SHOW              = ' '
      LINE_EXIT                     = ' '
      USER_FORM                     = ' '
      USER_PROG                     = ' '
      SILENT                        = 'S'
    IMPORTING
      FILESIZE                      =
      CANCEL                        =
      ACT_FILENAME                  =
      ACT_FILETYPE                  =
      TABLES
        data_tab                      = i_data
    EXCEPTIONS
      CONVERSION_ERROR              = 1
      INVALID_TABLE_WIDTH           = 2
      INVALID_TYPE                  = 3
      NO_BATCH                      = 4
      UNKNOWN_ERROR                 = 5
      GUI_REFUSE_FILETRANSFER       = 6
      OTHERS                        = 7
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop at i_data.
    if i_data-text(1) = 'H'.
       shift i_data-text.
       v_index = v_index + 1.
       split i_data-text at ',' into i_ekko-doc_type
                                    i_ekko-purch_org
                                    i_ekko-pur_group
                                    i_ekko-vendor.
      append i_ekko to it_ekko.
    elseif i_data-text(1) = 'I'.
    shift i_data-text.
    split i_data-text at ',' into i_ekpo-po_item
                                   i_ekpo-pur_mat
                                   i_ekpo-plant
                                   i_ekpo-net_price
                                   i_ekpo-disp_quan.
    append i_ekpo.
    move-corresponding i_ekpo to it_ekpo.
    append it_ekpo.
    clear it_ekpo.
    else.
    shift i_data-text.
    split i_data-text at ',' into i_eket-po_item
                                   i_eket-deliv_date
                                   i_eket-quantity.
    append it_eket .
    move-corresponding i_eket to it_eket.
    append it_eket.
    clear it_eket.
    endif.
    endloop.
    CALL FUNCTION 'BAPI_PO_CREATE'
      EXPORTING
        po_header                        = i_ekko
      PO_HEADER_ADD_DATA               =
      HEADER_ADD_DATA_RELEVANT         =
      PO_ADDRESS                       =
      SKIP_ITEMS_WITH_ERROR            = 'X'
      ITEM_ADD_DATA_RELEVANT           =
      HEADER_TECH_FIELDS               =
    IMPORTING
      PURCHASEORDER                    =
      tables
        po_items                         = it_ekpo
      PO_ITEM_ADD_DATA                 =
        po_item_schedules                = it_eket
      PO_ITEM_ACCOUNT_ASSIGNMENT       =
      PO_ITEM_TEXT                     =
       RETURN                           = return
      PO_LIMITS                        =
      PO_CONTRACT_LIMITS               =
      PO_SERVICES                      =
      PO_SRV_ACCASS_VALUES             =
      PO_SERVICES_TEXT                 =
      PO_BUSINESS_PARTNER              =
      EXTENSIONIN                      =
      POADDRDELIVERY                   =
    write: po_num.
    use BAPi_TRANSACTION_COMITT FM always
      loop at return.
      write:/ return-message,return-type.
      endloop.
    Thanks
    Seshu
    Message was edited by:
            Seshu Maramreddy
    Message was edited by:
            Seshu Maramreddy

  • Net Price Calculation Error in LSMW(Direct Input)

    Hi,
    i am using LSMW-Direct Input method for Creating Purchase Order .i am facing Problem like Quantity Conversion error in Net Price Calculation.
    Any one please help me out.
    Regards,
    Shobha Henry

    Best practice would be to use BAPI/ALE method instead of direct input but if you've already done with the mapping etc. try putting a break point in the generated LSMW program where the net price is calculated and transferred to SAP field and then run it to see in the debugger what's going on. I reckon its possibly a type compatibility error.
    Hope this helps,
    Cheers,
    Sougata.

  • Open PO LSMW Quantity conversion error in net price calculation

    Hi gurus,
    I encountered an error as I was tring to upload purchase orders - "Quantity conversion error in net price calculation". What does this mean and how do I fix this?
    Please help
    Thanks

    Hi Jürgen,
    Where in the Material Master can I find the conversion ratio between both units?
    Also, I am trying to upload POs for Spare Parts and that's when I get the error. But when I try to use other materials like FGs, everything is ok. I can proceed with the upload without any problem
    Please help

  • 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.

  • Get "Error in Net Price Calculation" error while creating a Purchase Order

    I am getting a error when i try to create a PO. Says "Error in Net Price Calculation item 00010(Please correct)"
    I have defined conditon records with the price for the material  and have also created info record.However the price in the info record (including currency i.e USDN is different than the one defined in the conditon records currency is USD).
    However the price is different from the one defined in info record and in material master.
    Where is it picking the price from also is there any way to edit the price in material master or info record ?
    Also when i view the condition records by using Tcode MEK1 i get the following error
    "Access Pricing Purchasing Z00q 20 contains no fields"
    I know Z001 is the access sequence
    Can any one tell me wht is this error message about ?
    Edited by: Dspsac on Jan 29, 2008 4:31 AM

    how can u maintain the condition record as well as info record for a vendor -material in the same time frame
    it is not possibe
    as info record is also 1 of the condition table
    if u have maintained the info record then system is going to fetch the data from there but point top notice is it depends on the validity of record
    system fetch the price from info record
    and the currency used is fom vendor master

  • Error in PO net price currency JPY

    sir,
    PO was created with currency japanese YEN using Tcode ME21N . The net price was showing 142502300 (in JPY).
    when checked in EKPO table , it saved with a value 1425023.00  instead of  142502300 . 
    what can be done to correct this.      
    In PO Print out , it showing values as 1425023.00  which is wrong.
    SPRO>> NET WEAVER >> GENERAL SETTINGS >> CURRENCY>> SET DECIMAL values FOR CURRENCY CODES is showing 0 decimals against JPY (Japanese YEN)
    I want to know where else the Decimal values could have been set to 2 decimal places.
    FOr other currencies like US Dollars  there is no error.
    Regards,
    Srinivasa Murthy

    sir,
    In OY04 i deleted entry related to Japan Yen ie. with 0 decimals.     This solved my problem. But  already created orders with Japanese YEN had to be  deleted .
    For the orders created with new configration ,  the issue is rectified and    Net price in ME21N  as well as the PO value in EKPO table showing same value with 2 decimals.
    Thank you very much .
    Regards,
    Srinivasa Murthy

  • Error in net price calculation In PO

    Dear all,
    I created a new pricing procedure where i am getting an error message in PO i.e.
    "Error in net price calculation, item 000010". Message no. 06213
    Please advise me how to overcome the error.
    Thanks
    Prasant

    Dear Prasanth,
    Check the condition schma -> Control data
    here Condition Type NETP-Net Price
    this condition type were it is applied in total condition how it reflecting to total pricing scema
    hope this will helps you
    Prem

  • Message no. 06211 Currency translation error in net price calculation

    Hi,
       When i am creating purchase order i am changing currency from INR to JPY for FOB condition type only, And system issuing error message Currency translation error in net price calculation. Document currency is INR.
    When i am using USD i am not getting this error.
    I have checked table OB08 and both conversion maintained INR to JPY AND JPY to INR valid from 01.01.2012
    Any solution for this please.
    Thanks in advance.

    Hi, Check in T-code M/08 for your import prizing procedure,what have you maintained for subtotal for gross price condition (PBXX,PB00), Maintain over there as '9', also for JPY currency there is issue with decimal also, ratio maintained in 100:1 ratio.
    Edited by: tej yadav on Jan 6, 2012 1:29 PM

  • ME21N--Quantity conversion error in net price calculation

    Hi MM experts,
    Issue: while creating PO, when attempting to add the net price for line item. but system removes the cost and gives the follow error message says "Quantity conversion error in net price calculation".
    The system was not able to convert the order unit into the purchase order price unit. Possible reasons:
    i) the conversion results in a net price that is too high, or
    ii) the conversion factor for the units has not been properly maintained.
    iii) Check whether the units of measure and their conversion factor are correct.
    I have checked material master>unit of measure> 1 PL = 22 KG maintained.
    Can you please tell me how to resolve this issue?
    Appreciated early response.
    Thanks in advance.
    Suresh

    Hi Suresh,
    Please check on Material Master Data - Accounting 1 tab - Price Unit
    Moshe

  • Quantity Conversion Error in Net Price Calculation

    We are currently using SRM 5.0 ECS where we created a material PO and had a problem with the product not having the language E maintain in the material master. This caused the PO to have status of "error in process"  Once we fixed this issue and tried to reprocess the PO we're not getting the following error message in the Application Monitor:
    No Instance of Object type PurchaseOrder has been created. External Reference
    Puchase Order still contains faulty Items
    Quantity Conversion Error in Net Price Calculation
    Has anyone seen this or know what we can do to resolve this so that the PO gets replicated in R3?
    Thanks in advance.

    Hi Robert,
    Regarding this backend error E 212 06 Quantity conversion error in net
    price calculation.         
    This error is because in the PO Order price unit is empty. And          
    quantity is null. So, please enter the quantity and order price unit          
    for this PO and order the PO again. Or you can retransfer the      
    PO manually using the FM BBP_PD_PO_TRANSFER_EXEC. (for this fm you need       
    to input the PO header guid, which you will get it from tx.BBP_PD             
    by providing PO number and object type as BUS2201).
    This has worked for other customers.
    Hope this helps,
    Kind Regards,
    Matthew

  • Quantity conversion error in net price calculation in BAPI_PO_CREATE1

    I'm creating PO from BAPI_PO_CREATE1 .here i'm getting follwing error
    quantity conversion error in net price calculation.
    plz guide me to remove it.

    Are you using quantities directly entered by the user while calling the function to do the net price calculation? If that is the case, you should use FM CONVERSION_EXIT_ALPHA_INPUT to convert the quantity from the external format into the internal one!
    Another possibility is that some customizing is missing for converting quantities in different unit of measures (like the quantity in pieces is known, but the pricing calculation is being done on kilos.. but the convertion between these 2 unit of measures is missing).
    Good luck!

Maybe you are looking for