cancel
Showing results for 
Search instead for 
Did you mean: 

How to write key figures with macro within APO SNP?

Former Member
0 Kudos

Hi all,

I want to fill timelines in the SNP planning books. Therefore I wrote a macro which should write a value into the line. It is running well when the selection is done on product level but not on resource level.

For this I try to use a function module with the following parameters:

Import:

SDP_BOOK TYPE /SAPAPO/FUNSTRING

SDP_VIEW TYPE /SAPAPO/FUNSTRING

Changing:

F_CALC_ERROR TYPE CHAR1

F_ARGUMENT TYPE /SAPAPO/MXSOP-V

Tables:

VALUE_TAB LIKE /SAPAPO/VALUE_TAB

I write the value which should be displayed in the table in parameter f_argument. But the value is not displayed in the planning grid.

Any ideas?

regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Custom development from SAP.

Former Member
0 Kudos

Hi Wolfgang Bauer,

Please go to Articles in the application tool bar - browse to SCM and check article

Interactive Solution for Complex Calculations in DP Planning Book Using Macro BAdIs

could help you in this regard.

Here is the link

[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3018c9dc-98b1-2b10-6489-97a8479e2bba|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3018c9dc-98b1-2b10-6489-97a8479e2bba]

Regards,

Srini.