csmili.blogg.se

Charged itab with file symbols
Charged itab with file symbols












charged itab with file symbols

Suppose you don’t have internal table itab_mara then what? Now in the above case you have internal table itab_mara ready. Select * from mara up to 10 rows into table itab_mara.ġ. Now this automatically refer to which will automatically modify itab_mara. You can now use and whatever changes you make to reflects to itab_mara.

charged itab with file symbols

Now we have an internal table itab_mara defined.ĭata : itab_mara like mara occurs 0 with header line.Īll we have to do is before using we have to write i.e we have to tell the program that not will be referring to table MARA. We have to assign a structure to that field symbol. Note for field symbols just defining does not mean that we can start using it after definition. Here we have defined a table containing no structure and with structure MARA. When I say nothing I mean that the structure of a field symbol can be determined dynamically.įor our purpose let us consider MARA table as the referring table and MATNR field as the referring field. That something can be a table, a field or even nothing. In simple words, a field symbol refers or points (pointers known as in C language) to something.

CHARGED ITAB WITH FILE SYMBOLS HOW TO

I am here explaining how to be using it practically and effectively. But now after using it almost on a regular basis I actually am kind of tempted to use it maximum to where I can.įield symbols are better performance wise but I am not going down that lane. When I began learning the concept of field symbols, it looked quite scary with all the brackets and new syntax.














Charged itab with file symbols