J_3GCOAN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program serves, first of all, to recognize errors that would cause problems in billing...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_3GCOAN into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
J3G= - Analysis - CO Object Determination
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.
Selection Text: S_VBELN = Sales document
Selection Text: S_EQUNR = Equipment
Selection Text: P_VONDAT =
Selection Text: P_GROUP = Session name
Selection Text: P_FAKSK = Billing block
Selection Text: P_BISDAT =
Selection Text: P_BATCH = Create session?
Selection Text: FAKSK__ = Only documents w/o bill. blck
Selection Text: FAKSK_X = Only documents with bill. blck
Selection Text: FAKSK_A = Billing block ignored
Selection Text: CSKS_ERL = Check CC - revenue posting
Title: ETM: Analysis of CO Object Determination
Text Symbol: I05 = Returncode
Text Symbol: I04 = BDC_CLOSE_GROUP
Text Symbol: I02 = BDC_OPEN_GROUP
Text Symbol: I01 = Create group
Text Symbol: 999 = PM/CO order has been initialzd
Text Symbol: 400 = Set billing block in case of error
Text Symbol: 310 = Condition description not created
Text Symbol: 301 = Due to selection criteria, no orders to be processed have been found
Text Symbol: 300 = No inconsistencies have been found
Text Symbol: 203 = To
Text Symbol: 202 = Period from
Text Symbol: 110 = Further selection criteria
Text Symbol: 100 = Selection criteria
Text Symbol: 011 = Itm no:
Text Symbol: 010 = Order :
INCLUDE J_3GCOAD.
INCLUDE J_3GCOAS.
No SAP DATABASE tables are accessed within this REPORT code!
J_3G_BUCHUNGSREGEL_ANALYSE CALL FUNCTION 'J_3G_BUCHUNGSREGEL_ANALYSE' EXPORTING kschl = xkonv-kschl i_vbrp = i_vbrp i_protocol = 'X' IMPORTING rettyp_l = rettyp_l rettyp_b = rettyp_b e_co_obj_l = co_obj_l e_co_obj_b = co_obj_b TABLES t_xvbfs = xvbfs_ges EXCEPTIONS t685_not_found = 1 OTHERS = 2.
MESSAGE_TEXT_BUILD CALL FUNCTION 'MESSAGE_TEXT_BUILD' EXPORTING msgid = xvbfs-msgid msgnr = xvbfs-msgno msgv1 = xvbfs-msgv1 msgv2 = xvbfs-msgv2 msgv3 = xvbfs-msgv3 msgv4 = xvbfs-msgv4 IMPORTING message_text_output = hlp_text.
RK_KOSTL_CHECK CALL FUNCTION 'RK_KOSTL_CHECK' EXPORTING datum = vbkd-fkdat * DATUM = SY-DATUM kokrs = kokrs kostl = kostl v_bukrs = bukrs v_katyp = '01' v_vrgng = 'RFBU' IMPORTING xcsksv = csksv EXCEPTIONS OTHERS = 1.
K_ORDER_CHECK CALL FUNCTION 'K_ORDER_CHECK' EXPORTING aufnr = aufnr katyp = '01' test_vrgng = 'RFBU' EXCEPTIONS OTHERS = 1.
CO_SF_NETWORKACTIVITY_CHECK CALL FUNCTION 'CO_SF_NETWORKACTIVITY_CHECK' EXPORTING aufnr_imp = nplnr prvrg_imp = 'RFBU' vornr_imp = vornr vrgng = 'RFBU' EXCEPTIONS not_exist = 1 vorgang_must = 2 vorgang_no = 3 error_message = 4 OTHERS = 4.
STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'STATUS_CHANGE_FOR_ACTIVITY' EXPORTING check_only = 'X' objnr = hlp_objnr vrgng = 'RFBU' EXCEPTIONS OTHERS = 1.
HELP_START CALL FUNCTION 'HELP_START' EXPORTING help_infos = help_info TABLES dynpselect = dseltab dynpvaluetab = dvaltab EXCEPTIONS OTHERS = 1.
HELP_DOCULINES_SHOW CALL FUNCTION 'HELP_DOCULINES_SHOW' EXPORTING help_infos = help_info overlay_header = overlay_header TABLES excludefun = excludefun helplines = helplines EXCEPTIONS OTHERS = 1.
RS_TOOL_ACCESS CALL FUNCTION 'RS_TOOL_ACCESS' EXPORTING operation = 'DOCS' object_name = 'J_3GCOAN' object_type = 'PROG'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.