HR ACTION- BDC should update both 0000 and 0001 or should not commit at al

Hi,
I have a requirement in which a action is to be performed. Action could be terminate, hire, or anything.
Consider HIRE action, in hire action info type 0000 and 0001 should be updated.
I have recorded to save info type 0000 first and then 0001 as the pe the standard action simply using SHDB. Now the problem is when running the program for few employees it save infotype 0000 and then errors out in 0001. But in this case data is already created in 0000 and 0001 is not created.
Is there any option that will make the BDC to update both the info types 0000 and 0001 or none at all in case of error in any one?
Thanks in advance,
Akash

You can commit at last , i have an idea say for example you hve to do bdc for two transactions
pa20 , pa30(I am just using HR terms i am not quite familiar with it )
If i use call transaction method then i will code like as below
if flag = x
call t-code pa20.
call t-code pa30.
then
if flag = x (ie no error in bdcmsgcoll)
commit work (at last )
Regards
Bhanu

Similar Messages

Maybe you are looking for

  • Installation of Solaris 10 fails at booting kernal

    Booting kernal/unix... SunOS Release 5.10 Version Generic 32-bit Copyright 1983-2005 Sun Mircosystems, Inc. All rights reserved. Use is subject to license terms. Nothing happens for a minute or so, then the following appears. WARNING: /pci@0,0/pci-id

  • Interactive report in sap-abap

    hi experts, i want to know how we display the end-of-page in second secondary list? in interactive reporting.   regards   cnu.

  • Using a BEFSR41v3 with a WRT110 and will a WRE54G work with the WRT110

    I want to use the BEFSR41 as my main router and use the WRT110 as an access point (wired from the BEFSR41) on the 2nd  floor of my house. Will this work?  Will I lose speed?? Is the WRE54G compatible (and will it work) with the WRT110?

  • Forms 6i do not compile on Oracle 10.2.0.4

    We are currently using Oracle Forms 6i (patch 18) and have recently upgraded from 10.2.0.3 to 10.2.0.4. This was done on a test environment since we are doing testing regarding the upgrade. The issue is there is just this one form that does not compi

  • Excel Web Service - yet another "Unable to process the request"

    Hello, On Windows Server 2008 R2 SP1 and SharePoint 2010 SP1 we are receiving the following error while trying to open Excel document in Excel Web Part. It shows the standard error: "An error has occured". When exploring ULS we found the non-informat