BPC10 NW - Conversion File
Hi Experts,
I'm facing pb while converting MATERIAL from BW to BPC.
My conversion user the following java script :
EXTERNAL
INTERNAL
js:%external%.toString().replace(/,"")
Im trying to use this to replace / symbol i have in BW ID :
Rejected Material :
Dimension member M_EU_LAMX63064100M/P is an invalid member ID
Dimension member M_EU_MELB/HALF is an invalid member ID
Dimension member M_EU_PERF100/40/1019 is an invalid member ID
Dimension member M_EU_WE3H/SL is an invalid member ID
Dimension member M_IE_TVP2RSR.F/H.RED is an invalid member ID
Dimension member M_IE_VT7.B/BLACK.PVC is an invalid member ID
Is there something I m doing wrong ?
Tks a lot for your help,
Olivia
Olivia,
please try this: js:%external%.toString().replace(/\//g, ""). The syntax is /\/ before the char that needs to be replaced and /g after to find all instances of the character within a string.
Also you can look at this thread for more help.
Akos
Similar Messages
-
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 -
Conversion File - Getting one record and skip the rest
Hi Experts,
I have one issue using conversion file. Is it possible to get only the records that we want without using SKIP? Example below:
Product
Partner
Invoice No
P1111
PA1
INV1
P2222
PA2
INV2
P5555
PA3
INV3
P9999
PA1
INV4
Let's say I want to get all the product number for partner - PA1.
Instead of using skip in the conversion file as below, is there another way to do in conversion file?
Internal
External
PA2
*SKIP
PA3
*SKIP
The reason is because I might have partner PA4, PA5 in future and i will need to modify the conversion file to include to SKIP PA4 and PA5.
Is there a way to get the data for partner PA1 only?
Appreciate your advice.
Thank you!
Best regards,
NgHi Bishwajit,
Thank you for the response. I actually tried to use java script previously but I can't get it working. I am not really good at it. I tried several ways using if condition and SKIP but it keeps on fail with error saying "Java scription JS:IF(%EXTERNAL%!=PA1 THEN *SKIP) evaluation error".
Followings are the list of sample I have tried so far:
Internal - *
External - JS:IF(%EXTERNAL%!=PA1 THEN *SKIP) or
JS:IF(%EXTERNAL%.string!=PA1 THEN *SKIP) or
JS:IF(%EXTERNAL%!=PA1 THEN SKIP) or
JS:IF(%EXTERNAL%.string!=PA1 THEN SKIP) or
JS:IF(%EXTERNAL%.string()!=PA1 THEN *SKIP) and etc.
I am not sure if we can use SKIP in that way. Appreciate if you can advice on this.
Thank you.
Best regards,
Ng -
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 -
Increase number of rows in a Conversion File
Hi Experts,
I´m setting up a huge conversion file (around 25000 rows), and when I`m going to validate it, Only the first 3568 rows are safe.
Does anybody know how to modify the conversion file, in order to allow more rows?
Thank`s in advance.Hi,
Isnt it very tedious to maintain such a huge conversion file? Can you consider to use some java scripts or some wild characters to reduce the number of rows in your file.
Hope this helps. -
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 -
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 -
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. -
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 -
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 -
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. -
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. -
Loading blank in conversion file
I have blank accounts in my upload but when I created an Account Conversion file for it
Column A Column B is 99999 it fails. Does column A need to say blank or something?Hi,
You can try using an IF condition in the transformation file. Please refer to the IF statement in the mapping section of the below link:
http://help.sap.com/saphelp_bpc75/helpdata/en/a2/e722bc58404335ada8592cdc8feaca/content.htm
Hope this helps. -
Hi friends,
I am using a Conversion file to load a data file. In my data file, dimension member is like "0001234" while loading i want to skip frist three digits "000". could you please help me..
Thank in advanceFor a simpler solution, probably you could just set the mapping in your transformation file:
*COL(A, B:C)
A = column index in the data file
B:C = the start and end positions within the column
This function defines a dimension for a subset of a field in the data file.
EXAMPLE
Account=*COL(3,1:4)
Please refer to: http://help.sap.com/saphelp_bpc75_nw/helpdata/en/5d/9a3fba600e4de29e2d165644d67bd1/content.htm
Hope this helps...
Thanks,
Yen Li
Maybe you are looking for
-
Want To Use D-Link AirPlus G Card DWL-G630 On 500 MHZ Pismo
I bought a D-Link AirPlus G Card DWL-G630 for my work PC, but I want to also use it on my 500 MHZ Pismo. Does anyone know if there is a way to make it work?
-
How can I set Excel Data In LabVIEW
Hi, There is an example about how to use LabVIEW and ActiveX to programmatically read in Excel data. It uses Range and then by reading Value2 it is possible to read excel values in that range in a specific sheet. http://www.ni.com/example/28409/en/
-
Can iPhoto share a stream with iOS7?
hi I have created a shared photostream on an iOS7 phone, and allowed family members to post photos to it, but I can't seem to get the photos to synch with iPhoto on my Mac, is this even possible? I can post photos in iPhoto on my Mac to this shared s
-
Does repeated saving of a pdf file degrade its quality?
Hi experts, I have been asked the following question: Do repeated editing and saving degrade the quality of a pdf file (containing text and image)? I hope some experienced folks can help me answer the above question. Thanks Loralon
-
I was told by a FIOS customer service rep that you could download Media Manager on a Mac. This does not seem to be possibile. Any suggestions? Solved! Go to Solution.