SAP RM_EWM_BACKFLUSH_GO_CANC Function Module for NOTRANSL: REM-Datenupdate nach Warenbewegung des Teilstornos
RM_EWM_BACKFLUSH_GO_CANC is a standard rm ewm backflush go canc 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: REM-Datenupdate nach Warenbewegung des Teilstornos 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 rm ewm backflush go canc FM, simply by entering the name RM_EWM_BACKFLUSH_GO_CANC into the relevant SAP transaction such as SE37 or SE38.
Function Group: BARM
Program Name: SAPLBARM
Main Program: SAPLBARM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function RM_EWM_BACKFLUSH_GO_CANC 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 'RM_EWM_BACKFLUSH_GO_CANC'"NOTRANSL: REM-Datenupdate nach Warenbewegung des Teilstornos.
EXPORTING
IT_IMSEG = "Table Type with Structure IMSEG
IT_EMSEG = "Table type with structure EMSEG
IV_EMKPF = "MMIM: Output Structure For General FM To Post Goods Movement
* IV_SOBKZ = "Special Stock Indicator
IS_RMIO = "Input/Output Fields for Backflushing in Repetitive Mfg
IMPORTING
E_DOC = "
TABLES
* IT_SERNRX = "Repetitive Manufacturing Serial Number
* IT_VENUMLIST = "
EXCEPTIONS
GR_GI_ERROR = 1
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_SAPLBARM_001 Customer Exit: RM_BACKFLUSH_CHECK
EXIT_SAPLBARM_002 Customer Exit: RM_BACKFLUSH_GO
EXIT_SAPLBARM_003 Customer Exit: RM_CANCEL_BACKFLUSH_CHECK
EXIT_SAPLBARM_004 Customer Exit: RM_CANCEL_BACKFLUSH_GO
IMPORTING Parameters details for RM_EWM_BACKFLUSH_GO_CANC
IT_IMSEG - Table Type with Structure IMSEG
Data type: TY_T_IMSEGOptional: No
Call by Reference: No ( called with pass by value option)
IT_EMSEG - Table type with structure EMSEG
Data type: TY_T_EMSEGOptional: No
Call by Reference: No ( called with pass by value option)
IV_EMKPF - MMIM: Output Structure For General FM To Post Goods Movement
Data type: EMKPFOptional: No
Call by Reference: Yes
IV_SOBKZ - Special Stock Indicator
Data type: SOBKZOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_RMIO - Input/Output Fields for Backflushing in Repetitive Mfg
Data type: RMIOOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RM_EWM_BACKFLUSH_GO_CANC
E_DOC -
Data type: BARM_TYPE_BF_DOCOptional: No
Call by Reference: Yes
TABLES Parameters details for RM_EWM_BACKFLUSH_GO_CANC
IT_SERNRX - Repetitive Manufacturing Serial Number
Data type: E1RMSNOOptional: Yes
Call by Reference: Yes
IT_VENUMLIST -
Data type: VHURM_T_COMPL_VENUMOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
GR_GI_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RM_EWM_BACKFLUSH_GO_CANC 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_e_doc | TYPE BARM_TYPE_BF_DOC, " | |||
lv_it_imseg | TYPE TY_T_IMSEG, " | |||
lt_it_sernrx | TYPE STANDARD TABLE OF E1RMSNO, " | |||
lv_gr_gi_error | TYPE E1RMSNO, " | |||
lv_it_emseg | TYPE TY_T_EMSEG, " | |||
lt_it_venumlist | TYPE STANDARD TABLE OF VHURM_T_COMPL_VENUM, " | |||
lv_iv_emkpf | TYPE EMKPF, " | |||
lv_iv_sobkz | TYPE SOBKZ, " | |||
lv_is_rmio | TYPE RMIO. " |
  CALL FUNCTION 'RM_EWM_BACKFLUSH_GO_CANC' "NOTRANSL: REM-Datenupdate nach Warenbewegung des Teilstornos |
EXPORTING | ||
IT_IMSEG | = lv_it_imseg | |
IT_EMSEG | = lv_it_emseg | |
IV_EMKPF | = lv_iv_emkpf | |
IV_SOBKZ | = lv_iv_sobkz | |
IS_RMIO | = lv_is_rmio | |
IMPORTING | ||
E_DOC | = lv_e_doc | |
TABLES | ||
IT_SERNRX | = lt_it_sernrx | |
IT_VENUMLIST | = lt_it_venumlist | |
EXCEPTIONS | ||
GR_GI_ERROR = 1 | ||
. " RM_EWM_BACKFLUSH_GO_CANC |
ABAP code using 7.40 inline data declarations to call FM RM_EWM_BACKFLUSH_GO_CANC
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