Hi all,
My Scenario is
- Lock the session(WmSAP/pub.sap.client:lockSession)
- Create a BAPI template(WmSAP/pub.sap.bapi:createTemplate)
- pass the Input to BAPI (Modify the BAPI XMl returned from step2)
4)Decode the bapi xml(WmSAP/pub.sap.bapi:decode)
5)BAPI Outbound call (WmSAP/pub.sap.transport.BAPI:OutboundProcess)
Synchronous call.
6)Depending on any errors ; commit (WmSAP/pub.sap.bapi:commit) or Rollback(WmSAP/pub.sap.bapi:rollback)
7)Release session(WmSAP/pub.sap.client:releaseSession)
I see that the resulsts are commited as part of the Step5 without any need for explicit commit (step6).
I want to test the rollback of BAPI; But when i do rollback after step5 The results are not rollbacked…
Can some one throw light on this issue?
we want to have multiple BAPI calls in one session and do a commit/rollback on all these.
Environment:
IS: 6.5
wmSAP: 6.5.0 (with WmSAP_6-5-0_Fix3)
OS: red hat linux
SAP Server: mySAP 4.6x
TIA
PRY