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

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

3 REPLIES 3

himanshu_gupta13
Employee
Employee

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
Employee
Employee
0 Kudos

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

You have posted 2 same answers 😉