Skip to Content

Visual composer: how to combine two BAPIs to get one result table?

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2006 at 02:34 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 09, 2014 at 08:16 AM

    Hello,

    I think it could be done using VC operator "Union".

    Rgds

    Gilles


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.