on 06-14-2008 7:07 AM
Hi Experts ,
I have a problem , I am calling XI proxy class in PA30 user exit to move data to the XI , But in the Xi monitor SXI_MONITOR , it showing an error Commit missing in the Application . But in my user exit i have done commit work .
CALL METHOD CL_MOVETOXI->EXECUTE_ASYNCHRONOUS
EXPORTING
OUTPUT = WA_MOVETOXI.
COMMIT WORK .
pls help me to solve this .
thanks and regards
Renjith MP
Hi,
i think commit work doesn't work try to call this FM "BAPI_TRANSACTION_COMMIT".
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT = "keep this as space"
* IMPORTING
* RETURN =
.
Thanks
Vikranth
Edited by: Khimavath Vikranth on Jun 14, 2008 8:47 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Renjith,
You should not COMMIT in an User Exit/BADI.
Call your proxy class and this will be processed when transaction PA30 is successfully processed.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check for sy-subrc, is your method is getting failed?
CALL METHOD CL_MOVETOXI->EXECUTE_ASYNCHRONOUS
EXPORTING
OUTPUT = WA_MOVETOXI.
IF SY-SUBRC = 0.
COMMIT WORK .
ENDIF.
tHANKS
VIkrnaht
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.