Ansicht
Dokumentation

FAGLSKF_GET_SEGMENT - Derive Segment

FAGLSKF_GET_SEGMENT - Derive Segment

BAL Application Log Documentation   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this Business Add-In (BAdI) to derive the characteristic Segmentfor 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 Segmentand in this way be analyzed at the start of a time interval.

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






BAL Application Log Documentation   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 2424 Date: 20240523 Time: 195719     sap01-206 ( 42 ms )