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

Export transactional data to flat file in columns

$
0
0

Hi experts,

 

I am trying to export transactional data from BPC to a flat file but  I want to write the 12 month values of the account by columns and not by rows as usual. That’s an example of what I need:

 

 


 

Year


 

 

Center


 

 

Category


 

 

Account


 

 

Oct


 

 

Nov


 

 

Dec


 

 

Jan


 

 

Feb


 

 

Mar


 

 

Apr


 

 

May


 

 

Jun


 

 

Jul


 

 

Aug


 

 

Sep


 

 

2015


 

 

C_L0M870


 

 

52540


 

 

FG0000622640


 

 

0


 

 

0


 

 

0


 

 

0


 

 

0


 

 

0


 

 

0


 

 

0


 

 

0


 

 

0


 

 

0


 

 

0


 

 

2015


 

 

C_L0M870


 

 

52540


 

 

FG0000622690


 

 

0


 

 

0


 

 

0


 

 

0


 

 

0


 

 

0


 

 

0


 

 

0


 

 

0


 

 

0


 

 

0


 

 

0


 

 

 

I tried the following structure but it fails when running the package because of the two *IF with the sum:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


 

*OPTIONS


 

 

FORMAT =
  DELIMITED


 

 

HEADER =
  YES


 

 

DELIMITER
  = ;


 

 

AMOUNTDECIMALPOINT=
  ,


 

 

SKIP =


 

 

SKIPIF =
  NULL


 

 

VALIDATERECORDS=YES


 

 

CREDITPOSITIVE=YES


 

 

MAXREJECTCOUNT=


 

 

ROUNDAMOUNT=


 

 

SPECIFICMAPPING=YES


 

 

*MAPPING


 

 

TIEMPO=*COL(8,1:4)


 

 

CENTRO=*STR(C_)+*COL(3)


 

 

CATEGORIA=CATEGORIA


 

 

CUENTA=CUENTA


 

 

OCT=*IF(*COL(8,6:7)=*STR(04) THEN SIGNEDDATA;*STR(0))+*IF(*COL(8,6:7)=*STR(05) THEN SIGNEDDATA;*STR(0))


 

 

 


 

 

 


 

 

Thank you
in advanced.


Viewing all articles
Browse latest Browse all 5414

Trending Articles



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