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,
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="" xmlns:SOAP="" SOAP:mustUnderstand="1">
  <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 />
Please help me out on this. Itz very urgent

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.
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*
    *GR/GI Slip*
    in Export i need ASN no and in tables we can use ITEM details.
    Sunil sahoo.

    Check the below link

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

    BAPI :
    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 .

  • 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!!
    Edited by: Raghu Boddu on Dec 15, 2010 2:39 PM

  • Bapi call for Storage Location????

    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,

    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?
    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?
    Ques: Do you use mime type XLSX - application/vnd.openxmlformats-officedocument.spreadsheetml.sheet or XLS - application/
    Edited by: Sumit Oberoi on May 16, 2011 11:12 PM

  • BAPI calls for DMS in CRM system

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

    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!!

    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?

    use call function with destination. Here is a short example:
    REPORT  zhabitest.
      et_return LIKE bapiret2 OCCURS 0.
          et_return = et_return.
      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.
      WRITE: / 'Call OK'.
      WRITE: / 'Call error'.
    And the function is here:
    FUNCTION ztest.
    *"*"Lokale Schnittstelle:
    *"  TABLES
      MESSAGE i208(00) WITH 'Separate I/O and processing!'.
      GET TIME.
        ele_return TYPE bapiret2.
    * return error randomly
      IF sy-uzeit+5(1) CA '13579'.
        ele_return-type = 'E'.
        APPEND ele_return TO et_return.
    Pay attention to the documentation of call with destination (db commit).
    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.
    points will be given with big heart.
    Again Thanks

    Implementation issues
    Lifecycle Implementation
    Details on the Implementation Phase
    Hope this helps.

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

    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,
    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

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

  • 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,
    Best regards,
    **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">
    <extension base="tns:ANY"></extension>
    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|]
    [POI Mailing Lists|]

  • Problem faced during liveupgrade

    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?

    Can you please let me know what you have selected out of 2 options.

  • 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

  • Can't get panels and preferences to save with MacBook Pro

    I can not get panels and preferences to save using Illustrator CS6 on a MacBook Pro. When I close out of AI the settings/preferences don't stay. Please help. Thank you Dan

  • Express document "Update was terminated"  on saving vendor payment F-48

    TCODE F-48. When we are going to pay full payment to party it works fine Problem: When we do partiall payment for example  100 kg material  Price  $100 first time: we purchase 50kg of $50 and create GRN After this when we decide to pay the remaing pa

  • How to replace the structure in the BI Query

    Hi Guys We have a query and we have a structure in the ROWS section. We want to replace this structure with another one which is aviable in the query. For some reason i am able to remove the structure from the ROWS section but i am unable to drag a n

  • Surround sound not working on headset

    I have the Corsair Vengeance 2000 wireless 7.1 headset for 3 years now. In Windows I had some driver issues and in Linux I never really bothered and forgot about it. So this headset supports surround sound, it's even in the product name, but Linux wo

  • ProC error occurs in "sqlcxt" when trying to do a FETCH in Oracle 11.1

    I have ProC code, and it has been reused since Oracle 8.1 (probably earlier). For Oracle 11.1 client on Windows, this code gives a fatal error with the Windows XP system returning the following error: Unhandled exception at 0x6352f132 in vxxtest.exe: