SAP Reports / Programs | Logistics - General | Logistics Information System (LIS)(LO-LIS) SAP LO

RMCSBIWC SAP ABAP Report - Connection of LIS Information Structures to SAP BW







RMCSBIWC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RMCSBIWC into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

LBW0 - Interface LIS Information Structures


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RMCSBIWC. "Basic submit
SUBMIT RMCSBIWC AND RETURN. "Return to original report after report execution complete
SUBMIT RMCSBIWC VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Business Information Warehouse connection for LIS info structures
Selection Text: MCINF = Information structure
Selection Text: ISRCGEN = Generate DataSource
Selection Text: FLG_ON = Set up LIS environment
Selection Text: FLG_INFO = Display settings
Selection Text: DEL_ENV = Delete environment/DataSource
Selection Text: DELTAON = Generate updating
Selection Text: DELTAOFF = Reset generation
Selection Text: BIWTYPE = SAP-BIW type of info structure
Selection Text: ACTIVATE = Activate/deactivate
Title: Connection of LIS Information Structures to SAP BW
Text Symbol: 080 = Connection of LIS Information Structures to SAP BW
Text Symbol: 060 = Delta updating in LIS
Text Symbol: 021 = No update rules generated: activation not possible
Text Symbol: 020 = Please deactivate LIS updating in all clients
Text Symbol: 011 = The required Dictionary objects exist
Text Symbol: 007 = Regeneration: LIS/SAP BW tables
Text Symbol: 006 = No
Text Symbol: 005 = Yes
Text Symbol: 004 = Regenerate anyway?
Text Symbol: 003 = DATA LOSS POSSIBLE !!!
Text Symbol: 002 = Tables already exist


INCLUDES used within this REPORT RMCSBIWC

INCLUDE RV12A100 .


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

RV_COND_PROTOCOL_SHOW CALL FUNCTION 'RV_COND_PROTOCOL_SHOW'.

RV_COND_PROTOCOL_SHOW CALL FUNCTION 'RV_COND_PROTOCOL_SHOW'.

MCS_BIW_STRUCTURE_CREATE CALL FUNCTION 'MCS_BIW_STRUCTURE_CREATE' EXPORTING I_MCINF = MCINF IMPORTING E_STRUCT = SG_STRUCTURE EXCEPTIONS NO_GSTRU = 1 NO_CREATE_STRUCTURE = 2 NO_ACTIVATE_STRUCTURE = 3 OTHERS = 4.

DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING NAME = TABNAME STATE = 'A' TABLES DD03P_TAB = TG_FIELDTAB EXCEPTIONS ILLEGAL_INPUT = 1 OTHERS = 2.

MCS_BIW_DBTABLE_DOUBLER CALL FUNCTION 'MCS_BIW_DBTABLE_DOUBLER' EXPORTING I_MCINF = MCINF * I_CHANGE_KEY = TG_CHANGE_KEY IMPORTING E_TABLE1 = I_TABLE1 E_TABLE2 = I_TABLE2 EXCEPTIONS NO_GSTRU = 1 NO_CREATE_TABLE = 2 NO_ACTIVATE_TABLE = 3 TABLE_EXISTS = 4 OTHERS = 5.

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING DEFAULTOPTION = '2' TEXTLINE1 = TEXT-002 TEXTLINE2 = TEXT-003 TEXTLINE3 = TEXT-004 TEXT_OPTION1 = TEXT-005 TEXT_OPTION2 = TEXT-006 TITEL = TEXT-007 IMPORTING ANSWER = ANSWER EXCEPTIONS OTHERS = 1.

MCS_BIW_DBTABLE_DOUBLER CALL FUNCTION 'MCS_BIW_DBTABLE_DOUBLER' EXPORTING I_MCINF = MCINF I_FLG_DEL = 'X' I_CHANGE_KEY = TG_CHANGE_KEY IMPORTING E_TABLE1 = I_TABLE1 E_TABLE2 = I_TABLE2 EXCEPTIONS NO_GSTRU = 1 NO_CREATE_TABLE = 2 NO_ACTIVATE_TABLE = 3 TABLE_EXISTS = 4 OTHERS = 5.

