cancel
Showing results for 
Search instead for 
Did you mean: 

MRRL Background job error

Former Member
0 Kudos

Hi,

Scenario at client place is Creating PO, GR, IR & self-billing invoice via MRRL (Background job).

In above mentioned process, purchase order, GR posting & reversal & Invoice happened & then deleted two line items 120,150 & 230 from PO.

when we are doing self-billing invoice to this PO by using background run in MRRL.We getting this error message

"Item 00230 for purchasing document 4700000088 not selectable “Message no. ME708"

MRRL we can’t create that self-billing invoice to any other line items because we get that error. Those line items which are deleted is supposed to be deleted but the other line items which are on PO.

There we should can create self-billing invoice by using this background run. So the problem is that if some line items have been deleted we can’t create invoice automatic to any other line items because we get above error.Client using this background run in MRRL, it opens transaction SM37.

Before background job running fine.If any PO deleted, we can made invoice automatc for rest of items in PO.

Can anydody provide input to fix this bug.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member210560
Active Contributor
0 Kudos

Dear Anup,

You received this error because you do not have entry in table EKRS for the line item.

In MRRL, for the po concerned in test mode if you highlight line item and select "Exclude from ERS", (this is the save button - ctrl + S) the system deletes the entry in table EKRS, so the document will no longer be be selected.

Regards,

ian Wong Loke Foong

Former Member
0 Kudos

Hi,

Thanks all for valuable feedback.Here at client background job run is their,Due to bulk PO's.Currently We checked manually via MMRL,invoice not making.Next time when background job will run, Will inform result.

Former Member
0 Kudos

As Jugen indicated the EKRS table contains the history of ERS movements and are only removed from that table when the MRRL program creates an invoice.  So I would go to that table for that material/PO combination and see what entries there are.   Additionally, have you checked the line item history - is it possible there was a price change on the material between the receipt and reversal?   

Sandra

JL23
Active Contributor
0 Kudos

try to get some order in this description, either a step in this scenario was not mentioned, or the sequence is not correct.:

in above mentioned process, purchase order, GR posting & reversal & Invoice happened & then deleted two line items 120,150 & 230 from PO.

you are saying invoice happened, but why again a MRRL now?

a goods receipt creates an entry in a table for MRRL process.

a reversal of GR creates a second entry in that table.

you usually have to do MRRL before you delete the PO items

Because MRRL finds now entries in that table to be processed, double checks with your PO and finds a deletion indicator, hence you get this message.


Former Member
0 Kudos

Hi Jurgen,

User can't create self billing invoice for other material in PO,which is not deleted due to this error

"Item 00230 for purchasing document 4700000088 not selectable “Message no. ME708"

User faces problem as per below.

"We use transaction MRRL and then the background run because if we don’t use it the whole process goes in error because the mass is so huge.MMRL running at background as in Program- Execute in background.After the background run we check the status from SM37 and if the status is finished we just print those created self-billing documents out. But if there is some line items,which have been deleted the background run not create self-billing document.That’s why we can’t create the invoice to the supplier. So when the vendor inform us about that they haven’t got any self-billing invoice or money we have to investigate that PO which is missing. Also we have to process that missing PO again and we have to exclude those deleted line items or else we can’t create that self-billing invoice.

Can you please provide your valuable input to fix this bug.

JL23
Active Contributor
0 Kudos

the bug is sometimes in front of the keyboard.

you are doing the wrong sequence.

you have to run MRRL before you delete the PO item.

when you do a receipt, this creates and entry in table EKRS

if you cancel the receipt, then you get a second entry in EKRS, you probably think the first entry gets deleted when you cancel the receipt, but his is not the case.

You then set the deletion indicator in the PO. This is too early, because when you next time run MRRL, then the program tries to settle these 2 EKRS entries (of course along with all other entries) but SAP cannot settle when the PO item has a deletion flag. That is the reason for your error. You have to execute MRRL for the receipt and its cancellation before your set the deletion flag to the PO item..

To solve this error: remove the deletion flag from the PO item, run MRRL only with the material document number of receipt and its cancellation. Print your invoice, set the deletion flag.

Former Member
0 Kudos

Hi Jurgen,

Thanks for your reply.Same has been tried by user.Still it created invoice for line item.User facing problem as per below.

"We tried to reverse that cancellation from line item and after that try to run MRRL run to that line item but it still try to create invoice to that item not zero invoice as it should. Why the system try to create invoice to that line item 230 PO 4700000088 (GR5001647946) although there is also that credit line (GR5001648714) and the balance between GR and IR are zero? There is not any open GR line item on pos 230. (Environment SAP PR1)"

Looking forward for your Speedy reply.

Thanks.