Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10482

Re: Authorization for Shipping Point

$
0
0

The requirement cannot be fulfilled in the standard SAP system. You will need to implement the authorisation check in a user exit to fulfil the requirement.

 

As G. Lakshmipathi has already stated, USEREXIT_CHECK_VBAP would seem a logical place to implement an authorisation check. At this stage, the shipping point determination has been completed and you should access to the shipping point in field VBAP-VSTEL. USEREXIT_MOVE_FIELD_TO_VBEP is another place you could implement a check as by this stage, you should have the data in the XVBAP structure.

 

You will need to discuss the exact code with your own ABAP team, but you can look to other places where authorisation object V_LIKP_VST is used. For example, when processing VL01N, we see it checked here:

 

SAPMV50A FORM BERECHTIGUNG_PRUEFEN

 

* Berechtigung für diese Aktion in dieser Versandstelle

  AUTHORITY-CHECK OBJECT 'V_LIKP_VST'

       ID 'VSTEL' FIELD likp-vstel

       ID 'ACTVT' FIELD bp_actvt.

 

You can use similiar code in USEREXIT_CHECK_VBAP where you could use VBAP-VSTEL instead of LIKP-VSTEL.

 

Hope this helps.


Viewing all articles
Browse latest Browse all 10482

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>