Application Development and Automation 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: 
Read only

error in delaration

Former Member
0 Likes
707

How to declare stucture/WA for deep structure.

we declare as

data : i_mt_req type TABLE of zprx_sdmt_outbound_devliey_che with header line.

But it is not recognizing nested fileds.

I mean fields inside the sub structure.

Is there any eeror in declaration..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
680

Hi,

Please check this link for reading a deep structure.

[]

Hope this will help.

Regards,

Sudheer

Please reward points if helpful.

How to declare stucture/WA for deep structure.

we declare as

data : i_mt_req type TABLE of zprx_sdmt_outbound_devliey_che with header line.

But it is not recognizing nested fileds.

I mean fields inside the sub structure.

Is there any eeror in declaration..

4 REPLIES 4
Read only

Former Member
0 Likes
681

Hi,

Please check this link for reading a deep structure.

[]

Hope this will help.

Regards,

Sudheer

Please reward points if helpful.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
680

could you give the definition of type or structure zprx_sdmt_outbound_devliey_che.

The syntax seems correct.

Regards

Read only

0 Likes
680

The structure is like

A

|->C

|->D

|->E

|->e1

|->e2

Its recognising C,D

But not e1,e2.....

Read only

0 Likes
680

I believe you have to

LOOP AT A INTO WA_A.
  LOOP AT WA_A-E INTO WA_E.
  ENDLOOP.
ENDLOOP.

WA_E will point to E1, E2, etc.

Regards