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

ALV Grid Dialog Program Variant Problem

Former Member
0 Likes
569

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!!!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
519

hello james ,

i dont think u can store ALV variants with values and retrieve back .....

regards

prabhu

3 REPLIES 3
Read only

Former Member
0 Likes
520

hello james ,

i dont think u can store ALV variants with values and retrieve back .....

regards

prabhu

Read only

Former Member
0 Likes
519

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

Read only

Former Member
0 Likes
519

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!