cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging of global transfer and update routine

Former Member
0 Kudos

Hi all,

Can anyone please tell me how we can debug global update and transfer routines. I know transfer and update rules are debugged in monitor->Details->Datapackage->Simulate update.

thanks,

Sabrina.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

It will not affect in production or QA or Dev. The breakpoints are stored specific to the user. Only when you Run the extraction based on your UserID you will see the breakpoint in those routines. If you have cleared all of them properly you won't see it.

Thank you

Arun

Former Member
0 Kudos

Hi all,

Data is loaded from an ODS to Infocube. I have a start routine written in the update rules. I went to monitor->data package->simulate and activated transfer and update rules. When I am in ABAP Debugger, I am not able to find that particular routine to debug. Any help in this...........

thanks

Sabrina.

Former Member
0 Kudos

Hi Sabrina,

Note some words (better not ordinary, which can be meet often) in the code of your routine and make a search (CTRL+F) of this words in Debugger.

Best regards,

Eugene

Former Member
0 Kudos

Hi,

if you want to debug start routine in update rules activate simulate in update only rules only and when you get to Debugger, about 20-30 lines below there will be routine 9998 - this is start routine (at least in BW3.50).

Andrzej

Former Member
0 Kudos

Hi all,

thanks for you reply, we are using 3.1c and not 3.5. I did find the code by running a search. Any help(may be steps) on how to debug that code.....

thanks

Sabrina.

Former Member
0 Kudos

Any help in debugging the transfer, update rules and also the start routine.

thanks,

Sabrina.

Former Member
0 Kudos

Hi,

if you are looking for instructions how to debugg, try this:

http://help.sap.com/saphelp_erp2004/helpdata/en/10/6d1c370c468b7be10000009b38f936/frameset.htm

Good luck

Andrzej

former_member188975
Active Contributor
0 Kudos

Hi Sabrina,

I don't know if this information is too elemementary for you, but here goes: Once you have searched for your key word, lets say you wrote some code for a KF Costs, where you are multiplying it by the units and you want to debug through this...so you would have something like:

Result KF = Cost * Units (p.s. this is a simplistic view with no actual code involved). Now to see if this is being performed, you can monitor different fields and their values in the debugging screen. Either type in the filed name, or just double click it...so put in your Result, Cost and Units and look at the values for that particular records. Keep on hitting F5 for the code to be processed statement by statement. If you are in a function that you don't want to see processed step by step, you can hit F7.

This basic know how is the same for any ABAP debugging. You can also look at :

http://help.sap.com/saphelp_erp2004/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm

Hope this helps...

Former Member
0 Kudos

Hi Bhanu and Andrzej,

Thankyou very much and will try this tonight.

Sabrina.

Former Member
0 Kudos

Hi Sabrina,

if you have not code ABAP earlier it gonna be a long night:)

Here is pretty good ABAP manual

http://cma.zdnet.com/book/abap/index.htm

Good luck again...

Andrzej

Answers (1)

Answers (1)

GFV
Active Contributor
0 Kudos

Yes Sabrina ... that's right. When I need to debug a Start Routine I just write a BREAK-POINT inside it and then I go in Monitor->Details->Datapackage->Simulate update ... checking for Transfer Rule or Update Rule. Normally the BREAK-POINT is ignored (but delete it because i noticed that in some cases it sloes down performance): I use it just to get quickly where I need.

Hope it helps

GFV

Former Member
0 Kudos

Hi Vallese,

Thanks for getting back, I want to practice ABAP Debugger for testing transfer, update rules, start routine written at both transfer and communication structure. I am not doing it in Production, so I think it shouldn't effect. But why would it effect in production, is it if we forget to clear the breakpoint. Can you please tell me how to use ABAP Editor or if there is any material for this?

Please let me know.

thanks

Sabrina.