calling two BAPIs in the sequence in same transacon
I am caling Two BAPIs in a sequnce in MII Transaction. I am using Jco Interface for this. My first Bapi is getting called and for second bapi call , I am etting the following error.
Problem retrieving JCO.Function object: Function  not found.
Now I would like use session action and in session I will be calling two function with bapis and if something goes wrong i have to roll back the session. suggest me the sequnce of steps.