SAP MM_CONDBI_INDEX_TAB_CREATE Function Module for NOTRANSL: Belegindex: Erstellen der Arbeitsvorrates aus Änderungspointer









MM_CONDBI_INDEX_TAB_CREATE is a standard mm condbi index tab create 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: Belegindex: Erstellen der Arbeitsvorrates aus Änderungspointer 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 mm condbi index tab create FM, simply by entering the name MM_CONDBI_INDEX_TAB_CREATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: WIN1
Program Name: SAPLWIN1
Main Program: SAPLWIN1
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function MM_CONDBI_INDEX_TAB_CREATE 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 'MM_CONDBI_INDEX_TAB_CREATE'"NOTRANSL: Belegindex: Erstellen der Arbeitsvorrates aus Änderungspointer
EXPORTING
* I_MESSAGE_TYP = 'CONDBI' "
* I_CONDITION_VALIDITY = "Date Range for Determining Valid Conditions
* I_SAPGUI_MESSAGE = ' ' "
* I_READ_NOT_PROCESSES_POINTERS = 'X' "
* I_REORG_NOT_PROCESSES_POINTERS = ' ' "
* I_BUFFER_POINTER = ' ' "
* I_POINTER_VALIDITY = "
* I_REORG_POINTERS = 'X' "
* I_MATCH_DOCUMENT_INDEX = ' ' "
* I_SIZE = 1000 "SYST-TABIX as structure

IMPORTING
E_WIND_COUNT = "

TABLES
* T_WINDVB = "
T_DOCUMENT_TYPES_TAB = "
* T_ERROR_MESSAGES = "

EXCEPTIONS
NO_CUSTOMIZING_DATA = 1 INDEX_DATA_NOT_FOUND = 2 POINTER_ANALYSE = 3 NO_CONDITION_FOUND = 4
.



IMPORTING Parameters details for MM_CONDBI_INDEX_TAB_CREATE

I_MESSAGE_TYP -

Data type: EDIDC-MESTYP
Default: 'CONDBI'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CONDITION_VALIDITY - Date Range for Determining Valid Conditions

Data type: WIN1_DATS
Optional: Yes
Call by Reference: Yes

I_SAPGUI_MESSAGE -

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_READ_NOT_PROCESSES_POINTERS -

Data type: BDCPS-PROCESS
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_REORG_NOT_PROCESSES_POINTERS -

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BUFFER_POINTER -

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_POINTER_VALIDITY -

Data type: WIN1_DATS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_REORG_POINTERS -

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_MATCH_DOCUMENT_INDEX -

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_SIZE - SYST-TABIX as structure

Data type: SY-TABIX
Default: 1000
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for MM_CONDBI_INDEX_TAB_CREATE

E_WIND_COUNT -

Data type: I
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for MM_CONDBI_INDEX_TAB_CREATE

T_WINDVB -

Data type: WINDVB
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_DOCUMENT_TYPES_TAB -

Data type: BLTYP_AKT
Optional: No
Call by Reference: No ( called with pass by value option)

T_ERROR_MESSAGES -

Data type: BELIND_ERR
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NO_CUSTOMIZING_DATA -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INDEX_DATA_NOT_FOUND -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

POINTER_ANALYSE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NO_CONDITION_FOUND -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for MM_CONDBI_INDEX_TAB_CREATE 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_t_windvb  TYPE STANDARD TABLE OF WINDVB, "   
lv_e_wind_count  TYPE I, "   
lv_i_message_typ  TYPE EDIDC-MESTYP, "   'CONDBI'
lv_no_customizing_data  TYPE EDIDC, "   
lv_i_condition_validity  TYPE WIN1_DATS, "   
lv_i_sapgui_message  TYPE C, "   SPACE
lv_index_data_not_found  TYPE C, "   
lt_t_document_types_tab  TYPE STANDARD TABLE OF BLTYP_AKT, "   
lv_pointer_analyse  TYPE BLTYP_AKT, "   
lt_t_error_messages  TYPE STANDARD TABLE OF BELIND_ERR, "   
lv_i_read_not_processes_pointers  TYPE BDCPS-PROCESS, "   'X'
lv_no_condition_found  TYPE BDCPS, "   
lv_i_reorg_not_processes_pointers  TYPE C, "   SPACE
lv_i_buffer_pointer  TYPE C, "   SPACE
lv_i_pointer_validity  TYPE WIN1_DATS, "   
lv_i_reorg_pointers  TYPE C, "   'X'
lv_i_match_document_index  TYPE C, "   SPACE
lv_i_size  TYPE SY-TABIX. "   1000

  CALL FUNCTION 'MM_CONDBI_INDEX_TAB_CREATE'  "NOTRANSL: Belegindex: Erstellen der Arbeitsvorrates aus Änderungspointer
    EXPORTING
         I_MESSAGE_TYP = lv_i_message_typ
         I_CONDITION_VALIDITY = lv_i_condition_validity
         I_SAPGUI_MESSAGE = lv_i_sapgui_message
         I_READ_NOT_PROCESSES_POINTERS = lv_i_read_not_processes_pointers
         I_REORG_NOT_PROCESSES_POINTERS = lv_i_reorg_not_processes_pointers
         I_BUFFER_POINTER = lv_i_buffer_pointer
         I_POINTER_VALIDITY = lv_i_pointer_validity
         I_REORG_POINTERS = lv_i_reorg_pointers
         I_MATCH_DOCUMENT_INDEX = lv_i_match_document_index
         I_SIZE = lv_i_size
    IMPORTING
         E_WIND_COUNT = lv_e_wind_count
    TABLES
         T_WINDVB = lt_t_windvb
         T_DOCUMENT_TYPES_TAB = lt_t_document_types_tab
         T_ERROR_MESSAGES = lt_t_error_messages
    EXCEPTIONS
        NO_CUSTOMIZING_DATA = 1
        INDEX_DATA_NOT_FOUND = 2
        POINTER_ANALYSE = 3
        NO_CONDITION_FOUND = 4
. " MM_CONDBI_INDEX_TAB_CREATE




ABAP code using 7.40 inline data declarations to call FM MM_CONDBI_INDEX_TAB_CREATE

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 MESTYP FROM EDIDC INTO @DATA(ld_i_message_typ).
DATA(ld_i_message_typ) = 'CONDBI'.
 
 
 
DATA(ld_i_sapgui_message) = ' '.
 
 
 
 
 
"SELECT single PROCESS FROM BDCPS INTO @DATA(ld_i_read_not_processes_pointers).
DATA(ld_i_read_not_processes_pointers) = 'X'.
 
 
DATA(ld_i_reorg_not_processes_pointers) = ' '.
 
DATA(ld_i_buffer_pointer) = ' '.
 
 
DATA(ld_i_reorg_pointers) = 'X'.
 
DATA(ld_i_match_document_index) = ' '.
 
"SELECT single TABIX FROM SY INTO @DATA(ld_i_size).
DATA(ld_i_size) = 1000.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!