cancel
Showing results for 
Search instead for 
Did you mean: 

Macro function

Former Member
0 Kudos

Hi

Is there any macro function in SCM 4.0 to add months to date.I want to write a macro which freezes the cells of a key figure after 6 months in the future horizon.

I could not find the macro function.

So a 'Z' function module was developed for this rerquirement.I am able to see this in the macro builder and i have used this FM in my macro.I checked ,generated and saved the macro.

When i want to test this macro with the test data i am getting ABAP dump runtime error.

Is this the problem with the variables that we have defined in FM?

It is highly appreciable if you can help me in this regard.Its very urgent.

Thanks in advance.

Raj

Accepted Solutions (0)

Answers (2)

Answers (2)

wilian_segatto
Employee
Employee
0 Kudos

Old Thread. Closing...

Former Member
0 Kudos

when you say freeze i suppose you mean making it "output only". is that right?

You may not have to define a function module for this.....

you use the macro function CELL_INPUT( 0 ) to get this functionality for one KF

you can also use COLUMN_INPUT( 0 ) for all KF

if you have a monthly book and when creating the macro, you make sure that the macro has the first iteration starting from the 6th month then this will work

there should be a sample macro in the 9AEXAM book with the same functionality

hope that helps