Dear All,
Thanks for the reply.
But I don’t think this is technical issue, it seems SAP has purposely designed it like that. What I would like to know is what is the business logic behind allowing GR when referenced to PO but restricting it when referenced to Inbound delivery.
Currently we are working on ECC 6.0 with Plug in version SLL_PI 900_600 and GTS 10.0.
I will explain the scenario in detail.
We have created one PO which is blocked for Legal Control only (no block for SPL and Embargo)
Scenario 1 -
When you post Goods receipt using MIGO transaction with reference to PO. System will allow to post goods receipt even if PO is blocked due to License checks. It will restrict only if PO is blocked due to SPL and Embargo.I have already posted the Goods receipt with reference to PO and again reversed it.
Scenario 2 -
When you post Goods receipt using MIGO transaction with reference to Inbound delivery. System will restrict post goods receipt if PO is blocked in GTS due to any reason (including License check). I am not sure why message does not refers to GTS though it is blocked due to GTS.
Scenario 3 -
When you post Goods receipt using VL32N transaction with reference to Inbound delivery. System will restrict post goods receipt if PO is blocked in GTS due to any reason (including License check). Here system issues the correct message.
From Technical perspective I can see the this behavior is due to logic written in METHOD - ‘if_ex_sll_pi_mm0a_transfer~customs_doc_status_get’.
In this method system processes the result of function module ‘/SAPSLL/CD_STATUS_GET’ based on the scenario as I explained above.
My question is why does GR is allowed when GR posted via MIGO with reference to PO even though PO is blocked due to legal control. And why does it restricts when we post GR from VL32N or MIGO with reference to inbound delivery.
If I consider the logic that goods are physically received in the warehouse so we have to accept that though we don’t have the required Licenses but same will be the situation when we use inbound delivery then why restrict it.
Hope this clarifies my question.
Thanks,
Pradeep