Hi Team,
I am having a small problem. I did this kind of things earlier but I dont know for some reason I was not able to do this now.
I have a WA declared like this in METHOD A.
DATA : CS_DATA TYPE REF TO DATA.
I enhanced SAP Standard Class and in METHOD B.
I need to assign the structure of the CS_DATA only when required fields come in METHOD B
Both METHOD A and B are called in three different classes N number of times.
For example there is a structure like XYZ and has Fields A,B,C.
I know the fields of the structure but not the structure name. It is very dynamic one.
so I need to capture the structure name in METHOD B so that I can assign that type to my field-symbol for further processing.
Please advice..