on 2025 May 06 12:33 PM
Hello Team ,
We are encountering an issue where the BASIS team accidentally archived purchase orders, and now all open inspection lots are facing errors while performing the Usage Decision. Could you please advise on how to bypass this error and whether there will be any impact if we skip it?"
Request clarification before answering.
Hello @AV1976
I don't think there is a good solution in your situation. I wonder how you managed to get yourself into such a trouble in the first place? How was it possible to archive and delete purchase orders with pending usage decisions? That looks like a huge gap that needs to be closed.
The MM_EKKO archiving object doesn't provide a reload program, at least not in standard. So you can't reload the missing purchase orders.
The message M7150 comes from several places in the VBWS_CORRECTION_EKBE function module, which in turn is called from the VBWS_BATCH_VALUATION_CHANGE_UD function:
which in turn is called from the QMSP_VALUATE_CHARACTERISTIC function:
As far as I understand, the functions update batch classification during usage decision posting. You might try to clear e_post_classification under debugger, which would skip the update and error message. That won't update batch classification, but might allow to post the usage decision. Then you would need to verify batch classification. Those are just lose suggestions, not a ready-made solution. You need to test that thoroughly and verify all side effects.
I'd also suggest contacting SAP support. They might have a better idea.
Best regards
Dominik Tylczynski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.