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

PM_ORDER_DATA_READ

Former Member
0 Likes
1,178

Hello all,

I need to obtain informations about a set of production orders; infos from one production order can be obtained using the function module 'PM_ORDER_DATA_READ'.

But if I try to call this FM repeatedly in a LOOP, the system throws an exception and a dump is issued.

Anybody knows why, and how this could be overcomed?

Thanks,

Bogdan

6 REPLIES 6
Read only

Former Member
0 Likes
979

Hi, What's the error? and how many times is the FM called?

Read only

0 Likes
979

The error is in fact an unhandeled exception: "ITAB_ERROR" in the program "SAPLCOIT".

This exception occurs at the second succesive call of FM "PM_ORDER_DATA_READ".

Read only

0 Likes
979

An OSS fix may be a good bet for this error searching on the function module name and/or the program name

Read only

0 Likes
979

I have the exact same problem. We run ECC5.0 and are up to date on the OSS notes. Atleast thats what I'm being told by our BASIS folks. Anybody can help us out here?

Thanks,

Nagesh

Read only

Former Member
0 Likes
979

This FM is used for printing so at the end, data is EXPORTed to memory. May be that is the reason, is gives short-dump.

In the code it is written

Read only

0 Likes
979

Yes, I noticed that.

Does that mean that I cannot use the FM repeatedly?

I tried to manually release the MEMORY after each step in the loop... but it didn't work.

Other suggestions?