Skip to Content
0
Former Member
May 21, 2008 at 10:34 AM

problem in bapi

20 Views

hi,

my item table is not getting populated.below is my code...

itab delaration:

data:it_item type BAPI2017_GM_ITEM_CREATE occurs 0 with header line,

im moving data from flat file to internal table and then populating it_item using

loop at itab.

move: itab-pdate to it_header-PSTNG_DATE,

itab-ddate to it_header-DOC_DATE.

APPEND it_header.

move: itab-matnr to it_item-MATERIAL,

itab-plant to it_item-PLANT,

itab-stloc to it_item-STGE_LOC,

itab-mtype to it_item-MOVE_TYPE,

itab-quant to it_item-ENTRY_QNT,

itab-rplan to it_item-MOVE_PLANT,

itab-rsloc to it_item-MOVE_STLOC.

APPEND it_item.

when i pass this it_item to my bapi FM. it_item is not populated....

can anyone help....

regards

mano