Skip to Content

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

Foreach

Hello,

How does foreach work?

IF i have 2 cubes, and I have this Foreach:

Foreach A,B,CubeA.

B2 = concat(B1,Z)

{KF,A1,B1,CubeA} = {KF,A1,B2, CubeB}

EndFor.

Will the Foreach which specifies only CubeA be able to read & assign value from CubeB?

Can I change the value of B2 like above? What happens if the changed B2 happen to be not found in CubeB?

What will be copied if CubeB does not have the record specified in {KF,A1,B2, CubeB} ? Will anything be copied to CubeA?

regards

Sanjay

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