SAP OII_SCP_CHANGE_POINTER_SET Function Module for Set change pointer for site control parameter object
OII_SCP_CHANGE_POINTER_SET is a standard oii scp change pointer set SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Set change pointer for site control parameter object processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for oii scp change pointer set FM, simply by entering the name OII_SCP_CHANGE_POINTER_SET into the relevant SAP transaction such as SE37 or SE38.
Function Group: OIKP
Program Name: SAPLOIKP
Main Program: SAPLOIKP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function OII_SCP_CHANGE_POINTER_SET pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'OII_SCP_CHANGE_POINTER_SET'"Set change pointer for site control parameter object.
EXPORTING
I_OWNING_OBJ = "
I_OBJECT_TYPE = "
* I_CDOBJID = 'OIISCP' "Object value
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLOIKP_100 user exit to change order idoc name
EXIT_SAPLOIKP_110 User exit in module IDOC_INPUT_OILSH1 for user segments
EXIT_SAPLOIKP_120 User exit in the end of order distribution process (TPI)
EXIT_SAPLOIKP_130 TPI Shipment inbound process: Before delivery creation
EXIT_SAPLOIKP_140 TPI: Shipment inbound. Before order creation
EXIT_SAPLOIKP_150 TPI: Distribution of locations before IDoc data is filled
EXIT_SAPLOIKP_160 TPI: Distribution of locations after IDoc data is filled
EXIT_SAPLOIKP_170 exit in oii_scp_change_pointer_set to change message type
EXIT_SAPLOIKP_190 Exit in IDOC_INPUT_OILSH1 to change message type
EXIT_SAPLOIKP_200 TAS/TPI: Calling further IDOC processing
EXIT_SAPLOIKP_210 User Exit to change IDOC control structure for location data
EXIT_SAPLOIKP_230 User Exit to create IDOC for Order distribution to TPS.
EXIT_SAPLOIKP_240 User Exit to modify IDOC control structure for shipment distribution.
IMPORTING Parameters details for OII_SCP_CHANGE_POINTER_SET
I_OWNING_OBJ -
Data type: KNA1-KUNNROptional: No
Call by Reference: No ( called with pass by value option)
I_OBJECT_TYPE -
Data type: BDI_CHPTR-TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_CDOBJID - Object value
Data type: BDI_CHPTR-CDOBJIDDefault: 'OIISCP'
Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for OII_SCP_CHANGE_POINTER_SET Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_i_owning_obj | TYPE KNA1-KUNNR, " | |||
| lv_i_object_type | TYPE BDI_CHPTR-TABNAME, " | |||
| lv_i_cdobjid | TYPE BDI_CHPTR-CDOBJID. " 'OIISCP' |
|   CALL FUNCTION 'OII_SCP_CHANGE_POINTER_SET' "Set change pointer for site control parameter object |
| EXPORTING | ||
| I_OWNING_OBJ | = lv_i_owning_obj | |
| I_OBJECT_TYPE | = lv_i_object_type | |
| I_CDOBJID | = lv_i_cdobjid | |
| . " OII_SCP_CHANGE_POINTER_SET | ||
ABAP code using 7.40 inline data declarations to call FM OII_SCP_CHANGE_POINTER_SET
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single KUNNR FROM KNA1 INTO @DATA(ld_i_owning_obj). | ||||
| "SELECT single TABNAME FROM BDI_CHPTR INTO @DATA(ld_i_object_type). | ||||
| "SELECT single CDOBJID FROM BDI_CHPTR INTO @DATA(ld_i_cdobjid). | ||||
| DATA(ld_i_cdobjid) | = 'OIISCP'. | |||
Search for further information about these or an SAP related objects