SAP ABAP IMG Activity FAGLSKF_GET_SEGMENT (Derive Segment)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-GL (Application Component) General Ledger Accounting
     FAGL_STATKEYFIGURE (Package) Statistical Key Figures in General Ledger
IMG Activity
ID FAGLSKF_GET_SEGMENT Derive Segment  
Transaction Code S_AC0_52000478   (empty) 
Created on 20050204    
Customizing Attributes FAGLSKF_GET_SEGMENT   Segment Derivation 
Customizing Activity FAGLSKF_GET_SEGMENT   Segment Derivation 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name FAGLSKF_GET_SEGMENT    

Use

You can use this Business Add-In (BAdI) to derive the characteristic Segment for the structure of statistical key figures without using the characteristic Profit Center.

The importing parameter is structure FAGLSKF_GLU1.

It is of course possible for BAdI FAGL_DERIVE_SEGMENT to be called in BAdI FAGLSKF_GET_SEGMENT for the derivation of the characteristic Segment and in this way be analyzed at the start of a time interval.

Requirements

Requirements

Standard settings

Activities

Example

You have made the following entries in the structure FAGLSKF_GLU1:

Statistical Key Figure: 9100

Posted Object (such as cost center) : 1000

Quantity: 200

From Date: 01.01.2004

To Date: 31.12.2008

==>
RCNTR PRCTR SEGMENT DATE_FROM DATE_TO
1000 ----- ----- 01.01.2004 31.12.2008

If this BAdI were not implemented, the profit center(s) in this time interval would be determined from the cost center and then the segment would be determined from the profit center(s). If, however, you do not want the segments to be derived from the profit centers, the "usual" BAdI FAGL_DERIVE_SEGMENT cannot be called directly because this BAdI is called on a particular key date during postings.

This means that you have to fill the table of structure FAGLSKF_GLU1 in this BAdI. However, only the fields for cost center, profit center, segment, and the posting data are transferred.


RCNTR PRCTR SEGMENT DATE_FROM DATE_TO
1000 ----- SEGA 01.01.2004 31.12.2004
1000 ----- SEGB 01.01.2005 31.12.2006
1000 ----- SEGC 01.01.2007 31.12.2008

Business Attributes
ASAP Roadmap ID 203   Establish Master Data 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG FAGLSKF_GET_SEGMENT 0 HLA0006520 Basic Functions 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050330 
SAP Release Created in 600