ERROR  IN  FILE--XI--RFC SCENARIO.  BAPI  did not UPDATE the DATABASE TABLE

Hi
I have created a scenario  FILE -XI- RFC
File is picked by file adapter  - Its working fine
I have used BPM
In RFC side  i used BAPI_INCOMINGINVOICE_CREATE
Its working fine and return an Invoice Number and Fisical year .
When i Check this in the R/3 System , in Invoice no Does not Exist .
Message mapping is ok
SXMB_MONI all are ok
Receiver file i got the invoice no and fisical year .
The Problem is " DATABASE TABLE DID NOT UPDATED "
So  should i do BAPI_COMMIT seperately ........
Any solution ................
VERY VERY URGENT .....
thanks in advance
B.Jude

hi jude,
Commit Control for Single BAPI Calls
If you want to use this communication channel to call BAPIs as remote-enabled function modules that change data in the database, set the indicator.
If executed successfully, the transaction is written to the database by calling the function module BAPI_TRANSACTION_COMMIT explicitly. If an error occurs, the transaction is rolled back by BAPI_TRANSACTION_ROLLBACK.
The result is determined by the value of the field TYPE in parameter RETURN. If successful, the tables are empty and the values “”, “S”, “I”, and “W” are displayed. All other values are regarded as errors.
To change this setting, set the indicator BAPI Advanced Mode.
<b>In the Successful RETURN-TYPE Values table, enter the values that should lead to a successful execution.</b>
Regards,
Mandeep Virk

