Skip to Content
avatar image
Former Member

BAPI creation

Hi all,

Can we use tables for BAPI creation? If Not explain the reasons.

and i know that tables occupy more memory than structures

is it the main reason to go for structures if not

why we prefer structures ratherthan tables for BAPI creation?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 15, 2008 at 06:53 AM

    Hi srilalitha yerramsetti ,

    You can use tables.

    Please post your queries in appropriate forum, so that u will get solution soon



    Add comment
    10|10000 characters needed characters exceeded

  • May 15, 2008 at 11:59 AM

    First of all, what does this have to do with Web Dynpro? BAPI creation is really a topic better posted to the main ABAP programming forums.

    Second, your question doesn't really make any sense. There are structures and there are tables and they are two very different types of objects that serve different purposes. A structure is a single row of data. A table is an array of many rows of data. Sure the table takes up more space, but that is because it can hold more than one row. You can use either approach when creating RFCs - depending upon if you want a 0:1 or a 0:n amount of data.

    Now perhaps you were refering to a different debate on RFC interface structure - the use of TABLES vs. EXPORT/IMPORT of Table Type based variables. That is a whole different discussion.

    Add comment
    10|10000 characters needed characters exceeded