on 07-20-2005 9:34 AM
Hi guys,
I try to create a reservation in IS-U using the BAPI_RESERVATION_CREATE via XI and the RFC Adapter. The BAPI itself doesn't contain COMMIT WORK. I have read somewhere, that XI posts COMMIT WORK automatically after calling the BAPI via RFC.
Any experiences with this?
Do I have to create new BAPI with teh COMMIT WORK statement?
Thanx, Peter
Dear Peter,
you have to wrape the RFC BAPI_RESERVATION_CREATE in
an own RFC-Function. In this function you have to
make commit work. Without commit work it will not
work.
regards,
Ly-Na Phu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
no it can't but you can easily do it yourself with a wrapper
https://websmp104.sap-ag.de/~sapdownload/011000358700000328352005E/HowtouseBAPandccBPM.pdf
this document is a very good how to
Regards,
michal
also the good thing when you use a wrapper
is that you can also include some of the logic
inside the wrapper that would take too mych time to develop in java or would be too slow to maintain inside XI...
and since wrappers are based on BAPIs you don't loose
the bapi the standard...
in my weblog:
/people/michal.krawczyk2/blog/2005/05/09/how-to-call-a-bapi-asynchronously-from-xi--with-qrfc
FM Z_BAPI_GOODSMVT_CREATE_BGROUND
is such a wrapper for bapi
Regards,
michal
User | Count |
---|---|
61 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.