How to change Repository variable from Datetime to date
Hi,
I have a repository variable which populates sysdate in OBIEE. It is coming as datetimestamp. I know repository variables are long char.
I am using this variable in report title. It is coming as datetimestamp.
Is there ant way to just show it as date.
Let me know...
Thanks
V
That means you dont know the function name ie to_date!!!!!!!!!
never mind at least you learned it.
Similar Messages
-
How to change SSIS variables from DM Dynamic Script
All,
I'm using BPC 5.1 SP8 on top of SQL 2005. I have some SSIS variables defined in my SSIS transformation that I would like to change using Data Manager Dynamic Script.
How can this be accomplished?
Thanks
PauloThe most flexible way I know, is to set up your MODIFYSCRIPT parameter similar to the following. The prompts allow the user to key in anything they want (not necessarily base-member IDs) which you can then pass to the variables in the
PROMPT(RADIOBUTTON,%MODE%,"Select mode of operation:",,{"Door number one","Door number two"},{"DOOR_ONE","DOOR_TWO"})
PROMPT(TEXT,%Entity%,"Select an entity",,"")
PROMPT(TEXT,%Color%,"Select a color",,"")
GLOBAL(DB_NAME,%APPSET%)
GLOBAL(DB_SERVER,%SQLSERVER%)
GLOBAL(COLOR,%Color%)
GLOBAL(USERID,%TRIMMEDUSER%)
GLOBAL(TRANSTYPE,%MODE%)
GLOBAL(COMPANYCODE,%Entity%)
Then in the DTSX package there are variables for DB_NAME, DB_SERVER, COLOR, etc. Note that these names must be ALLCAPS or things don't work. Pass them on to your connection manager (to ease the transport from one environment to another), or wherever else you need them in the package.
I believe there's also a way to pass through the filtered, validated list of member IDs, but I don't have an example of that. -
How to change mobile network from At&t to verizon
how to change mobile network from At&t to verizon
What exactly are you trying to do?
You can't "change the mobile network"?
What device model number do you have?
Has it worked previously? -
How to change a photo from 32 bit mode to 16/8 bit mod in Photoshop cs6?
How to change a photo from 32 bit mode to 16/8 bit mod in Photoshop cs6?
I tried to go to Image- Mod but i cant press on Mod button..
I saw to late that i cant save the image i created with 32bit mode.
Please help..In the image menu, goto the mode sub menu, then choose 8 or 16 bit.
-
How to refresh ODI variables from file
Hi,
I followed the fillowing links to implement the dynamic file parameter passing in to the resource name of a datastore.
part-1. http://odiexperts.com/how-to-refresh-odi-variables-from-file-%E2%80%93-part-1-%E2%80%93-just-one-value
part-2. http://odiexperts.com/how-to-refresh-odi-variables-from-file-%e2%80%93-part-2-%e2%80%93-getting-all-lines-once-at-time
For me first part is working fine where as in second part i made canvas looks like
Vlinevariable(refreshing variable)------------------dyanamicfile(refereshing variable)--------------------- interface.
Interface looks like Flatfile to db ,km's are lkm file------sql and ikm is sql incremental update
Vlinevariable is working fine where i am getting numbers in sequence manner to assign in to code of dynamicfile variable and in dynamicfile is not taking that value in to that code and causing session failed.
The code which i put in a refreshing code of dynamicfile is followed below
select samplefile1_csv C1_SAMPLEFILE1_CSV
from TABLE
/*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=code_generationSNP$CRLOAD_FILE=C:\file/my_test_file.txtSNP$CRFILE_FORMAT=DSNP$CRFILE_SEP_FIELD=0x0009SNP$CRFILE_SEP_LINE=0x000D0x000ASNP$CRFILE_FIRST_ROW=1SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=samplefile1_csvSNP$CRTYPE_NAME=STRINGSNP$CRORDER=1SNP$CRLENGTH=50SNP$CRPRECISION=50SNP$CRACTION_ON_ERROR=0SNP$CR$$SNPS_END_KEY*/
For the firstrow the number has to get from vlinevariable where in my case not working .
In session while loading the interface (load data) i am getting error like
message-------------- ODI-1227: Task SrcSet0 (Loading) fails on the source FILE connection file_tgt.
Caused By: java.sql.SQLException: File not found: C:\file/
at com.sunopsis.jdbc.driver.file.FileResultSet.<init>(FileResultSet.java:160)
at com.sunopsis.jdbc.driver.file.impl.commands.CommandSelect.execute(CommandSelect.java:57)
at com.sunopsis.jdbc.driver.file.CommandExecutor.executeCommand(CommandExecutor.java:33)
at com.sunopsis.jdbc.driver.file.FilePreparedStatement.executeQuery(FilePreparedStatement.java:131)
at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java:602)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeQuery(SnpSessTaskSql.java:3078)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java:571)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2815)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:619)
source code is select a C1_A,
b C2_B
from TABLE
/*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=sample1SNP$CRLOAD_FILE=C:\file/#PROJECT1.FILENAMESNP$CRFILE_FORMAT=DSNP$CRFILE_SEP_FIELD=0x002cSNP$CRFILE_SEP_LINE=0x000D0x000ASNP$CRFILE_FIRST_ROW=1SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=aSNP$CRTYPE_NAME=NUMERICSNP$CRORDER=1SNP$CRLENGTH=50SNP$CRPRECISION=12SNP$CRACTION_ON_ERROR=0SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=bSNP$CRTYPE_NAME=NUMERICSNP$CRORDER=2SNP$CRLENGTH=50SNP$CRPRECISION=12SNP$CRACTION_ON_ERROR=0SNP$CR$$SNPS_END_KEY*/
target code insert into STAGING.C$_0SAMPLE1
C1_A,
C2_B
values
:C1_A,
:C2_B
KIndly help me and thanks in advance.ODI is complaning it cannot locate the file. Try replacing the '/' character with a '\' after file in the designated filepath.
-
HT1311 how to change the payment from visa to none payment iPhone 4S
how to change the payment from visa to none payment
iPhone 4Smartinimartini wrote:
I have the same problem. I used Pay Pal payment before but Pay Pal limited my account so I can only use Pay Pal until after 180 days according to their specific regulations. I also do not have any credit card. How am I supposed to pay for my Skype that I have been using since start of Skype. I really need outgoing calls. Martin
Hi,
As I understand you have a restriction on your PayPal account, unfortunately this is something Skype can't help you with.
But you can try alternative payment methods: www.skype.com/intl/en-us/prices/ways-to-pay/
Another option is to let your friend set up Skype Manager account, purchase credit there and allocate it to you: https://support.skype.com/en-us/faq/FA10519/What-is-Skype-Manager-and-how-does-it-work
Andre
If answer was helpful please mark it with Kudos and if issue is resolved mark it with solution. This will help other users find this answer more easily. Thanks in advance! -
How to change web server from inbuilt Tomcat to IIS in already configured Cold Fusion 10
how to change web server from inbuilt Tomcat to IIS in already configured Cold Fusion 10
You just need to run the Web Server Configuration Tool to connect ColdFusion to IIS. It can be found in the ColdFusion program group off of the Start menu. Be sure to run it "As Administrator".
-Carl V. -
How to change apple ID from U.S to Asia when i still have credit on my U.S
how to change apple ID from U.S to Asia when i still have credit on my U.S
You're going to find that answer from Apple Support. Choose iTunes in Apple Support.
Apple Support
http://www.apple.com/support/ -
How to change my subscription from "CC single-app Photoshop" plan to "Photoshop Photography" plan
How to change my subscription from "Creative Cloud single-app membership for Photoshop (one-year)" plan to "Photoshop Photography" plan after purchase already and overlap?
I waiting Live Chat about 2 hours and my thread not any support help to me or feedback.
Why! -
How to change bucket capacity for a certain date range (duration)?
Hi,
I need to update the bucket capacities of Resource at Vendor location in APO live cache for a particular period using BAPI_RSSRVAPS_CHANGEMULTI.
Here I am executing BAPI by passing -
Import Parameters:
LOGICAL_SYSTEM
COMMIT_CONTROL
PLANNING_VERSION
Tables:
RESOURCE_HEAD
(RESOURCE = Resource " Test123
LOCATION = Vendor Number/Loctaion
CAPACITY_A = 5000.000
NUM_OF_PERIODS = 001
PERIOD = 02 " Day Wise
UTIL_BUCKET = 100.000 )
RESOURCE_HEAD_X
(All corresponding fields X)
RESOURCE_QUANMODEL
(RESOURCE = Resource " Test123
VERSION = 01
ENDDA = 02/25/2011
BEGDA = 02/21/2011
QUANMODEL = 8000 )
RESOURCE_QUANMODEL_X
(All corresponding fields X)
[ I have a capacity variance:
Resource = Test123; Capacity Varient = 01; Valid From = 02/21/2011
Valid To = 02/25/2011; Bucket Util Rate = 100.000; Qty/Rate definition = 8000 ]
Now, while I execute /SAPAPO/RES01 to display Capacity for that resource-Location-PlanningVersion, Its showing that 'Bucket Capacity' and 'SNP Bucket Capacity' get changed into 5000. But this change happend for all the days and not only for the duration I passed into Bapi (From BEGDA to ENDDA).
How to change bucket capacity for a certain date range (duration)? Any help please.
Thanks
RoyI did it myself. Hence closing the thread.
Solution:
1. Get RESUID from /SAPAPO/RESKEY table by passing Resource as NAME.
2. Call Function Module /SAPAPO/CRES_QUANPROF_UPDATE
3. Call Function Module /SAPAPO/CRES_SAVE_FROM_BT
For further help, change manually a single record in the 'capacity profile' in TXN /SAPAPO/RES01 and debug both the FM mentioned above.
BR
Roy -
i have multiple devices backed up to the same computer each with different data. how do i keep them from syncing all data when i back up or transfer stuff from the computer to a device? one is an iphone 6 and the others are ipad mini first gens, each ipad has 64gb and the iphone has 128, need to keep the data seperate as they are not all mine
Itunes content and pics are NOT part of the backup that itunes performs.
Backing up, updating, and restoring iPad, iPod touch, and iPhone software
You should transfer any purchases from iphone regularly: File>Transfer Purchases , if they fail to be transferred when you sync.
You buy one and only one download. It is your responsibility to move/copy/backup your purchases.
You can try contacting itunes support and asking for an exception, but they are under no obligation to allow.
http://www.apple.com/support/itunes -
How do I calculate days from two different dates?
Hi all,
How do I calculate days from two different dates?
my requirement is to pass the number of days to target field from two dates.
Current date : 14/04/2010
Standard date: 01/01/1957 is the standard = day 0
Is it possible in graphical mapping with out udf?
Plz help me on this I have donu2019t have much knowledge on JAVA.
ThanksHi Yadav,
Probably this is not the correct forum for XI / PI .
You can post the same to...
Process Integration (PI) & SOA Middleware
Hope this helps.
Regards
Raj -
How do I calculate days from two different dates in XI/PI?
Hi all,
How do I calculate days from two different dates in XI/PI?
my requirement is to pass the number of days to target field from two dates.
Current date : 14/04/2010
Standard date: 01/01/1957 is the standard = day 0
Is it possible in graphical mapping with out udf?
Plz help me on this I have donu2019t have much knowledge on JAVA.
ThanksHi Yadav,
Probably this is not the correct forum for XI / PI .
You can post the same to...
Process Integration (PI) & SOA Middleware
Hope this helps.
Regards
Raj -
How to change specified hierachy node to master data attribute automatic?
Dear BW experts:
How to change specified hierachy node to master data attribute automatically? I have a retail business: I have a fixed material group hierachy in R3 Retail ,Now I will extract the material group hierachy ,my goal is that the specified material group hierachy node as dimension in query ,not show hierachy level,So I need change specified material group hierachy node to material group's attribute.
Anybody solve the requests?
Thank you for your help in advance !If I understand your requirement correctly, you need to have a specific Material Group Hierarchy level (Say Level 2) to be an attribute of Material Group. Usually, this level represents a Brand or Segment, or something with specific meaning.
If this is correct, here are the things you need to do:
1) Create an InfoOnject for this specific attribute representing the specified hierarchy level
2) Add this InfoObject to Material Group as an navigational attribute
3) Select this navigational attribute in your InfoProvider
4) Create a transformation routine for this navigational attribute in Material Group Transformation so that the specified hierarchy level for Material Group will be found and populated. The detail of this routine will depend on your specific requirement. Also, you have to make sure Material Group Hierarchy is updated before Material Group attributes are loaded. If you are not family with ABAP, please ask an ABAPer to help you for the Transformation Routine.
5) Include this navigational attribute in your query along with other required InfoObjects.
Hope this help and good luck!
Bill -
How can I pass variables from one project to another using Javascript?
Hi all, I am trying to do this: let learners take one course and finish a quiz. Then based on their quiz scores, they will be sent to other differenct courses.
However, I wish keep track on their previous quiz scores as well as many other variables.
I found this nice widge of upload/download variables by CPguru (http://www.cpguru.com/2011/05/18/save-and-load-data-widget-for-adobe-captivate-4-and-adobe -captivate-5/). However, this widget works by storing variables from one project in local computer and then upload it to another project.
My targeted learners may not always use the same computer though, so using this widget seems not work.
All these courses resided in a local-made LMS which I don't have access to their code. Therefore, passing variables to PHP html files seems not work.
Based on my limited programing knowledge, I assume that using Javascript to pass variables may be the only possible way.
Can someone instruct me how to do this?
Thank you very much.If you create two MIDlet in a midlet suite, it will display as you mentioned means you can't change the display style.
Maybe you are looking for
-
I can no longer see the address field in safari, can anyone help?
I can no longer see the address field in safari, can anyone help?
-
Skype 7.0 stops working immediately after starting...
As soon as i start Skype , right after the log in , it crashes. Tried un-installing and re-installing. Still no luck. Attached event.log and dxdiag.log Solved! Go to Solution. Attachments: DxDiag.zip 7 KB skype_eventlog.zip 1 KB
-
Automatically play next flv movie... 5 times
I know how to get a video on the stage and get it to play an flv, then switch at the end... vid.contentPath = "MovieName_1.flv"; var vidList : Object = new Object(); vidList.complete = function() { vid.contentPath = "MovieName_2.flv"; vid.addEventLis
-
Horizontal Menu Not Displaying Right in IE (Shocker!)
Can someone look and see why my menu wont display correctly in IE. I've used the same feature on other sights with no problems. I may have jacked up the code when tweaking the design. Any help would be appreciated. Cheers. www.brand32.com/Evoke I'll
-
Diminished battery life since 10.6.5 update
I updated my computer with the OS X 10.6.5 update when it came out a week or two ago and since the update, my battery life has gotten incredibly short compared to what it used to be. Normally, without having Airport on, just using Microsoft word, I w