‎2006 Mar 09 1:55 PM
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?
‎2006 Mar 09 2:02 PM
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
‎2006 Mar 09 1:57 PM
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
‎2006 Mar 09 2:01 PM
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
‎2006 Mar 09 2:02 PM
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