SAP Reports / Programs | Add-Ons for Billing | Aerospace & Defence Industry Solution | Add-Ons for Billing(IS-AD-BI) SAP IS

AD04CAS2 SAP ABAP Report - Create WBS element group (Set -> COSR -> PRPS -> Set)







AD04CAS2 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 AD04CAS2 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 AD04CAS2. "Basic submit
SUBMIT AD04CAS2 AND RETURN. "Return to original report after report execution complete
SUBMIT AD04CAS2 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: STAGR_SO = Statistical key figure
Selection Text: STAGR_GR = or group
Selection Text: P_PREFIX = Prefix for new set
Selection Text: P_GJAHR = Fiscal year
Selection Text: POSID_GR = WBS element group
Selection Text: PERBL_SO = Periods
Selection Text: GRPSGL = Single set
Selection Text: GRPMUL = Multiple sets
Title: Create WBS element group (Set -> COSR -> PRPS -> Set)
Text Symbol: T32 = End selection stat. key. figures
Text Symbol: T31 = Start selection stat. key. figures
Text Symbol: T24 = End selection WBS elements
Text Symbol: T23 = Start selection WBS elements
Text Symbol: T22 = End sel. WBS elements preparation
Text Symbol: T21 = Start sel. WBS elements preparation
Text Symbol: T12 = End selection stat. key. figures
Text Symbol: T11 = Start selection stat. key. figures
Text Symbol: T02 = End overall
Text Symbol: T01 = Start overall
Text Symbol: SC3 = Multiple sets
Text Symbol: SC2 = Prefix for new set
Text Symbol: SC1 = Single set
Text Symbol: E02 = Set does not exist
Text Symbol: E01 = Set name too long (max. 12 characters)
Text Symbol: 106 = Processing constraints
Text Symbol: 103 = Processing options
Text Symbol: 102 = Parameters
Text Symbol: 101 = Object selection
Text Symbol: 055 = Receiver WBS element groups:
Text Symbol: 054 = Receiver WBS element group:
Text Symbol: 053 = Original WBS element group:
Text Symbol: 052 = Number of receivers:
Text Symbol: 051 = Selected SKF objects:
Text Symbol: 033 = Duration
Text Symbol: 032 = Time
Text Symbol: 031 = Event
Text Symbol: 023 = Details
Text Symbol: 022 = Count





Text Symbol: 021 = Item
Text Symbol: 012 = Object ID
Text Symbol: 011 = Object Group
Text Symbol: 001 = WBS Elements


INCLUDES used within this REPORT AD04CAS2

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:

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' IMPORTING E_KOKRS = GL_KOKRS EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

G_SET_GET_ID_FROM_NAME CALL FUNCTION 'G_SET_GET_ID_FROM_NAME' EXPORTING SHORTNAME = POSID_GR IMPORTING NEW_SETID = L_NEWSN EXCEPTIONS NO_SET_FOUND = 1 OTHERS = 9.

G_SET_GET_INFO CALL FUNCTION 'G_SET_GET_INFO' EXPORTING SETNAME = L_NEWSN TABLE = C_SET_TABLE EXCEPTIONS SET_NOT_FOUND = 1 OTHERS = 2.

K_GROUP_SELECT CALL FUNCTION 'K_GROUP_SELECT' EXPORTING CLASS = SPACE FIELD_NAME = 'POSID' CRUSER = '*' SEARCHFLD_INPUT = SPACE TABLE = 'CCSS' TYPELIST = 'BS' UPDUSER = '*' IMPORTING SET_NAME = POSID_GR EXCEPTIONS NO_SET_PICKED = 01.

K_GROUP_SELECT CALL FUNCTION 'K_GROUP_SELECT' EXPORTING CLASS = SPACE FIELD_NAME = 'STAGR' CRUSER = '*' SEARCHFLD_INPUT = SPACE TABLE = 'CCSS' TYPELIST = 'BS' UPDUSER = '*' IMPORTING SET_NAME = STAGR_GR EXCEPTIONS NO_SET_PICKED = 01.



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