Questions tagged [rtts]

RTTS (RunTime Type Services) allows to get the definition of variables or to create them during program execution. Part of SAP/ABAP.

RTTS (RunTime Type Services) allows to get the definition of variables or to create them during program execution. Part of SAP/ABAP. For more details see http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=42965.

19 questions
0
votes
2 answers

How to find out the type of a variable when it gets declared with TABLE-FIELD

Is it possible to find out the TABLE-FIELD phrase from a variable? In the example below, how do I get jkak-vbeln as a type from dref as a string? I tried some RTTI but didn't find anything useful. DATA: p_dat TYPE jkak-vbeln. DATA: dref TYPE REF TO…
0
votes
2 answers

Getting table structure of itab fails

I'm currently working on a project to extract data into several itabs and save them all into a single excel file on my local pc. For moving my data into the excel file, I have to loop over the fields of the tabel which seems to be archivable with…
Radinator
  • 1,048
  • 18
  • 58
0
votes
2 answers

Dynamic SELECT from arbitrary table

I have a Dropdown List in my Program in which I entered the names of different tables. So I worked with the IF-Statement. Basically: if wa_list-key = '1'. (replace name of table with the one choosen from the dropdown list) endif. I have this kind…
sharpnado
  • 79
  • 1
  • 1
  • 15
0
votes
2 answers

Any ALV-specifics with itab created by RTTS?

I create internal table by two steps, both refer to the RTTS-techniques. The first step loads and parses a tab-delimited file into a table. The second step reads this table by RTTI, then, hardcoded, adds some other columns in front of the old…
icbytes
  • 1,831
  • 1
  • 17
  • 27
1
2