Application Development and Automation 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: 
Read only

help with uploading

Former Member
0 Likes
419

Hi experts,

I got a task to read data from a flat file and modify the schedule end date i.e. afko-gltrs according the data of the text file. I am new to ABAP and this is close to deadline.Please help me asap.

regards.

3 REPLIES 3
Read only

Former Member
0 Likes
400

Create an internal table with the fields that are on your flat file...

If your file is like...


001TEST20070822

Your internal table should look like this...


TYPES: BEGIN OF TY_TABLE,
CODE(3) TYPE C,
NAME(4) TYPE C,
DATE TYPE SY-DATUM,
END OF TY_TABLE.

DATA: T_TABLE TYPE STANDARD TABLE OF TY_TABLE.

Use <b>GUI_UPLOAD</b> to load the file into your internal table.

Loop the IT...


LOOP AT T_TABLE.
*Do the updates...
ENDLOOP.

Greetings,

Blag.

Read only

Former Member
0 Likes
400

Use FM: CO2H_PROD_ORDER_CHANGE

Read only

Former Member
0 Likes
400

I have done wih this task and got my answers