cancel
Showing results for 
Search instead for 
Did you mean: 

Fox script reading a hierarchy node

0 Kudos

Hi,

How do we read in BPC optimized on S4 the standard hierarchy created for GL Accounts in S4? The standard hierarchy name is FS01 created on info object /ERP/GL_ACCT. I am not able to read this hierarchy through Foxscripts in RSPLAN tcode but at the same time I am able to read a hierarchy created on a custom BW info object (Z_GLACCT).

Please advise why we are able to read the hierarchy of the custom info object and not the standard one?

The following code does creates a dump on checking or saving it. FS01 hierarchy created on Info object does not have Verson.
-----------------------------------------------------

DATA SUM TYPE F.
DATA ACCT TYPE /ERP/GL_ACCT.
SUM = 0.
FOREACH ACCT IN VARIABLE ZVAR_ACCT_REV, HIENM = ZVAR_FS01.
SUM = {'/ERP/AMOUNT_L', ACCT, ZBPC_V02} + SUM.
ENDFOR.

-----------------------------------------------------

But Identical code on custom info object Z_GLACCT works.


Regards,

gerald_fuller
Explorer
0 Kudos

Hello,

did you get any solution?

I also face same requirement.

Thx a lot,

Gerald

Accepted Solutions (0)

Answers (0)