Skip to Content
0
Former Member
Jun 19, 2006 at 08:38 PM

Getting data from CM InfoType

12 Views

Hi,

I have the following code.

NODES: STUDENTDATA.

data begin of p1702 occurs 10.

include STRUCTURE p1702.

data END OF p1702 VALID BETWEEN begda and endda.

*INFOTYPES: 1702.

data wa like line of p1702.

GET STUDENTDATA.

PROVIDE * FROM p1702 BETWEEN p1702-begda and p1702-endda.

WRITE: / p1702-prdni.

ENDPROVIDE.

I also try the loop

loop at p1702 into wa.

WRITE: / wa-prdni.

endloop.

However, for some reason no data gets loaded into my internal table. I use logical database RHIQ_STUDENT_LDB

P.S. I am new to InfoTypes 😊

Thank you.