Using variables within the definition of ExcelWorkbook in the Data Services 4.2
Hi Together
We have installed the Datas Services 4.2 with a matching SAP BO 4.1 Installation
The Repositories are hosted on a MS SQL Server 2012R2.
The System is a Windows 2012 R2 Server
Within a Repository I try to define an ExcelWorkbook.
Within this Definition I need a
Format name,
the Directory where the Excelfile is in the File System,
the name from the ExcelFile.
To define the Access method I will use the Namend Range.
Is it possible to use for the Namend Range a defined variable with a namend Range.
I’ve tried a lot notations, but I am not able to use that Variable.
What is a possible Solution ?
Regards
Ralph
Hello Friend,
You indicate to go to the Central Management Console (http://server/BOE/CMC), click the Data Services option.
Select the Configure a new Data Services Repository, complete all fields and click Test Connection. If everything is ok and return success message, click save.
The repository created will appear in your repositories list, then right click it and select the User Security option. Make sure that the Data Services Administrator Users group is present and with Full Control access. To ensure that your user has access, you can also add it through the Add Principals option. Select the desired user, pass to the other side and click the Add option and Assign Security and include Full Control permission and apply.
In version 4.2 the ability to create access groups within the Central Repository was added.
To create and manage such groups need access SAP Data Services Management Console:
http://server/DataServices/launch/launch.do
Once you have successfully logged on, click the Administrator button.
On the left side there are some options, espanda the Central Repositories option and if you have properly created the Central Repository it will appear in the list.
Click User and Groups note that by default comes a set created (digroup), select the User tab and click the option later add.
Then enter the information which user, group, status and description and apply the changes.
Made these procedures you can enable your central repository through the DS Designer and create new groups.
Hope this helps.
Hugs
Similar Messages
-
Having issues with getting a simple script working...
I've created a 'flashvars' tag in my embed code (aid=test), which I simply wish to add to the end a GetUrl statement, contained in within a button (which is on the first level of the flash movie). This is the code I've added to the button...
on (release) {
getURL("http://www.platinumselect.com?id="+aid);
But this doesnt seem to work!? Is there anything else I need to do?
Thanks in advance! (p.s. using actionscript 2.0)Where are the 3 places?? I've got it in two at the minute.
Date: Tue, 10 Nov 2009 07:53:55 -0700
From: [email protected]
To: [email protected]
Subject: Using variables within GETurl
in as2, there is no LoaderInfo class and you don't need to do anything in flash to parse the flashvars.
but, as i mentioned in a duplicate post, you do need to define your flashvars in 3 places in your embedding html file. failure to do that is the most common reason for a problem with flashvars.
> -
Where can i find the definition of "wlappc" in the ant of wls?
When i use the wls samples,in a build.xml,i saw the lines:
<target name="appc" depends="jar.ejb">
<wlappc debug="${debug}"
source="${apps.dir}/cluster_ejb_account.jar"
/>
<move file="${user.dir}/cluster_ejb_account_client.jar" tofile="${client.classes.dir}/cluster_ejb_account_client.jar"/>
</target>
But where is the definition of the wlappc,where can i find the defintion?
I'll appreciate if anybody could help me out.
thx and rgds.You can find this in the 'org\apache\tools\ant\taskdefs\defaults.properties'
file of %wl-home%\server\lib\ant\ant.jar
--Sathish
<Michael Lee> wrote in message news:[email protected]..
I mean the definition of "wlappc" not the help for wlappc???thx.
i.e.
where can i find the sentence list below:
<taskdef name="wlappc" classname="weblogic.ant.taskdefs.j2ee.Appc"/>
I mean which files this "taskdef" is being in . -
How to use variables, get results in a grid, without the Binds dialog.
Hi all,
I have recently embarked on the Oracle path, however am quite a seasoned MS SQL Server enthusiast.
I would like to be able to use inline variables within my SQL Worksheet adhoc queries without having to bother with the BIND Popup window.
I note that if I Run Script (F5) my code works flawlessly, but the results are not vary usable (i.e. not in a grid).
When I use Run Statement (Ctrl+Enter) SQL Developer pops up the Enter Binds dialog, and requires I enter a value for each variable declared.
Anyway of having my cake and eating it too?
i.e. declaring variable, setting variable and returning results in grid, without having to be disturbed with the dialogue?
Sample code here:
variable vMyVariable1 number
exec :vMyVariable1 := 7
select MyColumn from MyTable
where MyColumn = :vMyVariable1;
Could someone please advise me if what I am after is possible?
And if so point me in teh right direction?
Thanks
MartyThe variable needs assigned a value, that's why you're getting prompted. When you execute the statement, it's not executing the variable and exec lines.
Having script output available in a grid would be an enhancement request. -
Using Variable within Filter expression will not parse.
IN ODI 11.1.1.3.0, I defined a Variable (SelectionDate) of type "Alphanumeric", Default Value = 01-JAN-1970 with the select query: select to_char( SYSDATE , 'DD-MON-YYYY') from dual.
I intend to use this variable as a scenario variable (parameter) that receives a value in the form of 'DD-MON-YYYY', from the execution environment.
I refreshed the variable and it received the value 16-JUN-2011 (today's date). So far so good.
I then defined an Interface and used the variable in a filter expression:
Active Filter: Checked
Implementation Tab:
SOURCE_VIEW.SELECTION_DATE BETWEEN TO_DATE('#PROJECT1.SelectionDate', 'DD-MON-YYYY') AND (TO_DATE('#PROJECT1.SelectionDate', 'DD-MON-YYYY') + 1)
Execute on :Source
When verifying the expression (click on the checkmark in the implementation tab) I always get: Expression is not valid for this DBMS. java.sql.SQLDataException: ORA-01858: a non-numeric character was found where a numeric was expected.
I cannot get the filter to parse. Thank you for your ideas of what might be wrong.
Jose.Yes, it worked when placed in the package.
I think the expression editor is sending the string as it is written to the database in order to parse it, without replaceing the #variable for the actual value. Anyway thanks.
Jose -
Variable input help-Not able to see-Specify Data Service Runtime Parameters
Hi Team,
i am doing R&D on input help for Variables in SAP NetWeaver Visual Composer.
The issue i am facing is :
After selecting Master data table for Get data from, in select data service window.
It is not taking me to Specify Data Service Runtime Parameters screen.
I am getting finish option even before i do this setting
Is there a place where i can actualy do this input output selection.
Please Help me.
I have gone through the docs & blogs in sdn so please don't give links of the same.
Thanks in advance.
Regards,
Raghu
Edited by: Raghu tej harish reddy on Sep 16, 2008 12:50 PMHi,
this is due to the Chcek Box : Hide advanced configuration options (BI systems only)
Configure the advanced options on the Specify Data Service Runtime Parameters screen (optional for BI systems u2013 this screen appears only if you have deselected the Hide advanced configuration options (BI systems only) checkbox on the Add Value Help for Select Input Field screen)
Check below link
http://help.sap.com/saphelp_nw04s/helpdata/en/b5/036d391f074f769e00602634ee9960/frameset.htm
Govindu -
AdobeEdge - Using variables within a symbol
I am completely new to Adobe edge, but I do have a little development experience (VB, VBA, C#). I would like to create a global variable when the animation starts (strClicked = "No" - or similar). When one of the buttons is clicked on I would like to set this variables to "Yes". Finally, I want several symbols to stop playing (their fade-out), if the variable has been set to "Yes". I'm sure this is quite a straightforward thing to do, but have having a little trouble, and finding it difficult to find good documentation (any suggestions would be greatly appreciated).
Any help would be greatly appreciated.Hi Andrew,
You should nest each animation in a symbol, say pink, green, yellow. Each is instanciated on stage and given respectively the IDs
pink1, green1, yellow1.
Then your button has a click event handler with code
sym.getComposition().getStage().getSymbol("pink1").stop();
sym.getComposition().getStage().getSymbol("green1").stop();
sym.getComposition().getStage().getSymbol("yellow1").stop();
sym = the button's timeline
getComposition().getStage() = back to the stage's timeline
getSymbol("xxx") = select a symbol's instance with name "xxx"
Here is an example : https://www.box.com/s/h38s2oexqdumm46v4q7d
I didn't used any global variable : may be you have a good reason to use it ?
Gil -
Using variables in transform process
Using file adapter to read multiple rows into the database. Its a basic transformation with a one to one match, e.g. what's on the left exist on the right.
The issue is that I want to uniquely identify each file process with an ID. Therefore what I have done is set up a sequence which will be used as a batch ID. I assign this to a variable before I transform the file definition to the database definition.
What I would like to do is assign this variable to a field in my database as a kind of dynamic constant. I don't seem to be able to use the getVariableData in the options. I want this ID to be loaded on every line without incrementing.
Does anyone know if it is possible to use variables within the transformation.
cheers
JamesUsing file adapter to read multiple rows into the database. Its a basic transformation with a one to one match, e.g. what's on the left exist on the right.
The issue is that I want to uniquely identify each file process with an ID. Therefore what I have done is set up a sequence which will be used as a batch ID. I assign this to a variable before I transform the file definition to the database definition.
What I would like to do is assign this variable to a field in my database as a kind of dynamic constant. I don't seem to be able to use the getVariableData in the options. I want this ID to be loaded on every line without incrementing.
Does anyone know if it is possible to use variables within the transformation.
cheers
James -
Using variables in a fix statement
I am using a nested fix statement on a dense member and would like to use variables to represent certain intersections. Since the variables need to be within a calc member bloc, where do I place them? Do they go inside the fix statement witht the parenthesis just around teh variables or the last parenthesis at the end of the fix statement?
If you mean substitution variables, they are defined outside the calc script at a dp, app, or server level. They simply substitute their textual value at the place they appear in the script. If the substitution results in a valid calc script where it occurs, then you are fine. So FIX ( &subvar ) could be valid.If you mean temporary variables, they hold intermediate calculational values. The docs say "VAR commands can only be assigned values within a member calculation or when VAR is declared. " That is, you may either say 'VAR tempvar = 1000; ' [declare and set value] or 'VAR tempvar;' [declare only, often at the start of your script] then somewhere in the script 'tempvar = expression;' [value gets assigned]. This last expression would not appear within the parentheses of a FIX ( members ) statement, but somewhere within the FIX block. You would never say FIX ( tempvar ) as it is not an outline member.
-
Use variables in a SELECT INTO FROM command
Hi,
How do I use variables within a select into from command? I want to loop through SYS.DBA_TABLES using a cursor and count the number of rows in a
selection of tables an then insert into a cardinality table.
The count of rows will be stored in a variable called CNT, that bit is easy however I need a variable in the FROM clause because that
value changes with every iteration of the cursor.
e.g.
CNT := 0;
TN := "MyTable";
select count(*) into CNT FROM TN;
insert into cardinality (table_name, row_count) values (TN, CNT);
This is Oracle 9i and I need the row counts in a separate table as they are shipped over to a different environment for analysis purposes.
Any ideas?
Regards
Dave
Edited by: Yorky001 on Sep 15, 2010 10:32 AMHi,
Thanks for the info, unfortunately I can get neither example to work on this 9i system, could well be pilot error as I only ever get
to do any Oracle about once per year. In the first query I have tried both "user_tables" and SYS.DBA_TABLES, same result.
set serveroutput on size 1000000;
DECLARE
row_count INTEGER;
vstr VARCHAR2(500);
vstr1 VARCHAR2(500);
BEGIN
vstr := 'SELECT count(*) FROM ';
dbms_output.put_line(vstr);
FOR i IN (SELECT table_name FROM user_tables WHERE rownum < 10) LOOP
vstr1 := vstr || i.table_name;
EXECUTE IMMEDIATE vstr1
INTO row_count;
dbms_output.put_line(i.table_name || ':' || row_count);
END LOOP;
END;
This one complains about the execute immediate line.
Error report:
ORA-00933: SQL command not properly ended
ORA-06512: at line 12
00933. 00000 - "SQL command not properly ended"
*Cause:
*Action:
BEGIN
FOR i IN (select
table_name,
to_number(
extractvalue(
xmltype(
dbms_xmlgen.getxml('select count(*) c from '||table_name))
,'/ROWSET/ROW/C')) count
from user_tables
where rownum<6) LOOP
dbms_output.put_line(i.table_name || ':' || i.count);
END LOOP;
END;
ORA-19206: Invalid value for query or REF CURSOR parameter
ORA-06512: at "SYS.DBMS_XMLGEN", line 121
ORA-06512: at line 1
ORA-06512: at line 2
19206. 00000 - "Invalid value for query or REF CURSOR parameter"
*Cause: The queryString argument passed to DBMS_XMLGEN.newContext was not a valid query, or REF CURSOR.
*Action: Rewrite the query so that the queryString argument is a valid query or REF CURSOR. -
Using variables to go to a section of a swf
Hi,
I have been working on a project that I finally realized
could have been, and will be, easier if I used variables within my
AS. So I came home this evening and started working on my idea and
after several hours of it not working, working part way, and
googling like mad I decided to try you all. I hope you can help.
The site I'm working on I've actually split up into multiple
swfs for easier maintenance and I'm using one container swf to load
everything in. The problem I have is that there is a "past" section
where the user can select a year and view everything about the
company that happened in that year (containing text, links to
photos, sometimes video, etc.).
So the past section is loaded into level 1 and when the user
clicks on a year I'm creating a variable called year given the
value of that year (2007, 1984, etc). The year button also unloads
the past section swf and loads another swf in level 1. I have some
actionscript at the beginning of that swf that says
if (year=2007) {
gotoAndPlay("2007");
} else if (year=2006) {
gotoAndPlay("2006");
For each year I'll have some links, more buttons, and/or
video come in and there's also a button to go back to the past
section. One of my problems is that it always goes to the frame
labelled "2007". I did get it to go to 2006 once, but I was using
two if statements instead of the if and else if. The second problem
is that when the user clicks back to the past section I need to
empty out the variable so that they can choose another year and
pass that variable.
Can anyone offer any advice, suggestions or examples?
Thanks!
phejI have been having a similar problem, and being quite new to
Flash, I'm at a loss on how to fix it. My issue is with a template
I purchased. This template has the main content pages nested a
couple layers deep. I need to be able to send people to a specific
URL that I'm hoping to get to load the movie and bring up the one
specific clip and not the main start.
I had tried using a dynamic text field to check if the
variables I was passing in through the URL were making it in (with
the correct code placed in the embed and object tags). I gave the
var box of the dynamic text the name of the variable I was passing
in: showPage.
This is what was displayed in the text box instead:
_level0.pages001.pages.instance115.showPage
Can I glean any information as to how to get this one clip to
be bookmarked? I have tried by passing in variables and also by
setting a Named Anchor in the key frame that loads this clip. That
code worked only as far as putting the NA in the url like it was
supposed to, but the actual link when pasted back in the browser
brought you back to the main start. -
Using variables with lightboxes...
Hi all,
I am currently creating a scenario with two lightboxes. When you click a button the lightboxes will appear. When you click the 'x' button on both of the lightboxes, a button will appear, allowing the user to go onto the next slide. However, I have been unable to achieve this effect.
I have been able to use variables across different slides, but not on the same slide. Any help would be appreciated. Thanks.Create a counter variable that you assign the value 0. Maybe it is even better to assign that value not in the definition but On Enter for the slide. For the moment you have two actions, those will have to be turned into conditional advanced actions with two decisions. Something like this:
First decision 'Always'
IF 1 is equal to 1 this is a mimicked standard action
Show lightbox 1
Increment v_counter
Second decision 'Checkit'
IF v_counter is equal to 2
Show Gr_Buttons
I used a group, didn't want to type too much, you can group the 3 buttons. -
Using variables in a button function
I am new to AS3 and building a simple flash banner. There
will be four movie clips consisting of just one word each (in the
sample below I'm just using rectangle for now). When moused over
each word will show a rectangle with a message in it, like a large
tool tip. I have a rudimentary version working fine, see code
below.
Question 1: Is there a way to just write on function which
will work with all four buttons changing the message, say using
variables like AS2?
Question 2: Does the code below look relatively efficient?
I'm sure there are better ways to write it.
Here's a link to the rudimentary version,
http://www.rivergraphics.net/tests/button3.html,
that should give you an idea of what I'm trying to do.
Thanks.Simply use the information that's passed along with the event
to figure out which item raised the event. Then you can easily call
the other items that correspond to the button raising the event.
TS -
I'm trying to set SName to the username, then get the volumes
restrictions based on the variable SName, which is set to the username.
How do you use variables in NScript functions?
here is the statement taht errors:
Set restr = RestrictionsObj.Element (SName)
If I use Set restr = RestrictionsObj.Element ("Specific UserName") it
works.
such as Set restr = RestrictionsObj.Element ("Student1") it works.
On Error Resume Next
Dim SName
Set nwdir=CreateObject("UCX:NWDIR")
'Enter the username and password
nwdir.Login (".username.context", "password")
Set volmgr = CreateObject ("UCX:VolumeMgr")
Set volumes = volmgr.volumes
Set volume = Volumes.Element("Docs")
'Enter the NDS context
nwdir.Fullname = "NDS:\\TREE\context"
Set entries = nwdir.Entries
Print "Total number of entries: "&Entries.Count
Entries.Reset()
While Entries.HasMoreElements()
Set Entry = Entries.Next()
Print Entry.ShortName
Set SName = Entry.ShortName
Print SName
'Note: Name prints twice here just like it should
If (Err.Number = 0) then
Set RestrictionsObj = volume.GetSpaceRestriction ()
If (Err.Number = 0) then
Set restr = RestrictionsObj.Element (SName) 'Fails here
If (Err.Number = 0) then
Print "The restriction volume limit for " & restr.Name & " is
" & restr.VolumeLimit
Else
Print("Failed to find restriction for the specified user " &
Err.Description )
Endif
Else
Print ("Failed to get restrictions object " &
Err.Description)
Endif
Else
Print ("Failed to find the volume " & Err.Description)
Endif
Wend
sgdoughtsgdought,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
- Check all of the other support tools and options available at
http://support.novell.com.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://support.novell.com/forums)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://support.novell.com/forums/faq_general.html
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
Hello OPA Expets: 1. I have calculation as below: the order line item depreciation total= ((the specified price per unit for the order line item + the order line item price after Transportation) - the order line item cash discount total) –((( the specified price per unit for the order line item + the order line item price after Transportation) - the order line item cash discount total) * (100-the depreciation rate)/100) how to use variable and simplify above rule to below: the order line item depreciation total= (x –(x * (100-the depreciation rate)/100) 2. I have created question screens for web determinations, but user input fields is around 30 fields. How to create input fields row by row instead of horizontal. 3. I have customized sumary screen, added label and substitued with %FieldName%. How to issue a page break?. now it is all in one line and users unable to find out how calculation logic applied as it is cluttered. Thanks a lot.
Hello OPA Experts:
1. I have calculation as below:
the order line item depreciation total= ((the specified price per unit for the order line item + the order line item price after Transportation) - the order line item cash discount total) –((( the specified price per unit for the order line item + the order line item price after Transportation) - the order line item cash discount total) * (100-the depreciation rate)/100)
how to use variable and simplify above rule to below:
the order line item depreciation total= (x –(x * (100-the depreciation rate)/100)
2. I have created question screens for web determinations, but user input fields is around 30 fields. How to create input fields row by row instead of horizontal.
3. I have customized sumary screen, added label and substitued with %FieldName%. How to issue a page break?. now it is all in one line and users unable to find out how calculation logic applied as it is cluttered.
Thanks a lot.
Maybe you are looking for
-
Hello, I have a workflow that needs to be repeated every month and I'd like to optimize it. 1. DB table in SQL Server 2008 looks something like this: TABLE [CONTRACTS_GCO_LVL2]( [CONTRACTS_BP_ID] [varchar](50), [Flag 1] [int] , [Flag 2] [int] ,
-
How to manually force sync messages after an iTunes restore?
I backed up my iPhone 4 before getting rid of the phone in anticipation of the iPhone 5. (circumstances prevented me from keeping the iPhone 4 until after I got the 5). In the meantime, used iMessage on an older iPod Touch (upgraded to iOS 6) and my
-
Accessing external SSD causes FCPX and entire computer to crash
Hello, I am running the latest Version of Final Cut Pro X on my 13 inch retina MacBook display late-2013 fully loaded, going @ Best For Retina. I am working on a project and every time I connect my media SSD via thunderbolt to the computer, and attem
-
6.0.2 BUG REPORT - iTunes doesn't remember Airport Express volume settings!
Incompetent engineers!! Whilst I'm here, why does the 'iTunes Feedback' menu option take me to a 'Request' page? Incompetent marketeers!!
-
Change destination of WSDL file
Hi all, I have uploaded a PDF file using SFP transaction. 1. Can I change the destination of theWSDL file of that pdf file . 2. How can I create a WSDL file for a PDF file in my server. Thanks.