cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a macro for SNP in Planning book

Former Member
0 Kudos

Hi Experts,

I have created a Table, a function module and need to create a macro.

Functionality is like this :-

1. Macro will call the function module passing a value ACT_RESOURCE.

2. Then Function module will check the table for that RESOURCE if it gets then returns some value else returns 0.

Now i want to fetch the value returned by function module in macro and multiply the entire row of a key fig. with that value and display the new calculated value again in the same row.

Please HELP !!!

Any pointer on this topic will be help full.

Thanks & Regards

Satyam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Satyam.

You will need to use a User Exit macro.

tcode : SMOD and exit : APODM005.

Also follow the details on note 418801.

You could then store the returned value in a key figure. Then you could use a standard macro to multiply one key figure with the other into a result key figure or auxiliary row, finally you can copy this result key figure to the original key figure.

hope this helps.

M

Answers (0)