cancel
Showing results for 
Search instead for 
Did you mean: 

How to transfer data from ALV grid to ztable from standard transactions

Former Member
0 Kudos

Hi Friends,

I want to store the data which is showing in the ALV grid.

But this ALV grid is from Standard programs like md02 etc.

Finally i want to store the internal table data in Ztable.

please help me how to do that.

Thanks

Shankar M P

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member480923
Active Contributor
0 Kudos

You have to find some user exit in the TRansaction u are calling before the list is being displayed where the output table structure is being send as import parameter.

If you can give the Transaction name i could help u more.

Hope That Helps

Anirban M.

Former Member
0 Kudos

Hi,

Find out a suitable Exit to 'EXPORT' the internal table used in ALV_GRID & once you exit from standard transaction to your z-program use IMPORT to get that internal table. Once you get it in z-pgm, I think rest of the things are much easier.

I hope this helps,

Regards

Raju chitale

Former Member
0 Kudos

hey simple modify query will work here ............make u r final internal table [itab] sure......to display ...............after display logic check for the sy-subrc ......and write this statement ....it will work...........

MODIFY <ztable> FROM TABLE <itab>

reward points if helpful.........

Former Member
0 Kudos

Hi Ram,

I am calling the std transaction code in my z program and the standard tcode displays the data in ALV grid.

What i need is, the ALV grid data should be stored in internal table and Ztable .

Thanks

Shankar