cancel
Showing results for 
Search instead for 
Did you mean: 

BI IP Fox Code Debugging

Former Member
0 Kudos

Hi All,

Please tell me the step by step procedure to debug Fox code written in BI IP.

I searched in SDN but there is no proper document on this. Please help me.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Enter the statement Break-Point. in the FOX code,Don't write it straight after the data declaration.Create a planning sequence and execute it .It will take you to the debugging mode.You can also use RSPLS_PLSEQ_EXECUTE program in se38 and give the planning sequence name.It will take you to the debugger.

Regards,

Indu

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi.

First you can debug FOX using MESSAGE statement in FOX.

For example:

DATA ZNUMBER TYPE I.

ZNUMBER = .

MESSAGE I001(/SEM/003) WITH ZNUMBER.

This will show values in message section on the screen.

Second you can eraly debug ABAP code of planning function:

Go to se37 : Function: RSPLFC_FORMULA_EXECUTE

Set session break-point at line 17:

PERFORM planf_forml IN PROGRAM (i_genprog) USING i_th_ref_data

i_s_blockline

i_guid

CHANGING

lt_mesg

c_th_data.

Single step execution ( F5 ) will take you to FOX code.

Regards.

Former Member
0 Kudos

I am using the second method ie RSPLFC_FORMULA_EXECUTE. I have set the break point in line 17. After this what should i do?

Go to planning sequence tab and press execute button or execute with trace button. Please help me.

Former Member
0 Kudos

Hi.

Set external breakpoint an line 17, then goto modeler and execute planning sequence.

Debugger window will appear.

After this you may debug the code as you wish.

Regards.