RSA1_SINGLE_OLTPSOURCE_GET CALL FUNCTION 'RSA1_SINGLE_OLTPSOURCE_GET' EXPORTING I_OLTPSOURCE = OLTPSOURCE * I_OBJVERS = 'A' IMPORTING E_T_FIELDS = PL_FIELDS EXCEPTIONS NO_AUTHORITY = 1 NOT_EXIST = 2 INCONSISTENT = 3 OTHERS = 4.

RV_COND_PROTOKOLL CALL FUNCTION 'RV_COND_PROTOKOLL' EXPORTING NEW_PARAGRAPH = FALSE XPROTB = PROTOKOLL.

RSA1_SINGLE_OLTPSOURCE_GET CALL FUNCTION 'RSA1_SINGLE_OLTPSOURCE_GET' EXPORTING I_OLTPSOURCE = OLTPSOURCE * I_OBJVERS = 'A' IMPORTING E_S_ROIS = IG_ROIS E_T_FIELDS = IG_FIELDS_OLD E_T_ROIST = IG_ROIST_TAB EXCEPTIONS NO_AUTHORITY = 1 NOT_EXIST = 2 INCONSISTENT = 3 OTHERS = 4.

RSAO_INFOSOURCE_GENERATE CALL FUNCTION 'RSAO_INFOSOURCE_GENERATE' EXPORTING I_S_ROIS = IG_ROIS I_SAVE_ACTIVE = ISRCGEN I_SHOW_DYNP = ISRCGEN I_T_ROIST = IG_RSSIST_TAB I_DEL_FNM = CON_DEL_LIS_ENV_FB I_AP_FNM = CON_LIS_MAP_FB I_DELTA = CON_DELTA IMPORTING E_T_MESSAGES = TAB_MSG CHANGING C_T_FIELDS = IG_FIELDS[] EXCEPTIONS FUNCTION_CANCELLED = 1 FUNCTION_FAILED = 2 INVALID_FIELD_LIST = 3 OTHERS = 4.

RV_COND_PROTOKOLL CALL FUNCTION 'RV_COND_PROTOKOLL' EXPORTING NEW_PARAGRAPH = TRUE XPROTB = PROTOKOLL.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = TABNAME TABLES DFIES_TAB = IP_KEYFIELDS EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = TABNAME TABLES DFIES_TAB = IP_FIELDTAB EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

RV_COND_PROTOCOL_REFRESH CALL FUNCTION 'RV_COND_PROTOCOL_REFRESH'.

MCS_NAME_CHECK CALL FUNCTION 'MCS_NAME_CHECK' EXPORTING I_NAME = MCINF I_READ_MCS_PARAMETER = TRUE I_TYPE = 'I' IMPORTING E_FLG_ALLOWED = FLG_ALLOWED * E_FLG_MCS = E_FLG_SAPNAME = FLG_SAP EXCEPTIONS OTHERS = 1.

RV_COND_PROTOKOLL CALL FUNCTION 'RV_COND_PROTOKOLL' EXPORTING NEW_PARAGRAPH = FALSE XPROTB = PROTOKOLL.

DD_EXIST_TABLE CALL FUNCTION 'DD_EXIST_TABLE' EXPORTING TABNAME = CHKTAB-TABNAME STATUS = 'A' IMPORTING SUBRC = AC_SUBRC EXCEPTIONS WRONG_STATUS = 1 OTHERS = 2.

DDIF_FIELDINFO_GET





CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = TABNAME TABLES DFIES_TAB = CT_NAMETAB_O EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = TABNAME TABLES DFIES_TAB = CT_NAMETAB_S EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = TABNAME TABLES DFIES_TAB = CT_NAMETAB_C EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = TABNAME TABLES DFIES_TAB = CT_NAMETAB_C2 EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

MCS_MCINF_LIST CALL FUNCTION 'MCS_MCINF_LIST' EXPORTING I_FLG_ONLY_WITH_TABLE = TRUE I_ESTRUC = TRUE TABLES T_TMC4 = XTMC4 EXCEPTIONS OTHERS = 1.

