Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

Signed Based Reclassification of Account

$
0
0

Hi Experts,

 

I am facing a peculiar Client requirement. See below details.

 

Suppose I have the following members:

 

Account dimension:

 

MemberID      PARENTH1

 

0001               TOTAL_AST

0010               TOTAL_AST    

0002               TOTAL_LEQ

 

Interco Dimension:

 

MemberID     PARENTH1

 

I_NONE          TOTAL_INTERCO

I_E1                TOTAL_INTERCO

 

Values are as follows:

 

Account     Intercompany       Time            Signeddata

0001            I_NONE          2015.03            -40000.00

0001            I_E1                2015.03             30000.00

 

Therefore When I look at my Report I see the following:

 

Account                Intercompany              Time              Signeddata

TOTAL_AST        TOTAL_INTERCO     2015.03         -10000.00

TOTAL_LEQ        TOTAL_INTERCO     2015.03          0

 

As this value is Negative I want to zero it out in TOTAL_AST and move the Amount to TOTAL_LEQ.

 

So I use the following script:

 

[ACCOUNT].[#0010]= ([ACCOUNT].[0001]<0?[ACCOUNT].[0001]*-1:0)
[ACCOUNT].[#0002]= ([ACCOUNT].[0001]<0?[ACCOUNT].[0001]:0)

 

But result of this is as follows:

 

Account       Intercompany       Time     Signeddata

0001           I_NONE          2015.03          -40000.00

0001           I_E1                2015.03           30000.00

0010           I_NONE          2015.03           40000.00

0002           I_NONE          2015.03           40000.00

 

Again when I look at my report I see the following:

 

Account               Intercompany                   Time     Signeddata

TOTAL_AST       TOTAL_INTERCO         2015.03     30000

TOTAL_LEQ       TOTAL_INTERCO         2015.03     40000

 

My asset side is not zeroing out.

 

What I want to see is:

 

Account                Intercompany               Time      Signeddata

TOTAL_AST     TOTAL_INTERCO          2015.03     0

TOTAL_LEQ     TOTAL_INTERCO          2015.03     10000.00

 

Please advice.


Viewing all articles
Browse latest Browse all 5414

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>