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
↧