Hi!I have a problem creating a transparent table dynamical in a report. I tried both function modules that I could find (DDIF_TABL_PUT and RPY_TABLE_INSERT) but I wasn't able to get a table created.Now I'm trying it with RPY_TABLE_INSERT (seems easie...
Hi experts,i have a problem regarding to fieldsymbols:I'm assigning a workarea to a fieldsymbol to get dynamically all fields and the values of the fields of a arbitrary itab into a stringtable line per line. The stringtable is used to create a csv.e...
Hi,I'm searching for the table which links the TABNAME and the DEVCLASS of a table:e.g. TABNAME: TDEVChasDEVCLASS: SCTS_CATDoes anyone know which table contains this information?Thank you and regards,Toni
Hi Puya,I need the same functionality that you described. Have you been able to solve the problem and if yes: how did you do that?Thanks in advance and best regards,Toni
thanks for the quick response Volker.When I use the DB_CREATE_TABLE fm I only can create fields with datatype declaration (ddfield-datatype), but I need a fm where I can also create a field with a data element, because I'm generating the fields dynam...
Solution:First move the field-symbol to a string variable. After that you can write the string variable to a char variable.e.g.
DATA: lv_string TYPE string,
lv_char TYPE c length 255.
FIELD-SYMBOLS: <fs> TYPE ANY.
...
MOVE <fs> TO lv_string...
Hi Daniel,I want the report to be able to create dynamically a csv file from every flat structure, so that you don't have to change the concatenate statement.e.g.Concatenate output '"' wa-field1 '",' '"' wa-field2 '",' ...
Hi Santosh,thanks for the fast answer, but this doesn't work. It is not possible to concatenate a structure. Error message:"LV_CONT" must be a character-type data object (data type C, N, D, T or STRING) .That's the reason why I want to put the value ...