09-17-2009 4:51 AM
Hi Gurus,
I am using standard report VA05 to display list of orders. I had created variant for this report. Now I notice that when i use variant all fields are not getting displayed.
the standard report uses srtucture VBMTV which has 85 fields. now the layout should also have 85 fields. But when I display through Variant I am getting 78 fields. while debugging I have chcked that FM LT_DBDATA_READ_FROM_LTDX is called where some fields are set as NO_OUT = 'X'. I am not sure how this is getting populated. As I have not set the layout to have any hidden columns, I am not sure how this FM is making the fields NO_OUT = 'X'.
Please help me.
Thanks,
Paramita
09-17-2009 5:59 AM
Hi Paramita,
Try this.
1. call fm using
CALL FUNCTION 'LT_DBDATA_READ_FROM_LTDX'
EXPORTING
I_TOOL = R_TOOL
IS_VARKEY = LS_VARKEY " Fill the key with OLD program name
then collect all tables comes out this fm and pass the following below fm
CALL FUNCTION 'LT_DBDATA_WRITE_TO_LTDX'
EXPORTING
I_TOOL = R_TOOL
IS_VARKEY = LS_VARKEY " Fill with NEW program Name
Regards,
Vijay
09-17-2009 6:55 AM
hi Vijay,
This program is a standard one and I will not be able to modify it. I just want to know how does it set some fields as NO_OUT = 'X' is this FM.