‎2007 May 10 10:28 PM
I am creating dynamic internal table as follows:
*-create dynamic internal table
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = i_fldcat[]
IMPORTING
ep_table = i_modify.
ASSIGN i_modify->* TO <fs_tab>.
The dymamic internal table is created with the given Ztable in the selection screen.
Now the problem is when I try to upload this table <fs_table> using function module Call function 'UPLOAD'.
The first column of flat file is getting updated in Mandt of <fs_table>.
I want to update sy-mandt in MANDT of <fs_table> and the rest of the fields with flat file data.
e.g.
Flat file data:
100 white
101 black
<fs_table> structure is getting uploaded as below
mandt zcode zdesc
100 white
101 black
if the clint is 700
it has to be uploaded as
mandt zcode zdesc
700 100 white
700 101 black
Can someone knows what should be the approach or any other function module to be used ?
Message was edited by:
Mahesh Sahu
‎2007 May 10 10:34 PM
See the answer in your previous thread and close this thread. why do you want to have many threads for one question.