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

layout for report output

Former Member
0 Likes
2,555

Hi,

We copied the standard FBL5N Program to zprogram.We are not able to get the report based on the layout. F4 help is not working for the layout selection,The FM REUSE_ALV_VARIANT_F4 is used to select the variant.But we have checked the table V_LTDX, there are no report with zprogram created ,.hence the output of the report is always displaying based on the standard layout.

Kindly guide me to resolve this issue.

Hi,

We copied the standard FBL5N Program to zprogram.We are not able to get the report based on the layout. F4 help is not working for the layout selection,The FM REUSE_ALV_VARIANT_F4 is used to select the variant.But we have checked the table V_LTDX, there are no report with zprogram created ,.hence the output of the report is always displaying based on the standard layout.

Kindly guide me to resolve this issue.

5 REPLIES 5
Read only

Former Member
0 Likes
1,508

Hello,

While saving your custom layout, save it as "Default Setting".

Also, the code for F4 should be written at AT SELECTION-SCREEN ON VALUE REQUEST for <Variant field>

Cheers,

Balaji

Read only

Former Member
0 Likes
1,508

Hi,

First you have to save the Layout on ALV output screen. when you execute the Program next time, if you press F4 it will show the availble Layouts for the Program (If you have that F4 logic for that Layout field on Selection Screen).

you have to pass that variant to " is_variant " parameter in REUSE Function module.

you can refer the program RLS10030 program for sample code.

Regards,

Bhavana

Read only

0 Likes
1,508

hi ,

All the above code already exists, if we create any new layout it is storing in standard report layout instead of zreport.

even in databse view V_LTDX it is storing in standard report name.

please advice

Read only

0 Likes
1,508

Hello,

Did you create a Z transaction code for your Z report or using the same FBL5N for your Z report?

Cheers,

Balaji

Read only

Former Member
0 Likes
1,508

Hi ,'

Execute the both reports . try to create Layout in zreport to see the out put of Standard report(to see the Layout fileds) .

might you can do like that.

regards,

Rama