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

Run tym error "program not found"

Former Member
0 Likes
2,439

hi frends i am executing a program that reads data from two tables then multiply two field values to obtain the result.But when i execute the program a run time error msg " program 'Zpmreportnew' not found " occurs. before it on execution some run time error related to overflow during arithmetic calculation was being displayed and now this error.

Plz help me to solve it. my code is :

REPORT ZPMREPORTNEW.

data var1(10) type n.

data var_mat_no(18) type c.

data var_qty(10) type p decimals 3.

data var_mov_price(7) type p.

data var_cost(7) type p decimals 3.

tables RESB.

select * from RESB .

var_qty = RESB-BDMNG. "it assigns req qty to var_qty.

var_mat_no = RESB-MATNR. " it assigns the material no of the reserved material to the var_mat_no.

tables MBEW.

select * from MBEW where MATNR = var_mat_no.

var_mov_price = MBEW-VERPR. " it assigns moving price to var_mov_price.

endselect.

write: / 'var_qty =', var_qty,

/'var_mov_price= ', var_mov_price.

var_cost = var_mov_price * var_qty.

write / ' req cost is '.

write / var_cost.

endselect.

Edited by: achalmehra on Sep 17, 2009 10:12 AM

Edited by: achalmehra on Sep 17, 2009 10:12 AM

hi frends i am executing a program that reads data from two tables then multiply two field values to obtain the result.But when i execute the program a run time error msg " program 'Zpmreportnew' not found " occurs. before it on execution some run time error related to overflow during arithmetic calculation was being displayed and now this error.

Plz help me to solve it. my code is :

REPORT ZPMREPORTNEW.

data var1(10) type n.

data var_mat_no(18) type c.

data var_qty(10) type p decimals 3.

data var_mov_price(7) type p.

data var_cost(7) type p decimals 3.

tables RESB.

select * from RESB .

var_qty = RESB-BDMNG. "it assigns req qty to var_qty.

var_mat_no = RESB-MATNR. " it assigns the material no of the reserved material to the var_mat_no.

tables MBEW.

select * from MBEW where MATNR = var_mat_no.

var_mov_price = MBEW-VERPR. " it assigns moving price to var_mov_price.

endselect.

write: / 'var_qty =', var_qty,

/'var_mov_price= ', var_mov_price.

var_cost = var_mov_price * var_qty.

write / ' req cost is '.

write / var_cost.

endselect.

Edited by: achalmehra on Sep 17, 2009 10:12 AM

Edited by: achalmehra on Sep 17, 2009 10:12 AM

19 REPLIES 19
Read only

Former Member
0 Likes
2,325

Hi

Try to generate it again

Max

Read only

0 Likes
2,325

i tried it several tyms.evry tym i tried it to execute same run tym error occurd that loading prgram not found

Read only

0 Likes
2,325

Hi

How do you run it? BY SE38?

If it's so try to post the main parts of the dump

Max

Read only

0 Likes
2,325

yes i am using se38.

Read only

0 Likes
2,325

It is working fine on my system.. no traces of any dump..

Read only

0 Likes
2,325

but sachin if it is wrkng fine wid ur systm then wat cud be th prblm wid mine?

Read only

0 Likes
2,325

Can u post the dump?

U can see it by ST22

Max

Read only

0 Likes
2,325

sachin cud u plz paste ouput for me.is it showing the cost of each nd every reservtion.

Read only

0 Likes
2,325

i just wanna know that my program is right or wrong.

Read only

0 Likes
2,325

Hi,

Your code is giving following output:

17.09.2009 ZPMREPORTNEW. 1

-


var_qty = 80,600

var_mov_price= 1

req cost is

80,600

var_qty = 10,000

var_mov_price= 0

req cost is

0,000

var_qty = 8,000

var_mov_price= 0

req cost is

0,000

var_qty = 110,000

var_mov_price= 0

req cost is

0,000

var_qty = 0,000

var_mov_price= 2

req cost is

0,000

var_qty = 53,400

var_mov_price= 0

req cost is

0,000

var_qty = 2,400

var_mov_price= 0

req cost is

0,000

var_qty = 1,600

var_mov_price= 0

req cost is

0,000

var_qty = 167,400

var_mov_price= 0

req cost is

0,000

var_qty = 0,000

var_mov_price= 0

req cost is

0,000

var_qty = 125,000

var_mov_price= 0

req cost is

0,000

var_qty = 20,000

var_mov_price= 0

req cost is

0,000

var_qty = 5,000

var_mov_price= 0

req cost is

0,000

var_qty = 15,000

var_mov_price= 2

Read only

0 Likes
2,325

yeah thnx dear i tried it on my quality server and it is wrkng fine ther.thnx a lot for help

Read only

0 Likes
2,325

Hi

Your code is ok, I think some problem is in SAP memory or in some system tables of SAP after the previous dumps, probably now something is missiing there.

If you can post the dump (the main part of it), perhaps we can have more informations

Max

Read only

0 Likes
2,325

good that it is working fine.. Can you please still post the dump trace so that we can check why the problem was occuring??

Read only

0 Likes
2,325

hi sachin by dump post u wanna ask for the source code or that error screen

Read only

0 Likes
2,325

Hi,

go to tcode ST22 and select the error which you faced. Copy the information in ABAP Developer View Folder adn paste it here.

Regards,

Sachin

Read only

0 Likes
2,325

Short text

Program "!PMREPORTNEW1" not found.

What happened?

There are several possibilities:

Error in the ABAP Application Program

The current ABAP program "SAPLALDB" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

or

Error in the SAP kernel.

The current ABAP "SAPLALDB" program had to be terminated because the

ABAP processor detected an internal system error.

What can you do?

Note down which actions and inputs caused the error.

To process the problem further, contact you SAP system

administrator.

Using Transaction ST22 for ABAP Dump Analysis, you can look

at and manage termination messages, and you can also

keep them for a long time.

Error analysis

On account of a branch in the program

(CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)

However, program "!PMREPORTNEW1" does not exist in the library.

Possible reasons:

a) Wrong program name specified in an external PERFORM or

SUBMIT or, when defining a new transaction, a new

dialog module or a new function module.

b) Transport error

Read only

0 Likes
2,325

Hi

!PMREPORTNEW1: it means your program was buffered, and now the system tries to run this program instead of ZPMREPORTNEW1.

U should check some OSS note

Max

Read only

Former Member
0 Likes
2,325

Hi

Goto table D020S, and give your program name, check whether your program stored in the memory or not

Rgds,

Sripal

Read only

Former Member
0 Likes
2,325

Hi achalmehra ,

Are you using any Logical database.