Populating the bapi in retreiving the pricing condition

Hi guys,
given the ff data, how am i going to populate bapi_salesorder_simulate to retrieve the pricing condition?
Condition      Table     Field                    SAP Field
ABCD     907     Sales Org                   LIKP-VKORG
ABCD     907     Customer                   LIKP-KUNNR         ABCD     907     Material                   LIPS-MATNR    XYZW     855     Sales Org                   LIKP-VKORG
XYZW     855     Price Group     KNVV-KONDA
XYZW     855     Material Group     MARA-MATKL
XYZW     855     Duty Band                    MVKE-MVGR3
Thanks a lot!
Regards,
Mark

Hi Preet,
I am sorry that we are back to square one. I checked OSS and two OSS notes specifically mention that you cannot do anything with condition records if you are in a version lower than 4.7.
That leaves us with the option that I mentioned in your earlier posting which is to make config changes, and then write a small program to do repricing. That way all the sales orders will be repriced and based on the new configuration, the condition should disappear.
You can give points by clicking the yellow star sign at the header of a post. You can give one 10 points for the post solving your issue, two 6 points for very helpful answers and unlimited 2 points for helpful answers.
Regards,
Srinivas
Sorry forgot to mention the OSS notes. They are 593246 and 597970.
Message was edited by: Srinivas Adavi

