01-29-2009 1:38 PM
Dear Gurus,
I am trying to get the spool number from the smartform. The spool number is passed through the structure.
This is the structure i am using SSFCRESCL.
The structure has a table inside it called spoolids. This spoolids has the spool number.
While debugging i see like this. SSFCRESCL-spoolids[1] = 5074
I need to get this 5074 into a variable.
Please help me.
01-29-2009 3:45 PM
Hello
This is quite simple:
DATA:
ls_smart TYPE SSFCRESCL,
ls_spoolid LIKE LINE OF ls_smart-spoolids, " or: ls_spoolid TYPE RSPOID.
ld_id TYPE RSPOID.
...
LOOP AT ls_smart-spoolids INTO ls_spoolid.
ld_id = ls_spoolid.
...
ENDLOOP.
Regards
Uwe
01-29-2009 3:45 PM
Hello
This is quite simple:
DATA:
ls_smart TYPE SSFCRESCL,
ls_spoolid LIKE LINE OF ls_smart-spoolids, " or: ls_spoolid TYPE RSPOID.
ld_id TYPE RSPOID.
...
LOOP AT ls_smart-spoolids INTO ls_spoolid.
ld_id = ls_spoolid.
...
ENDLOOP.
Regards
Uwe
01-29-2009 3:57 PM
01-29-2009 4:01 PM
Hi,
DATA : l_SSFCRESCL TYPE SSFCRESCL.
DATA : T_TSFSPOOLID TYPE TSFSPOOLID.
T_TSFSPOOLID = l_SSFCRESCL-SPOOLIDS.
01-29-2009 4:18 PM