SAP Reports / Programs | Financial Accounting | General Ledger Accounting(FI-GL) SAP FI

FAGL_PLAN_ACT_SEC SAP ABAP Report - CO Plan Data Integration for Secondary Cost Elements







FAGL_PLAN_ACT_SEC is a standard Executable ABAP Report 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 FAGL_PLAN_ACT_SEC into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FAGL_PLAN_ACT_SEC - Integ.Planning for Sec. CostElements


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


Text pool values


Selection Text: P_ACT = Activate
Selection Text: P_DEACT = Deactivate
Selection Text: P_DISP = Display Status
Selection Text: P_TRANS = Transport Change
Selection Text: S_ACT = Transaction
Title: CO Plan Data Integration for Secondary Cost Elements
Text Symbol: 001 = CO Plan Data Integ. for Secondary Cost Elements
Text Symbol: 002 = Perform Activity for Following Transactions in T022
Text Symbol: 003 = Actv.
Text Symbol: 004 = Inactive


INCLUDES used within this REPORT FAGL_PLAN_ACT_SEC

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:

SWO_TEXT_MESSAGE CALL FUNCTION 'SWO_TEXT_MESSAGE' EXPORTING * LANGUAGE = SY-LANGU message = '153' workarea = 'FAGL_LEDGER_CUST' IMPORTING text = textactive.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_GREEN' text = ' ' info = text-003 IMPORTING RESULT = txt_icon_active EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

SWO_TEXT_MESSAGE CALL FUNCTION 'SWO_TEXT_MESSAGE' EXPORTING * LANGUAGE = SY-LANGU message = '154' workarea = 'FAGL_LEDGER_CUST' IMPORTING text = textnotactive.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_RED' text = ' ' info = text-004 IMPORTING RESULT = txt_icon_inactive EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

G_TRANS_NUMBER CALL FUNCTION 'G_TRANS_NUMBER' EXPORTING category = category IMPORTING korrnr = korrnr EXCEPTIONS no_number = 1.

G_TRANS_HEADER CALL FUNCTION 'G_TRANS_HEADER' EXPORTING object = object_key-object obj_name = object_key-obj_name pgmid = object_key-pgmid.

G_TRANS_LINES CALL FUNCTION 'G_TRANS_LINES' EXPORTING object = object_key-object obj_name = object_key-obj_name pgmid = object_key-pgmid mastername = master_info-name mastertype = master_info-type TABLES korrtab = key_tab.

G_TRANS_CREATE CALL FUNCTION 'G_TRANS_CREATE'.



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