SAP Reports / Programs | Cross-Application Components(CA) SAP CA

J_2GLPPMM SAP ABAP Report - Main program for printing Material documents







J_2GLPPMM is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program prints Material documents according to logical kind ÄÁ(MM)...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 J_2GLPPMM 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

J2GLPPMM - Print MM Documents


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 J_2GLPPMM. "Basic submit
SUBMIT J_2GLPPMM AND RETURN. "Return to original report after report execution complete
SUBMIT J_2GLPPMM 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: TDIMMED = Print immediately
Selection Text: TDDELETE = Delete after print
Selection Text: S_VGART = Transaction/event type
Selection Text: S_TEST =
Selection Text: S_R_LANG =
Selection Text: S_R_COMM =
Selection Text: S_PRNTSK = Print task code
Selection Text: S_MJAHR = Year of Material document
Selection Text: S_MBLNR = Material document
Selection Text: S_LANG =
Selection Text: S_ERNAM = User
Selection Text: S_BWART = Movement types
Selection Text: S_BUKRS = Company code
Selection Text: S_BUDAT = Posting date
Selection Text: SPRINTER = Printer
Selection Text: DIALOG = Show print dialog
Title: Main program for printing Material documents
Text Symbol: 312 = Skip this MM document
Text Symbol: 313 = Skip this MM document and all subsequent documents
Text Symbol: 314 = Associate the MM document with new legal number
Text Symbol: 321 = Old number
Text Symbol: 322 = Skip
Text Symbol: 323 = Skip ALL
Text Symbol: 324 = New number
Text Symbol: 400 = Associate with other legal number ?
Text Symbol: 401 = Are you sure you want to associate
Text Symbol: 402 = MM document & legal number $
Text Symbol: 403 = with a new legal number from
Text Symbol: 404 = print task code &
Text Symbol: 411 = Yes associate
Text Symbol: 412 = No Iam not sure
Text Symbol: 421 = YES
Text Symbol: 422 = NO
Text Symbol: 500 = Give a number
Text Symbol: 501 = Please specify the number for
Text Symbol: 502 = MM document &
Text Symbol: 503 = from Series &
Text Symbol: 504 = Please specify the legal document for





Text Symbol: 505 = Associate with a legal document
Text Symbol: 506 = ( Third party legal document )
Text Symbol: 600 = Verify assignment
Text Symbol: 601 = Associate MM document &
Text Symbol: 602 = with number & from series $ ?
Text Symbol: 603 = Verify cancelation
Text Symbol: 604 = Skip MM document & ?
Text Symbol: 605 = YES
Text Symbol: 606 = NO
Text Symbol: 607 = with legal document &
Text Symbol: E00 = Could not find user exit routine as defined in J_2GLPLP
Text Symbol: 120 = User chose to reprint the MM document with its old legal number &.
Text Symbol: 119 = from print task & logical kind $.
Text Symbol: 118 = from print task code & logical kind $ and user chose to reassociate it
Text Symbol: 117 = The MM document was already associated with legal document &
Text Symbol: 116 = The FI(MM) documents has not been updated. Tell your administrator to run the special update program.
Text Symbol: 114 = Cannot lock entry in J_2GLPLEGDOC ( Legal documents ) -- System failure
Text Symbol: 113 = Cannot lock entry in J_2GLPLEGDOC ( Legal documents ) -- Foreign lock.
Text Symbol: 112 = User chose to skip this MM document.
Text Symbol: 111 = Series has been exhausted.
Text Symbol: 110 = Cannot lock Series. System failure.
Text Symbol: 107 = The MM document has already been associated and user chose to skip it along with all subsequent documents.
Text Symbol: 106 = The MM document has already been associated and user chose to skip it.
Text Symbol: 105 = There are MM documents from previous dates that have not been printed.
Text Symbol: 104 = The posting date is less than the last date we printed a document for this Series.
Text Symbol: 102 = The MM document has no line items.
Text Symbol: 100 = Line item & : Incompatible Movement type with print task code.
Text Symbol: 007 = Time
Text Symbol: 006 = Use this printer intead of default in customizing
Text Symbol: 005 = Test run, do not give legal number
Text Symbol: 004 = language
Text Symbol: 003 = Partner language
Text Symbol: 002 = Use
Text Symbol: 001 = Printing parameters
Text Symbol: 000 = Document selection
Text Symbol: 121 = The MM document has been associated with &.
Text Symbol: 311 = Print with old legal number
Text Symbol: 306 = print task code &
Text Symbol: 305 = To reprint the MM document run the program with





Text Symbol: 304 = and logical kind &
Text Symbol: 303 = from print task code &
Text Symbol: 302 = with legal number &
Text Symbol: 301 = MM document & has been associated
Text Symbol: 300 = MM DOCUMENT ALREADY ASSOCIATED
Text Symbol: 207 = Document has been sent to printer.
Text Symbol: 206 = This MM document will not be send to the printer.
Text Symbol: 205 = This MM document will not be send to the printer and all subsequent documents will not be processed.
Text Symbol: 204 = This MM document and all subsequent will not be processed.
Text Symbol: 203 = MM document will not be processed.
Text Symbol: 202 = Material document :
Text Symbol: 201 = No further MM documents will be processed.
Text Symbol: 200 = No MM documents will be processed.
Text Symbol: 140 = Line item & : Company code not selected by the user
Text Symbol: 139 = Line item & : Movement type not selected by the user.
Text Symbol: 138 = The posting date is less than the last date we printed a document.
Text Symbol: 137 = Some line items came from a Sales and Distribution document. Please use the correct printing program.
Text Symbol: 136 = The document's Transaction/event type is incompatible with the Print task code.
Text Symbol: 132 = The FI(MM) document has not been updated. Tell your administrator to run the special update program.
Text Symbol: 129 = The MM document has more than 1 FI documents.
Text Symbol: 122 = Cannot commit work.


INCLUDES used within this REPORT J_2GLPPMM

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:

No SAP FUNCTION MODULES are executed within this report code!



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