cancel
Showing results for 
Search instead for 
Did you mean: 

user Function Macros not populating values in Planning Book

Former Member
0 Kudos

Hi,

i have created a User Function Macro in /sapapo/advm and i am calling a Z Function Module to calculate some value.

when i generate macro and test in planning book, it is not returning and values .

i debugged my Custom FM and it is returning correct values .

these values are correctly populated in GT_TAB but somewhere in between, it is getting deleted.

i am not sure of the reason for this deletion.

appreciate all your assitance in this regard..

Thanks

Gaurav

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi Gaurav,

If i understood your problem correctly , the value returned from GT_TAB is not appearing Planning book key fig.

Can you check in debugging after FM Call and assign the return value to some Key fig?

If you are returning single value from FM then use parameter instead of table.

Thanks,

Chandra

Former Member
0 Kudos

Thanks Chandra for the response.

but the values are getting Deleted from GT_TAB itself and the updated values sent by FM are lost.

The Function Module Created is returning Values accurately. I debugged the standard code and correct values are being passed onto F_ARGUMENT.

and after some code in FCODE_CHECK routine, the value in row 7 ( Z =16 ) gets deleted.