Skip to Content
0
Former Member
Jul 14, 2006 at 02:32 PM

Dataset file

16 Views

Hi,

I have a doubt in my outbound file report.

1. Plant field is used in select options and for different plant separate file should be downloaded into application server.

This is how i have made one file

CONCATENATE

c_path "file path

c_qm " 'QM'

c_underscore "underscore

c_results " 'RESULTS'

s_werks "plant

sy-datum+4(2) "system date

sy-datum+6(2)

sy-datum+0(4)

c_underscore

c_ext "file extension

how to make different files.Which internal table should i loop into.

2.I have to update custom database table with the data in the internal table i_update.

  • Work Area for Z_DATADOWNLOAD table

DATA: l_wa_update TYPE zdata_download.

l_wa_update-prog_name = g_repid.

l_wa_update-plant = s_werks.

l_wa_update-last_run_dt = g_sysdate.

l_wa_update-last_run_tm = g_systime.

  • Update the Date and time in ZDATA_DOWNLOAD table with current value.

MODIFY zdata_download FROM l_wa_update.

How to update the table for multiple files.

Regards,

Simran