Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Debugging to Understand the process?

ronaldo_aparecido
Contributor
0 Likes
542

Hi Experts.

My company went back to work with the module 'RE'.

I'm working with functional FI working like RE.

Occurred a  Dump:  (Overflow during the arithmetical operation (type P) in program).Please see attached file.

- REAJPR Transaction.

-The error ocurred in productive envoirement.

-The functional didnt find in configuration the motive of DUMP.

-The error ocurred because a field size receiving incompatible variable .i find a sap note ,etc...

ld_indexchgperlast = abs( <ls_recindex>-indexchgpoilast ). 

-But the functional sayed that error ocurred because the wrong value in variables and he wants that i debug and understand how this

variables are fulfilled.

-I debugged and found

rd_indexchgpoilast = ld_dateindexbase - ld_lastadjmindexbase.

Now i need  to understand  how this variables ( ld_dateindexbase and  ld_lastadjmindexbase ) are fulfilled.

Somebody know a way to do it ?

With debug its very very hard and tiresome.

I accept suggestions.

thanks a lot.

3 REPLIES 3
Read only

Former Member
0 Likes
518

It's much easier to search for notes for SAP programs than it is to debug them. Start with note 1916749.

Rob

Read only

Former Member
0 Likes
518

Hi Ronaldo,

I think the issue is while you are filling the field catalog. Can you check once the length of the fields which you are passing  into the field catalog.

Let me know.

Thanks,

Harsha.

Read only

Former Member
0 Likes
518

Hi Ronaldo No.9,

If you do not wanna debug, you could use where used-list to check this two variables is come from where. it`s terrible if this is a standard program, you know lot`s variable pass value from one to another .

And in debugging, you can set a watch-point on this two variables with condition 'ld_dateindexbase is not initial'.

Anyway, be patient to debug, it`s another part of work of a developer.

regards,

Archer