on 12-08-2006 1:42 PM
Hello,
I'm trying to combine two BAPIs in order to get one result table. Here are the steps:
1. call BAPI_USER_GETLIST
2. for each user found in this call, I would like to get details. So, I call BAPI_USER_GET_DETAIL
3. I would like to get a table with n lines (the # of users) and, on each line displaying data comming from from the first and the second BAPI
Do you have any idea?
Thanks in advance.
Best regards,
Thierry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gilles,
We moved our Wiki. See:
http://wiki.scn.sap.com/wiki/display/EP/Combining+two+tables%2C+BAPIs+or+queries
Hello Thierry,
create a Z_BAPI.... and define a table with all the data-fields you will see in VC.
in this z_BABI call 1. BAPI_USER_GETLIST and then
2. BAPI_USER_GET_DETAIL. Fill the table with the result and then you can
show it in VC.
Best Regards
Gerd
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Gard,
You are right, it's a possibility and I'll use it if I don't fin dany other solution. Nevertheless, I would like to combine these 2 BAPIs without any ABAP programming.
In fact, I want:
- an input form
- a first bapi call (USER_GETLIST)
- for each user, a bapi call (USET_GET_DETAIL)
- a list (table) containing data from both calls
Is it possible?
Best regards,
Thierry
Thierry,
Add the two BAPIs to your model and then drag the Combine operator onto the model. It can be found in Compose and then by expanding the Additional Operators section at the very bottom. Link the BAPIs to the Combine operator and then the output of the Combine operator to what you would like.
Peter
I added a Visual Composer FAQ entry in the WIKI to this topic:
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.