Skip to Content
author's profile photo Former Member
Former Member

Debugging a routine

Dear All,

in the update rule, we wrote a simple routine to fill a key figure at the InfoCube level.

We need to be able to debug it in order to view the values that are going to be inserted step by step.

We tried to insert the BREAK statement in the routine but when in the ODS we select "Update ODS Data in Data Target" nothing breaks.

Is there any easier way?

Thanks a lot.

Regards,

R.C.

Message was edited by: Roberto Colombari

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2005 at 04:54 PM

    Hi Roberto,

    By inserting a BREAK statement in the routine you won't be able to debugg as the upload process is done in background.

    Instead you should insert a code like this:

    data flag.

    while flag ne 'X'. endwhile.

    Then launch the process and go to transaction SM50 select the process and execute Program/Mode -> Program -> Debugging

    Hope it helps,

    Andreu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2005 at 05:14 PM

    Thanks a lot.

    It works 😊

    A question about the routines in the update rules.

    At which step these routines for filling key fig with data are executed? At the row by row filling of the fact table?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Roberto,

      update rules works on each entire data package in start routine, row by row in single update rules and AFTER successful closing all this procedure, system insert records in fact table.

      Oh, another thing...

      If you want to debug (after loading process) your update/transfer rules, it's enough to right-click on 'data package' in monitor screen and execute 'simulate update'...enjoy your debug !!!

      Hope it helps !

      Bye,

      Roberto

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.