gigades
asked on
Use SAP-.NET Connector to issue goods in IM & WM
I'm developing an application interface with SAP by using Visual Studio .NET and I have a problem about transaction controlling.
The problem is when I called the series of these BAPI to issue goods
BAPI_GOODSMVT_CREATE
BAPI_TRANSACTION_COMMIT (specify wait parameter with 'X')
BAPI_LTO_CREATE_POSTING_CH ANGE
Sometime BAPI_GOODSMVT_CREATE & BAPI_TRANSACTION_COMMIT success but BAPI_LTO_CREATE_POSTING_CH ANGE fail. That make data in IM not consistent with WM.
Is there anyway to control the transaction that if BAPI_LTO_CREATE_POSTING_CH ANGE fail then application should roll back the BAPI_GOODSMVT_CREATE to the original state?
This caused very unstability in my system.
Please help.
The problem is when I called the series of these BAPI to issue goods
BAPI_GOODSMVT_CREATE
BAPI_TRANSACTION_COMMIT (specify wait parameter with 'X')
BAPI_LTO_CREATE_POSTING_CH
Sometime BAPI_GOODSMVT_CREATE & BAPI_TRANSACTION_COMMIT success but BAPI_LTO_CREATE_POSTING_CH
Is there anyway to control the transaction that if BAPI_LTO_CREATE_POSTING_CH
This caused very unstability in my system.
Please help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.