RH_BASE_READ_INFTY_NNNN is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name RH_BASE_READ_INFTY_NNNN into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RHDB
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RH_BASE_READ_INFTY_NNNN' "
EXPORTING
* authority = 'DISP' " Function Code for Authorization Check
* with_stru_auth = 'X' " With structural authorization check
plvar = " plog-plvar Plan Version
infty = " plog-infty Info. Category
* istat = SPACE " plog-istat Status
* extend = 'X' " hrrhdb-sort
* begda = '19000101' " plog-begda Start Date (EXTEND = X)
* endda = '99991231' " plog-endda End Date (EXTEND = X)
* subty = SPACE " plog-subty Subtype (EXTEND = X)
* condition = '00000' " hrrhdb-condition Condition (EXTEND = D)
* inftb = '1' " pppch-inftb Toggle Table Infotype (1=Toggle, 0=No Toggle)
* selid = SPACE " hrrhdb-selid
* sort = 'X' " hrrhdb-sort Sort Data Table
TABLES
innnn = " Data Table
range = " Object Range
EXCEPTIONS
NOTHING_FOUND = 1 " No data selected
WRONG_CONDITION = 2 "
PLOG_NOT_SUPPORTED = 3 "
. " RH_BASE_READ_INFTY_NNNN
The ABAP code below is a full code listing to execute function module RH_BASE_READ_INFTY_NNNN including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| it_innnn | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_innnn | LIKE LINE OF it_innnn , |
| it_range | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_range | LIKE LINE OF it_range . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_authority | TYPE STRING , |
| it_innnn | TYPE STANDARD TABLE OF STRING , |
| wa_innnn | LIKE LINE OF it_innnn, |
| ld_with_stru_auth | TYPE STRING , |
| it_range | TYPE STANDARD TABLE OF STRING , |
| wa_range | LIKE LINE OF it_range, |
| ld_plvar | TYPE PLOG-PLVAR , |
| ld_infty | TYPE PLOG-INFTY , |
| ld_istat | TYPE PLOG-ISTAT , |
| ld_extend | TYPE HRRHDB-SORT , |
| ld_begda | TYPE PLOG-BEGDA , |
| ld_endda | TYPE PLOG-ENDDA , |
| ld_subty | TYPE PLOG-SUBTY , |
| ld_condition | TYPE HRRHDB-CONDITION , |
| ld_inftb | TYPE PPPCH-INFTB , |
| ld_selid | TYPE HRRHDB-SELID , |
| ld_sort | TYPE HRRHDB-SORT . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name RH_BASE_READ_INFTY_NNNN or its description.