OIRE_VALIDATION 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 OIRE_VALIDATION into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
OIRE_PC_UPLOAD
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'OIRE_VALIDATION' "Validation
EXPORTING
* i_call_mode = 'H' " char1 'H' -Create, 'V' -Change
i_procid = " oiraprocdef-procdef Process ID
* i_dtf_is_sorted = 'X' " char1 Indicator, if the DTF tables are sorted
TABLES
xdtfloch = " oireuplkxxxx SSR PC: Internal table for the PC header transactions
xdtfloci = " oireuplpxxxx SSR PC: Internal table for payment card item transactions
* t_dtf_hdr_org = " oireuplkxxxx SSR PC: Template for generated DTF tables (header)
* t_dtf_itm_org = " oireuplpxxxx SSR PC: DTF table for item information
. " OIRE_VALIDATION
The ABAP code below is a full code listing to execute function module OIRE_VALIDATION 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_xdtfloch | TYPE STANDARD TABLE OF OIREUPLKXXXX,"TABLES PARAM |
| wa_xdtfloch | LIKE LINE OF it_xdtfloch , |
| it_xdtfloci | TYPE STANDARD TABLE OF OIREUPLPXXXX,"TABLES PARAM |
| wa_xdtfloci | LIKE LINE OF it_xdtfloci , |
| it_t_dtf_hdr_org | TYPE STANDARD TABLE OF OIREUPLKXXXX,"TABLES PARAM |
| wa_t_dtf_hdr_org | LIKE LINE OF it_t_dtf_hdr_org , |
| it_t_dtf_itm_org | TYPE STANDARD TABLE OF OIREUPLPXXXX,"TABLES PARAM |
| wa_t_dtf_itm_org | LIKE LINE OF it_t_dtf_itm_org . |
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_i_call_mode | TYPE CHAR1 , |
| it_xdtfloch | TYPE STANDARD TABLE OF OIREUPLKXXXX , |
| wa_xdtfloch | LIKE LINE OF it_xdtfloch, |
| ld_i_procid | TYPE OIRAPROCDEF-PROCDEF , |
| it_xdtfloci | TYPE STANDARD TABLE OF OIREUPLPXXXX , |
| wa_xdtfloci | LIKE LINE OF it_xdtfloci, |
| ld_i_dtf_is_sorted | TYPE CHAR1 , |
| it_t_dtf_hdr_org | TYPE STANDARD TABLE OF OIREUPLKXXXX , |
| wa_t_dtf_hdr_org | LIKE LINE OF it_t_dtf_hdr_org, |
| it_t_dtf_itm_org | TYPE STANDARD TABLE OF OIREUPLPXXXX , |
| wa_t_dtf_itm_org | LIKE LINE OF it_t_dtf_itm_org. |
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 OIRE_VALIDATION or its description.
OIRE_VALIDATION - Validation OIRE_VALIDATE_MATERIALS - check if materials are allowed to be sold with card type OIRE_VALIDATE_CARD_AT_PBL - Card type valid at business location OIRE_UPLOAD_PROCESS_STATUS - Process status update for the upload process OIRE_UPLOAD_PROCESS_PREPARE - Payment card transaction upload process prepare loc. table OIRE_UPLOAD - Function module for all parts of the upload process