09-17-2007 10:25 AM
In the following Subroutine signature, P_SOURCE and P_DEST strutures can be any type.
FORM uc_move USING P_SOURCE TYPE ANY
CHANGING P_DEST TYPE ANY.
My requirement is to find the position and length of a certain field.
Example, I want to check the position and length of ROUTE in P_DEST structure.
Here the assumption is that field ROUTE exists in P_DEST structure.
Please help!!
09-18-2007 11:37 AM
Also check this FM <b>DDIF_FIELDINFO_GET</b> which is well documented
09-18-2007 11:14 AM
is the structre dictionary structure or declared locally in the program.
if its a dictionary structure then use FM TR_NAMETAB_GET and pass the structure name to import parameter iv_tabname and it will return all the fields in the structure and their position.
09-18-2007 11:17 AM
hi,
for DDIC structure use this fm mdule
<b>TR_NAMETAB_GET</b>
With Rgds,
S.Barani
09-18-2007 11:37 AM
Also check this FM <b>DDIF_FIELDINFO_GET</b> which is well documented