SAP /CIDEON/ADDON_AFTER_CALLBACK Function Module for
/CIDEON/ADDON_AFTER_CALLBACK is a standard /cideon/addon after callback SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 /cideon/addon after callback FM, simply by entering the name /CIDEON/ADDON_AFTER_CALLBACK into the relevant SAP transaction such as SE37 or SE38.
Function Group: /CIDEON/GLOBAL_BOM_ADDON
Program Name: /CIDEON/SAPLGLOBAL_BOM_ADDON
Main Program: /CIDEON/SAPLGLOBAL_BOM_ADDON
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function /CIDEON/ADDON_AFTER_CALLBACK 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 '/CIDEON/ADDON_AFTER_CALLBACK'".
EXPORTING
FILENAME = "
* CONFIG = "
* FCODE = "
DOCUMENTNUMBER = "
FLT_VAL = "
DOCUMENTTYPE = "
DOCUMENTPART = "
DOCUMENTVERSION = "
CHANGING
RETURN = "
* HEADER = "
ITEMS = "
* ITEMATTRIBUTES = "
IMPORTING Parameters details for /CIDEON/ADDON_AFTER_CALLBACK
FILENAME -
Data type: SDOK_URLOptional: No
Call by Reference: No ( called with pass by value option)
CONFIG -
Data type: BAPI_DOC_TEXT-TEXTLINEOptional: Yes
Call by Reference: No ( called with pass by value option)
FCODE -
Data type: FCODEOptional: Yes
Call by Reference: No ( called with pass by value option)
DOCUMENTNUMBER -
Data type: DRAW-DOKNROptional: No
Call by Reference: No ( called with pass by value option)
FLT_VAL -
Data type: CAD_SYSTEMOptional: No
Call by Reference: No ( called with pass by value option)
DOCUMENTTYPE -
Data type: DRAW-DOKAROptional: No
Call by Reference: No ( called with pass by value option)
DOCUMENTPART -
Data type: DRAW-DOKTLOptional: No
Call by Reference: No ( called with pass by value option)
DOCUMENTVERSION -
Data type: DRAW-DOKVROptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for /CIDEON/ADDON_AFTER_CALLBACK
RETURN -
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
HEADER -
Data type: TB_CDESK_CALLBACK_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
ITEMS -
Data type: /CIDEON/T_CAD_BOM_ITEMSOptional: No
Call by Reference: No ( called with pass by value option)
ITEMATTRIBUTES -
Data type: TB_CDESK_CALLBACK_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for /CIDEON/ADDON_AFTER_CALLBACK 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_return | TYPE BAPIRET2, " | |||
| lv_filename | TYPE SDOK_URL, " | |||
| lv_config | TYPE BAPI_DOC_TEXT-TEXTLINE, " | |||
| lv_header | TYPE TB_CDESK_CALLBACK_DATA, " | |||
| lv_fcode | TYPE FCODE, " | |||
| lv_items | TYPE /CIDEON/T_CAD_BOM_ITEMS, " | |||
| lv_documentnumber | TYPE DRAW-DOKNR, " | |||
| lv_itemattributes | TYPE TB_CDESK_CALLBACK_DATA, " | |||
| lv_flt_val | TYPE CAD_SYSTEM, " | |||
| lv_documenttype | TYPE DRAW-DOKAR, " | |||
| lv_documentpart | TYPE DRAW-DOKTL, " | |||
| lv_documentversion | TYPE DRAW-DOKVR. " |
|   CALL FUNCTION '/CIDEON/ADDON_AFTER_CALLBACK' " |
| EXPORTING | ||
| FILENAME | = lv_filename | |
| CONFIG | = lv_config | |
| FCODE | = lv_fcode | |
| DOCUMENTNUMBER | = lv_documentnumber | |
| FLT_VAL | = lv_flt_val | |
| DOCUMENTTYPE | = lv_documenttype | |
| DOCUMENTPART | = lv_documentpart | |
| DOCUMENTVERSION | = lv_documentversion | |
| CHANGING | ||
| RETURN | = lv_return | |
| HEADER | = lv_header | |
| ITEMS | = lv_items | |
| ITEMATTRIBUTES | = lv_itemattributes | |
| . " /CIDEON/ADDON_AFTER_CALLBACK | ||
ABAP code using 7.40 inline data declarations to call FM /CIDEON/ADDON_AFTER_CALLBACK
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 TEXTLINE FROM BAPI_DOC_TEXT INTO @DATA(ld_config). | ||||
| "SELECT single DOKNR FROM DRAW INTO @DATA(ld_documentnumber). | ||||
| "SELECT single DOKAR FROM DRAW INTO @DATA(ld_documenttype). | ||||
| "SELECT single DOKTL FROM DRAW INTO @DATA(ld_documentpart). | ||||
| "SELECT single DOKVR FROM DRAW INTO @DATA(ld_documentversion). | ||||
Search for further information about these or an SAP related objects