SAP Reports / Programs | Logistics - General | Logistics Basic Data | Assortment Maintenance(LO-MD-RA-MT) SAP LO

RWS46F01 SAP ABAP INCLUDE - Functions







RWS46F01 is a standard ABAP INCLUDE 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 RWS46F01 into the relevant SAP transactions such as SE38 or SE80


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 RWS46F01. "Basic submit
SUBMIT RWS46F01 AND RETURN. "Return to original report after report execution complete
SUBMIT RWS46F01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Functions


INCLUDES used within this REPORT RWS46F01

No INCLUDES are used within this REPORT code!


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:

TWPA_SINGLE_READ CALL FUNCTION 'TWPA_SINGLE_READ' * EXPORTING * KZRFB = ' ' IMPORTING WTWPA = I_TWPA EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

SWW_WI_DELETE CALL FUNCTION 'SWW_WI_DELETE' EXPORTING WI_ID = INT_WF_TABLE-WI_ID EXCEPTIONS UPDATE_FAILED = 01.

MARC_SINGLE_READ CALL FUNCTION 'MARC_SINGLE_READ' EXPORTING KZRFB = KZRFB * MAXTZ = 0 MATNR = G_MARA-MATNR WERKS = P_WERKS * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' IMPORTING WMARC = HS_MARC EXCEPTIONS LOCK_ON_MARC = 1 LOCK_SYSTEM_ERROR = 2 WRONG_CALL = 3 NOT_FOUND = 4 OTHERS = 5.

MARC_ARRAY_READ_MATNR_ALL CALL FUNCTION 'MARC_ARRAY_READ_MATNR_ALL' EXPORTING KZRFB = KZRFB * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' * EXCEPTION_ON_LOCK = ' ' TABLES IPRE03 = HS_PRE03 MARC_TAB = IT_MARC EXCEPTIONS ENQUEUE_MODE_CHANGED = 1 LOCK_SYSTEM_ERROR = 2 LOCK_ON_MARC = 3 OTHERS = 4.

CHECK_OBJECT_IN_DISCONTINUE_WF CALL FUNCTION 'CHECK_OBJECT_IN_DISCONTINUE_WF' EXPORTING PI_MATNR = P_MATNR PI_WERKS = P_WERKS PI_OBJSYS = T000-LOGSYS * OBJECT = UNFINISHED_WIS_ONLY = ' ' IMPORTING PE_WORKFLOW_FOUND = P_WF_FOUND PE_GLOB_WORKFLOW = P_GLOBAL_WORKFLOW TABLES WIS_USING_OBJECT = WF_TABLE.

CHECK_OBJECT_IN_DISCONTINUE_WF CALL FUNCTION 'CHECK_OBJECT_IN_DISCONTINUE_WF' EXPORTING PI_MATNR = P_MATNR PI_WERKS = P_WERKS PI_INFNR = P_INFNR PI_EKORG = P_EKORG PI_OBJSYS = T000-LOGSYS * UNFINISHED_WIS_ONLY = 'X' IMPORTING PE_WORKFLOW_FOUND = P_WF_FOUND PE_GLOB_WORKFLOW = P_GLOBAL_WORKFLOW TABLES WIS_USING_OBJECT = WF_TABLE.

CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING * ARCHIVE_HANDLE = 0 * DATE_OF_CHANGE = '00000000' OBJECTCLASS = OBJECTCLASS_MAT_FULL OBJECTID = OBJECTID * TIME_OF_CHANGE = '000000' USERNAME = SPACE TABLES I_CDHDR = IT_CDHDR EXCEPTIONS NO_POSITION_FOUND = 1 WRONG_ACCESS_TO_ARCHIVE = 2 OTHERS = 3.

CHANGEDOCUMENT_READ_POSITIONS CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' EXPORTING * ARCHIVE_HANDLE = 0 CHANGENUMBER = IT_CDHDR-CHANGENR * TABLEKEY = ' ' * TABLENAME = ' ' *** importing *** header = TABLES EDITPOS = IT_CDPOS EXCEPTIONS NO_POSITION_FOUND = 1 WRONG_ACCESS_TO_ARCHIVE = 2 OTHERS = 3.

OL_SET_LVORM_MATERIAL CALL FUNCTION 'OL_SET_LVORM_MATERIAL' EXPORTING PI_LVORM = ' ' PI_MATNR = OUTPUT_STRUCTURE-MATNR PI_WERKS = OUTPUT_STRUCTURE-WERKS * PI_VKORG = * PI_VTWEG = * PI_SPERREN = ' ' WRITE_CHANGE_DOCUMENTS = 'X' EXCEPTIONS NO_LVORM_SET = 1 OTHERS = 2.

MATERIAL_VALIDITY_UPDATE CALL FUNCTION 'MATERIAL_VALIDITY_UPDATE' EXPORTING P_MATNR = OUTPUT_STRUCTURE-MATNR P_LIQDT = MAX_DATUM ******* IMPORTING ******* ret_code = ret_code EXCEPTIONS MATNR_NOT_FOUND = 1 OTHERS = 2.

CHECK_OBJECT_IN_DISCONTINUE_WF CALL FUNCTION 'CHECK_OBJECT_IN_DISCONTINUE_WF' EXPORTING PI_MATNR = OUTPUT_STRUCTURE-MATNR PI_WERKS = OUTPUT_STRUCTURE-WERKS PI_INFNR = OUTPUT_STRUCTURE-INFNR PI_EKORG = OUTPUT_STRUCTURE-EKORG PI_OBJSYS = T000-LOGSYS * UNFINISHED_WIS_ONLY = 'X' IMPORTING PE_WORKFLOW_FOUND = WF_FOUND TABLES WIS_USING_OBJECT = WF_TABLE.

T001W_READ CALL FUNCTION 'T001W_READ' EXPORTING WERKS = STRUCT_T001W-WERKS IMPORTING STRUCT = STRUCT_T001W EXCEPTIONS NO_ENTRY = 1 OTHERS = 2.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE'"#EC FB_OLDED EXPORTING DEFAULTOPTION = INIT_OPTION DIAGNOSETEXT1 = TEXT1 DIAGNOSETEXT2 = TEXT2 DIAGNOSETEXT3 = TEXT3 TEXTLINE1 = TEXT4 TEXTLINE2 = TEXT5 TITEL = TITLE * START_COLUMN = 25 * START_ROW = 6 IMPORTING ANSWER = ANSWER EXCEPTIONS OTHERS = 1.

MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING MATNR = p_matnr IMPORTING WMARA = mara EXCEPTIONS LOCK_ON_MATERIAL = 1 LOCK_SYSTEM_ERROR = 2 WRONG_CALL = 3 NOT_FOUND = 4 OTHERS = 5.



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 RWS46F01 or its description.