Similar Messages

  • Error while mapping the BAPI exception to the Fault Messge

    Hi
    I have a scenario SOAP to BAPI ...
    when i try test the scenarion from Altova XML SPY for BAPI exception ... i am getting the following error....
    When i tried to map the BAPI exception to the Fault Message its giving me the error...
    com.sap.aii.af.ra.ms.api.DeliveryException: com.sap.aii.af.ra.ms.api.MessagingException: Could not parse XMBMessage due to Unexpected length of element <sap:Error><sap:ApplicationFaultMessageNamespace> =

    Hi,
            Fault messages can be used for inbound proxies....for BAPI also it can be used i am also not sure....How are you tracking that the data is getting posted into the SAP table with the help of BAPI?
    Thanks
    Arijit

  • Where i can set the path to retreive the Km files

    Hello All,
    How to access the KM content files in my portal Application. Where I can set the path to retrieve any file from KM. Please  can any one help me.
    Thanks in Advance

    hi
    I am using the Following code. it gives error.i think i need to import some jar file. can you help which jar file to import and where i can find those jar files.
    Thanks in Advance.
    import com.sapportals.portal.prt.component.*;
    import com.sapportals.portal.prt.resource.IResource;
    import com.sapportals.portal.prt.resource.IResource.*;
    import com.sapportals.portal.security.*;
    import com.sapportals.portal.security.usermanagement.*;
    public class test extends AbstractPortalComponent
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
              //IUser user = WPUMFactory.getUserFactory().getEP5User(request.getUser());
              com.sapportals.portal.security.usermanagement.IUser user = null ;
              IResource resourceContext = new ResourceContext(user);
              RID rid = RID.getRID("http://epd.symbol.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.webdav/symbol_productinfo2/cs1504/images");
              try {
                IResource resource = ResourceFactory.getInstance()
                                          .getResource(rid, resourceContext);
                if( resource != null ) {
                   // resource found
                   System.out.println("resource " + resource.getRID() + " found");
                } else {
                   // resource not found
                   System.out.println("resource " + resource.getRID() + " does not exist");
              catch( Exception e ) {
                // problem while retrieving the resource
                System.out.println(
                                       "exception while trying to get resource " + e.getRID()
                                       + ": " + e.getMessage()

  • BAPI not returning the data

    Hi,
    I have developed the BAPI which gets the data from few tables and puts them in one structure. But when I am running I am not getting the output. When I am debugging the same the structure is getting populated but it is not getting returned. Please let me know what could be the issue.
    Regards,
    Ashutosh

    Dear Aushutosh ,
                              Please check whether You have created structure of table in which you are taking values
        Do as Such
    Create Structure
    through se11
    Data Type : zname .
    having field which you required
    such as
    name1
    waers
    klimk
    skfor
    cskfor
    Then assign this Structure to your RFC i.e BAPi
    in TAbles Tab
    such as
    Result   like zname .
    and then you use your code
    to append data in  result table
    whit proper import parameter and Export parameter if any .
    Regards
    Deepak .

  • Issue with posting G/L using the BAPI " BAPI_ACC_DOCUMENT_POST"

    Hi all,
    I am trying to create a G/L document using the BAPI "BAPI_ACC_DOCUMENT_POST". The Bapi is returning me a success message, but i am not able to see the document in BKPF/BSEG.
    Can somebody please let me know if there is any customization that needs to be done to get the document number reflected in the corresponding tables after i execute this BAPI.
    Here is the part of the code that i am using to fill the header structure:
      docheader-obj_type = 'REACI'.
        docheader-obj_key = 'TEST'.
        docheader-obj_sys = 'ECSCLNT010'.
        docheader-bus_act = 'RFBU'.
        docheader-username = sy-uname.
        docheader-header_txt = 'HDR TEXT'.
        docheader-comp_code = 'SC01'.
        docheader-doc_date = sy-datum.
        docheader-pstng_date = sy-datum.
        CASE wa_input_tmp-batch_type .
          WHEN '0'.
            docheader-doc_type = 'SA'.
          WHEN '1'.
            docheader-doc_type = 'RA'.
        ENDCASE.
    Any help is much appreciated.
    Thanks in Advance,
    Suresh

    See the below code :
    I have tested program in my system :
    *&---HEADER DECLARATION
    DATA: HEADER TYPE BAPIACHE09.                " HEADER DATA
                 INTERNAL TABLE DECLARATION
    *&----G/L ACCOUNT ITEM
    DATA: ACCOUNTGL TYPE STANDARD TABLE OF BAPIACGL09.
    *&---CURRENCY ITEMS
    DATA: CURRENCY_AMOUNT TYPE STANDARD TABLE OF BAPIACCR09.
    *&----RETURN PARAMETER
    DATA: RETURN  TYPE STANDARD TABLE OF BAPIRET2 with header line.
                         WORK-AREA DECLARATION
    *&----WORKAREA FOR G/L ACCOUNT ITEM
    DATA: WA_ACCOUNTGL TYPE BAPIACGL09.
    *&---WORKAREA FOR CURRENCY ITEMS
    DATA: WA_CURRENCY_AMOUNT TYPE BAPIACCR09.
                        INITIALIZATION
    HEADER-HEADER_TXT  = 'TEST HEADER'.
    HEADER-USERNAME    = 'DEVELOPER'.
    HEADER-COMP_CODE   = '0002'.
    HEADER-FISC_YEAR   = '2007'.
    HEADER-DOC_DATE    = '20070502'.
    HEADER-PSTNG_DATE  = '20070502'.
    HEADER-TRANS_DATE  = '20070502'.
    HEADER-DOC_TYPE    = 'SA'.
    HEADER-BUS_ACT     = 'RFBU'.
    WA_ACCOUNTGL-ITEMNO_ACC  = '0000000010'.
    WA_ACCOUNTGL-GL_ACCOUNT = '0000113020'.
    WA_ACCOUNTGL-ITEM_TEXT  = 'SO_DOC'.
    WA_ACCOUNTGL-DE_CRE_IND = 'S'.
    APPEND WA_ACCOUNTGL TO ACCOUNTGL.
    CLEAR WA_ACCOUNTGL.
    WA_ACCOUNTGL-ITEMNO_ACC  = '0000000020'.
    WA_ACCOUNTGL-GL_ACCOUNT = '0000113020'.
    WA_ACCOUNTGL-ITEM_TEXT  = 'SO_DOC'.
    WA_ACCOUNTGL-DE_CRE_IND = 'H'.
    APPEND WA_ACCOUNTGL TO ACCOUNTGL.
    CLEAR WA_ACCOUNTGL.
    WA_CURRENCY_AMOUNT-ITEMNO_ACC = '0000000010'.
    WA_CURRENCY_AMOUNT-AMT_DOCCUR = '500'.
    WA_CURRENCY_AMOUNT-CURRENCY   = 'INR'.
    APPEND WA_CURRENCY_AMOUNT TO CURRENCY_AMOUNT.
    CLEAR WA_CURRENCY_AMOUNT.
    WA_CURRENCY_AMOUNT-ITEMNO_ACC = '0000000020'.
    WA_CURRENCY_AMOUNT-AMT_DOCCUR = '-500'.
    WA_CURRENCY_AMOUNT-CURRENCY   = 'INR'.
    APPEND WA_CURRENCY_AMOUNT TO CURRENCY_AMOUNT.
    CLEAR WA_CURRENCY_AMOUNT.
                    START-OF-SELECTION
    START-OF-SELECTION.
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
      EXPORTING
        documentheader          = HEADER
      CUSTOMERCPD             =
      CONTRACTHEADER          =
    IMPORTING
      OBJ_TYPE                =
      OBJ_KEY                 =
      OBJ_SYS                 =
      tables
       ACCOUNTGL               =   ACCOUNTGL
      ACCOUNTRECEIVABLE       =
      ACCOUNTPAYABLE          =
      ACCOUNTTAX              =
        currencyamount          = CURRENCY_AMOUNT
      CRITERIA                =
      VALUEFIELD              =
      EXTENSION1              =
        return                  = RETURN
      PAYMENTCARD             =
      CONTRACTITEM            =
      EXTENSION2              =
      REALESTATE              =
    IF return-type NA 'EA'.
    call function 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'.
    IMPORTING
      RETURN        = RETURN.
      write:/ return-message.
    else.
      write:/ return-message.
    ENDIF.
    Reward Points if it is helpful
    Thanks
    Seshu

  • Problem with mutiple BAPI calls during the commit

    Hi all,
    I am trying to create accounts for a given partner i the transaction F9K1 using the BAPI BAPI_BKK_ACCNT_CREATE. After calling the BAPI I am committing it too.
    The problem is if I try to create multiple accounts like RCA, ACA, MCA, IOE and so on, the first time the BAPI is called to create RCA account it is successful an it is even committing. When I call the BAPI to create the the ACA account the return table from the BAPI shows success message but the commit fails. If I restart the program and try creation of accounts now the RCA will throw a error msg saying account already exist, ACA account will be created and then the MCA account creation fails in the same manner explained above.
    I see the issue is with multiple BAPI calls and I tried using all sort of methods like clearing buffers, start new task in local and wait command and all.  But none of them seems to be working for me.
    Can anyone please guide me on how I can overcome this problem.
    Thanks.

    BAPI :
    BAPI BAPI_BKK_ACCNT_CREATE
    Functionality
    Use this method to create an account in Bank Customer Accounts. This method returns the following values:
    Identification details for the newly created account such as the internal and the external account number, and the bank area details
    A table containing error messages
    To create an account by using this method, you must specify values for the import parameters Bank Area (BANKAREA) and Product (PRODUCTNAME).
    Note: You must also specify a value in the External Account Number (EXTERNALACCOUNTNR) parameter if you have defined an external number range for the bank .
    REgards,
    Jayan.

  • BAPI  to confirm the production order

    Hi friends,
    Can anybody tell me whats the BAPI to confirm the production order? If BAPI is not available how to create a BAPI for that?
    Please help me out.
    Thanks & Regards
    Sireesha.

    Here are the list of BAPI's pertaining to confirmations
    BAPI_PRODORDCONF_CREATE_ACT    Enter Activity Confirmation                                              
    BAPI_PRODORDCONF_CREATE_HDR    Enter Order Confirmations                                                
    BAPI_PRODORDCONF_CREATE_TE     Enter Time Event Confirmation                                            
    BAPI_PRODORDCONF_CREATE_TT     Enter Time Ticket Confirmation                                           
    BAPI_PRODORDCONF_EXIST_CHK     Existence Check for Confirming Production Order                          
    BAPI_PRODORDCONF_GETDETAIL     Detailed Data for Production Order Confirmation                          
    BAPI_PRODORDCONF_GETLIST       Confirmations List                                        
    Regards,
    Ravi
    note - Please mark all the helpful answers

  • BAPI to get the Quantity from orders in live cache.

    Hi Folks,
            Can any body provide me the BAPI to get the quantity value for the orders saved in the Live Cache. I tried using the BAPI
    BAPI_SLSRVAPS_GETLIST2 ...  but its not fetching any records for me. what else i need to provide it as input.
    Thanks in advance.
    Thanks & Regards,
    Ramana

    Check this thread.
    Delete In-Transits.
    In-Transit is not a particular order. Any Goods Movement from one location to another location will be considered as In-Transit.
    Let's say Plant A is sending Product P1 to DC B against a Purchase Order.
    In that case in plant A the stock will be reduced by the quauntity of goods being shipped.
    At DC B, the Purchase Order will become In-Transit Stock.
    Thanks,
    Somnath

  • Bapi for Updating the confirmation table(EKES)

    Hi,
    Could anyone let me know the BAPI to update the Vendor confirmation table EKES. And also the parameters to be passed to it.
    Thanks.

    Suman:
    After your call to FM ME_UPDATE_DOCUMENT is successful, please perform a explicit COMMIT.
    Umair:
    Use the FM ME_CONFIRMATION_UPDATE to update EKES table.
        CALL FUNCTION 'ME_CONFIRMATION_UPDATE'
          EXPORTING
            i_ebeln = ekko-ebeln
          TABLES
            xekes   = xekes
            yekes   = yekes.
    "yekes contains the EKES table in DB
    "xekes contains the changed values for EKES table
    Hope this helps. Reward points if helpful.
    Thanks
    Balaji
    Edited by: Balaji Ganapathiraman on Mar 20, 2008 1:10 PM

  • Add the new item through the Bapi 'bapi_outb_delivery_change'

    I want to add the new item to the existing outbound delivery.How to add the new item in the bapi 'bapi_outb_delivery_change'. Please provide me the code for the bapi 'BAPI_OUTB_DELIVERY_CHANGE' to add the new item.

    Hi Kyndal,
    I have a requirment to add new items in a delivery which will refer to the higher items in the  same delivery itself.
    I am trying to use the BAPI BAPI_OUTB_DELIVERY_CHANGE for the purpose.
    Could u pls give some clue on how to tried to do it?
    I am constantly getting a error VL216.
    Also I tried passing the reference document and item : same delivery number and the higher level item in the delivery
    VBTYP_N = J

  • BAPI to change the articles in article master

    Hi all,
    Can you please let me know the BAPI to change the details of an article in the article master.
    regards,
    Sharadha

    and the most important step,
    Loop over your articles to be created.
    call the BAPI_MATERIAL_MAINTAINDATA_RT
    and do   a BAPI_TRANSACTION COMMIT
    ENDLOOP
    Important!!!!! Do a commit work after every article Bapi Call !!!
    If you will not follow this rule, you will have a data inconsistency in classification data

  • BAPI values in the Webdynpro dropdownbox

    Hi All,
    Is there a way to get the BAPI values in the Webdynpro dropdownbox?
    Thanks in advance,
    Pravin

    Hi Pravin,
    Check this links.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c
    set leadselection for dropdown by key
    When do you Use Dropdown by Index and  Key
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8b7059da-0c01-0010-e09c-9ecabaf58864
    Regards,
    Mithu

  • Doubt about How to test the BAPI

    Hi Experts,
    I have one doubt. How to test one BAPI. I have BAPI_DOCUMENT_SAVEOBJECTLINKS
    I am using this BAPI to attach the document to the material. I opened se37 .Here how to test the BAPI wether the BAPI is Suitable to attach the document  or not. Please let me know . Its very urent.
    Helpful answers may be reward points
    Regards
    Khanna

    Hi,
    First you have to create a new document using CV01N tcode. Here leave the document field as blank, document type value can be choosen from F4 help and document part and document version can be given as 0. Press enter and add the necessary values and save. It will then create a new document. Using that document go to SE37 and execute the BAPI. In the BAPI also you need to give the document no that is generated, and document type, document part and document version of the newly generated document. In the OBJECTLINKS table of the BAPI give the material number and other details. Please see the function module documentation of this BAPI also.
    Please reward points if it helps.
    Regards
    Vimal

  • Need a BAPI to Change the WBS in CJ20n

    Hi All,
    Can anyone provied me a BAPI to change a WBS in CJ20n. Actually there a check box named "Account assignment" in the WBS screen of CJ20N, the checkbox is Tickmarked. I need to Untcik this checkbox.
    A quick response will be appreciated.
    Regards
    Abhii

    Hello,
    Check the BAPI - BAPI_PROJECT_MAINTAIN, in the tables parameter there is a component I_WBS_ELEMENT_TABLE which has a structure BAPI_WBS_ELEMENT. It has a component WBS_ACCOUNT_ASSIGNMENT_ELEMENT which represents Indicator: Account assignment element. Setting and resetting this may help in solving your issue.
    P.S. Check the documentation of this BAPI for further assistance.
    Thanks and Regards,
    Sachin

  • Provide the BAPI names for Transactions- IW52 and IW32

    Hi Friends,
    Please provide me with the BAPI Names for the transaction codes: (1) To create the Serivce Order through IW52(by entering the service notification number and (2)  To change the Service order through IW32.
    Thanks a lot in advance.
    Venkat,

    Hi Raghu,
    May I Know if this BAPI is to create the Service order from IW52(through Service notification) or from IW34? Becoz I need the one from IW52 only.
    Thank you very much.
    Regards.
    Venkat

Maybe you are looking for

  • How to allow multiple domains under Access-Control-Allow-Origin

    Hi, We have a domain where will get CORS request from another domain hosted on seperate DC. We can't set Access-Control-Allow-Origin as * due to security concerns & IIS can't take more than 1 value at a time. Kindly suggest how to pass multiple httph

  • Model Domain attribute as NUMERIC datatype

    I have an attribute which has a set of allowable integers as accepted values (domain values). I could model it using domain based entity but both Name and Code are Text data types by default and cant be changed. I think this is a limitation of MDS 20

  • Mobile version on mac lion's safari

    Safari always brings me to Google mobile version, the New York Times mobile version, but many other sites are normal. What's wrong?

  • Row of clips to crawl across the screen - Which video formats work best?

    I want to bring in short segments of video from Premiere in a crawl to introduce the steps of a tutorial as part of the title sequence. Source footage is HDV, and final product will be on DVD and YouTube, etc. I imported the entire Premiere project i

  • 10.5.3 Breaks .Mac Mail Account

    Upon restarting after the 10.5.3 upgrade, Mail no longer allowed me to send mail via .Mac. I have four mail accounts: Yahoo, .Mac, Google, work. Each account setting has been setup to only allow sending from the respective service (eg: .Mac can only