Example of using VALUE/AMOUNT in transformation conversion?
Does anyone have a good example of using the AMOUNT keyword in a transformation conversion section and the corresponding VALUE keyword in the conversion file formula column?
I have a situation where I am running the LoadInfoProvider package and I want to avoid loading records where the Signeddata value is less than zero.
Thanks.
-Amy
Sorry Amy,
I thght you were using the direct transactional loading from the infocube...as in here..
Is there a way to enable delta for BPC transaction loads ?
-vishal.
Similar Messages
-
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 -
I have a Mac, an iPad and an iPhone. When I contact someone using iMessage, for example using my iPad, the entire conversation also appears on my Mac and iPhone. How do I stop this duplication?
Hello ctb4408,
With iMessage, it is meant to show up on all your iOS devices and Mac. If you do not want them to go across all your devices, then you will need to turn off iMessage on your iPad and Mac Pro.
iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
http://support.apple.com/kb/HT5538
Regards,
-Norm G. -
blank values using Global Address Cleanse Transform
Hi,
We are trying to cleanse Global Addresses using Global Address cleanse transform. (with USA and Global Engines). We are passing Locality, Region and Postal code as multiline items. In the output some of the records are not getting populated. For these records if we keep USA as defult country then the fields are getting populated. The problem is we cannot take USA as defult country because it has global addresses and for other countries also it is filling USA as country name. Why is it that without giving USA as default country the fields are not getting populated for some records?
Below are some of the sample addresses.
1) 10 INDUSTR. HWY MS6 LESTER PA 19029
2) PO BOX_22964 JACKSON MS 39225
3) 306 EASTMAN GREENWOOD MS 38930
4) 3844 W NORTHSIDE DR JACKSON MS 39209
5) 259 W QIANJIANG RD ZHEJIANG CN 31440
Can you please suggest a way to fill the countries for these addresses? Any inputs on this will be appreciated.
regards,
MadhaviHi,
As Lance indicates, you set up your address cleanse (for US I would suggest using the URAC transform) and map in your input fields as normal. In the output, you will select to output postcode2 along with all the other standardized fields you want posted in the output.
Note: If an address is assignable using the CASS rules established by the USPS to the USPS referential data, the postcode2 will be populated. In cases where it is not assignable, the postcode2 can be empty or the input postcode2 data could be preserved based on a user's settings.
Thanks,
Paula -
How to use Value Mappings for simple translations?
Hello,
I want to use Value Mappings for simple translations in mappings, e.g. from IDoc to Inhouse structures.
For example unit of quantity:
IDOC --> INHOUSE
PCE P
ABC A
How can I use Value Mapping for this? What should be used as Agency, what should be used for Scheme? What about groups? I tried the following: I created a new Value Mapping in Integration Directory:
- Source Agency: DELVRY05
- Source Scheme: MENEE (IDoc field name)
- Target Acency: INHOUSE_DESADV (Name of structure)
- Target scheme: UNIT (Name of field)
Then, in the table, I added several lines for translating PCE to P and ABC to A and so on. But I have to define a group name for each line. I used INHOUSE. But than I get one INHOUSE group for each line.
This seems very complicated for simple translations from A to B. I don't want to use FixValue in Message mappings.
Any help appreciated.
Thanks,
ChristophHello,
@pavan kumar: Thanks, but I know all Blogs about Value Mappings. That does not help me. And I refer to PI 7.1.
Lets get it very simple: I want to have exactly the same functionality of "FixValues" as ValueMappings. In 7.1, I need to define a Group for every row / line in the conversion table (e.g. for units of measurement conversion between IDoc and FlatFile). That does not make sense for me, as the Group is always the same, e.g. "Unit of measurement". So I will get dozens of same groups called "Unit of measurement".
I don't really understand the concept of Groups. Maybe this is just not appropiate for my intenses? Maybe the Group has to be defined as one specific value of Unit of measurement, e.g. "pieces"?
CHRISTOPH -
Error in XI while using standard EDI Libraries of Conversion Agent
Hi,
We are planning to use conversion agent for EDI to XML conversion using standard libraries.
Right now working on EDI 867 and is working fine in my local system. But when we moved the contents
to XI server, we are getting the following error
*ConversionAgent/ServiceDB/TS_867_Product_Transfer_and_Resale_Report_Parser/TS_867_Product_Transfer
andResale_Report_parsers_segments.tgp(547): is_optional is not a known profile or PT*
Can anybody help us to solve this issue?
Regards,
RaviHI,
The module name must be localejbs/sap.com/com.sap.nw.cm.xi/CMTransformBean.
The parameter name must be TransformationName.
The parameter value must be the conversion agent project name deployed in serviceDB. In the above example, the Tutorial_3 project from the documentation in step 1 is used.
And also it was failed to update the log.See the folder access onceagain.
many links provided in that blog itself ,plz check.
Regards
Chilla.. -
From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?
Hi,
Use NVL or COALESCE:
NVL (col_a, col_b)
Returns col_a if col_a is not NULL; otherwise, it returns col_b.
Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
Explain, using specific examples, how you get those results from that data.
Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
Can a characteristic be made a constant value in the transformation
Hi
Therer is a req where i am picking 3 kf from 3 diff tables and out of that 2 tables have documnet type and one table doesnt have that..so now when i am running the query on that the kf which dint have a document type characteristic is not able to pull in the relevent data and it showing only '0' but the other 2 kf which had the document type characteristic is able to pull in the relevant data..
but the user wants to drill down the report using the document trype..is there any way in making a constant value to pop up automatically in that table..so that it can pick up and that particular table has only one document type.
Please suggest me with a solution
Regards
ShilpaHey Shilpa,
You can assign some constant value in your transformations for the docuemnt type coming from the first table (hope you have diff transformations for both). This way your kf will be accompanied with doc type and will show in query output.
Hope it helps...
Regards,
Ashish -
Dashboard Prompt using values not from the table
Hi,
I have a requirement from the client to design a dashboard report like the following.
Dashboard prompt will have 4 filters, three filters come from the table, but the fourth filter will have 3 values not from the table. The fourth filter will have values like "Report with Sales Amount", "Report with Purchase Amount", "Report with both Purchase and Sales". I have three different Table reports designed for each of the fourth filter choices. But how do I implement it, both in the dashboard prompt as well as navigating to the rite report based on the selection.
Is my approach correct.
Thanks for your time and help.The fourth prompt where you have "Report with Sales Amount", "Report with Purchase Amount", "Report with both Purchase and Sales" you pull a dummy column into the prompt and write a sql in show.
would be something like
SELECT Case when 1=0 then "Dimension- Customer"."Cust Name" else 'Report with Sales Amount' end FROM Sales UNION SELECT Case when 1=0 then "Dimension- Customer"."Cust Name" else 'Report with Purchase Amount' end FROM Sales
and in the prompt set a presentation variable say var_criteria
Now create report2 for with a some randomn column and another column will have the values that you want to display for example 'Report with Sales Amount'
Create a filter on the 2nd column and reference the presentation variable var_criteria and default it to 'Report with Sales Amount'
On the dashboard page in the section place the report and enable guided navigatoin by selecting report 2.
Please let me know if you have any questions.
thanks,
deep -
C++ example to use Acroform OLE Automation
Can anyone provide me with an example for using the Acroform OLE Automation objects AFormApp, Fields and Field. The only examples provided with the SDK are for VB or C#.
When I use CreateDispatch to instantiate AFormApp object in C++, am getting a compilation error saying CreateDispatch is not a member of the class. Please let me know if the implementation has changed with Acrobat 9 SDK and I need to use it differently.There are C++ samples in the SDK for using all the IAC APIs via OLE except Acroform. Believe there should also be a C++ Acroform OLE sample.
Maybe you can ship that in next version of SDK and provide a sample code here or via email. Am particularly looking to traverse the fields and populate values in them. -
Mapping an object using values from multiple tables
Is it possible to use values looked up in other tables when mapping an object?
For example: I have three tables. In table 1, I have fields for 'cityCode' and 'stateCode'. Table 2 is a state table which contains a list of stateCodes and corresponding stateIds. Table 3 is a city table with cityCodes listed by stateId (the city code is unique within the stateId but can be duplicated under other stateIds). Table 3 also contains the cityName for the matching cityCode/stateId pair.
I am ultimately trying to match a cityName to a cityCode. I can't figure out how to tell toplink use the stateId returned when mapping Table 1 to Table 2 via stateCode when mapping cityCode in Table 1 to Table 3.
Any help is greatly appreciated
--mattWhat does your object model look like, do you have a single object with data from all three tables in it?
<p>
In general because the cardinality of the tables and usage does not match, I would not recommend using multiple tables to map this. Instead define a CityNameManager class that preloads and stores all of the city names for each state, (possible lazy initializing each set of cities per state). Your getCityName() method in your class would then just use this manager.
<p>
You could map the multiple tables but it may be difficult, and would most likely need to be read-only because I don't think you want to insert into the table2 or 3. You basically have a foreign key table1.stateCode => table2.stateCode, (table1.cityCode, table2.stateId) => (table3.cityCode, table3.stateId). You probably cannot define this in the Mapping Workbench, so would need to use the ClassDescriptor code API and an amendment method. If you can't get the foreign keys to work you can always use the descriptor multipleTableJoinExpression and define the join directly.
<p>
You could also define a OneToOneMapping to the CityName from your object using the cityCode and using a selectionCriteria() on your mapping to provide an expression that uses the getTable() method to join to the intermediate table.
<p>
<p>---
<p>James Sutherland -
Any good examples of using hashCode?
I am creating a simple test class of a date object using getYear, getMonth, GetDay, compareTo, equals and hashCode. Ive got everything else working fine, but im wondering if I am getting the correct output from the hashCode method. What exactly does the hashCode method do? anyone got a good example of using it and what it outputs?
the name of my date class - here's the rest of my code if you want to verify it:
package Final;
import java.util.GregorianCalendar;
import java.util.Calendar;
public class SimpleDate
/** Creates a new instance of SimpleDate
public SimpleDate()
GregorianCalendar greg = new GregorianCalendar();
year = greg.get(Calendar.YEAR);
month = 1 + greg.get(Calendar.MONTH);
day = greg.get(Calendar.DATE);
/** Creates the setDate method which allows the day, month, and year of the
* date to be specified
public SimpleDate( int year, int month, int day )
setDate( year, month, day );
/** Sets the day, month, and year variables for the date
public void setDate( int year, int month, int day )
GregorianCalendar greg = new GregorianCalendar();
greg.set(Calendar.YEAR, year);
greg.set(Calendar.MONTH, month-1);
greg.set(Calendar.DATE, day);
this.year = greg.get(Calendar.YEAR);
this.month = 1 + greg.get(Calendar.MONTH);
this.day = greg.get(Calendar.DATE);
/** Defines the method getYear which gets the integer value which represents
* the year in the date
* @returns int year
public int getYear()
return year;
/** Defines the method getMonth which gets the integer value which represents
* the month in the date
* @returns int month
public int getMonth()
return month;
/** Defines the method getDay which gets the integer value which represents
* the day in the date
* @returns int day
public int getDay()
return day;
/** Defines the boolean method equals which compares two dates to see if they
* are equal
* @returns boolean equals
public boolean equals()
return equals;
public int compareTo()
return comparable;
public int hashCode()
return hashcode;
public String toString()
String string1 = new String();
return string1;
/*************Built-in Self Test************/
public static void main(String[] args)
SimpleDate date = new SimpleDate();
SimpleDate date2 = new SimpleDate();
date.setDate(2005, 11, 4);
System.out.println("Day, Month and Year: " + day + " " + month + " " + year);
date.getYear();
System.out.println("The year selected is: " + year);
date.getMonth();
System.out.println("The month selected is: " + month);
date.getDay();
System.out.println("The day selected is: " + day);
date2.setDate(2004, 11, 4);
System.out.println("The first date selected equals the second date selected: " + date.equals(date2));
//System.out.println("The first date selected is comparable to the second date selected: " + date.compareTo(date2));
//How do I implement compareTo?
System.out.println("The hashcode for the first date selected is: " + date.hashCode());
System.out.println("The hashcode for the second date selected is: " + date2.hashCode());
// ***** Instance Variables *****
static int year;
static int month;
static int day;
boolean equals;
int comparable;
int hashcode;
} -
I am trying to delve a little deeper into Flex and have come across discussions about using value objects. My question is why would you use them?
I have an application that stores records in a database using ColdFusion as a backend. Currently I use an HTTPService to call a coldfusion page that returns XML that gets put in a XMLListCollection. This is then used to populate a datagrid and form details when the datagrid item is clicked on. This all works fine and is very easy (if not very elegant, it was one of my first applications)
I have another that uses a remote object to a coldfusion cfc. This cfc returns a query based on verious parameters. This result is then put in an ArrayCollection and used various ways.
What is wrong with doing things this way and why/how would value objects help?
Thanks.
MattYour example has nothing to do with value objects.
Value objects are useful in a number of situations such as:
1. They can efficiently represent a limited number of values. Say you have a size field with only four possible values: small, medium, large and extra large. You can use value objects and store the ordinal value (1 to 4) in a single byte instead of needing an 11 byte string. The set of value objects can be used as a white list for validating or constraining user input.
2. You can attach other information to a value object (within reason). Say your app allows users to select from a list of colors. You can store the RGB color information in the value object for each color.
There are probably other uses such as with strategy patterns (http://en.wikipedia.org/wiki/Strategy_pattern) as well. -
How to use budget amount from previous years
Dear Values Consultant
How to use budget amount from previous years
I create budget for 2007 and I use it .in 2008 I create new budget with new amount for account, but still there are amount from 2007-I want to use or transfer it to 2008,
How to do this? Please give me details step to implement to this feature
Thanks for caringHi,
There are two ways to do it:
1. Define the account range in your Budget Organization and in the Budgetary Control region, out the Amount Type as "PJTD" and Boundary as "Project". This method is useful when you have project as a segment in your chart of accounts and the Budgets are defined for the full project.
2. The Other way is to carry forward your funds available from last year. Go to Journals -> Generate -> Carry Forward and carry forward the balance for a certain range of account from one financial year to the next one.
Gajendra -
More complicated examples of using BRFPlus
Hello!
Where can I find more complicated examples of using BRFPlus functionality? I need in examples that use expression types like DB query, Step sequence, Search Tree or XSL transformation.Hi Alexander,
With NW 7.0 EHP1 BRFplus can be used for rather simple examples. Development is not completed for all features.
You may use Decision Table, Boolean, Range, Constant, Formula.
FYI: There are some demo reports in a package call SFDTDEMO.
However Ruleset and Rule and not really usable in NW 7.0 EHP1. Those features will be made available in NW 7.0 EHP2. For really complex examples you will need them. In NW 7.0 EHP2 there is no limitation anymore. I am comfortable that even complex cases can be supported well.
BR,
Carsten
Maybe you are looking for
-
Error while deloying webservice on Weblogic92 using Jdeveloper10g
I am new to Jdeveloper10g. I have created a small webservice using oracle Jdeveloper 10.1.3.3. This WS is up and running while it is being deployed on default OC4J application server. Now I am trying to deploy the same on Weblogic9.2. For that I have
-
I am unable to sync my iPhone4S iCal to my Mac iCal. Snow Leopard is my OS and it does not support the cloud. What do I do?
-
Can I stop 'current song' from going to top?
can I stop 'current song' from going to top?
-
AT200 : Wifi/Internet speed connection issue after 4.0.3 upgrade
Hi, Since I have updated my AT200 to 4.0.3, my internet connection speed is incredibly slow. I have tested on 2 different wifi points where connection with other devices/PC's is great. AT200 connects easily but the transfer rate is so low that Speedt
-
I cannot activate my ACROBAT PRO
When I click on the download to open the program it says my trial has expired .. i just bought a subscription and have no serial number to input?