SAP Reports / Programs | Periodical Sales and Distribution | SAP Media | Periodical Sales and Distribution(IS-M-SD-PS) SAP IS

MJ59AF0F SAP ABAP INCLUDE - Form Routines for Settlement - 'F'







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


Text pool values


Title: Form Routines for Settlement - 'F'


INCLUDES used within this REPORT MJ59AF0F

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:

SCREEN_SEQUENCE_CONTROL CALL FUNCTION 'SCREEN_SEQUENCE_CONTROL' EXPORTING PROGRAMM = 'SAPMJ59A' KOPFGRUPPE = TJL11-KOPGR POSITIONSGRUPPE = ' ' FUNKTION = FCODE IMPORTING CUA_STATUS = T185V-STATUS CUA_TITEL = T185V-CTITEL CUA_PARA1 = T185V-PARA1 CUA_PARA2 = T185V-PARA2 CUA_PARA3 = T185V-PARA3 CUA_PARA4 = T185V-PARA4 FOLGEFUNKTION = FCODE DUNKEL = T185-DUNKEL LEAVE = FLAG-LEAVE DYNPROBAUSTEIN1 = TAXI_HEADER_SUBSCREEN "4.71

ENQUEUE_EVJLRKE CALL FUNCTION 'ENQUEUE_EVJLRKE' EXPORTING MANDT = SY-MANDT VBELN = JLRK-VBELN EXCEPTIONS FOREIGN_LOCK = 2 SYSTEM_FAILURE = 3.

RV_MESSAGE_PRINT_SINGLE CALL FUNCTION 'RV_MESSAGE_PRINT_SINGLE' EXPORTING MSG_KAPPL = CON_APPL_NACF_ABRECHNUNG MSG_OBJKY = XOBJKY MSG_KSCHL = TJL11-KSCHL EXCEPTIONS CANCEL = 1 NO_MESSAGE = 2 MESSAGE_NOT_PRINTABLE = 2.

PRICING_REFRESH CALL FUNCTION 'PRICING_REFRESH' TABLES TKOMK = TKOMK TKOMV = XKOMV.

COMMUNICATION_AREA_KOMKBJ2 * call function 'COMMUNICATION_AREA_KOMKBJ2' "MS-3.04

KOMKBJ2_FILL CALL FUNCTION 'KOMKBJ2_FILL' "MS-3.04

COMMUNICATION_AREA_KOMKBJ2 CALL FUNCTION 'COMMUNICATION_AREA_KOMKBJ2' "MS-3.04

MESSAGING CALL FUNCTION 'MESSAGING' EXPORTING APPLIKATION = CON_APPL_NACF_ABRECHNUNG MSG_OBJKY = XOBJKY SCHEMA = TJL11-KALSM PI_OBJTYPE = L_OBJTYPE TABLES MSG_PART = PART EXCEPTIONS APPLIKATION_NICHT_VORHANDEN = 01 SCHEMA_NICHT_VORHANDEN = 05.

RV_MESSAGES_MAINTENANCE CALL FUNCTION 'RV_MESSAGES_MAINTENANCE' EXPORTING MIN_T185 = T185 MIN_T185F = T185F MIN_T185V = T185V MIN_OBJKY = XOBJKY MIN_KAPPL = CON_APPL_NACF_ABRECHNUNG MIN_KALSM = TJL11-KALSM MIN_BTEXT = BILDTEXT MIN_CUA_TEXT = RV02P-TITLE * MEX_UPDAT = DA_UPDAT PI_OBJTYPE = L_OBJTYPE IMPORTING MEX_UPDAT = DA_UPDAT MEX_FCODE = FCODE MEX_T185F = T185F MEX_T185V = T185V TABLES MTB_PART = PART.

RV_MESSAGE_PREVIEW CALL FUNCTION 'RV_MESSAGE_PREVIEW' EXPORTING MSG_KAPPL = CON_APPL_NACF_ABRECHNUNG MSG_OBJKY = XOBJKY MSG_KSCHL = TJL11-KSCHL EXCEPTIONS CANCEL = 1 NO_MESSAGE = 2 MESSAGE_NOT_PRINTABLE = 2 PRINT_ERROR = 3.

PRICING_REFRESH CALL FUNCTION 'PRICING_REFRESH' TABLES TKOMK = TKOMK TKOMV = XKOMV.

ISM_HINT_LIST_SETTLEMENT CALL FUNCTION 'ISM_HINT_LIST_SETTLEMENT' "4.02/1

