Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to read deep structure

Former Member
0 Kudos

Hi all,

i need to read data from deep structure. I am getting data from importing parameter of a function module 'WA_JOB' which is of SSFCRESCL structure. SSFCRESCL contains SPOOLIDS which is table type TSFSPOOLID. TSFSPOOLID is of a line type RSPOID and i am getting my data (spool request number) in this. How to read this data. please help.

Thanks in advance.

1 ACCEPTED SOLUTION

venkatesan_nagiah
Active Participant
0 Kudos

you read like this:

data: w_RSPOID type RSPOID.

loop at SSFCRESCL-SPOOLIDS into w_respoid.

the spool id will be w_respoid.

endloop.

venkat

3 REPLIES 3

Former Member
0 Kudos

Hi Aswin

Create a internal table of type RSPOID and then assign itab[ ] = SSFCRESCL-SPOOLIDS[ ] .

Regards

Bala

kesavadas_thekkillath
Active Contributor
0 Kudos

venkatesan_nagiah
Active Participant
0 Kudos

you read like this:

data: w_RSPOID type RSPOID.

loop at SSFCRESCL-SPOOLIDS into w_respoid.

the spool id will be w_respoid.

endloop.

venkat