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

Research divide by 0 in programs

Former Member
0 Likes
809

Hi.

We had a problem in one of our programs. We had a dump because of a division by 0. Before this instruction we forgot to control that the number is different from '0'.

Now I have to check all programs to be sure that we don't have another case like this one. The problem is that the programmers used the character '/' for divisions instead of the instruction 'DIVIDE'.

So when i research all the sources for the char /, i have the following message

Please supply delimiter / at the end of the string

and i can't make my research on this character.

Does anyone have an idea on how i make my research ?

Thanks for your help.

1 ACCEPTED SOLUTION
Read only

former_member416164
Participant
0 Likes
780

Hi,

I think "/" is interpreted as a wildcard...

Maybe you'll need to write a little program to do this search...

Table TRDIR contains all abap reports and instruction "READ REPORT n INTO itab" can be used to load an abap ion an internal table.

Hope this help

Regards

Jean-Michel

6 REPLIES 6
Read only

Former Member
0 Likes
780

Hi,

r u searching using the global search? then this error will occur. try searching using Ctrl+F (Find/Replace) option. it wont throw an error.

Read only

Former Member
0 Likes
780

Hi

Try to use the program RPR_ABAP_SOURCE_SCAN

Max

Read only

Former Member
0 Likes
780

when you are doing global search ,

search for  '/'  " use single quotes while searching

Message was edited by:

Chandrasekhar Jagarlamudi

Read only

former_member416164
Participant
0 Likes
781

Hi,

I think "/" is interpreted as a wildcard...

Maybe you'll need to write a little program to do this search...

Table TRDIR contains all abap reports and instruction "READ REPORT n INTO itab" can be used to load an abap ion an internal table.

Hope this help

Regards

Jean-Michel

Read only

0 Likes
780

Thanks everyone for your answers.

I'm using the program RPR_ABAP_SOURCE_SCAN.

It's very helpful.

Read only

Former Member
0 Likes
780

Hi,

U can also go for the global search.

Just give / (Wild card * on either side of /) and it will search it for u

Reward if useful