Skip to Content
author's profile photo Former Member
Former Member

How to pass data from one table on the screen to multiple tables in BAPI

hi,

I have an problem in passing data from screen to the BAPI,

I have one table on the screen with required fields and it goes to one table parameter of the BAPI,along with that i have to pass two of those fields to another table parameter in the BAPI,but while binding table it only allows me to bind it to one table.

Is there any other way to do this.

Any help regrading this would be helpful

Rgds,

Atul

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 30, 2004 at 02:55 PM

    Hi Atul,

    i'm not quite sure, if i got you right, but i guess, you have two different model nodes (A and B) which are mandatory for the BAPI call and you want to display the elements of A and B in one table?

    This is not possible, since the dataSource of the table is bound to one node only and cannot be "collected" from two different nodes.

    A workaround is to create a value node, which contains all attributes from the nodes A and B, copy the contents of the model nodes to the value node and bind the table to this value node instead.

    Hope that helps.

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2004 at 01:24 PM

    Hi

    thanks for the reply,U got my question right,

    can u if possible send me an eg code ,

    Thanks

    Atul

    Add comment
    10|10000 characters needed characters exceeded