cancel
Showing results for 
Search instead for 
Did you mean: 

How to debug user exit

Former Member
0 Kudos

Hi Friends,

How can I debug a user exit (char relationship derivation) .Do I need to run the planing function .

But it is not useful when I run . How can we know the user exits are called whenever functions (copy,repost) executed.

Please let me know.

Best regards,

Ananth.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ananth,

For debugging the characteristic relationship please put a break point for function module UPC_CHAS_DERIVE, all the characteristic relationships are derived using this FM.

Regarding the exists while executing a function, there's only 2 standard SAP exists provided for the data one is called from the function mentioned above and I will provide you with the name of the second exit in few min.

hope this was helpfull.

thanks

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Ananth,

the derivation are called for all level (or planning method of level)that include basic char and not include target char.

Former Member
0 Kudos

Hi Anand,

Thanks for your info.

While debugging input parameters I_Area ,i can input plan area but what should I input rest of the parameters like

IS_CHAS

ITO_CHA

I_ONLY_STEPS

and export paramete ES_CHAS. Could please elaborate on this debugging to find what my Char relationship exit is deriving . And provide the second exit you told before.

Best regards,

Ananth.

Former Member
0 Kudos

Hi Ananth,

You will actually have to execute the planning function or a layout which is used to write the data into the planning cube/area on which this char relationship is defined. The mentioned FM is called by SAP while checking/writing the data back into the cube. You cannot test it standalone.

thanks

Former Member
0 Kudos