2009 Jul 21 1:05 PM
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.
2009 Jul 21 1:35 PM
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
2009 Jul 21 1:55 PM
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
2009 Jul 21 2:15 PM
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
2009 Jul 21 2:53 PM
Hello,
Did you create a Z transaction code for your Z report or using the same FBL5N for your Z report?
Cheers,
Balaji
2009 Jul 21 2:59 PM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |