SAP Reports / Programs | Materials Management | Inventory Management(MM-IM) SAP MM

RM07IMDE SAP ABAP Report - Report For Transferring PDC Phys. Inv. Data







RM07IMDE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this program to import PDC inventory count data from an external dataset into the ERP System...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RM07IMDE 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

MIMD - Tansfer PDC Physical Inventory Data


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


Text pool values


Title: Report For Transferring PDC Phys. Inv. Data
Text Symbol: F99 = Qty counted no numerical value
Text Symbol: F98 = Invalid special stock key
Text Symbol: F97 = Vendor missing (item with special stock)
Text Symbol: F96 = Invalid stock type
Text Symbol: F95 = Unit missing
Text Symbol: F12 = Phys. inv. item already has status 'counted'
Text Symbol: F11 = Inconsistency: mat. incl. in ph. inv., but no doc. exists
Text Symbol: F10 = No material stock data exists for key criteria
Text Symbol: F08 = Overflow error
Text Symbol: F07 = Invalid output
Text Symbol: F06 = Unit missing
Text Symbol: F05 = Base unit not found
Text Symbol: F04 = Unit of measure does not exist
Text Symbol: F03 = Material does not exist
Text Symbol: F02 = Invalid qty specified
Text Symbol: F01 = No conversion factor found (unit has no dimension)
Text Symbol: D02 = Plnt|Material |SLoc|Batch |SSInd|Vendor |SType|Unit | Cumulated qty |Phys.inv.doc.
Text Symbol: D01 = Copied material items with document ref.:
Text Symbol: C02 = Plnt|Material |SLoc|Batch |SSInd|Vendor |SType|Unit | Cumulated qty
Text Symbol: C01 = Copied material items without document ref.:
Text Symbol: B02 = Plnt|Material |SLoc|Batch |SSInd|Vendor |SType|Unit | Cumulated qty |Error text
Text Symbol: B01 = Incorrect material items:
Text Symbol: A02 = Plnt|Material |SLoc|Batch |SSInd|Vendor |SType|Unit | Qty |Error text
Text Symbol: A01 = Incorrect items due to conversion of units
Text Symbol: 016 = Control of target file with doc.ref.
Text Symbol: 015 = Count date
Text Symbol: 014 = Phys. inventory ref.
Text Symbol: 013 = Control of target file w/o doc. ref.
Text Symbol: 011 = Posting date
Text Symbol: 009 = Difference posting
Text Symbol: 007 = Log. name: target file
Text Symbol: 006 = Log. name: PDC source file
Text Symbol: 005 = Session name
Text Symbol: 003 = Test data
Text Symbol: 002 = Issue log
Text Symbol: 001 = Processing control


INCLUDES used within this REPORT RM07IMDE

INCLUDE RM07MUSR.




INCLUDE RM07MEND.


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:

CONVERSION_EXIT_MATN1_INPUT CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT' EXPORTING input = x_mdedat-matnr_extern IMPORTING output = x_mdedat-matnr.

CONVERSION_EXIT_CUNIT_INPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT' EXPORTING input = x_mdedat-erfme_extern IMPORTING output = x_mdedat-erfme.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' "n1107247 EXPORTING "n1107247 input = x_mdedat-lifnr_extern "n1107247 IMPORTING "n1107247 output = x_mdedat-lifnr. "n1107247

CONVERSION_EXIT_MATN1_OUTPUT * call function 'CONVERSION_EXIT_MATN1_OUTPUT' * exporting * input = y_mdedat-matnr * importing * output = y_mdedat-matnr.

CONVERSION_EXIT_CUNIT_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_CUNIT_OUTPUT' "HW518629 EXPORTING "HW518629 INPUT = Y_MDEDAT-ERFME "HW518629 IMPORTING "HW518629 OUTPUT = XBISEG-ERFME. "HW518629

MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING input = menge kzmeinh = 'X' matnr = material meinh = einheit * MEINS = ' ' * NO_OUTPUT = ' ' IMPORTING * ADDKO = meins = einheit output = menge * UMREN = * UMREZ = EXCEPTIONS conversion_not_found = 01 input_invalid = 02 material_not_found = 03 meinh_not_found = 04 meins_missing = 05 no_meinh = 06 output_invalid = 07 overflow = 08.

CONVERSION_EXIT_CUNIT_INPUT * call function 'CONVERSION_EXIT_CUNIT_INPUT' * exporting * input = fehltab-erfme * importing * output = fehltab-erfme.

CONVERSION_EXIT_CUNIT_INPUT * call function 'CONVERSION_EXIT_CUNIT_INPUT' * exporting * input = y_mdedat-erfme * importing * output = y_mdedat-erfme.

CONVERSION_EXIT_MATN1_INPUT * call function 'CONVERSION_EXIT_MATN1_INPUT' * exporting * input = prottabo-matnr * importing * output = prottabo-matnr.

CONVERSION_EXIT_CUNIT_INPUT * call function 'CONVERSION_EXIT_CUNIT_INPUT' * exporting * input = prottabo-erfme * importing * output = prottabo-erfme.

CONVERSION_EXIT_MATN1_INPUT * call function 'CONVERSION_EXIT_MATN1_INPUT' * exporting * input = prottabm-matnr * importing * output = prottabm-matnr.

CONVERSION_EXIT_CUNIT_INPUT * call function 'CONVERSION_EXIT_CUNIT_INPUT' * exporting * input = prottabm-erfme * importing * output = prottabm-erfme.



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