Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

Query - select records with authority check

$
0
0

Hi, Can I extract from a query the records in relation to the users authority check? Is it possible CHECK EKPO-WERKS in relation to the object M_BEST_WRK? In particular, I have created an infoset with EKKO-EKPO with the following code: AUTHORITY-CHECK OBJECT 'M_BEST_WRK' ID 'ACTVT' FIELD '03' ID 'WERKS' FIELD EKPO-WERKS. IF SY-SUBRC NE 0. MESSAGE 001(ZAUT). ENDIF. It works, but i need that the query works like a standard transaction (ME2M). In particular, I don't need the block if i insert the wrong plant, but that the query extracts only the records related to the authorized plant. Thanks and best regards. Antonio


Viewing all articles
Browse latest Browse all 3184

Trending Articles



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