cancel
Showing results for 
Search instead for 
Did you mean: 

Authorization for block/ubblock indicator

Former Member
0 Kudos

Hi

I am facing authorization Issue. Our scenario is as follows:

Purchase Order for services will be created. Release strategy will effect. If partail service entries has been done and Vendor has been left out in middle or due to poor workmanship he has asked to stop the work.

Only the highest level in release strategy is authorized to block or Unblock his Purchase Order for service. If he blocks the purchase order no one shall be able to unblock the Purchase order for services.

Kindly help me out in finding the authorization object for Block/Unblock Indicator.

Thanks & Regards

Prem

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hope it will be use for u .

The user exit is the BAdI ME_PROCESS_PO_CUST (shall be implemented via trs SE18), method PROCESS_ITEM.

This method receives only one parameter which is the PO item object. This object has many interesting methods you can use, among them GET_DATA to get the current item data on the screen (including the deletion flag), GET_PREVIOUS_DATA that gives you the flag store din the database. If they are different, then the user changed the flag and you can check his/her auth. to do this.

For this purpose you will probably need to define a custom auth. object.

To issue messages use the macro mmpur_message_forced and the method INVALIDATE() of the PO item object.

Regards,

Anthyodaya

JL23
Active Contributor
0 Kudos

if only the higest level is able to block unblock an order, then this controlled by the release indicator, and not by an authorization object in ME22N

Former Member
0 Kudos

I hope it will use for u ,

The user exit is the BAdI ME_PROCESS_PO_CUST (shall be implemented via trs SE18), method PROCESS_ITEM.

This method receives only one parameter which is the PO item object. This object has many interesting methods you can use, among them GET_DATA to get the current item data on the screen (including the deletion flag), GET_PREVIOUS_DATA that gives you the flag store din the database. If they are different, then the user changed the flag and you can check his/her auth. to do this.

For this purpose you will probably need to define a custom auth. object.

To issue messages use the macro mmpur_message_forced and the method INVALIDATE() of the PO item object.

Regards,

Anthyodaya.

Former Member
0 Kudos

Hi, for this u need to take BASIS help or T-code PFCG

u need to elect the ROLES which is related ME22N .

in that u ne to put options to VIEW only for some USERs

and for some USERS u can give CHANGE option of the UNLOCK .

or hope u may get option for this in ENJOY Transaction u will find the option

Regards,

Anthyodaya.

murugan_mgl
Active Contributor
0 Kudos

HI,

Is ur requirement is, every should be able to block & unblock or only the highest should do it.Check in release indicator for the authorisaton.

murugan