09-12-2014 5:54 AM
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
09-12-2014 5:56 AM
09-12-2014 7:23 AM
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
09-16-2014 11:27 AM
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
09-16-2014 12:33 PM
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
09-17-2014 11:45 AM
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.
09-17-2014 11:57 AM
Hi
How have you used those function modules?
Probably you've not selected the user variants
Max
09-17-2014 12:03 PM
Could you elaborate a little more on "not giving proper results for most of the Variants"
Regards,
Raymond