SAP Reports / Programs

/SAPCEM/INVENTUR_RUECKNAHME SAP ABAP Report - Reset Generated Stock Differences







/SAPCEM/INVENTUR_RUECKNAHME 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 /SAPCEM/INVENTUR_RUECKNAHME 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

/SAPCEM/INV_RUECK - Inventory: Reset Gen. Stock Diff.


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


Text pool values


Selection Text: S_VERWA = D Administrator
Selection Text: S_KZMEN = Item/multipart indicator
Selection Text: S_GSBER = D Business Area
Selection Text: S_EQUNR = D Equipment
Selection Text: S_EQART = D Technical obj. type
Selection Text: S_EMPFAE = Location
Selection Text: S_EIFR = Internal/external
Selection Text: P_XECHT = Update run with posting
Selection Text: P_PROBE = Test run without batch input
Selection Text: P_MODE = Batch input mode
Selection Text: P_DATVON = D Key date
Selection Text: P_BITST = Test run with batch input
Title: Reset Generated Stock Differences
Text Symbol: SEI = Page:
Text Symbol: PRO = Program parameters
Text Symbol: PRB = Test run
Text Symbol: KBS = Corresponding location
Text Symbol: GSB = Business area:
Text Symbol: FPR = Error log
Text Symbol: ECH = Update run
Text Symbol: BUK = Company code:
Text Symbol: BTX = Description
Text Symbol: BT1 = Location desc.
Text Symbol: BST = Location
Text Symbol: B03 = Recipient-oriented restrictions for multipart equipment
Text Symbol: B02 = Equipment restriction
Text Symbol: B01 = General restrictions


INCLUDES used within this REPORT /SAPCEM/INVENTUR_RUECKNAHME

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:

/SAPCEM/INVENTURSTAMM_LESEN CALL FUNCTION '/SAPCEM/INVENTURSTAMM_LESEN' IMPORTING ES_INV = GS_INV01.

/SAPCEM/INV_VERWALTER_LESEN CALL FUNCTION '/SAPCEM/INV_VERWALTER_LESEN' TABLES ET_INV02 = GT_INV02.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE' EXCEPTIONS OTHERS = 1.

/SAPCEM/HBEST_TBEST_MERGE CALL FUNCTION '/SAPCEM/HBEST_TBEST_MERGE' EXPORTING I_VDATE = P_DATVON I_CDATE = J3GC_ULTIMO I_CEQUI = 'X' I_CORR_HBEST_READ = 'X'

IMPORTING ET_HBEST = IT_HBEST .

J_3G_BREAK call function 'J_3G_BREAK'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = GC_ARBGB MSGTY = 'E' MSGV1 = LT_HBEST-J_3GEMPFAE MSGV2 = LF_EQUNR MSGV3 = LT_HBEST-J_3GBELZU TXTNR = 104 ZEILE = GF_MESS_CNT.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES T_MESG = lT_MESg EXCEPTIONS OTHERS = 1.

J_3G_ALV_LIST_DISPLAY CALL FUNCTION 'J_3G_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' I_CALLBACK_PROGRAM = G_REPID * I_CALLBACK_PF_STATUS_SET = ' ' I_CALLBACK_USER_COMMAND = 'ALV_USER_COMMAND' * I_STRUCTURE_NAME = IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT IT_EXCLUDING = GT_EXTAB * IT_SPECIAL_GROUPS = IT_SORT = GT_SORT * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = ' ' IT_EVENTS = GT_EVENTS IT_EVENT_EXIT = GT_EVENT_EXIT * IS_PRINT = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = GT_ITEM EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING ES_LAYOUT = LS_LAYOUT ET_FIELDCAT = LT_FIELDCAT * ET_SORT = * ET_FILTER = * ES_LIST_SCROLL = * ES_VARIANT = EXCEPTIONS NO_INFOS = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_LIST_WIDTH_GET CALL FUNCTION 'REUSE_ALV_LIST_WIDTH_GET' EXPORTING IT_FIELDCAT = LT_FIELDCAT IS_LAYOUT = LS_LAYOUT IMPORTING E_WIDTH = LF_WIDTH EXCEPTIONS OTHERS = 1.

J_3G_BREAK call function 'J_3G_BREAK'.

J_3G_BREAK call function 'J_3G_BREAK'.

MESSAGE_SET_DEFAULTLINE CALL FUNCTION 'MESSAGE_SET_DEFAULTLINE' EXPORTING ARBGB = GC_ARBGB MSGV1 = GT_ITEM-J_3GEMPFAE MSGV2 = GT_ITEM-EQUNR TXTNR = 106 ZEILE = GF_MESS_CNT EXCEPTIONS NOT_ACTIVE = 1 OTHERS = 2.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = LT_MESS-MSGID MSGTY = LT_MESS-MSGTYP MSGV1 = LT_MESS-MSGV1 MSGV2 = LT_MESS-MSGV2 MSGV3 = LT_MESS-MSGV3 MSGV4 = LT_MESS-MSGV4 TXTNR = LT_MESS-MSGNR ZEILE = GF_MESS_CNT EXCEPTIONS MESSAGE_TYPE_NOT_VALID = 1 NOT_ACTIVE = 2 OTHERS = 3.

MESSAGE_SET_DEFAULTLINE CALL FUNCTION 'MESSAGE_SET_DEFAULTLINE' EXPORTING ARBGB = GC_ARBGB MSGV1 = GT_ITEM-J_3GEMPFAE MSGV2 = GT_ITEM-EQUNR MSGV3 = GT_ITEM-BLDAT TXTNR = 106 ZEILE = GF_MESS_CNT EXCEPTIONS NOT_ACTIVE = 1 OTHERS = 2.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = GC_ARBGB MSGTY = 'S' MSGV1 = GT_ITEM-J_3GBELZU TXTNR = 105 ZEILE = GF_MESS_CNT EXCEPTIONS MESSAGE_TYPE_NOT_VALID = 1 NOT_ACTIVE = 2 OTHERS = 3.



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 /SAPCEM/INVENTUR_RUECKNAHME or its description.