SAP IBAPI_H_CHANGE_INTERNAL Function Module for NOTRANSL: Ändern eines ALM-Auftragskopfs
IBAPI_H_CHANGE_INTERNAL is a standard ibapi h change internal SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Ändern eines ALM-Auftragskopfs 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 ibapi h change internal FM, simply by entering the name IBAPI_H_CHANGE_INTERNAL into the relevant SAP transaction such as SE37 or SE38.
Function Group: IBAPI_H
Program Name: SAPLIBAPI_H
Main Program: SAPLIBAPI_H
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function IBAPI_H_CHANGE_INTERNAL 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 'IBAPI_H_CHANGE_INTERNAL'"NOTRANSL: Ändern eines ALM-Auftragskopfs.
EXPORTING
IS_CAUFVD = "Dialog Structure for Order Headers and Item
* IS_RESBD = "Reservation/Dependent Requirements
* IS_RESBDX = "PM/CS BAPI Order Components (Update Structure for RESBD)
* IT_SERNO_OLIST = "Table Type for Serial Number Object List
* IT_SERNO_OLIST_DEL = "Table Type for Serial Number Object List
* IV_QMART = "Message Type
* IV_QMARTX = "
* IS_CAUFVDX = "ALM Order BAPIs: Extended Update Structure for Order Header
* IS_PMSDO = "PM organizational data for SD documents
* IS_PMSDOX = "
* IV_LOC_WKCTR = "Main work center for maintenance tasks
* IV_NETWK_OPERATN = "Operation Number
* IV_WRITE_TO_BUFFER = "
* IS_AFPOD = "Order Item Dialog Structure
* IS_AFPODX = "ALM Order BAPIs: Enhanced Update Structure for Order Item
IMPORTING
ES_CAUFVD = "Dialog Structure for Order Headers and Item
ES_PMSDO = "PM organizational data for SD documents
EV_LOC_WKCTR = "Main work center for maintenance tasks
EV_NETWK_OPERATN = "Operation Number
ES_AFPOD = "Order Item Dialog Structure
TABLES
* IT_EXTENSION_UP = "Update Fields for Enhancement Fields
ET_MESSAGES = "Application Log: Table with Messages
IMPORTING Parameters details for IBAPI_H_CHANGE_INTERNAL
IS_CAUFVD - Dialog Structure for Order Headers and Item
Data type: CAUFVDOptional: No
Call by Reference: No ( called with pass by value option)
IS_RESBD - Reservation/Dependent Requirements
Data type: RESBDOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_RESBDX - PM/CS BAPI Order Components (Update Structure for RESBD)
Data type: IBAPI_RESBD_UPDATEOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SERNO_OLIST - Table Type for Serial Number Object List
Data type: REFORD_SERNO_OLIST_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SERNO_OLIST_DEL - Table Type for Serial Number Object List
Data type: REFORD_SERNO_OLIST_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_QMART - Message Type
Data type: QMARTOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_QMARTX -
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
IS_CAUFVDX - ALM Order BAPIs: Extended Update Structure for Order Header
Data type: IBAPI_CAUFVD_UPDATEOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_PMSDO - PM organizational data for SD documents
Data type: PMSDOOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_PMSDOX -
Data type: IBAPI_PMSDO_UPDATEOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_LOC_WKCTR - Main work center for maintenance tasks
Data type: GEWRKOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_NETWK_OPERATN - Operation Number
Data type: VORNROptional: Yes
Call by Reference: No ( called with pass by value option)
IV_WRITE_TO_BUFFER -
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
IS_AFPOD - Order Item Dialog Structure
Data type: AFPODOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_AFPODX - ALM Order BAPIs: Enhanced Update Structure for Order Item
Data type: IBAPI_AFPOD_UPDATEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for IBAPI_H_CHANGE_INTERNAL
ES_CAUFVD - Dialog Structure for Order Headers and Item
Data type: CAUFVDOptional: No
Call by Reference: No ( called with pass by value option)
ES_PMSDO - PM organizational data for SD documents
Data type: PMSDOOptional: No
Call by Reference: No ( called with pass by value option)
EV_LOC_WKCTR - Main work center for maintenance tasks
Data type: GEWRKOptional: No
Call by Reference: No ( called with pass by value option)
EV_NETWK_OPERATN - Operation Number
Data type: VORNROptional: No
Call by Reference: No ( called with pass by value option)
ES_AFPOD - Order Item Dialog Structure
Data type: AFPODOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for IBAPI_H_CHANGE_INTERNAL
IT_EXTENSION_UP - Update Fields for Enhancement Fields
Data type: IWOS_EXTENSION_UPOptional: Yes
Call by Reference: Yes
ET_MESSAGES - Application Log: Table with Messages
Data type: BAL_T_MSGOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for IBAPI_H_CHANGE_INTERNAL 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_es_caufvd | TYPE CAUFVD, " | |||
| lv_is_caufvd | TYPE CAUFVD, " | |||
| lt_it_extension_up | TYPE STANDARD TABLE OF IWOS_EXTENSION_UP, " | |||
| lv_is_resbd | TYPE RESBD, " | |||
| lv_is_resbdx | TYPE IBAPI_RESBD_UPDATE, " | |||
| lv_it_serno_olist | TYPE REFORD_SERNO_OLIST_T, " | |||
| lv_it_serno_olist_del | TYPE REFORD_SERNO_OLIST_T, " | |||
| lv_iv_qmart | TYPE QMART, " | |||
| lv_iv_qmartx | TYPE C, " | |||
| lv_es_pmsdo | TYPE PMSDO, " | |||
| lv_is_caufvdx | TYPE IBAPI_CAUFVD_UPDATE, " | |||
| lt_et_messages | TYPE STANDARD TABLE OF BAL_T_MSG, " | |||
| lv_is_pmsdo | TYPE PMSDO, " | |||
| lv_ev_loc_wkctr | TYPE GEWRK, " | |||
| lv_is_pmsdox | TYPE IBAPI_PMSDO_UPDATE, " | |||
| lv_ev_netwk_operatn | TYPE VORNR, " | |||
| lv_es_afpod | TYPE AFPOD, " | |||
| lv_iv_loc_wkctr | TYPE GEWRK, " | |||
| lv_iv_netwk_operatn | TYPE VORNR, " | |||
| lv_iv_write_to_buffer | TYPE C, " | |||
| lv_is_afpod | TYPE AFPOD, " | |||
| lv_is_afpodx | TYPE IBAPI_AFPOD_UPDATE. " |
|   CALL FUNCTION 'IBAPI_H_CHANGE_INTERNAL' "NOTRANSL: Ändern eines ALM-Auftragskopfs |
| EXPORTING | ||
| IS_CAUFVD | = lv_is_caufvd | |
| IS_RESBD | = lv_is_resbd | |
| IS_RESBDX | = lv_is_resbdx | |
| IT_SERNO_OLIST | = lv_it_serno_olist | |
| IT_SERNO_OLIST_DEL | = lv_it_serno_olist_del | |
| IV_QMART | = lv_iv_qmart | |
| IV_QMARTX | = lv_iv_qmartx | |
| IS_CAUFVDX | = lv_is_caufvdx | |
| IS_PMSDO | = lv_is_pmsdo | |
| IS_PMSDOX | = lv_is_pmsdox | |
| IV_LOC_WKCTR | = lv_iv_loc_wkctr | |
| IV_NETWK_OPERATN | = lv_iv_netwk_operatn | |
| IV_WRITE_TO_BUFFER | = lv_iv_write_to_buffer | |
| IS_AFPOD | = lv_is_afpod | |
| IS_AFPODX | = lv_is_afpodx | |
| IMPORTING | ||
| ES_CAUFVD | = lv_es_caufvd | |
| ES_PMSDO | = lv_es_pmsdo | |
| EV_LOC_WKCTR | = lv_ev_loc_wkctr | |
| EV_NETWK_OPERATN | = lv_ev_netwk_operatn | |
| ES_AFPOD | = lv_es_afpod | |
| TABLES | ||
| IT_EXTENSION_UP | = lt_it_extension_up | |
| ET_MESSAGES | = lt_et_messages | |
| . " IBAPI_H_CHANGE_INTERNAL | ||
ABAP code using 7.40 inline data declarations to call FM IBAPI_H_CHANGE_INTERNAL
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.Search for further information about these or an SAP related objects