BPC: Conversion File Formulas
Hi all,
Would appreciate your help with the following scenario...
I have a conversion file that converts account ID's, however if it has a certain External account number I would like to use a formula to go pick up a property from the Entity Dimension and use that property value as the Internal Account.
I am hoping I can use the Formula column, but currently I have limited expericence with entering formulas on Conversion files.
I am very appreciative of any formula samples.
Many Thanks,
Brian
Brian,
Unless another user has the correct script and I have never used it, I don't think the process you have in mind is an available conversion technique. Since the conversion file is basically a 2 column replacement process sheet, you should be able to copy the members into the conversion sheet, execute a property lookup using evpro, and then copy-paste-value to convert the properties to text that would be used in the conversion process. The only downside is that this would need to be performed after any property changes or updates to the dimension file.
In addition, I would suggest logging this as an enhancement request with support; I think that this has been requested in the past, but if it is a very useful tool, then product development should see a case for adding the functioality to BPC
Thanks.
Similar Messages
-
BPC Netweaver version - Conversion File Formulas
BPC (Netweaver) Expert,
When creating formulas on the Data Conversion File that is called by the Transformation File, the Formulas are not working on the Netweaver Version. Does anyone have any idea what may not be set up correctly?
Thanks,
Greg RotvoldHello Greg,
BPC Netweaver uses somewhat different syntax for conversion formulas, and uses javascript for complex formulas, so formulas written using Visual Basic on the MS version will not work, though the basic *IF logic should work (I think I'm remembering MS conversion formulas correctly, but it's been a while). You can find the relevant Netweaver version documentation here: [http://help.sap.com/saphelp_bpc75_nw/helpdata/en/81/94a8a5febd40268d5c59b4fc31be37/frameset.htm]
If you want help specifically on the Netweaver version I suggest you ask your question in the Netweaver forum. I'm not sure what forum is most appropriate for questions about the differences between the two versions
Ethan -
BPC Conversion File - Same External ID for different Dimensions
Hello Experts,
I hope you can help me.
We are running BPC NW V10.0 SP13
I have a Conversion File for External to Internal Mapping on the DATASRC Dimension.
See Image 01
I would now like to use the same 'External ID' to identify the mapping rules for two Dimensions, DATASRC and CATEGORY Member ID
See Image 02
The rules that determine how the External ID is mapped are subjective rather than derived from patterns present in ID. This means I cannot use any conditional logic to determine the mapping rules. For example, I cannot assume that all IDs that start with 99Z19 will need to be mapped the same way.
So the CATGORY Member ID needs to be hard-coded somehow.
Although it is simple enough to copy the entire worksheet and hold the mapping for each Dimension as separate w/sheets, this duplicates the amount of ongoing maintenance and turns 80 rules into 160 (a number which will rise!)
Is there a way of using javascript in the Formula column to identify the Internal Member ID for the CATEGORY Dimension.
If so, how would the Transformation File reference this?
Any help would be much appreciatedSorry Vadim, I was having problems uploading the actual files.
So I have had to screenshot instead...............
Transformation File
Conversion File
As you can see, the Trans file assumes the CATEGORY is fixed to one Member.
But I want to use the External ID in the the DATASRC Conversion w/sheet and specify different CATEGORY Member IDs. -
Hi experts,
I am really newbie for this aspect. really need advice.
we usually using like below in conversion file:
external internal formula
* js:%external%.toString().replace(/\s+/g,"")
in transformation file:
*conversion
ACCOUNT=ConversionFile.xls!ID
is it possible to fetch data from other dimension in ConversionFile.xls ?
cause i have requirement to move data transaction between BPC cube with some logic.
as example,
- source transaction data:
ACCOUNT CP_REL ENTITY INTERCO
no_account cp1 e1 intc1
no_account cp2 e2 intc2
- logic process:
CP_REL ACCOUNT
cp1 a1
cp2 a2
- destination transaction data:
ACCOUNT CP_REL ENTITY INTERCO
a1 cp1 e1 intc1
a2 cp2 e2 intc2
what i want to do is, in account ConversionFile.xls, i want to fetch current data of CP_REL, if(%external%=cp1 then a1; a2)
thank you.Hi Chris,
many thanks for your reply. that is exactly what i want to do.
another question is
is it possible to map 1 to many?
1 row of source data generate many rows of destination.
for example:
- source transaction data:
ACCOUNT CP_REL ENTITY INTERCO
no_account cp1 e1 intc1
no_account cp2 e2 intc2
- logic process:
CP_REL ACCOUNT1 ACCOUNT2
cp1 a1 a2.1
cp2 a2 a2.2
- destination transaction data:
ACCOUNT CP_REL ENTITY INTERCO
a1 cp1 e1 intc1
a2.1 cp1 e1 intc1
a2 cp2 e2 intc2
a2.2 cp2 e2 intc2
Hi Vadim,
any advice is welcoming. thank you.
Thank you. -
BPC : Using Dimension Property in Formula of a Conversion File
Hi,
I want to export data using Package Export from Fact Table. I have transformation and conversion files.
I want to use the property of a dimension in Formula Column of a Conversion file.
I want to lookup the property and based on property I want to either skip record or have internal value.
I am looking for something like follows..
=iif([%external%].TYPE = WBS,*SKIP,D2113)
So if my Dimension 's TYPE property is WBS , I would like to skip that record else I want the value from fourth column.
I am running the Export from Fact Table with various combinations in formula column , but it is only returning null in the export file.
Please let me know how I can make this work.
Thanks,
SanjaySadi,
You can write if Statement in transformation not conversion.
Look at this docs,
How to Import Master Data and Hierarchies into SAP BusinessObjects BPC 7.5 from SAP NetWeaver BW
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c02d0b47-3e54-2d10-0eb7-d722b633b72e?QuickLink=index&…
Thanks -
Amount Conversion File error using VALUE keyword in BPC 7.5M
Hi Experts,
We just migrate from BPC 7.0M to BPC 7.5M. We also change the server to multi-server arquitecture 64-bit (Application server and BD Server).
When we try to Import or Validate Transformation File with Amount conversion file using VALUE keyword, the system returns: "Error: Validate with data file failed". The content of conversion file columns:
EXTERNAL= *
INTERNAL= *
FORMULA = VALUE*0.001
At first, we thogut that was a problem with 0.001 but we tried diferent formulas with the same error:
FORMULA = VALUE*1
FORMULA = VALUE*2
FORMULA = 0.001*VALUE
We also tried to use VALUE keyword with case sensitive and the result was the same. And when we don't use VALUE keyword the validation is OK.
Any idea? Thanks in advance.
Best regards,
AlbertHi everybody,
First of all, thanks for your replies.
The trasformation file is:
FORMAT = DELIMITED
HEADER = NO
DELIMITER = ;
AMOUNTDECIMALPOINT = ,
SKIP = 5
SKIPIF =
VALIDATERECORDS=YES
CREDITPOSITIVE=YES
MAXREJECTCOUNT=-1
ROUNDAMOUNT=
*MAPPING
ACCOUNTP=*COL(4)
BRANDS=*COL(6)
CATEGORY=*NEWCOL(ACTUAL_YTD)
CUSTOMERP=*COL(7)
DATASRC=*COL(4)
ENTITY=*COL(2)
GROUPS=*NEWCOL(LC)
INTCO=*NEWCOL(INONE)
MARKETP=*COL(8)
TIME=*COL(3)
AMOUNT=*COL(9)
*CONVERSION
TIME=TIME.xls
ENTITY=ENTITY.xls
DATASRC=DATASRC.xls
MARKETP=MARKETP.xls
BRANDS=BRANDS.xls
CUSTOMERP=CUSTOMERP.xls
ACCOUNTP=ACCOUNTP.xls
AMOUNT=AMOUNT_TEST.XLS
The data file has the first column empty and the 5 firsts row are skipped.
21.12.2011 Salida din?ica de lista 1;;;;;;;;
;Company;0FISCPER;0ACCOUNT;ZIMP_TYPE;...FIT_CTR;N? cliente;ZRAMO_P; Importe
;ES0;2020012;PCAJ;D;AX028;E4291;ZAS2;26,04000000
;ES0;2020012;PCAJ;D;AX028;E5145;ZNEA;2,48000000
;ES0;2020012;PCAJ;D;AX028;E5361;ZNE1;1,86000000
;ES0;2020012;PCAJ;D;AX028;E0889;ZMI2;1,24000000
;ES0;2020012;PCAJ;D;AX028;E0824;ZLAN;12,40000000
;ES0;2020012;PCAJ;D;AX028;E0801;ZMI2;25,42000000
;ES0;2020012;PCAJ;D;AX028;E1273;ZTS1;3,10000000
;ES0;2020012;PCAJ;D;AX028;E6163;ZLAN;60,14000000
;ES0;2020012;PCAJ;D;AX028;ORGUS00;ZSHL;96,10000000
The conversion file AMOUNT_TEST.XLS has only one line. With this conversion we want to change value from u20AC to Ku20AC.
You should think that we used these transformation and conversion files in BPC 7.0M and it works fine.
I'd like to remember that if we don't use AMOUNT_TEST.XLS or delete VALUE keyword, these transformation file works fine too.
nilanjan, I tried to validate data file with one record and the system show me the same error.
Roberto, our first migration was from BPC 7.0M to BPC 7.5M SP3, but we didn't test it. Then we apply SP7 because to solve other issues, and when we try to validate data load we detect that issue.
Thank you for your help, I hope we can solve that problem soon.
Best regards,
Albert -
How to READ/SAVE Transformantation / Conversion File in BPC with ABAP
hi Experts
I would like to READ/SAVE Transformantation / Conversion File in BPC with ABAP
When I interface Transaction File From Other Cube,
I want to run Interface test from ABAP using Transformantation / Conversion File before run DM.
and, l want to Manage files with ABAP Program ,if need to modify Transformantation / Conversion File
Thank you.Hi Young,
In addition to the above suggestions, would like to inform you that, if your requirement can be met by running those files in BPC Excel itself, what is the point in running ABAP program for the same?
It would be much more easier for you to run those files in BPC Excel itself and that is how BPC is designed.
Hope this clarifies further.
Rgds,
Poonam -
Formula Field in Conversion File
Hi,
I have a scenario where I need to multiply the values of accounts of a particular entity (say entity External "9000", Internal "EntityA"). I have created a Conversion File as shown below
External Internal Formula
9000 EntityA Value*0.371996
Now when I upload the data file using this conversion file the data of 9000 directly goes into EntityA without the formula being applied. Why is that so? What is then the use of the Formula Column?
Thanks,
Prasanth.Hi Patrick,
I did what you said. I added the following in the options section of the transformation file
CONVERTAMOUNTWDIM=LEGALENTITY
In the Conversion section I already had the reference to the conversion file as follows
Legalentity=entityconversion.xls
I add the second line
Amount=entityconversion.xls
When I process the transformation file with a datafile I get the following error messaga
"Index was outside the bounds of the array"
When I remove the line Amount=entityconversion.xls from the conversion section, the transformation file gets validated succesfully but the Formula value is not getting applied.
Any idea what could be wrong?
Thanks,
Prasanth. -
Formula not working in conversion file
Hi,
I had given the formula to divide the values with 50. But its not working.
*OPTIONS
FORMAT = DELIMITED
HEADER = YES
DELIMITER = ;
AMOUNTDECIMALPOINT = .
SELECTION= 0FISCYEAR,2010;0LOC_CURRCY,INR;0FISCPER3,7;
SKIPIF =
VALIDATERECORDS=YES
CREDITPOSITIVE=YES
MAXREJECTCOUNT=
ROUNDAMOUNT=
CONVERTAMOUNTWDIM=P_ACCT
*conversion file
EXTERNAL INTERNAL FORMULA
* * VALUE*50
Anurodh
Edited by: Anurodh Jindal on Aug 27, 2010 12:29 PMFORMAT = DELIMITED
HEADER = YES
DELIMITER = ;
AMOUNTDECIMALPOINT = .
SELECTION= 0FISCYEAR,2010;0LOC_CURRCY,INR;0FISCPER3,7;
SKIPIF =
VALIDATERECORDS=YES
CREDITPOSITIVE=NO
MAXREJECTCOUNT=
ROUNDAMOUNT=
CONVERTAMOUNTWDIM=
*MAPPING
Category = *NEWCOL(ACTUAL)
DOC_CURR = *NEWCOL(INR)
Entity = 0COMP_CODE
IntCo = *NEWCOL(NONE)
P_ACCT = IF(0FUNC_AREA=Str(P) then Str(EP-)+col(22,1:6);0FUNC_AREA=*Str(S) then Str(ES-)+col (22,1:6);0FUNC_AREA=*Str(A) then Str(EA-)+col(22,1:6);*col(22,1:6))
P_DataSrc = *NEWCOL(INPUT)
RptCurrency =*NEWCOL(IGAAP)
Time = 0FISCYEAR*str(.)0FISCPER3
SIGNEDDATA = 0DEB_CRE_LC
Planning_Entity = *NEWCOL(P_CORP)
P_Activity = *NEWCOL(AMOUNT)
*CONVERSION
Time = Time.xls
P_ACCT = P_ACCT_Anurodh_Jindal.xls
Now i am getting 0DEB_CRE_LC from BI and i need to divide it by 50. -
In a Conversion file, Using Java Script - IF statement with Greater,Less definitions
Hail to All Gurus,
Well, I've been trying to make a conversion file by using if statement of Java script with < , > definitions. unfortunately i got "Evolution error" over and over again.
Actually i want to convert all dates before 2009 as 2008.12. And the dates which is greater than 2009 will be converted as they are (e.g. 2009.01 or 2010.02 etc.).
Code is:
js:if(%external%.toString().substring(0,4)<"200900"){"2008.12"}else{%external%.toString().substring(0,4) + "." + %external%.toString().substring(4,6)}
SAP EPM version 10.0 SP15 Patch 2
Build 8586
Thanks for your help in advanceSadi,
You can write if Statement in transformation not conversion.
Look at this docs,
How to Import Master Data and Hierarchies into SAP BusinessObjects BPC 7.5 from SAP NetWeaver BW
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c02d0b47-3e54-2d10-0eb7-d722b633b72e?QuickLink=index&…
Thanks -
A question for transformation/conversion file
Hi Guru:
I load data from a file for a dimension.
For one member, I want to set the value to blank if the source value is equal to "1000".
How to write the conversion/tranformation file to achieve this?
Thanks.
EricHi,
What Nilanjan said is correct. You cannot have any member as blank in BPC.
I can suggest you a workaround, have a member BLANK in your dimension with no description and maintain the conversion file to map the source value 1000 to this member.
So when you report on this, end user is going to see only the description(if you hide the key values) which is going to be empty without any value for it. So they have the feel of no ID is assigned to it.
Hope this helps,
Regards,
G.Vijaya Kumar -
Macro for exporting data to a BPC Data File
Hi,
My requirement is if in an Input Schedule, I can write a macro on a button click that takes the data from the input schedule cell range and exports it to a Data file at the BPC Data File path. Please note, while exporting, the data is to be overwritten and not appended, i.e. every time I export the Data file should be replaced with new data.
Does anyone have sample code for writing such a macro ?
Environment: SAP BPC 7.5 NW
Cheers,
NitinHi Vladim,
The requirement is to allow the user to enter Account Type and Rate Type property values for certain nodes in the Dimension.
Since these values are not coming from BW, we need to maintain in conversion files while uploading the master data.
However, we need to do away with the manual maintenance of the conversion files and find a way to update these properties directly.
One way I thought was to create an Input Schedule (IS), the user enters the account no and rate/account type and clicks a button. This button
1. Exports this data to a Data File, and then a
2. Data manager package is called to import the data file.
Point 2 is doable, but im trying to figure out the step 1.
Since we do not have an FTP location hence won't be able to utilise your method.
Cheers,
Nitin -
Huge Conversion File - Too many lines
Hi Experts,
Is there any way to split a Conversion File?
I have a Conversión file with too many lines, so when I save it, it takes a lot of time, (11.000 rows, more than half an hour) and sometimes the Excel hand up (froze).
It is becaming a problem, because everytime I save the Conversion file, I can not use the excel for a while.
Any idea?
Thanks in advance.
IriaIria and Patrick,
I want to give an information about this.
BPC transformation file can be multiple steps in one file.
For example,
*Options
*Transformation
*Conversion
*Options
*Transformation
*Conversion
*Options
*Transformation
*Conversion
Therefore, If you only has a problem with conversion, you can do it as below
*Options
*Transformation
*Conversion
conversion part1
*Options
*Transformation
*Conversion
conversion part2
*Options
*Transformation
*Conversion
conversion part3
Note 1 : If you don't need multiple transformation, you only need to specifiy it in the first transformation.
Note 2 : Conversion file can have multiple Tabs in one conversion excel workbook but I am not sure about the performance
when you do that. So please try two things.
1. Split it into multiple worksheet
2. Split it into multiple workbooks.
Please update your result for others.
Note3 : You don't need multiple Convert task, it will be executed in a convert task.
I hope it will help you
Thank you.
James Lim
Edited by: James Lim on Mar 4, 2010 4:31 PM -
Remove zero in conversion file
Hi experts
Can you help me with a way to remove zero in conversion file, let me explain, I want to load transactional data from BW but I have a charateristic with 10 character but in BPC side my dimension have 8 character, technicaly in BW the file is like this:
BW
0012345678
BPC
12345678
How can I remove left zeros for the characteristic?
any input will be apreciated.
regards
Lucio Martinez!!Hi Lucio,
I will present my scenario. I want to remove the leading Zeros from the Customer ID and while transferring the values in BPC, I want to prefix the value (after removing the zeros) with 'C_'. eg: 000012345 so I want to transfer that as 'C_12345'.
In transformation file, I had done the mapping as
ID=*str(C_)+ID
which works fine, if I dont have to remove the zeros. I added code in the Conversion file
EXTERNAL INTERNAL
js:PARSEINT(%external%)
But it is giving me an error message that validation has failed for transformation file and it is giving a message that:
Line 1 :Detected duplicate member ID 'NaN' .. Line 3560 :Detected duplicate member ID 'NaN'
Can you please help me out in this situation? Any suggestions how can I achieve this?
Your replies will be much appreciated.
Thanks,
Abhishek -
Conversion Files - many to one mapping
Folks,
This is something that used to work fine in BPC MS but NW is giving me trouble with the data load. We've setup a custom BW cube as a source to our BPC consolidation application.
On a Consolidation App we don't need all ECC accounts and we simply consolidate many of them into a single consolidation account.
Let's say I have this source data from the custom cube:
Account1, $100
Account2, $200
Account3, $300
And this mapping table for the Account dimension:
Account1, ConsAccount1
Account2, ConsAccount1
Account3, ConsAccount1
I would expect BPC to load this final data into BPC Consolidation cube:
ConsAccount1, $600
But it isn't happening and marks a warning and nothing gets loaded in the cube.
This is very common in Planning / Consolidation apps and I won't expect users to maintain conversions using BW directly as it goes against all benefits BPC provides to Finance people.
Any way I can get out of this?
Thanks
PauloHi Paulo,
there are two ways to put data on BPC cube, either using IMPORT FROM INFOPROVIDER or UPLOADING a flatfile.
If you want to map many to one,you will need a conversion file.
EXTERNAL INTERNAL
ACCOUNT1 BPC_ACC
ACCOUNT2 BPC_ACC
Hope this helps.
Maybe you are looking for
-
Premiere pro CC on mac pro keeps crashing
on the splash screen when it reads "importer quicktime bundle" PLEASE HELP WHAT DO I DO? i have tried everything, re-downloading premiere pro and signing in and out of iCloud and nothing is working. I need to use this for a media project and i really
-
How do I remove Ask from my computer?
did a greeting card for someone and inadvertently installed Ask onto my computer... toolbar and search engine etc. Having trouble following different instructions by using web sites
-
i am gettomg error message likes "package oracle.sql does not exist" what is the problem might be ?
-
Trying to log into a "go to webinar" session but can't get any alpha characters to appear on keyboard so I can type in the password - can anyone provide any help?
-
Text should appear in FBL5N screen from Commercial Invoice
Dear All, My client want to see text in FBL5N he should corelate it. I would like to know where should I enter text in order or invoice so that it should reflect in FBL5N screen? Regards, Balaji