Application Development 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: 

Copy of Layout Variants in FBL1n

former_member307726
Participant
0 Kudos

Hi,

I've copied T-Code FBL1n and it's program to Custom Program. Program is working fine.

But I don't know how to copy the Layout/Display Variants.

Kindly suggest  how to copy the Layout/Display Variants to my Custom Program.

Thanks in advance.

Regards,

Kumar

7 REPLIES 7

nikolayevstigneev
Contributor
0 Kudos

Hi, Kumar!

Please, check this thread.

raymond_giuseppi
Active Contributor
0 Kudos

You could try to use FM like LVC_VARIANT_SELECT and LVC_VARIANT_SAVE or just copy/modify records of tables ltdx[t]. Of course using the FM you could also try to adapt for different field catalog ?

Regards,

Raymond

0 Kudos

Thanks to ALL.. I'm able to Save Variants.. But Compare to Standard Header is missing..

Please see the Below Screen Shots:

Standard FBL1n Report :

Copy FBL1n Report:

As per the above Screen Shot that Header is missing..

Even I checked  'REUSE_ALV_COMMENTARY_WRITE' also.. it is behaving as standard.

Kindly do the needful.

Regards,

Kumar

0 Kudos

Put a break-point at start of ALV FM (REUSE_ALV_GRID_DISPLAY) and check for value of parameters I_CALLBACK_PROGRAM and I_CALLBACK_TOP_OF_PAGE. Does your copy contain a form 'TOP_OF_PAGE' similar to the one of SAPLFI_ITEMS ?

Regards,

Raymond

0 Kudos

Dear Raymond Giuseppi

The above function modules (LVC_VARIANT_SELECT and LVC_VARIANT_SAVE) are giving proper results for Few Variants, but it is not giving proper results for most of the Variants..

Kindly suggest any other solution.

0 Kudos

Hi

How have you used those function modules?

Probably you've not selected the user variants

Max

0 Kudos

Could you elaborate a little more on "not giving proper results for most of the Variants"

Regards,
Raymond