on 08-04-2011 2:04 AM
It's required to make neccessary data transformantion when performing pakcage "import hierarchy from BW", which is complecaited and BPC own's conversion cannot make it.
We intend to develop DM badi END ROUTIEN to archive that.
But after we set debug user in BPC server manager and external breakpoint, surprisely runing this package ignores breakpoint and doesn't jump to debug window.
However, on condition of setting external breakpoint in class method CL_UJD_START_PACKAGE~RUN_PACKAGE, it indeed works.
Could someone explain this? thanks a lot.
It's my mistake, forgetting compensate transformation file with ENDROUTINE section.
Thank you all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you just set a break-point in CL_UJD_START_PACKAGE~RUN_PACKAGE or you also changed the value of SYNCHRONOUS variable? If you changed it then I can explain.
Cheers,
Gersh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see. Problem is CL_UJD_START_PACKAGE~RUN_PACKAGE runs in Dialog mod and than it starts a job in background. Break-point doesn't work in background processes. You can try following that blog [http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/18300] [original link is broken] [original link is broken] [original link is broken];. Changing that variable will make that process run in Dialog mode and it should stop at your break-point.
Gersh
Hi Brad,
You can use program UJD_TEST_PACKAGE to debug your BADI code. First manually run the package to get the answer prompt details. Go to SE38 in BW and create a variant for above program with your answer prompt. Set a break point in your BADI code and run the above program in debugging mode. F8 in debugging mode should take you to your breakpoint in BADI.
Kalyan.
Hi,
Have you solved the problem?
I used a bit of code to make the system wait for 60 seconds... and during that time I use SM50 to capture the debug session. I use the TVARVC table to update with some unique combinations with respect to what I am doing and capture them in the code while executing. It works pretty fine for me. I used this method in almost all enhancement spots such as write back, start/end routine, retraction etc.
If you are interested in my solution.... I will have to get the code and paste it here.
Waiting for your reply.
Regards,
Surya Tamada.
Hi,
Try infinite loop in End routine of your logic as follows.
data: v_val(1) value ''.
DO.
if v_val = 'X'.
exit.
endif.
ENDDO.
Save and activate the method.
Run your package from BPC Excel and login into back end goto Tcode SM50. You can find a job there which is in running mode.
Select the process, Goto menu options select Program/Session-->Program -->Debugging.
Once system opens debugging session change v_val to X and proceed to debug of your logic.
Hope it helps..
regards,
Raju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.