PTCOR_UIA_CUSTOMIZING_GET 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 PTCOR_UIA_CUSTOMIZING_GET into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
PT_COR_REQUEST_UIA
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'PTCOR_UIA_CUSTOMIZING_GET' "
EXPORTING
im_pernr = " p_pernr Personnel Number
im_command = " ptreq_command
im_modus = " pt_req_mode Mode of Web Application
* im_debug = " boolean Boolean Variable (X=True, -=False, Space=Unknown)
IMPORTING
ex_calesettings = " ptcor_uia_calesettings_struc Structure for Correction Scenario
ex_ttypes = " ptcor_uia_ttype_tab Clock-In/Out Corr.: UIA Table of Permitted Time Event Types
ex_uiaelements = " ptcor_uia_uiaelements_struc UIA User Interface Elements
TABLES
ex_messages = " ptcor_uia_message_tab Leave Request: Message Table
ex_reasons = " ptcor_reason_tab ESS Correction Scenario: Table Type for Abs./Att. Reasons
. " PTCOR_UIA_CUSTOMIZING_GET
The ABAP code below is a full code listing to execute function module PTCOR_UIA_CUSTOMIZING_GET 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).
| ld_ex_calesettings | TYPE PTCOR_UIA_CALESETTINGS_STRUC , |
| ld_ex_ttypes | TYPE PTCOR_UIA_TTYPE_TAB , |
| ld_ex_uiaelements | TYPE PTCOR_UIA_UIAELEMENTS_STRUC , |
| it_ex_messages | TYPE STANDARD TABLE OF PTCOR_UIA_MESSAGE_TAB,"TABLES PARAM |
| wa_ex_messages | LIKE LINE OF it_ex_messages , |
| it_ex_reasons | TYPE STANDARD TABLE OF PTCOR_REASON_TAB,"TABLES PARAM |
| wa_ex_reasons | LIKE LINE OF it_ex_reasons . |
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_ex_calesettings | TYPE PTCOR_UIA_CALESETTINGS_STRUC , |
| ld_im_pernr | TYPE P_PERNR , |
| it_ex_messages | TYPE STANDARD TABLE OF PTCOR_UIA_MESSAGE_TAB , |
| wa_ex_messages | LIKE LINE OF it_ex_messages, |
| ld_ex_ttypes | TYPE PTCOR_UIA_TTYPE_TAB , |
| ld_im_command | TYPE PTREQ_COMMAND , |
| it_ex_reasons | TYPE STANDARD TABLE OF PTCOR_REASON_TAB , |
| wa_ex_reasons | LIKE LINE OF it_ex_reasons, |
| ld_ex_uiaelements | TYPE PTCOR_UIA_UIAELEMENTS_STRUC , |
| ld_im_modus | TYPE PT_REQ_MODE , |
| ld_im_debug | TYPE BOOLEAN . |
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 PTCOR_UIA_CUSTOMIZING_GET or its description.