Supply Chain Management Blogs by Members
Learn about SAP SCM software from firsthand experiences of community members. Share your own post and join the conversation about supply chain management.
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos

Hi

For my SNP planning book, I have a requiredment to add multiple vector areas in a vector variable using vec_layoutvariable_app() function. I belive this macro function appends area key figures into vector like a two dimentional data. For instance I am going to use:

Action: Attach values to my_vector variable for a group of Products in the planning table

Step 1: Append group totals

VEC_LAYOUTVARIABLE_APP( 'MY_VECTOR' ;

Area:  [ $Sales Order ( INITIAL ) ; $Sales Order (  M 12/2014 ) ]

)

This will generate a vector variable MY_VECTOR which have values like:

M01/12M02/12M03/12M04/12M05/12M06/12
120013005000200012002000
150020003000100010001500
200015002500100020002200

But I do not know how to read this and assing to a Area: Key figure. If I use layoutvariable as shown below:

Area: Total Demand  (Forecast/Sales Order) ( INITIAL ) =

VEC_LAYOUTVARIABLE( 'MY_VECTOR' )

The above laoutvariable reads only the first row value.

I want to all three rows added and assign to Total Demand Key figure like:

M01/12M02/12M03/12M04/12M05/12M06/12
4700480010500500042005700

Any idea on this? Appreciate your time and thanks in advance.

5 Comments
Labels in this area