Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

Run time error while creating Service PR

$
0
0

Hi Experts,

I am encountering a run time error shown below while creating service purchase requisition.

Category               ABAP Programming Error

Runtime Errors         MESSAGE_TYPE_UNKNOWN

ABAP Program           SAPLMEREQ

Application Component  MM-PUR

Date and Time          26.11.2014 13:11:46

 

We have implemented an enhancement - MEREQ001 and exit - EXIT_SAPLMEREQ_010 for validation for G/L and cost centre.

Its function is that it checks whether GL and Cost centre combination is maintained in a Z-table or not. If not then it gives error message.

Now if I create a PR with only acc assignment category K (cost center), then it works properly.

The problem only comes when the item category is D (services).

For this case it goes to the user exit and while giving error message, the above mentioned run time error comes.

I have dubugged many times with both the case and found out that below system fields gets blank in services PR resulting to runtime error.

     sy-msgty

     sy-msgid

     sy-msgno

Above system fields come in the include LMEREQF56 which I suppose is used to fetch data of PR to screen .

Pls find the screen shots for above issue and help to find out the problem.

 

 

Thanks,

Vishal.

1.jpg

 

2.jpg


Viewing all articles
Browse latest Browse all 9159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>