SAP Reports / Programs | Financial Accounting | Accounts Receivable | Basic Functions(FI-AR-AR) SAP FI

MF02CFS0 SAP ABAP INCLUDE - Format and Send an FI Idoc for Message Type FIDCC1 (Whole Document)







MF02CFS0 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 MF02CFS0 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 MF02CFS0. "Basic submit
SUBMIT MF02CFS0 AND RETURN. "Return to original report after report execution complete
SUBMIT MF02CFS0 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 MF02CFS0

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:

CREDITLIMIT_CHANGE CALL FUNCTION 'CREDITLIMIT_CHANGE' IN UPDATE TASK EXPORTING I_KNKA = KNKA I_KNKK = KNKK UPD_KNKA = UPD_KNKA UPD_KNKK = UPD_KNKK YKNKA = YKNKA YKNKK = YKNKK XNEUA = KLIM-XNEUA XREFL = KLIM-XREFL.

POPUP_TO_CONFIRM_WITH_MESSAGE * CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' * EXPORTING * DEFAULTOPTION = 'Y' * DIAGNOSETEXT1 = TEXT-101 * DIAGNOSETEXT2 = TEXT-102 * DIAGNOSETEXT3 = ' ' * TEXTLINE1 = TEXT-100 * TITEL = ' ' * CANCEL_DISPLAY = ' ' * IMPORTING * ANSWER = ANSWER.

SD_CREDIT_RECREATE CALL FUNCTION 'SD_CREDIT_RECREATE' "K11K100791 EXPORTING "K11K100791 AFTER_CHANGE_KNKLI = 'X' "K11K100791 AFTER_CHANGE_TVAP_TVLP = 'X' "K11K100791 KKBER = KNKK-KKBER "K11K100791 KUNNR = KNKK-KUNNR "K11K100791 PROTOCOL = ' ' "K11K100791 RECHECK_DOCUMENTS = 'X' "K11K100791 SET_COMMIT = 'X' "K11K100791 TKNKK = KNKK. "K11K100791

POPUP_TO_CONFIRM_WITH_MESSAGE * CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' * EXPORTING * DEFAULTOPTION = 'Y' * DIAGNOSETEXT1 = TEXT-101 * DIAGNOSETEXT2 = TEXT-102 * DIAGNOSETEXT3 = ' ' * TEXTLINE1 = TEXT-100 * TITEL = ' ' * CANCEL_DISPLAY = ' ' * IMPORTING * ANSWER = ANSWER.

SD_CREDIT_RECREATE CALL FUNCTION 'SD_CREDIT_RECREATE' "K11K100791 EXPORTING "K11K100791 AFTER_CHANGE_KNKLI = 'X' "K11K100791 AFTER_CHANGE_TVAP_TVLP = ' ' "K11K100791 KKBER = KNKK-KKBER "K11K100791 KUNNR = KNKK-KUNNR "K11K100791 PROTOCOL = ' ' "K11K100791 RECHECK_DOCUMENTS = 'X' "K11K100791 SET_COMMIT = 'X' "K11K100791 TKNKK = KNKK. "K11K100791

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'F4' I_DTYPE = 'I' I_MSGNR = '796' I_VAR01 = space I_VAR02 = space I_VAR03 = space I_VAR04 = space.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' EXPORTING I_ARBGB = 'F4' I_DTYPE = 'I' I_MSGNR = '721' I_VAR01 = space I_VAR02 = space I_VAR03 = space I_VAR04 = space.

OPEN_FI_PERFORM_00001520_E CALL FUNCTION 'OPEN_FI_PERFORM_00001520_E' EXPORTING I_KUNNR = KNKK-KUNNR I_KKBER = KNKK-KKBER.

FI_TEXTS_CREDM_UPDATE CALL FUNCTION 'FI_TEXTS_CREDM_UPDATE' EXPORTING I_KUNNR = KNA1-KUNNR I_KKBER = RF02L-KKBER.

FI_TEXTS_CREDZ_UPDATE CALL FUNCTION 'FI_TEXTS_CREDZ_UPDATE' EXPORTING I_KUNNR = KNA1-KUNNR.

FI_TEXTS_CRED_CHANGEPOINTER CALL FUNCTION 'FI_TEXTS_CRED_CHANGEPOINTER'.

DEQUEUE_ALL * CALL FUNCTION 'DEQUEUE_ALL'. " unnötig wegen ENQ (siehe SPERREN)?

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING TITEL = TEXT-P07 DIAGNOSETEXT1 = TEXT-P05 TEXTLINE1 = TEXT-P09 TEXTLINE2 = TEXT-P10 DEFAULTOPTION = 'J' IMPORTING ANSWER = ANSWER.

DEQUEUE_EXKNKA CALL FUNCTION 'DEQUEUE_EXKNKA' EXPORTING KUNNR = ENQ_KEY EXCEPTIONS SYSTEM_FAILURE = 1.

ENQUEUE_EXKNKA CALL FUNCTION 'ENQUEUE_EXKNKA' EXPORTING KUNNR = KNA1-KUNNR EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2.

DEQUEUE_EXKNKA CALL FUNCTION 'DEQUEUE_EXKNKA' EXPORTING KUNNR = ENQ_KEY_KNKLI EXCEPTIONS SYSTEM_FAILURE = 1.

ENQUEUE_EXKNKA CALL FUNCTION 'ENQUEUE_EXKNKA' EXPORTING KUNNR = S01_KNKLI EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2.



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