cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Display Variant copying between programs

Former Member
0 Kudos

There is a report program say PROGRAM1 whose ALV display variants we want to copy to the ALV display variants of another program say PROGRAM2.

Both these program share the same ALV output structure design. My questions are

1) Can the display variants of an ALV be copied into another program.?

2) Can this be managed programatically?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Try using LVC_VARIANT_SELECT and LVC_VARIANT_SAVE fms.

First call LVC_VARIANT_SELECT to read variant from the first program and then call LVC_VARIANT_SAVE to save it for the second program.

Take a look at report BCALV_GRID_11 for reference

Sri

Message was edited by: Srikanth Pinnamaneni