Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Parameters for BAPI

Former Member
0 Likes
922

I am calling BAPI function from XI (RFC Adapter).

But BAPI doesn't get my input parameters from sender system.

BAPI has parameters

IMPORTING

*" VALUE(I_INV_HEADER) LIKE BAPI_INV_HEADER_C

...

EXPORTING

*" VALUE(E_INV_HEADER) LIKE BAPI_INV_HEADER_D STRUCTURE

*" BAPI_INV_HEADER_D

TABLES

*" I_INV_ITEMS STRUCTURE BAPI_INV_ITEM_C

..

E_INV_ITEMS STRUCTURE BAPI_INV_ITEM_D OPTIONAL

I think IMPORTING are input parameters and EXPORTING are output parameters. Is it correct?

What is defference between TABLES BAPI_INV_ITEM_C and BAPI_INV_ITEM_D?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
725

Hi Denis,

Imports are Input Parameters (i.e inputs to the BAPI) and

Exports are output Parameters.

TABLES BAPI_INV_ITEM_C

represents that the internal table of type BAPI_INV_ITEM_C is sent as input to the BAPI.

similarly BAPI_INV_ITEM_D is a different structure (E_INV_ITEMS internal table is of this structure)

Regards,

Raj

3 REPLIES 3
Read only

Former Member
0 Likes
725

Some times u have to pass the data(input) as a structure/internal table to get the output also in structure.

Check in tables tab in the inside fm

Read only

Former Member
0 Likes
725

until unless we see what are the fields , we can't say any thing. but they are import and export parameters.

you are passing BAPI_INV_HEADER_C , and getting BAPI_INV_HEADER_D this .

Regards

vijay

Read only

Former Member
0 Likes
726

Hi Denis,

Imports are Input Parameters (i.e inputs to the BAPI) and

Exports are output Parameters.

TABLES BAPI_INV_ITEM_C

represents that the internal table of type BAPI_INV_ITEM_C is sent as input to the BAPI.

similarly BAPI_INV_ITEM_D is a different structure (E_INV_ITEMS internal table is of this structure)

Regards,

Raj