Skip to Content
0
Former Member
Dec 25, 2017 at 01:38 PM

Fox Formula INFORPROVIDER Statement Loop

525 Views

Hi,

I have a FOX Formula that I want to reference and loop through in different Agregation level (FCX_A06)

when I write the below code, I do not see any looping through and fox planning function continues to finishes. At finish it says 30 records read from FCX_A06 but is not looping in the code.

INFOPROVIDER FCX_AL06.

DATA GL TYPE FGL_ACCNT.
DATA RGL TYPE FGL_ACCNT.
DATA SGL TYPE FSENDGL.
DATA R1 TYPE FRECONE.


BREAK-POINT.


FOREACH R1 IN FCX_AL06 .


 ENDFOR.

You can see in the below screen that FCX_A06 has weird value and nothing in R1 of loop.

Attachments

ktywj.png (71.2 kB)