In the ALV, correct texts are coming but in the file column text coming is ‘Quantity’ which is coming from data element and is very confusing. Gr_column->set_medium_text( 'PURCH TOT QTY' ). ALV screen and can be transferred to Microsoft excel in tab file format. Gr_column->set_long_text( 'PURCHASE TOT QUANTITY' ). Viewed 1k times -1 I would like to find a way to export the SAP MD04 - overview. List_display = if_salv_c_bool_sap=> false Gr_columns TYPE REF TO cl_salv_columns_table, Is there any possible way to make sure that column texts in the FILE are also always same as I have assigned them in the program, means they are same as in ALV grid.ĭATA: gr_table TYPE REF TO cl_salv_table, Everything is working well in ALV grid.īUT when I download ALV data to a text file using Export–>Local File–>Unconverted, the COLUMN HEADER TEXTS CHANGE and are taken from the standard data element of the field MENGE. I have assigned them header texts as per my requirement using the below code. I have various computed fields in my internal table which are of the type MSEG-MENGE. I m able to export it in spreadsheet using option List-> Export->Spreadsheet, but while exporting to local file i m getting short dump with error Field Symbol Has not yet been Assigned. I created an ALV grid using cl_salv_table=>factory. I m displaying records using ALV Grid, I want to export that ALV Grid to Local File, using Menu->List->Export->Local File. WHY Column Header Texts CHANGE in File downloaded from ALV using SALV class
0 Comments
Leave a Reply. |