09-29-2005 3:13 PM
Hi,
I am trying to use the macro option in MC8B to create a macro that will take one lines next month's value and use on another line as this month's value. The info structure is S076 and both of the lines are key figures in the table.
I have created/recorded a macro that will move within the same period but haven't had any luck crossing periods. Has anyone used the exit EXIT_SAPMMCP6_002?
Table P1 P2 P3 P4 P5 P6
Sales 10 11 12 13 14 15
Prodn 11 12 13 14 15
Thanks for any help,
Lorrie
06-19-2009 8:12 PM
In my custom macro, I am calcuating & populating the the prod values, But when i go in display mode the production values are not saved.
This is the enhancement: MCP20002
anf this is the user-exit: EXIT_SAPMMCP6_002
If anybody has sample code. I really appreciate if you send the code.
Thanks,
Gopi.
09-12-2011 10:21 PM
It is some time since this post but since I found a solution:
If you first copy the whole table t_tab into t_tab_old if t_tab_old is initial.
Then when you add entries to t_tab you must also add entries to t_tab_old.
Then I cleared v-e-d-f fields for the new entry in t_tab_old.
Remember to sort tables by z and c fields too.
Then it worked for me.
Regards
Roy Olav Johansen