cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Records Locking for preceeding documents in MM

Former Member
0 Kudos

*Hi Experts,*

Our client have a current requirement. They want that all the preceding documents to be locked once the subsequent documents are converted and posted. Eg- when PR converted to PO, PR to be locked or disable, PO converted to MIGO, PO to be locked, After MIRO, MIGO locked or no reversal or cancellation of MIGO document.

I tried to disable the PR by screen layout assign to release status. Then set the GR based I V to avoid reversal og MIGO, but this to be in a flow. Can you please guide me in some enhancement needed in this or any standard BADI exist or help me in getting the logic for this functionality.

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sayed,

Thanks for your early response to this. I am also thinking of the same logic as you suggested. Can you please guide me in some more information as how you developed this functionality as may be functional logic. Also can we make this user specific.

This is a very critical issue as of now for client. Please guide me on this.

Thanks

Pradeep.

Former Member
0 Kudos

Dear,

When PO created for PR, PR cannot be changed either at item level or add new items. If partial quaniy PO made, PR quantity can be changed subject to remaining pending delivery quantity. Once PO deleted - PR info changeable.

Once GRN made for the PO, PO item cannot be changed either item level or header level including delivery completed indicator also not set.

We done these restrictions with help of ABAPer. First identify fileds for validations like sheduled delivered quanity, pending qanity, PO history and give idea to development team.

Regards,

Syed Hussain.

former_member221541
Contributor
0 Kudos

Hi Syed,

Are you saying "PR can not be chaged once PO is created" - is this statement true for your system only because you have done some developement via ABAP help, please confirm.

Because Standard SAP system does not stop you in changing PReq even if PO is created for full qty of Preq.

Hi Pradeep,

You can use "System message attributes settings "(avaialble in SPRO) to trigger a pop up when sombody tries to change a Preq for which PO (full qty)has been created. I believe below meesage number will fulfil your requirement for Preq to PO scenario.

Go to SPRO>MM>Environment Data>Define Attribute of System Messages>System Messages-->Message number - 0076 (Materials of requisition & item & alr. ordered in full).

Thanks,

Yogesh