‎2010 Apr 19 5:17 PM
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!!!
‎2010 Apr 20 6:33 AM
hello james ,
i dont think u can store ALV variants with values and retrieve back .....
regards
prabhu
‎2010 Apr 20 6:33 AM
hello james ,
i dont think u can store ALV variants with values and retrieve back .....
regards
prabhu
‎2010 Apr 20 6:52 AM
hi james ,
look at this link u will get an idea .
http://www.sapfans.com/forums/viewtopic.php?f=13&t=229912
http://sgstocks.tripod.com/alvgrid_control.htm
thanks,
Gaurav.
Edited by: gaurav.singh on Apr 20, 2010 7:53 AM
‎2010 Apr 20 2:27 PM
Thanks Prabhu and Gaurav-
As Prabhu said, I'm trying to explore any possibility of achieving the functionality because that would help the user a lot. Please give that some thoughts and see if you can find out any possible solution- Storing field values as variant and retrieve it back in ALV grid dialog screen. Thanks in advance!
Gaurav-
The links you provided was great help in so many ways. But unfortunately it does not address my core problem of saving input values in variant and retrieve back to fill in in ALV grid dialog. I can use a bunch of suggestions from your links. Thanks again. Please give the problem some more thoughts and if you find out any possible route, please reply. Thanks in advance!