Skip to Content
0
Former Member
Apr 19, 2010 at 04:17 PM

ALV Grid Dialog Program Variant Problem

50 Views

Hi Gurus-

Please help!!! I got the following problem-

The ALV dialog screen will have fields with display options as well as a number of fields as input options (editable). Based on user inputs in the input fields and other displayed fields, the user selects "Process"/F8 and it calls the BAPI_MATERIAL_EDIT functions to update material.

The problem is, I want to use variants in the input fields (Maybe REUSE_ALV_VARIANT_F4) when I select a variant it loops through the selected rows and fills out the input fields with the values stored in the variant. I want to use sample ALV grid program such as BCALV*.

The question is, can I use variants in ALV grid dialog program and if yes, how do I define variants to loop through and fill out the values in the input/editable fields on the ALV grid?

Any help will be greatly appreciated! Rep points for sure!

Thanks!!!