Application Development 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: 

add filed

Former Member
0 Kudos

hi i upload 1 flat file in this 10 columns is there. i want add mandt filed in flatfile. how to do

3 REPLIES 3

Former Member
0 Kudos

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

0 Kudos

in this how to add first col mandt in flatfile.

Former Member
0 Kudos

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.