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: 

Create a Report to download standard table data in the AL11

yasu_1096
Explorer
0 Kudos
373

how to create a report to download standard table data in the AL11 sap directory

3 REPLIES 3

himanshu_gupta13
Product and Topic Expert
Product and Topic Expert
305

Hello Afgan,

This is very simple, please look to below

SELECT * FROM (<DB_TABL>) INTO TABLE @DATA(LT_TABLE).

OPEN DATASET ...

LOOP AT LT_TABLE INTO @DATA(LS_TABLE).

TRANSFER LS_TABLE ....

ENDLOOP.

CLOSE DATASET.

Thanks / Himanshu Gupta

himanshu_gupta13
Product and Topic Expert
Product and Topic Expert
0 Kudos
305

Hello Afgan,

This is very simple, please look to below

SELECT * FROM (<DB_TABL>) INTO TABLE @DATA(LT_TABLE).

OPEN DATASET ...

LOOP AT LT_TABLE INTO @DATA(LS_TABLE).

TRANSFER LS_TABLE ....

ENDLOOP.

CLOSE DATASET.

Thanks / Himanshu Gupta

0 Kudos
305

You have posted 2 same answers 😉