on 03-14-2012 7:00 PM
Hi all, I have a BAPI1-derived MBO which is working well and now I want to use BAPI1 MBO data as inputs to BAPI2 call.
One way I can think of is to add operation to BAPI1 MBO and that operation's Data Source type would be SAP and I can name BAPI2 as its operation, map BAPI1 MBO's attributes to inputs of BAPI2.
But my question is how I get result of that BAPI2 call? BAPI2 is supposed to return BAPIRETURN table and I have no idea how to get this table.
In Workspace diagram, adding operation does not create MBO for that BAPIRETURN table and in generated code I couldn't find any clue about this.
Any comments/advice will be appreciated.
Bob
I haven't tried Result Checker as Gustavo suggested but other discussion (https://cw.sdn.sap.com/cw/thread/19086) indicates that current SUP does not allow to get return from BAPI call through MBO operation. Instead of using MBO operation, I created separate MBO from the BAPI and its attributes are those of RETURN table, I could call BAPI by MBO synchronization and get return or catch exception if I feed invalid inputs. By using Result Checker, I might catch exception in case of error.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you can use the Result checker.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The Result Checker is a java class used to validate the result of an operation, this could be configured in the Definition Tab in the properties of the operation.
Check this link
Please reward if useful.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.