cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BPC : Export data not aggregated in the file

UmaArjunan
Active Participant
0 Likes
1,390

We tried to export transaction data from a BPC cube using transformation rules and end routine. the package actually hit end routine thrice , due to the fact it process 40000 records at a time,

Exported file has duplicate records, How to solve this issue in BPC ? is there a standard way in BPC to acheive this.

I have checked similar threads and SAP notes related to this. We don't want to store the intermediate results in BPC.

Accepted Solutions (1)

Accepted Solutions (1)

former_member186338
Active Contributor
0 Likes

1. Simple! You can export PERIODIC Measure selecting parent members of some hierarchy. Aggregation will happened on BPC level. No aggregation in badi...

2. Custom logic badi is just a badi that can be launched from script logic. Using QUERY=OFF and WRITE=OFF parameters nothing will be read and written using standard processing. You can write your own code to read data and write it to text file. For example, I am using custom logic badi to export data to external MS SQL server. The benefit of custom logic badi is that I can use script logic with complex SELECT's to specify badi parameters.

UmaArjunan
Active Participant
0 Likes

Hi Vadim,

Option 1 : even though select parent members , due to the limitation of 40000 processing records, i m afraid it might end in duplication again in the export file after the end rouotine .

thats why tried the second option, i could able to implement and got the desired output . It is very fast compared to option 1.

thanks very much for sharing the useful links.

former_member186338
Active Contributor

bi.abaper

1. "i m afraid it might end in duplication again" - no issues!

2. Good option due to additional benefits.

Answers (3)

Answers (3)

UmaArjunan
Active Participant
0 Likes

For the option 2, Yes agreed , txt file can be generated and send to application server AL11 as a text file.

But the requirement is , After the run package is finished using custom logic , export data is to open the file in the presentation screen like an excel or CSV file.

former_member186338
Active Contributor
0 Likes

Sorry, but instead of saving file in AL11 folder you can save the export file in UJFS - no difference with standard export to text file!

former_member186338
Active Contributor
0 Likes

P.S. But why not to use option 1???

UmaArjunan
Active Participant
0 Likes

I have to export YTD data with end routine . Have to apply account mapping , number formatting, currency mapping etc.

former_member186338
Active Contributor
0 Likes

"I have to export YTD data with end routine . Have to apply account mapping , number formatting, currency mapping etc." - sorry, but how it's related to export of parent members?

UmaArjunan
Active Participant
0 Likes

Hi Vadim,

Could you pl. provide more details to explore on option 1 and option 2.

Usually custom logic BADI is designed to post the data back to Real time Cube..

former_member186338
Active Contributor
0 Likes

Number of options:

1. Use hierarchy (may be new one) to aggregate and export with required measure.

2. Write CUSTOM logic badi to export data to file.