Problem facing during BAPI call for an inbound interface.

I have requirement where in i need to make a BAPI call from SRM system using RFC adapter.
After importing the BAPI(Z_INV_REF_PO) in the Integration Repository the structure looks to be a follws,
1.Request
2.Response and
3.Exception (fault) Message types.
    In my BPM i did a transformation for my source structure with BAPI request. But while doing a BAPI call it throws me Application error as follows,
RFC adapter is working fine.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--  Inbound Message
  -->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
  <SAP:Category>Application</SAP:Category>
  <SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>
  <SAP:P1 />
  <SAP:P2 />
  <SAP:P3 />
  <SAP:P4 />
  <SAP:AdditionalText />
  <SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">Z_INV_REF_PO.Exception</SAP:ApplicationFaultMessage>
  <SAP:Stack />
  <SAP:Retry>M</SAP:Retry>
  </SAP:Error>
Please help me out on this. Itz very urgent

Hi,
As the error is Applcation_error, the data reached the target system but the BAPI call fails. So you mignt not be providing all the mandatory fields to the BAPI.
Perform a standalone testing of your BAPI, with the data being passed from XI See if the BAPI call is successful..
Hope this helps you.
cheers,
Siva Maranani.

Similar Messages

  • Finding FM/BAPI/RFC for Create Inbound Delivery(vl31n).

    Hi all,
    i need for a FM/BAPI/RFC for Create Inbound Delivery(vl31n) or ASN
    where in import Parameter i have to pass -
    *vendor no*
    *PO no*
    *External ID no*
    *Delivery date*
    *TransPlanngDate*
    *BillOfLad*
    *GR/GI Slip*
    in Export i need ASN no and in tables we can use ITEM details.
    Regards,
    Sunil sahoo.

    Hi,
    Check the below link
    [https://forums.sdn.sap.com/click.jspa?searchID=16938983&messageID=5780492]
    Regards,
    Surinder

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

  • Problems faced during BW3.5 to BI 7.0 Security Upgrade

    Hi everyone,
                 We are planning to do an upgrade on our current BW 3.5 to BI 7.0. Could anybody share their experience on the problems you've faced during the upgrade and a model solution/precautions. I have completely gone through the documentation provided by SAP. But  still wanted to know things that i have to be aware of.

    Hi Jagadesh,
    There is no document as such which provides you the step by step information on the upgrade. However, if you doesn't have fair idea on BW and BI, I recommend you to take assistance of your team members, since a simple incorrect step may lead to severe issues. Even though there is no production impact, your management needs this system live always for reporting
    If you still wish to take up the task on your own, I wish you all the best Here is an outline:
    First decide on the mode of upgrade (Automatic or manual) and follow the steps below:
    1. Enable analysis authorization using RSCUSTV23
    2. Specify how the existing BEx Anlayzer is called using RRMX_CUST
    3. Identify the roles, profiles, and BI related auth objects
    4. Activate business contet related InfoObjects (0TCA* and 0TCT) and InfoCubes (0TCA) using RSA1.
    5. Make 0TCAACTCT, 0TCAIPROV, 0TCAVALID infoobjects as authorization relevant from RSD1.
    6. If you are using automatic migration, use RSEC_MIGRATION from SE38 and follow the steps.
    7. Incase if manual migration, follow the steps provided in the previous post.
    8. Create anlaysis authorizations using RSECADMIN
    9. Adjust the old roles with new authorization objects.
    10. Test the new setup and go-live
    Hope this helps!!
    Regards,
    Raghu
    Edited by: Raghu Boddu on Dec 15, 2010 2:39 PM

  • Bapi call for Storage Location????

    Hi,
    Is there any Bapi call which would display the stor location of Material.
    in the Bapi_mat_availabilty.. It shws the total amt of stock and stor_loc is an opional input parameter..
    Thanks in Advance,
    Diana

    Hi,
    Please find the answers to your questions.
    Thanks for you reply!
    Ques: What does FUNCTION 'ZPM1_GENERATE_SRM_DOC_ID' do wns why do you ignore the SY-SUBRC?
    Bapi SRM_DOCUMENT_CHECKIN_VIA_TAB  has SY-SUBRC  as 1.
    Ques: what are the values of c_rms_id c_d_elem_name c_d_srule_name c_d_srule_type v_document_id at run time?
    These are all constants based on the record structure of client.
    Ques: Which BAPI is not working for any of the Office 2010 documents?
    SRM_DOCUMENT_CHECKIN_VIA_TAB
    Ques: Do you use mime type XLSX - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet or XLS - application/vnd.ms-excel
    Yes.
    Regards,
    Sumit
    Edited by: Sumit Oberoi on May 16, 2011 11:12 PM

  • BAPI calls for DMS in CRM system

    Hi,
    What BAPI calls are available on CRM system to support DMS? Where can I find more info on this?
    Regards,
    Naveen

    Interesting question.
    A survey of transaction bapi reveals no DMS bapi's in CRM2007. However, In SPRO there are controls for DMS and transaction CSADMIN can also be found in the system.

  • Problems navigating during phone call Xperia S

    Hi. I've got problems navigate apps during phone calls. I can't bring upp the keyboard display such as sms typing, Google search, internet browsers. Also, the home button where I can use mini apps doesn't show up. And other different software navigation. This problem occured some time after the latest update. I've also tried reinstalling thé system but with no luck. Plz help. It is very frustrating!!
    /Glesper

    Btw i've got Xperia S

  • Suppress the Information message during BAPI Call

    Hi, I am getting the information message pop up during the BAPI Call "BAPI_BUS2054_CREATE_MULTI". Is there any possiblity to suppress the message?

    Hi,
    use call function with destination. Here is a short example:
    REPORT  zhabitest.
    DATA:
      et_return LIKE bapiret2 OCCURS 0.
      CALL FUNCTION 'ZTEST'
        DESTINATION 'NONE'
        TABLES
          et_return = et_return.
    DATA:
      ele_return LIKE bapiret2,
      rc LIKE sy-subrc.
    CLEAR rc.
    LOOP AT et_return INTO ele_return.
      IF ( ele_return-type = 'E' )     "error
         OR ( ele_return-type = 'A' ). "abort
        rc = 8.
        EXIT.
      ENDIF.
    ENDLOOP.
    IF rc IS INITIAL.
      WRITE: / 'Call OK'.
    ELSE.
      WRITE: / 'Call error'.
    ENDIF.
    And the function is here:
    FUNCTION ztest.
    *"*"Lokale Schnittstelle:
    *"  TABLES
    *"      ET_RETURN STRUCTURE  BAPIRET2 OPTIONAL
      MESSAGE i208(00) WITH 'Separate I/O and processing!'.
      GET TIME.
      DATA:
        ele_return TYPE bapiret2.
    * return error randomly
      IF sy-uzeit+5(1) CA '13579'.
        ele_return-type = 'E'.
        APPEND ele_return TO et_return.
      ENDIF.
    ENDFUNCTION.
    Pay attention to the documentation of call with destination (db commit).
    Regards
    Walter Habich

  • What problems faced during implementation BW projects few eg:  Please

    Hi BWers,
    Please, can you give me some examples regarding
    " what problems you faced during implementation of BW projects.
    Thanks
    points will be given with big heart.
    Again Thanks
    Regards
    Mubeen.

    Hi,
    Implementation issues
    Lifecycle Implementation
    http://help.sap.com/bp_biv170/documentation/SolutionScope_EN.doc
    http://help.sap.com/bp_biv235/BI_EN/documentation/BWProjectPlan_EN.mpp
    Details on the Implementation Phase
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/36177e645911d395fe00a0c94260a5/frameset.htm
    Hope this helps.
    Thanks,
    JituK

  • Enhancement during BAPI Call

    Hi All,
    I have created an enhancement in VL01N while creating Delivery.
    Now when I do manual Delivery the code is working fine . Enhancement gets triggred and the desired output is achived.
    But the problem comes when the I uase BAPI to create the Delivery,  whenevr I use BAPI 'BAPI_OUTB_DELIVERY_CREATE_SLS' to create the delivery the enhancement does not get triggered & that logic is not performed so the final result is wrong .
    This is not olny in case of delivery, this is in all cases like Creating Invoice, Sales Order etc. We have written some checks in these creation after which these documents should be created. But now when I use BAPI's instead of manual creation these checks dont work and the document get created even when they had not to be created.
    Can you please help me in this ASAP.
    Thanks,
    Sameer

    Hi Sameer,
    You have to implement the same piece of code in BAPIs also, even BAPI : BAPI_OUTB_DELIVERY_CREATE_SLS enahncement points.
    Please check the feasibility of the same. This BAPi is also calling two BADis badi_dlv_create_sls_extin and badi_dlv_create_extout, probably the implementation of the same will help you to solve your problem.
    Please check feasiblity, best wishes,
    regards,
    Antony Thomas

  • Print during BAPI call in backround

    Hi all...
    I am creating 351 movement using BAPI_GOODSMVT_CREATE in backround,during transfer Order confirmation...I want to print the details after job as been completed,is there any option to give in the BAPI function module...
    Note: If I do manually I am getting printout

    Hello,
    the problem is in this line:
    function.getImportParameterList().setValue(0000000001 , "DEBTORID");
    it should be:
    function.getImportParameterList().setValue("0000000001" , "DEBTORID");
    if you had read the RETURN Structure you would have get more information
    JCO.Structure ret = function.getExportParameterList().getStructure("RETURN");
    System.out.println("BAPI_DEBTOR_GETDETAIL RETURN: " + ret.getString("MESSAGE"));
    If you want more information about the Customer I think it's better to use "BAPI_CUSTOMER_GETDETAIL2".
    Reagards
    Gregor

  • Problem facing during installing of window 7

    Hello sir,
    I have HP laptop modl g6 pavillion... i am trying to install window 7 but the boot option not showing when i insert the disc and restart .... will you please suggest me something so that i will install window 7 on my laptop ....
    This question was solved.
    View Solution.

    Hi Sir,
    Turn off your laptop, as soon as you start your laptop again then continously press 'ESC' - till you will enter the Start-Up Menu, in menu Choose (F9 - Boot Device Options) in there you can choose to boot up from CD/DVD or whatever you want too boot up from I think thats what youre looking for.
    - Hope this helped you, let me know if there is any questions or anything.
    Kind regards,
    Wael
    Best regards,
    Egypteren
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Problem facing while generating classes for mixed="true" in jaxb

    <complexType name="ANY" abstract="true"></complexType>
    <complexType name="BIN" abstract="true" mixed="true">
    <complexContent>
    <extension base="tns:ANY"></extension>
    </complexContent>
    </complexType>
    When JAXB is generating the classes for above complex types. It is not generationg java.util.List
    getContent() method for BIN complex type.
    Can Someone please tell me how can i generate that method . without changing the sche

    [POI FAQ|http://poi.apache.org/faq.html]
    [POI Mailing Lists|http://poi.apache.org/mailinglists.html]

  • Problem faced during liveupgrade

    Hey,
    When I upgraded Solaris 9 to Solaris 10 using flash archive .
    luupgrade -f -n ABE_NAME -s BOOT_MEDIA(Solaris 10 dvd) -j profile.
    Here the profile contains install_type flash_install and the location of the flar.
    But after the activation before the upgraded unit came up I had to enter the defaultrouter,language details similar to fresh install and top of it the network interface changed from ce0 to be0 and the machine cannot be pinged now.
    Right now upgrade is stopped and the back to square one.
    What is that I have done wrong here . Is it normal behaviour to ask configuration details after the upgrade?

    Hi,
    Can you please let me know what you have selected out of 2 options.
    Thanks
    Suresh

  • Blackberry 9300 Freeze During Incoming Call

    Device: Blackberry Curve 3G 9300
    OS: 6.0 Bundle 2475 (v6.0.0.546)
    Application Storage Free Space: 43.3MB
    Carrier: Maxis Communications (Malaysia)
    My phone has been freezing up randomly during incoming calls for the last 3 weeks. Sometimes I am able to pick up the call but most times it just freezes up. During the freeze, all the buttons will not work and the phone will just keep ringing until the call has been canceled/dropped from the other end.
    There are 3 scenarios:
    1. Phone works as normal. 
    2. Incoming call comes in, phone freezes up, I pull the battery out, phone reboots and everything is fine until the next freeze. I can recieve SMS and all application works as normal.
    3. Incoming call comes in, phone freezes up, I do nothing and let the call end. Screen will black out after a few seconds and none of the button works. Next incoming call comes in, the screen lights up to show the incoming call but none of the button works just like before. In the end, I have to pull out the battery.
    Here are some of the things I have tried:
    1. Deleting applications from my phone to free up memory (Facebook, Yahoo Messenger, Google Messenger)
    2. Deleting pictures to free up memory
    3. Updating the phone to the latest software version. Previously it was on version 5 but the freeze happened then too.
    4. Reseting my phone to use the original theme.
    I have never dropped my phone (not even once) and I have been using this same phone for the last 10 months. I still have 2 months left before my warranty expires. I really look forward to getting help from the experts here before I take the last option of bringing my phone to the service center.

    Basics from the manual are restart, reset, restore from backup, restore as new.

Maybe you are looking for