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

How to insert alv grid data into itab

Former Member
0 Likes
1,137

Hey,

How to insert alv grid data into itab.

regards

purna

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,113

Give more details on your question, otherwise every one thinks that you are asking some basic question.

what is the problem explain in detail.

Hey,

How to insert alv grid data into itab.

regards

purna

10 REPLIES 10
Read only

Former Member
0 Likes
1,113
Did you search on SCN???
Read only

Former Member
0 Likes
1,113

How to Insert ITAB data to ALV GRID?

Read only

Former Member
0 Likes
1,113

Hi,

call function 'REUSE_ALV_GRID_DISPLAY_LVC'

exporting

i_callback_program = gd_repid

i_callback_user_command = 'USER_COMMAND'

is_layout_lvc = gd_layout

it_fieldcat_lvc = it_fieldcat

i_save = 'X'

i_grid_title = 'SO Quantity Change'

i_callback_html_top_of_page = 'HTML_TOP_OF_PAGE'

tables

t_outtab = it_vbep

exceptions

program_error = 1

others = 2.

Now it_bep contains ALV Grid data..

U can this form so that u can define action after save..

form user_command using r_ucomm like sy-ucomm

rs_selfield type slis_selfield.

case sy-ucomm.

when '&DATA_SAVE'.

perform change_po_quantity.

when others.

endcase.

endform. "USER_COMMA

Read only

Former Member
0 Likes
1,114

Give more details on your question, otherwise every one thinks that you are asking some basic question.

what is the problem explain in detail.

Read only

0 Likes
1,113

Hey,

I am developing on screen with alv grid contains 4 columns, those are (material code, material name, material type) these are coming from material master, 4 th column is rate, that entered by the user manually for forecasting report, Now i want save all these 4 columns data into itab.

regards,

purna

Read only

0 Likes
1,113

Hi

Refer to this link...

Read only

0 Likes
1,113

I guess you are working on Editable alv:

Refer

Read only

Former Member
0 Likes
1,113

.

Read only

Former Member
0 Likes
1,113

.

Read only

Former Member
0 Likes
1,113

.