2008 Oct 16 8:00 AM
hi i upload 1 flat file in this 10 columns is there. i want add mandt filed in flatfile. how to do
2008 Oct 16 8:04 AM
Hi
I think no need to add the mandt field at flat file level
write the logic to
LOOP AT IT_ITAB TO WA_ITAB.
MOVE SY-DATUM TO WA_ITAB-MANDT.
-
remaining fileds
-
ENDLOOP.
regards
2008 Oct 16 8:15 AM
2008 Oct 16 8:25 AM
Hello ,
If u want to add the column to the internal table then declare the
Mandt type sy-mandt as the first field in the sturcture then move the sy-mandt value to the internal table then after fill all the values then u will find sy-mandt field in the first column.