Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Copy from high level charac to low level charac

The user enters data at a high level Charac A for a Key figure KF1.

i.e.,

Charac A --- KF1 values

A1 --- 10%

A2 --- 15%

A3 -


20%

Values for lower level charac ( charac B and Charac C) will #. The problem is that I need to copy this to low level charac and not distribute.

I need to copy the KF value to low level charac i.e

Charc A---Charac B---Charac C-KF1

A1--


B1
C1
--


10%

A2--


B2
C2
--


10%

A3--


B3
C2
--


10%

I cannot use copy / distribute function as the values of charac B charac C should be determined at runtime hence I will have to use Fox formula.

The following code does not work.

FOREACH charac A.

PENPCT = {KF1,#,#,#}.

FOREACH Charac B.

FOREACH Charac C.

{KF1,Charac C, Charac B, Charac C} = PENPCT.

ENDFOR.

ENDFOR.

ENDFOR.

It is not able to read / assign values of charac B and charac C.

Would appreciate any help on the above.

Regards,

Raghu

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question