SAP Reports / Programs | Materials Management | Purchasing | Document Output with Adobe Document Services(MM-PUR-ADB-PRN) SAP MM

FM11PF02_PDF SAP ABAP INCLUDE - FM11PF02PDF







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


INCLUDES used within this REPORT FM11PF02_PDF

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:

ADDR_GET_NEXT_COMM_TYPE CALL FUNCTION 'ADDR_GET_NEXT_COMM_TYPE' EXPORTING STRATEGY = NAST-TCODE * ADDRESS_TYPE = ADDRESS_NUMBER = LFA1-ADRNR * PERSON_NUMBER = addr_key-persnumber IMPORTING COMM_TYPE = LS_COMM_TYPE COMM_VALUES = LS_COMM_VALUES * TABLES * STRATEGY_TABLE = EXCEPTIONS ADDRESS_NOT_EXIST = 1 PERSON_NOT_EXIST = 2 NO_COMM_TYPE_FOUND = 3 INTERNAL_ERROR = 4 PARAMETER_ERROR = 5 OTHERS = 6.

CONVERT_COMM_TYPE_DATA CALL FUNCTION 'CONVERT_COMM_TYPE_DATA' EXPORTING PI_COMM_TYPE = LS_COMM_TYPE PI_COMM_VALUES = LS_COMM_VALUES * pi_screen = us_screen * PI_NEWID = PI_COUNTRY = LFA1-LAND1 PI_REPID = LF_PROGRAMM PI_SNAST = LS_SNAST IMPORTING PE_ITCPO = ITCPO PE_DEVICE = XDEVICE PE_MAIL_RECIPIENT = LS_RECIPIENT PE_MAIL_SENDER = LS_SENDER EXCEPTIONS COMM_TYPE_NOT_SUPPORTED = 1 RECIPIENT_CREATION_FAILED = 2 SENDER_CREATION_FAILED = 3 OTHERS = 4.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * ELEMENT = 'ITEM_HEADER' * EXCEPTIONS * OTHERS = 01.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * ELEMENT = 'ITEM_HEADER' * TYPE = 'TOP' * EXCEPTIONS * OTHERS = 01.

MS_GET_EXTERNAL_ROW CALL FUNCTION 'MS_GET_EXTERNAL_ROW' EXPORTING I_PACKNO = ML_ESLL-PLN_PACKNO I_INTROW = ML_ESLL-PLN_INTROW IMPORTING E_EXTROW = RM11P-PLN_EXTROW E_EXTPATH = RM11P-PLN_GRP.

MS_GET_EXTERNAL_ROW CALL FUNCTION 'MS_GET_EXTERNAL_ROW' EXPORTING I_PACKNO = ML_ESLL-KNT_PACKNO I_INTROW = ML_ESLL-KNT_INTROW IMPORTING E_EXTROW = RM11P-KNT_EXTROW E_EXTPATH = RM11P-KNT_GROUP E_EBELN = ESUC-EBELN E_EBELP = ESUC-EBELP.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING ID = THEAD-TDID LANGUAGE = THEAD-TDSPRAS NAME = THEAD-TDNAME OBJECT = THEAD-TDOBJECT IMPORTING ENTRIES = ENTRIES TABLES SELECTIONS = XTHEAD.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * ELEMENT = 'LAST' * EXCEPTIONS * OTHERS = 01.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * ELEMENT = 'NEXTPAGE' * WINDOW = 'NEXTPAGE' * FUNCTION = 'DELETE' * EXCEPTIONS * OTHERS = 01.

CLOSE_FORM * CALL FUNCTION 'CLOSE_FORM' * IMPORTING * RESULT = RESULT.

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING * ELEMENT = 'TOTAL_AMOUNT' * EXCEPTIONS * OTHERS = 01.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING I_NAME = 'ML_SERVICE_ENTRY' IMPORTING E_FUNCNAME = FM_NAME E_INTERFACE_TYPE = E_INTERFACE_TYPE.

FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING IE_OUTPUTPARAMS = FP_OUTPUTPARAMS EXCEPTIONS CANCEL = 1 USAGE_ERROR = 2 SYSTEM_ERROR = 3 INTERNAL_ERROR = 4 OTHERS = 5.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' * IMPORTING * E_RESULT = EXCEPTIONS USAGE_ERROR = 1 SYSTEM_ERROR = 2 INTERNAL_ERROR = 3 OTHERS = 4 .



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