SAP Reports / Programs | Financial Accounting | Generic Contract Accounts Receivable and Payable(FI-CAX) SAP FI

SAMPLE_CREATE_BILLDOC_AF01 SAP ABAP INCLUDE - SAMPLECREATEBILLDOCAF01







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

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:

BAPI_MESSAGE_GETDETAIL CALL FUNCTION 'BAPI_MESSAGE_GETDETAIL' EXPORTING id = w_return-id number = w_return-number textformat = 'ASC' message_v1 = w_return-message_v1 message_v2 = w_return-message_v2 message_v3 = w_return-message_v3 message_v4 = w_return-message_v4 TABLES text = delta_text_tab.

FKK_GET_APPLICATION CALL FUNCTION 'FKK_GET_APPLICATION' IMPORTING e_applk = applk.

FKK_INV_SRCDOCNO_CONV_FR_ORIG CALL FUNCTION 'FKK_INV_SRCDOCNO_CONV_FR_ORIG' EXPORTING i_srcdoccat = cl_fkkinv_co=>doccat_invbill i_doc_invbi = new_billdocno-billdocno IMPORTING e_srcdocno = srcdocno_range-low.

FKK_INV_CFC_CASE_SELECT CALL FUNCTION 'FKK_INV_CFC_CASE_SELECT' EXPORTING i_applk = applk i_srcdoccat_ranges = srcdoccat_ranges i_srcdocno_ranges = srcdocno_ranges IMPORTING e_fkkinv_cfc_tab = cfc_tab.



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