MCS_NAME_CHECK CALL FUNCTION 'MCS_NAME_CHECK' EXPORTING I_NAME = XTMC4-MCINF * I_READ_MCS_PARAMETER = ' ' I_TYPE = 'I' IMPORTING * E_FLG_ALLOWED = * E_FLG_MCS = E_FLG_SAPNAME = FLG_SAP EXCEPTIONS OTHERS = 1.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING DISPLAY = ' ' FIELDNAME = 'MCINF' TABNAME = 'TMC4' SHOW_ALL_VALUES_AT_FIRST_TIME = 'X' "P30K048287 IMPORTING SELECT_VALUE = MCINF TABLES FIELDS = FIELDS_TAB VALUETAB = VALUE_TAB EXCEPTIONS NO_SELECTFIELD = 03.

RSS_PROGRAM_GENSTATUS_RESET CALL FUNCTION 'RSS_PROGRAM_GENSTATUS_RESET' EXPORTING I_UNI_IDC25 = L_UID EXCEPTIONS INVALID_UNIQUE_ID = 1 INVALID_PROGRAM_CLASS = 2 OTHERS = 3.

RSS_PROGRAM_GENSTATUS_RESET CALL FUNCTION 'RSS_PROGRAM_GENSTATUS_RESET' EXPORTING I_UNI_IDC25 = L_UID EXCEPTIONS INVALID_UNIQUE_ID = 1 INVALID_PROGRAM_CLASS = 2 OTHERS = 3.

RSS_PROGRAM_GENSTATUS_RESET CALL FUNCTION 'RSS_PROGRAM_GENSTATUS_RESET' EXPORTING I_UNI_IDC25 = L_UID EXCEPTIONS INVALID_UNIQUE_ID = 1 INVALID_PROGRAM_CLASS = 2 OTHERS = 3.

RSS_PROGRAM_GENSTATUS_RESET CALL FUNCTION 'RSS_PROGRAM_GENSTATUS_RESET' EXPORTING I_UNI_IDC25 = TMCBIWC-UID_I EXCEPTIONS INVALID_UNIQUE_ID = 1 INVALID_PROGRAM_CLASS = 2 OTHERS = 3.

RSS_PROGRAM_GENSTATUS_RESET CALL FUNCTION 'RSS_PROGRAM_GENSTATUS_RESET' EXPORTING I_UNI_IDC25 = TMCBIWC-UID_1 EXCEPTIONS INVALID_UNIQUE_ID = 1 INVALID_PROGRAM_CLASS = 2 OTHERS = 3.

RSS_PROGRAM_GENSTATUS_RESET CALL FUNCTION 'RSS_PROGRAM_GENSTATUS_RESET' EXPORTING I_UNI_IDC25 = TMCBIWC-UID_2 EXCEPTIONS INVALID_UNIQUE_ID = 1 INVALID_PROGRAM_CLASS = 2 OTHERS = 3.

MCS_BIW_DELETE_LIS_ENVIRONMENT CALL FUNCTION 'MCS_BIW_DELETE_LIS_ENVIRONMENT' EXPORTING I_MCINF = XMCINF I_MCAPP = XMCAPP I_GSTRU = XGSTRU I_ONLY_ENV = X_ONLY_ENV I_CHECK = X_CHECK EXCEPTIONS MCINF_STILL_EXISTS = 1 DELETION_NOT_POSSIBLE = 2 FAILURE = 3 OTHERS = 4.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = TABNAME TABLES DFIES_TAB = CD_FIELDTAB EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

MCS_BIW_DELETE_LIS_ENVIRONMENT CALL FUNCTION 'MCS_BIW_DELETE_LIS_ENVIRONMENT' EXPORTING I_MCINF = MCINF I_MCAPP = TMC4-MCAPP I_GSTRU = TMC4-GSTRU I_ONLY_ENV = 'B' IMPORTING E_T_MESSAGES = TAB_MSG EXCEPTIONS MCINF_STILL_EXISTS = 1 DELETION_NOT_POSSIBLE = 2 FAILURE = 3 OTHERS = 4.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RMCSBIWC or its description.