on ‎2006 Dec 19 3:20 PM
Hi friends,
I have a BLT which will calls the BAPI_GOODSMVT_CREATE.But this standard will not commit the work.So after calling JCO interface and am trying to call JCO Commit action block to do this.Can i do like this?or is there any other way to do it?How should i commit the work in BLT? .As per my reqmt i shldnt create a new BAPI.Somehow commiting shld be done in BLT itself.
Can anobody suggest me how should i do it?
Pls help me out.
Thanks& Regards
Sireesha.
Request clarification before answering.
Actually, the information above is somewhat incorrect.
If you simply check the "Auto Commit This Transaction" checkbox in the JCOInterface action's configuration dialog, it will automatically perform a BAPI_COMMIT for you.
The only time you need the "chained actions" (start session, function, function, commit) is if you need to ensure that multiple BAPI methods are invoked in the context of a single transaction.
- Rick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you try using the SAPJCOStartSession action found under SAP JCO Interface with the corresponding actions, SAPJCOFunction, SAPJCOCommit and SAPJCOEndSession? These are part of xMII SR2. You will need to link the session to each action. This can be done in the configure dialog of each action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sireesha,
In xMII for JCO at the time of JCO call it will open a new session and after JCO call execution, the session will be closed. So you can not send next JCO call. You need to do customization or create a z-function. Then you can execute the BAPI in a single JCO call. Previously i came across the same problem.
I hope this will solve your problem.
Thanks,
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.