Ansicht
Dokumentation
HR_MAPNAME_VERIFY - Generate prefix for batch input session names
PERFORM Short Reference BAL Application Log DocumentationThis documentation is copyright by SAP AG.
Functionality
This function module checks and corrects the names of batch input sessions to support the authorization check for BI sessions.
The module reads feature BIMAP and supplies a prefix that corresponds to the name of the report. If the user has not taken account of the prefix when naming the batch input sessions, the module inserts the prefix at the start of the session name. If the user does not make an entry in the session name field, the prefix and the user name are used as the session name.
Please note:
You must insert the following lines into the report coding:
data: repname like sy-repid.
initialization.
repname = sy-repid.
call function 'HR_MAPNAME_VERIFY'
exporting
mapname = map_name
reportname = repname
importing
mapname = map_name.
at selection-screen.
call function 'HR_MAPNAME_VERIFY'
exporting
mapname = map_name
reportname = repname
importing
mapname = map_name.
The map_name is the parameter used in the report for the
BI session names.
Example
The session name MUELLER becomes HR2-MUELLER, for example, if there is an entry to this effect in the feature:
000010 D REPID
000020 RPITUM00 &BIMAP=HR2-,
000030 ******** &BIMAP=HR1-,
The prefix HR2 is used for the session name in report RPITUM00. The prefix HR1 is used in all other reports.
Notes
Feature BIMAP is delivered with an empty decision tree in the SAP
standard. You can use transaction
SU03 (Maintain Authorizations) to find the object Batch Input Authorizations (technical name: S_BDC_MONI)
under Basis: Administration. This object allows you to control the authorizations on the basis of the session name combined with an activity. The permitted activities for each object are documented.
Further information
Parameters
MAPNAMEMAPNAME
REPORTNAME
Exceptions
Function Group
RPBITXBHW - Original Tax Base Amount in Local Currency TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 2374 Date: 20240523 Time: 091200 sap01-206 ( 42 ms )