cancel
Showing results for 
Search instead for 
Did you mean: 

VI01 Restriction

Former Member
0 Kudos

Hi SAP Gurus,

Need help in restricting Shipment cost calculation.

Scenario:

There are 2 Plants A & B for eg:- Plant A will be creating the shipment using VT01N. The stocks will be received at Plant B.

Similarly Plant B also will create Shipment using VT01N and received at Plant A.

Requirement:

Both Plant A & Plant B will have VI01 access. We have to restrict VI01 in such a way that, only the receiving plants can create shipment cost of the shipments received and not created by the same plant.

Eg:- If shipment(SH0001) created in Plant A, shipment cost cannot be created for this shipment by Plant A user but by Plant B user who receives it.

Want to know if this could be restricted using Authorization with some objects or customization will have to be done?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Manjunath,

I dont know whether you can restrict it using the authorization objects (as it might be either created in the back ground or in the foreground with different users)

I wanted to know if the shipment document type used by Plant A (supplying plant) is the same as the shipment document type used by the receiving plant (Plant B). If yes, then, the question is can you separate it? If you can separate it, then you can opt not to assign a shipment cost document to the shipment document type used by plant A. That way, you can restrict VI01 being created from supplying plant.

If the answer to the question (to separate the shipment doc) is no, then, you will have to use some kind of a development (user exit) to check if the delivery used by the shipment document is from the supplying plant or by the receiving plant. (I think you can use LIKP/LIPS, EKBE tables to find out). By this you can stop the shipment cost doc being created.

Hope this helps...

Regards,

Mukund S

moazzam_ali
Active Contributor
0 Kudos

Hi

There are certain authorization objects that system checks when we perform VI01. Please check following objects and see if you can control with any of these objects. If you can't than you need to go for some userexit.

V_VFKK_FKAShipment Cost Processing: Auth. for shipment cost type
V_VTTK_SHTShipment Processing: Authorization for Shipment Type
V_VTTK_TDS

Shipment Processing: Auth. for Transport. Planning Points

V_LIKP_VSTDelivery: Authorization for Shipping Points

Thank$