RV_MESSAGES_GET * CALL FUNCTION 'RV_MESSAGES_GET' * EXPORTING * MSG_OBJKY_FROM = WOBJKY * MSG_OBJKY_TO = WOBJKY * TABLES * TAB_XNAST = XNAST * TAB_YNAST = YNAST.

COMMUNICATION_AREA_KOMKBV3 ** CALL FUNCTION 'COMMUNICATION_AREA_KOMKBV3' ** EXPORTING ** MSG_TRTYP = T180-TRTYP ** MSG_VBRK = JLRK ** MSG_VBUK = VBUK ** MSG_SPART = ' ' "WGNJ0 ** TABLES ** TAB_PART = PART ** TAB_JLPA = XJLPA.

RV_MESSAGES_MODIFY * CALL FUNCTION 'RV_MESSAGES_MODIFY' * TABLES * TAB_XNAST = XNAST.

RV_MESSAGES_GET * CALL FUNCTION 'RV_MESSAGES_GET' * EXPORTING * MSG_OBJKY_FROM = WOBJKY * MSG_OBJKY_TO = WOBJKY * TABLES * TAB_XNAST = XNAST * TAB_YNAST = YNAST.

COMMUNICATION_AREA_KOMKBV3 ** CALL FUNCTION 'COMMUNICATION_AREA_KOMKBV3' ** EXPORTING ** MSG_TRTYP = T180-TRTYP ** MSG_VBRK = JLRK ** MSG_VBUK = VBUK ** MSG_SPART = ' ' "WGNJ0 ** TABLES ** TAB_PART = PART ** TAB_JLPA = XJLPA.

RV_MESSAGES_MODIFY * CALL FUNCTION 'RV_MESSAGES_MODIFY' * TABLES * TAB_XNAST = XNAST.

FUNCTION_EXECUTE





CALL FUNCTION 'FUNCTION_EXECUTE' EXPORTING PROGRAMM = 'SAPMJ59A' KOPFGRUPPE = TJL11-KOPGR POSITIONSGRUPPE = ' ' FUNKTION = FCODE IMPORTING CUA_STATUS = T185V-STATUS CUA_TITEL = T185V-CTITEL CUA_PARA1 = T185V-PARA1 CUA_PARA2 = T185V-PARA2 CUA_PARA3 = T185V-PARA3 CUA_PARA4 = T185V-PARA4 FOLGEFUNKTION = FCODE DUNKEL = T185-DUNKEL LEAVE = FLAG-LEAVE LEAVE_SCREEN = FLAG-LEAVE_SCREEN.

COND_PROTOCOL_REFRESH CALL FUNCTION 'COND_PROTOCOL_REFRESH'.

RV_KONV_SELECT CALL FUNCTION 'RV_KONV_SELECT' EXPORTING COMM_HEAD_I = TKOMK TABLES TKOMV = XKOMV.

ISP_SERVICE_ACCOUNT_DETERM CALL FUNCTION 'ISP_SERVICE_ACCOUNT_DETERM' EXPORTING ACCOUNT_HEADER = JLRK ACCOUNT_ITEM = JLRP PROCEDURE = TJL11-KALSMC PROTOCOL = 'X' IMPORTING KONV_CHANGED = AENDERUNG_KONV TABLES TKOMV = XKOMV EXCEPTIONS ACCOUNT_MISSING = 01.

COND_PROTOCOL_SHOW CALL FUNCTION 'COND_PROTOCOL_SHOW' EXPORTING CPS_KALSM = TJL11-KALSMC CPS_KAPPL = KAPPL_KOFI_ABRECHNUNG CPS_KVEWE = 'C' CPS_KVEWE2 = 'A'.

ISP_TRACE_LIST CALL FUNCTION 'ISP_TRACE_LIST' EXPORTING INDEXKEY = LV_INDEXKEY EXCEPTIONS NO_DATA_FOUND = 1 NO_INDEXKEY = 2 TRACE_READ_ERROR = 3 OTHERS = 4.

SELOPTS_INPUT_ADJUST CALL FUNCTION 'SELOPTS_INPUT_ADJUST' CHANGING SIGN = R_DRERZ-SIGN OPTION = R_DRERZ-OPTION LOW = R_DRERZ-LOW HIGH = R_DRERZ-HIGH EXCEPTIONS OTHERS = 4.

SELOPTS_INPUT_ADJUST CALL FUNCTION 'SELOPTS_INPUT_ADJUST' CHANGING SIGN = R_VBELN-SIGN OPTION = R_VBELN-OPTION LOW = R_VBELN-LOW HIGH = R_VBELN-HIGH EXCEPTIONS 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 MJ59AF0F or its description.