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

How to create a list of Input Parameters ? (BAPI)

Hi guys,

I'm executing a BAPI in my webdynpro app, the Bapi has various input parameters (simple and structure).

I needed to fill an input structure, and that was ok... BUT, now I need to create and fill dynamically the same input structure but with more than 1 record.

Example

-->MyBAPI

-


>MyStructure (1)

-


>MyStructure (2)

-


>MyStructure (3)

-


>MyStructure (...n)

I have tried to create nodes dynamically but I just receive errors.. =(

Could you recommend me anything ?

Thanks and regards 😉

Diego

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2004 at 03:55 PM

    Hi,

    You could use one of the following methods to add more than one element to a node of upper cardinality greater than one.

    MyBAPI.MyStructure.addElement(int arg0, IWDNodeElement arg1)

    MyBAPI.MyStructure.addElement(IWDNodeElement arg0)

    Incase the MyBAPI node is a model node you could also use

    MyBAPI.MyStructure.bind(Collection arg0)

    Thanks and Regards,

    Sam Mathew

    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.