SAP MB_TRANSFER_STRING_CHECK Function Module for NOTRANSL: Prüfen/Nachlesen der T156m bei Umlagerung von Chargen
MB_TRANSFER_STRING_CHECK is a standard mb transfer string check 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: Prüfen/Nachlesen der T156m bei Umlagerung von Chargen 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 mb transfer string check FM, simply by entering the name MB_TRANSFER_STRING_CHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: MBMV
Program Name: SAPLMBMV
Main Program: SAPLMBMV
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MB_TRANSFER_STRING_CHECK 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 'MB_TRANSFER_STRING_CHECK'"NOTRANSL: Prüfen/Nachlesen der T156m bei Umlagerung von Chargen.
EXPORTING
I_BUSTM = "Posting string for quantities
IS_MSEG = "Document Segment: Material
IS_DM07M = "Dialog Control Fields for Module Pool SAPMM07M
I_KZDCH = "Indicator: Definition of Batch Management Level
I_ATTYP = "Material Category
* DONT_CHANGE_DM07M = "
CHANGING
CS_T156M = "Posting String: Quantity
TABLES
CT_T156M = "Posting String: Quantity
EXCEPTIONS
INTERNAL_ERROR = 1
IMPORTING Parameters details for MB_TRANSFER_STRING_CHECK
I_BUSTM - Posting string for quantities
Data type: MSEG-BUSTMOptional: No
Call by Reference: Yes
IS_MSEG - Document Segment: Material
Data type: MSEGOptional: No
Call by Reference: Yes
IS_DM07M - Dialog Control Fields for Module Pool SAPMM07M
Data type: DM07MOptional: No
Call by Reference: Yes
I_KZDCH - Indicator: Definition of Batch Management Level
Data type: TCUCH-KZDCHOptional: No
Call by Reference: Yes
I_ATTYP - Material Category
Data type: MBEFU-ATTYPOptional: No
Call by Reference: Yes
DONT_CHANGE_DM07M -
Data type: COptional: Yes
Call by Reference: Yes
CHANGING Parameters details for MB_TRANSFER_STRING_CHECK
CS_T156M - Posting String: Quantity
Data type: T156MOptional: No
Call by Reference: Yes
TABLES Parameters details for MB_TRANSFER_STRING_CHECK
CT_T156M - Posting String: Quantity
Data type: T156MOptional: No
Call by Reference: Yes
EXCEPTIONS details
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for MB_TRANSFER_STRING_CHECK 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_bustm | TYPE MSEG-BUSTM, " | |||
| lv_cs_t156m | TYPE T156M, " | |||
| lt_ct_t156m | TYPE STANDARD TABLE OF T156M, " | |||
| lv_internal_error | TYPE T156M, " | |||
| lv_is_mseg | TYPE MSEG, " | |||
| lv_is_dm07m | TYPE DM07M, " | |||
| lv_i_kzdch | TYPE TCUCH-KZDCH, " | |||
| lv_i_attyp | TYPE MBEFU-ATTYP, " | |||
| lv_dont_change_dm07m | TYPE C. " |
|   CALL FUNCTION 'MB_TRANSFER_STRING_CHECK' "NOTRANSL: Prüfen/Nachlesen der T156m bei Umlagerung von Chargen |
| EXPORTING | ||
| I_BUSTM | = lv_i_bustm | |
| IS_MSEG | = lv_is_mseg | |
| IS_DM07M | = lv_is_dm07m | |
| I_KZDCH | = lv_i_kzdch | |
| I_ATTYP | = lv_i_attyp | |
| DONT_CHANGE_DM07M | = lv_dont_change_dm07m | |
| CHANGING | ||
| CS_T156M | = lv_cs_t156m | |
| TABLES | ||
| CT_T156M | = lt_ct_t156m | |
| EXCEPTIONS | ||
| INTERNAL_ERROR = 1 | ||
| . " MB_TRANSFER_STRING_CHECK | ||
ABAP code using 7.40 inline data declarations to call FM MB_TRANSFER_STRING_CHECK
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 BUSTM FROM MSEG INTO @DATA(ld_i_bustm). | ||||
| "SELECT single KZDCH FROM TCUCH INTO @DATA(ld_i_kzdch). | ||||
| "SELECT single ATTYP FROM MBEFU INTO @DATA(ld_i_attyp). | ||||
Search for further information about these or an SAP related objects