SAP IBAPI_ALM_ORDER_POST Function Module for NOTRANSL: ALM-AuftragsBAPIs: Verbuchungstabellen füllen
IBAPI_ALM_ORDER_POST is a standard ibapi alm order post 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: ALM-AuftragsBAPIs: Verbuchungstabellen füllen 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 alm order post FM, simply by entering the name IBAPI_ALM_ORDER_POST into the relevant SAP transaction such as SE37 or SE38.
Function Group: IBAPI_ALM_ORDER_FUNCTIONS
Program Name: SAPLIBAPI_ALM_ORDER_FUNCTIONS
Main Program: SAPLIBAPI_ALM_ORDER_FUNCTIONS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function IBAPI_ALM_ORDER_POST 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_ALM_ORDER_POST'"NOTRANSL: ALM-AuftragsBAPIs: Verbuchungstabellen füllen.
EXPORTING
IV_NO_SCHEDULING = "
IV_NO_CALCULATION = "
* IV_MMSRV_EXTERNAL_MAINTENACE = "
TABLES
* IT_ORDERS = "
* ET_MESSAGES = "Application Log: Table with Messages
* ET_CAUFVDN = "Temporary/new order numbers + accompanying notif. numbers
EXCEPTIONS
MESSAGE_WITHOUT_LOG = 1
IMPORTING Parameters details for IBAPI_ALM_ORDER_POST
IV_NO_SCHEDULING -
Data type:Optional: No
Call by Reference: Yes
IV_NO_CALCULATION -
Data type:Optional: No
Call by Reference: Yes
IV_MMSRV_EXTERNAL_MAINTENACE -
Data type: ABAP_BOOLOptional: Yes
Call by Reference: Yes
TABLES Parameters details for IBAPI_ALM_ORDER_POST
IT_ORDERS -
Data type: ALMB_AUFNROptional: Yes
Call by Reference: Yes
ET_MESSAGES - Application Log: Table with Messages
Data type: BAL_T_MSGOptional: Yes
Call by Reference: Yes
ET_CAUFVDN - Temporary/new order numbers + accompanying notif. numbers
Data type: CAUFVDNOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
MESSAGE_WITHOUT_LOG -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for IBAPI_ALM_ORDER_POST 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: | ||||
| lt_it_orders | TYPE STANDARD TABLE OF ALMB_AUFNR, " | |||
| lv_iv_no_scheduling | TYPE ALMB_AUFNR, " | |||
| lv_message_without_log | TYPE ALMB_AUFNR, " | |||
| lt_et_messages | TYPE STANDARD TABLE OF BAL_T_MSG, " | |||
| lv_iv_no_calculation | TYPE BAL_T_MSG, " | |||
| lt_et_caufvdn | TYPE STANDARD TABLE OF CAUFVDN, " | |||
| lv_iv_mmsrv_external_maintenace | TYPE ABAP_BOOL. " |
|   CALL FUNCTION 'IBAPI_ALM_ORDER_POST' "NOTRANSL: ALM-AuftragsBAPIs: Verbuchungstabellen füllen |
| EXPORTING | ||
| IV_NO_SCHEDULING | = lv_iv_no_scheduling | |
| IV_NO_CALCULATION | = lv_iv_no_calculation | |
| IV_MMSRV_EXTERNAL_MAINTENACE | = lv_iv_mmsrv_external_maintenace | |
| TABLES | ||
| IT_ORDERS | = lt_it_orders | |
| ET_MESSAGES | = lt_et_messages | |
| ET_CAUFVDN | = lt_et_caufvdn | |
| EXCEPTIONS | ||
| MESSAGE_WITHOUT_LOG = 1 | ||
| . " IBAPI_ALM_ORDER_POST | ||
ABAP code using 7.40 inline data declarations to call FM IBAPI_ALM_ORDER_POST
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