Similar Messages

  • Regardig error while updating the database table

    hi experts,
       i m trying to update the database table from the values containig in my internal table  ,,,but the system is giving this error plz help me::::
    The type of the database table and work area (or internal table)
    "ITAB_UPDATE" are not Unicode convertible. Unicode convertible.          
    my internal table name itab_update and the database table name yitab.i m using this statement::
        modify yitab from itab_update.

    Hi
    1. You  have to Declare the Itab with the same structure as DB table.
    2. Use the statement
        Modify <DBtable> from TABLE <itab>.
    or
       Update <DBtable> from TABLE <itab>.
    Hope this will solve.
    Reward .....if so.
    Regards.

  • Rfc enabled function module for the updating the database table

    Hi,
            I need one rfc enabled function module for the updating the database table from the legacy system.currently i am using the rfc_read_table to read the database table.similarly i need for the update.

    Hi
    I believe you need to create one by yourself
    Max

  • Error in File to RFC scenario: ATTRIBUTE_WRONG_INTF

    Hello,
    My scenario is going from File to RFC which is simply writing to an SAP table.
    My mapping seems OK and tests OK but in SXMB_MONI I get red flag and error below:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter   -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_WRONG_INTF</SAP:Code>
      <SAP:P1>ZDWM_POS_UPDATE</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Unable to interpret IDoc interface ZDWM_POS_UPDATE</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The posts I see in the forums with this text have to do with an external deffinition being incorrect. I don't have an ED, it is mapping right to our custom RFC interface ZDWM_POS_UPDATE.
    Does anyone have any ideas or pointers for troubleshooting this?
    Many thanks,
    Aaron

    Hi Aron,
    You should not create any message interfaces refering to RFC.Infact RFC acts both like Message type and Messge interface.
    In interface determination choose ALL radio button and choose Idoc itself instead of interface.
    Also the interface mapping should be b/w Fileinterface<-->RFC directly (no need of interface)
    Hope this helps.
    Regards,
    Divya

  • FM or BAPI to update the database table /TDAG/CPT_DEC_IN

    Hi All,
      I need to update a few entries in the database table /TDAG/CPT_DEC_IN (CP: Declarable Substances, Independent attributes). This table contains data for the EHS ( Environment, Health and Safety) Module in SAP.
      Instead of doing a direct database update, I needed a FM or a BAPI to update the same.
    Any pointers towards this will be really useful.
    Thanks and Regards,
    Arti Dohare

    Hi Raymond,
    Thanks for the reply. it seems I was using the wrong BAPI then.
    I actually created the network using the BAPI "BAPI_BUS2002_CREATE".
    This BAPI does not have the field call "Resp. cost cntr" in its input parameters and so I could not pass it there. Now I am trying to find if there is any standard FM or BAPI to maintain this field in the networks.
    I request you to please suggest some FM or BAPI if you know.
    Thanks and Regards.
    Piyush R Sakharkar.

  • Any  FM's or BAPI's to update the XRPM tables rpm_bupa_locat, rpm_bupa_0000

    Hi  All,
    I am looking for some standard FM's or BAPI's to update the tables rpm_bupa_locat & rpm_bupa_0000 in XRPM system.
    Any pointers would be appreciated.
    Thanks...

    Hi Jesus
    we had similar requirement and we used the FM FI_ITEMS_MASS_CHANGE
    I am not sure if it changes BSIS or not. But I am sure you are an expert and you can check that
    Br, Ajay M

  • Error in file to rfc scenario

    Hi
    I am trying to execute a synchronous scenario of file to RFC. Actualy it worked in XI 7.0. I am trying to do the same thing in PI 7.1
    I have done all the configurations, yet it shows the error.
    Worst part is, it is not shown in sxmb_moni. The status is not displayed.
    Where could the problem be? Did i miss somewhere either in installing or configuring?
    Kindly let me know.
    Regards,
    Kevin

    Hi
    Hey but u said its a file to RFC???
    in the module name  write : localejbs/AF_Modules/MessageTransformBean
    (see that it is the first module in the chain )select type as localejbs,
    in the module key just add a simple name (it is the variable which depends on u e.g var)
    This variable will be used ahead (see below in cc in module configuration part in ur channel )
    now in the column module key below choose the key "var" from drop down
    In Parameter Name add Transform.Class and the value as com.sap.aii.messaging.adapter.Conversion
    second row  add parameter  Transform.ContentType
    and value text/xml;charset=utf-8
    for the same module key
    Edited by: Progirl Progirl on Jul 18, 2008 12:53 PM

  • I received pictures in a dozen emails and saved each picture into one file in .pages.  I did not import the photos before doing this and now iPhoto won't recognize the pictures because they are in a .pages file.  How do I get the pics to iPhoto?

    I received a dozen pictures in a few emails and I saved them all into one file in pages.  I just copied and pasted.  I do not have the originals any longer.  Iphoto will not permit me to import the pictures as it does not recognize a .pages file, nor can I simply click and drag from the pages document to iphoto nor from pages to the desktop to iphoto.  How can I save each picture I guess back into a jpeg and then import them into iphoto or have i lost them to a pages document forever?  This is urgent as I need the pictures made into a book on iphoto for work by Friday!!!  Please advise!  Thank you.

    Greetings,
    Locate the Pages document wherever it's located on your computer and click once on it to highlight it.
    Go to File > Duplicate to make a backup copy of the file.
    Click once again on the file to highlight it.
    Go to File >  Get Info
    In the "Name & Extension" category remove the ".pages" extension and put in ".zip".
    Close the info window and double-click the now renamed pages file (zip file now).It will decompress into a folder which contains all the base components including all the images you added.  These can be dragged onto the iPhoto icon to import them.
    Hope that helps.

  • Rebuild Database did not reduce the database size

    I just completed a rebuild database. The rebuild completed much quicker than anticipated and in the end the did not reduce in size.
    This is my first rebuild and since original installation I have deleted a number of masters. From my understanding thumbnails and previews are not deleted when the master is deleted. In order to delete the thumbnails and previews the db must be rebuilt. Is this correct?
    The db is over 31.1gb. The rebuild took approx 10 minutes and when completed the db size was still 31.1gb. There was a message during the rebuild that read "Recovering projects". I was expecting to see stats showing previews and thumbnails being generated in the activity window but don't see it. Has the db been rebuilt?
    Thanks for any assistance.

    Rebuilding the database is for disaster-recovery, not file maintenance. I certainly wouldn't do it unless something was fundamentally broken and the application didn't run.
    "rebuilding" the database seems to do the following:
    (1) remove the database file completely (not even to the trash, it destroys the database utterly)
    (2) run through the plist files and reconstruct a brand-new database from them all
    I checked this (on an empty library) using hard-links from the commandline, and step (1) above scared me sufficiently that I'd only rebuild the database as an absolute last resort.
    Now, 31GB seems a lot for a database that only took 10 minutes to rebuild - are you sure you're not telling us the size of the library (to find the database size, right-click on the library and select view-package-contents, then open the 'Aperture.aplib' folder and find the size of the 'Library.apdb' file. That's the file you're changing when you 'rebuild database'.)
    If you're telling us the size of the entire aperture library instead, then that size will be completely dominated by the master RAW files you've imported. I'd guess your library will be less than 10MB.
    My understanding is that previews are deleted (since they're stored as separate files alongside the master image, if you look in the folder hierarchy), but thumbnails aren't. The thumbnails are aggregated together into one-file-per-project (presumably for speed of access), and I'd guess the space is reclaimed for future use, but the file doesn't get any smaller. That's a classic trade-off for speed-of-access, and users like us are normally very keen on things being fast
    -=C=-

  • HT204081 I recently updated i tunes and had previously relocated my library to an external hard drive, on restart I realized that itunes did not update the new location on the external but created a new itunes folder on my regular hard drive. how do I com

    I need to know how to fix this. I updated itunes and it created a new itunes folder on my hard drive after I ported all of it to an external for space concerns. It took all my files from that folder and recreated part of it to my hard drive. Now when backing up I have no idea where it is backing up to. Any help appreciated

    Sort of. My media was on multiple hard drives, some local, and actually some networked, and then I conolidated it to a single external hard drive. Renaming drives and moving files sounds like a recipe for disaster.
    When doing a consolidation, files are copied to a new location and the old ones are left untouched. Does iTunes create a backup database of the file locations before doing a consolidation? I could use the backup if that were the case, since everything still exists in the original locations.
    I've recieved my replacement hard drive for the one that crashed and I may be able to copy everything back manually if I knew where it went. I looked inside the iTunes Music Library.xml to see if I could figure out the folder structure, but for some reason they all say they're located in the iTunes folder in My Documents. They're not, of course.
    Would the Previous iTunes Library.itl be of any use, or is that for another purpose?

  • Error Handelling File-XI-RFC Scenario.

    Hi Experts,
    I am making a scenario File to XI to RFC,
    File - XI - R/3 System
    If the record is already available at R/3 System, how I can check that the same is available at R/3 and how I can stop saving the same?
    I will write a code in our RFC Function Module at R/3 or XI will handle the same ?
    & how ?
    Where I will create the Error ?
    Regards,
    Study Sap

    If it will stop at R/3 side, at XI in sxmb_moni it will show a successful message or error message ?
    If the message clears the XI pipeline , you wont seen an error in sxmb_moni but that doesnt mean your IDOC was received at the r/3 side
    as suggested by prateek, you can check sxmb_moni at the r/3 side to know the status
    regards
    krishna

  • I have a Macpro Book and I just downloaded new software to my ipod touch(3rd gen).  Now itunes does not recognize it nor will it turn on.  I believe it just downloaded but did not update the software.   What do I do?

    I have a Macpro Book and I just downloaded new software to my ipod touch(3rd gen).  Now it does not show up in itunes nor does it turn on.  I believe it just downloaded the software and never updated it.  What do I do?

    You appear to have a second generation iPod touch, not a third, and those can't be updated past 4.2.1. Apple sold 8GB second generation models at the same time as the third generation ones.
    (70782)

  • Error while calling RFC adapter(FILE-XI-RFC scenario)

    Hi,
    I am trying for FILE-XI-RFC scenario. I am getting the following error. I have checked in message monitoring. The error is coming while calling the RFC adapter. Can any body tell what problem is this?
    Regards,
    Dhana
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.f23.sofd00001530a</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>2: Unable to find URL for Adapter Engine af.u7a.us4296</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine af.f23.sofd00001530a</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi,
    I did SLD check.
    The status says 'Summary: Connection to SLD works correctly'.
    But it fails while checking the access to XI profile.
    Here is the status
    Summary: Connection to SLD works correctly
    Now checking access to the XI Profile
    Properties of RFC destination LCRSAPRFC
      RFC host:
    %%RFCSERVER%%
      program id:      LCRSAPRFC_DZ1
      gateway host:
      gateway service:
    Testing the RFC connection to the SLD java client...
    RFC ping returned exception with message:
    / CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679#Transaction program not registere

  • Open quantity in Sales Order did not update after cancelling Reserve Invoice

    Client created Credit Memo with reference to Reserve Invoice but this did not update the open quantity in Sales Order. Client is using SAP B1 8.82 PL9. I tested this in SAP 9.0 and still same behavior. Is there a work around other than creating another SO?
    I checked Document Settings and "Reopening Doc by creating credit memo based on Doc" is enabled.
    Thanks in advance.

    Thanks for the reply. How will the client be able to make new reserve invoices from the SO? They are trying to make partial reserve invoices from the sales order. I already suggested to just change the quantity in the reserve invoice before adding. But I have doubt because the SO might close prematurely before they complete the quantity in the SO because open quantity is much less then the quantity in SO.
    SO Quantity: 100
    Open Quantity: 40
    Reserve Invoice 1: 60
    Reserve Invoice 2: 40
    SO closes before they can make Reserve Invoice 2

  • Lion install did not update background/screen saver images

    I installed of Lion on my Macbook and it did not update the background/screen saver images with the new ones, anyone know why?

    Check your Macintosh HD/Applications/ folder for a program called "Install OS X Mountain Lion" and then open this to run the installer.

Maybe you are looking for

  • Need a script to change value in the Local Hostname

    Help! Want to change the Local Hostname because DynamicDNS has mess up 250 machines. Any ideas??????? I need a UNIX script to to change the Value of /library/preference/SystemConfiguration/preferences.plist <key>LocalHostName</key> <string>Value</str

  • J2ME Wireless Toolkit 2.5

    Hi all, I would like to ask if this new veresion (J2ME Wireless toolkit 2.5) supports ArrayList. I have developed a program with ArrayList , is it possible to run it in this new version without problems. Thanks

  • HT4910 how can i backup my photos from my macbook pro into icloud ?

         hi can you help me how to backup all the files in my macbook pro into icloud in want to save may photos to icloud i hope for your kindly response thnaks

  • Characteristic as infoprovider

    Hi all,     In Bi7.0,I hava a infoarea and select 'insert characteristic as infoprovider',the characteristic is successfully into infoarea tree.But in query designer i counldn't see it.     There may be a problem? Thanks.

  • Headphone output malfunctioning since upgraded to mountain lion from snow leopard.

    Hi there, Ever since I upgraded to Mountain Lion I've been experiencing issues with audio output through headphones.  The left headphone is significantly louder than the right.  I've tried multiple different pairs of headphones and experienced the sa