cancel
Showing results for 
Search instead for 
Did you mean: 

problem in issue bill print preview

Former Member
0 Kudos

as soon as I hit issue and click print preview in display billing document the following dump get prcessed,

its nt for all the documents its coming for some documents,

Runtime errors BCD_ZERODIVIDE

Exception CX_SY_ZERODIVIDE

Occurred on 30.07.2009 at 11:31:18

Division by 0 (type P) in program "/1BCDWB/SAPLSF00000079"

What happened?

Error in ABAP application program.

The current ABAP program "/1BCDWB/SAPLSF00000079" had to be terminated because

one of the

statements could not be executed.

This is probably due to an error in the ABAP program.

What can you do?

Print out the error message (using the "Print" function)

and make a note of the actions and input that caused the

error.

To resolve the problem, contact your SAP system administrator.

You can use transaction ST22 (ABAP Dump Analysis) to view and administer

termination messages, especially those beyond their normal deletion

date.

Error analysis

An exception occurred. This exception is dealt with in more detail below

. The exception, which is assigned to the class 'CX_SY_ZERODIVIDE', was neither

caught nor passed along using a RAISING clause, in the procedure "%GLOBAL_INIT"

"(FORM)"

.

Since the caller of the procedure could not have expected this exception

to occur, the running program was terminated.

The reason for the exception is:

In the current program "/1BCDWB/SAPLSF00000079", an arithmetic operation

('DIVIDE',

'/', 'DIV', or 'MOD') with a type P operand attempted to divide

by 0.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member1249468
Contributor
0 Kudos

Hi ,

As suggested by other users ,pls check the smartform for one invoice which is giving problem in debugging mode.The posssible reasons might be either the text is not fitting in window or bug in driver program for invoice currency .Abaper will help you the same ,if you give the invoice no.which is giving trouble.

Regards,

Pasapula

Former Member
0 Kudos

Hi,

There may be issue of width of the window in smartform . Some text are not fit in specified window Please check with Abaper.

Regards,

Devendra

Former Member
0 Kudos

Hi ,

This kind of error generally occurs if the wrong program is assigned to your output type.

Check the same in transaction NACE under application V3.

Regards

Karan

Former Member
0 Kudos

hi Karan,

Checked the same , but i think the entries are correct coz they work fine for all billing docuents except for few.

former_member673464
Active Contributor
0 Kudos

hi Shwetha,

This runtime error is occuring in the smartform/adobe form call. So it might be error in the smartform or adobeform in which you might have written some code. Here in calculations some variable has been divided with another variable which is having value 0(zero). Sometimes you might not have values for that variable like some pricing condition value. Please ask some abaper to look into this issue. I am sure it is a error in the smartform or adobe form.That error is occuring in the function module which generated when we activate smartform or adobe form.

Regards,

Veeresh