Increment of variable after graph execution
Hi all,
I would like to find out if there is any way that I can increase a variable each time a graph is executed in Endeca Integrator/ Endeca Integrator Server. The URL used in my HTTP Connector component found in my graph will need to refer to this variable and I would like this variable to be changed each time the graph is executed. I thought the closest to achieve this will be to make use of a Parameter in the graph but I have not found a good way to update this Parameter the way i define it.
One use case for this is that my HTTP Connector will retrieve data from my internal API and the URL which specifies the offset of the data that I would like to retrieve will be changed each time the graph is executed. The variable shall represent the offset used in the URL.
Thank you!
Page 218 of the Integrator Guide has information on using Dictionary Entries to accomplish this requirement: http://docs.oracle.com/cd/E39272_01/integrator.300/IntegratorDesignerGuide.pdf.
Ryan - EID PM
Similar Messages
-
"Variable applied"display after query execution through WAD incorrect
Hi ,
In my queries i provide varible entries for 0FISCPER, 0FISCVARNT along with other variables.In the query i dispplay the values for the variables applied.When i run these queries through 2004s WAD if i were to select 0FISCPER = 01/08/2007 and 0FISCVARNT = AK after query execution the variable applied displays -
<b>0FISCPER = AK/01/08/2007
0FISCVARNT = #</b>.
It works fine on 3.5 templates.We are on SP9.We have a sandbox also and i tested it out in sandbox and have no problem there.
Is anyone facing the same issue?
Regards,
ShivaNot much experience in WAD but I think there should be a query in BEx Query Designer.
There you can choose that characteristics which takes time. Select "Advanced" tab from right hand side.
Under "Filter Value Selection During Query Execution" you will get 4 options.
BTW if you have a query on DSO then creating index ( secondary) on the affected characteristics would also resolve your problem
Regards
Anindya -
How can I increment a variable in LabView ?
Hello ..
I'm trying to use LabVIEW to increment a variable, but I can't find the right way to do that !
I need to declare a variable and assign zero as its value, then increment it by one each time a certain condition is met, and I need it to reset to zero after it reaches a certain value. It's easy to perform these steps using standard C language but here it looks complicated !
Could someone explain the steps to do that ?
Thanks!I guess trying to explain how to write a state machine would be difficult..
It should take you 5 mins to implement the solution. I post so late that it's probably too late for you.
But here goes.
Take a While loop with shift registers as shown in the image of an earlier post. Place a Case Structure inside the loop. You will need to use an enumerator (usually create a type def control). Put 2 states into the enumerator: reset, increment. Wire the enumerator to the question mark of the Case Structure. In the increment case of the Case Structure, you place the +1. In the reset case you simply wire zero '0' as the proper type (dbl, U32, etc) to the right tunnel of the Case Structure.
In the code somewhere... you need to set the logic to tell the state machine when to reset. I don't recall reading what that was... But in any case, you need another shift register to pass the next state to the Case Statement. Or if that code is embedded into some other code, then it is probably not necessary. But you will need someting like a selector to choose between Increment and Reset. Also choose which of the 2 is the default state, probably any of the 2 for now. The outcome of the logic to reset or increment is obviously wired to the middle terminal of the Select.
Just curious, since you are in this predicament. Did you tell your boss that you knew LabVIEW in order to get the job and now you are obviously stuck delivering a solution? -
Difference between Pre and Post Incrementing a variable
I have a problem understanding the nuances between i++ and ++i.
I have run several loops and changed the position of the "++". I noticed that sometimes the out put differs and sometimes the output remains the same.
Is there a rule of thumb as to whether a variable show be post or pre incremented?
ThanksThank you all.
After I asked the question, I did a little research and found this (from JGuru shortcourse):
Note that x++ and ++x are equivalent in standalone contexts where the only task is to increment a variable by one,that is, contexts where the ultimate evaluation is ignored:
int x = 4;
x++; // same effect as ++x
System.out.println("x = " + x);
This code produces the output:
x = 5;
The next part after this is:
In the following context, the placement of the increment operator is important:
int x = 4;
int y = x++;
int z = ++x;
System.out.println(
"x = " + x + " y = " + y + " z = " + z);
This code produces the output:
x = 6 y = 4 z = 6
======================================================================
I thought the out put would be x = 4, y = 6, z = 4.
I totally lost! How do I interpet this correctly? -
No rows are loaded after the execution
Which product and version are you using?
ans client 9.2.0.2.8 and db 9.2.0.4
- On which platform and version is it installed?
windows 2000
- Is this part of Oracle Applications (i.e. Financials, Inventory, etc.)?
its part of 9ids. I installed data warehouse in saperate home
- Has this ever worked correctly? If yes, what has changed?
No. This is my first project and we are evaluating oracle over other warehouse
product.
All is working except the rows are not loaded. Mapping is validated correctly. Deployed successfully, executed successfully from the deployment manager but 0
rows are loaded. You get a small pop up window after execute of a mapping. Log message
at the end of the execute shows insert 0, update 0, delete 0 and merged 0.
The mapping consists of two table operators. One from source table from differenct schema and one for target. There is nothing so complicated here. All I want is
to copy the data from source to target table through warehouse. My question really what do I need to insert the record? Once the mapping is defined, deployed and executed should not the rows be loaded?
Everything else is working. Like creation of target tables and so on.
The source operator properties are bound_name-eqpthist_qtr, primary source-no loading type-Insert.
The target has bouondname-test, primary source-no, loading type delete/insert.after the execution there errors whatsoever. It executes with out any error.
Its working when I replace the source table with one from the target schema itself. I mean a copied table to target using slqplus. I uses any tables under its schema itself then all the rows are inserted. Its not working when copying/referencing from another source schema. THe target user is given select any table, all object privileges of the source table, even dba role. Still no rows are loaded.
the target has DBA,CONNECT,RESOURCE,AQ_USER_ROLE, WB_A_VLSIOWRUN, WB_D_VLSIOWRUN, WB_R_VLSIOWRUN, WB_U_VLSIOWRUN, SELECT_CATALOG_ROLE.
The target has system privs as
CREATE VIEW
CREATE TABLE
ALTER SESSION
CREATE SESSION
CREATE SYNONYM
CREATE TRIGGER
CREATE ANY TYPE
CREATE SEQUENCE
CREATE SNAPSHOT
CREATE DIMENSION
CREATE INDEXTYPE
CREATE PROCEDURE
SELECT ANY TABLE
DROP ANY DIRECTORY
DROP PUBLIC SYNONYM
CREATE ANY DIRECTORY
CREATE DATABASE LINK
GLOBAL QUERY REWRITE
UNLIMITED TABLESPACE
CREATE PUBLIC SYNONYM
SELECT ANY DICTIONARY
CREATE PUBLIC DATABASE LINK
and the following privs on the source table as well
SELECT
ALTER
DELETE
INDEX
INSERT
UPDATE
REFERENCES
ON COMMIT REFRESH
QUERY REWRITE
DEBUG
FLASHBACK -
Problem while incrementing a variable in Jasper Reports
Hi
I am using Jasper Reports for designing reports. These reports will be used by my Java application.
But there is problem while I am trying to increment a variable depending on some condition.
Requirement: I have to display information about all the residents in a hospital in a single report. Resident information will be fetched from the XML file. When a resident ID is found in the XML, then the variable(resno) shoud be incremented. I have set the initial value to 1.
Problem: Only for the first resident, resno is showing as 1. For all the remaining residents, its showing as 0 (zero).The variable 'resno' is not incrementing for each resident.
Even the ResidentID is not null. All the ResidentID's exists in the XML file.
Please find the code below.
<variable name="resno" class="java.lang.Integer" incrementType="Group" incrementGroup="residentbrk" calculation="Count">
<initialValueExpression><![CDATA[new Integer(1)]]></initialValueExpression>
</variable>
<group name="residentbrk" isStartNewPage="true">
<groupExpression><![CDATA[$F{ResidentID}]]></groupExpression>
<groupHeader>
<band height="16">
<textField hyperlinkType="None">
<reportElement positionType="Float" x="0" y="-1" width="96" height="17"/>
<textElement>
<font isBold="true"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$R{residentno}]]></textFieldExpression>
</textField>
<textField hyperlinkType="None">
<reportElement positionType="Float" x="96" y="-2" width="64" height="18"/>
<textElement/>
<textFieldExpression class="java.lang.Integer"><![CDATA[$V{resno}]]></textFieldExpression>
</textField>
</band>
</groupHeader>
</group>
Could you please provide a solution for this.Not clear at all. May be like this
declare
v_temp varchar2(100);
v_final number;
begin
--loop
v_temp:='sun';
v_temp:=translate(lower(v_temp), '1abcdefghijklmnopqrstuvwxyz', '1');
dbms_output.put_line('Temp:'||v_temp);
v_temp := v_temp || 'Mon5.1';
v_temp:=translate(lower(v_temp), '1abcdefghijklmnopqrstuvwxyz', '1');
dbms_output.put_line('Temp:'||v_temp);
v_temp:= v_temp || 'Tue';
v_temp:=translate(lower(v_temp), '1abcdefghijklmnopqrstuvwxyz', '1');
dbms_output.put_line('Temp:'||v_temp);
v_final:=to_number(v_temp);
dbms_output.put_line('v_final'||v_final);
--coalesce
--end loop;
end;
/ -
Components are invalid after the execution of utlrp.sql
Hi All,
I have migrated one database from the version 10.2.0.4 to 10.2.0.5, After the execution of upgrade script all components are found as valid, and then I executed utlrp.sql and at the end of this execution some of the components became Invalid. Please find the details below and Can anyone help me on this?
I have used RMAN for migration and started the database by using startup upgrade.
SOURCE:
OS : Linux 2.6.18-92.el5
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
TARGET:
OS :Linux 2.6.18-274.el5
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for Linux: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
Regards,
JaiHi All,
I have resolved this issue after the re installation of Spatial component
Thanks -
How do I increment a variable at the end of a loop to run it through the loop again?
I'm new to LabVIEW programming and I'm trying to write a small program that just receives a lower and upper limit, and whether the user wants to increment or decrement the number. I can't figure out how to increment the number after the simple calculations have been done and to run through the loop again with the incremented number. Right now I'm using a while loop inside of a case structure where true decrements and false increments.
Here are a few possibilities.
Message Edited by altenbach on 12-05-2008 03:25 PM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
fractionaIncrement.png 8 KB -
Control Center is very slow after mapping execution
Hi,
I'm using OWB 10gR2 (10.2.0.1) on DB 10.2. When I execute different mappings and try to monitor the execution results in Control Center I'm facing a problem. The execution time of the mapping is quite normal. But after successfull execution I have to wait about one minute for the execution results (row activity). Furthermore opening and closing the job detail window takes about 1 minute to until the control center reacts.
I've worked with same OWB10gR2 on DB 9.2 in the past and everythings works fine. But my DBA upgraded oracle database and i migrated to this new repository. The location that I use is set to 10.2.
Do you know this issue? Any advices for "tuning" my repository are very desirable.
SteffenHi,
I think this is not related with database issue. And also there is nothing like tuning for this issue.
I will suggest you to upgrade your RAM and always try to work on OWB with minimum CPU load like an example if there are any other exisitng databases rather than OWB then stop the services.
Take care of all these things.
And always deploy your mappings in Control Center.
Regards
Tarang Jain -
Inserting into Table-in-Table after re-execution the Outer Table query
Hi Gurus,
I have a problem with inserting into Table-in-Table after re-execution the Outer Table query:
The problem:
I have two tables; both tables are based on VO; tables have a VL between them;
The Inner Table is hidden when page lode.
I'm executing the Outer Table, open the details to see the Inner Table, I can add rows to the Inner Table. Everything is OK.
But-
After I'm executing the Outer Table again –
Adding new rows to the Inner Table is not work anymore, despite I'm executing the Inner Table RowSet query.
Scenario is:
In processRequest():
In the processRequest() I'm calling executeQuery() of the Outer Table Only.
(So the Details executeQuery() will be done by VL and Its works fine.)
In processFormRequest():
User opens the details to see the Inner Table.
On some event, I'm executing the Outer Table query.
On some other event, programmatically I am inserting a new row to the Inner Table, and a new row is displayed in the Inner Table as I wanted.
In this way, one row after another, I can add as many rows as I wish, without any problem.
(This scenario should behave as same clicking on button of type "Add-Another-Row", just adding the row automatically)
The code for the inserting (as specified in the chapter "Classic Tables" --> "table-in-table"):
OARow newRow = (OARow) innerRowSet.createRow();
innerRowSet.insertRow(newRow);
innerRowSet.setRangeSize(innerRowSet.getRangeSize()+ 1);
innerRowSet.executeQuery();
If the user won't cause to re-execution of the outer table – no problem occurs.
* Should I add something after the Outer Table VO execution?
* Maybe to the inserting to the Inner Table code?
Please help…Hi, Thanks.
I don't know which one of the Outer Table rows is the current row,
But-
Only the Details (the Inner Tables) who where opened before the executeQuery() of the Outer table are not acts as they should.
All the Details who where closed before the executeQuery() of the Outer table are still works fine.
Please advise. -
Is it possible to use a variable after
...after popup message. Like the following example. I want to inform the user about the next number he can enter into a database..
MESSAGE 'Please enter another value. The value may be ' + VARIABLENAME TYPE 'I'.
How can I achieve using a variable after this message or any alternative way?
Thank all you very much.
Deniz.hi,
u can do it.
To create a message long text in SE91:
Select to switch to change mode.
Place the cursor on the corresponding message.
Click the Long text pushbutton.
This starts the SAPscript editor.
Enter the long text.
Carry out a check in SAPscript editor.
Save your data.
eg: create a msg like this.
Please enter another value. The value may be &.
then in pgm do this.
MESSAGE i014(msg_class_name) WITH variable_value.
Rgds
Reshma -
Displaying messages after BDC execution
Dear All,
I am running a BDC to change the pricing of the return document in transaction VA02. The BDC is getting executed after the execution of one report which is diaplying some records in the output. The output values of the report are : Check Box, Sales Document No & Billing Document No.
After the BDC is executed for the selected records, I am getting a screen which displayes me for each record if that has been executed successfully or is there any error while executing BDC.
Now, I want that after the BDC has been executed, a list should be displayed which just shows about the Sales Document No which has been processed successfully by the BDC and another list which displays about the Sales Document No which are not processed successfully.
Kindly guide me on how I can proceed on this.
Waiting for your reply.
Warm Regards,
N.Jainhi Nishu..
Use the BDCMSGCOLL structure to capture the Messages:
Using BDCMSGCOLL Structure we have to declare an itab.
DATA : IT_MSG LIKE TABLE OF BDCMSGCOLL .
Then We can catch the messages using:
CALL TRANSACTION 'MK01'
USING IT_BDCDATA
MODE 'N'
MESSAGES INTO IT_MSG.
IF sy-subrc ne 0.
LOOP AT IT_MSG INTO WA_MSG
WHERE MSGTYP = 'E' OR MSGTYP = 'A'..
<<process Error messages>>
ENDLOOP.
Else.
LOOP AT IT_MSG INTO WA_MSG
WHERE MSGTYP = 'S'
<<process Success messages>>
WRITE:/ 'Doc No', WA_MSG-MSGV1.
ENDLOOP.
Endif.
<b>reward if Helpful.</b> -
Hi,
I'm a beginner in ABAP and I have a question..
Is possible increment a char variable?
for example I have varible:
R001 and i want increment this variable till RZZZ..
There is some solution or some function that i could use to do this?
Thanks so much.Hi,
please find starting & ending sequence numbers from R000 RZZZ
000 001 002 003 004 005 006 007 008 009 00A 00B 00C 00D 00E 00F 00G 00H 00I 00J 00K 00L 00M 00N
00O 00P 00Q 00R 00S 00T 00U 00V 00W 00X 00Y 00Z 010 011 012 013 014 015 016 017 018 019 020 021
022 023 024 025 026 027 028 029 030 031 032 033 034 035 036 037 038 039 040 041 042 043 044 045
046 047 048 049 050 051 052 053 054 055 056 057 058 059 060 061 062 063 064 065 066 067 068 069
070 071 072 073 074 075 076 077 078 079 080 081 082 083 084 085 086 087 088 089 090 091 092 093
094 095 096 097 098 099 01A 01B 01C 01D 01E 01F 01G 01H 01I 01J 01K 01L 01M 01N 01O 01P 01Q 01R
01S 01T 01U 01V 01W 01X 01Y 01Z 02A 02B 02C 02D 02E 02F 02G 02H 02I 02J 02K 02L 02M 02N 02O 02P
ZUM ZUN ZUO ZUP ZUQ ZUR ZUS ZUT ZUU ZUV ZUW ZUX ZUY ZUZ ZVA ZVB ZVC ZVD ZVE ZVF ZVG ZVH ZVI ZVJ
ZVK ZVL ZVM ZVN ZVO ZVP ZVQ ZVR ZVS ZVT ZVU ZVV ZVW ZVX ZVY ZVZ ZWA ZWB ZWC ZWD ZWE ZWF ZWG ZWH
ZWI ZWJ ZWK ZWL ZWM ZWN ZWO ZWP ZWQ ZWR ZWS ZWT ZWU ZWV ZWW ZWX ZWY ZWZ ZXA ZXB ZXC ZXD ZXE ZXF
ZXG ZXH ZXI ZXJ ZXK ZXL ZXM ZXN ZXO ZXP ZXQ ZXR ZXS ZXT ZXU ZXV ZXW ZXX ZXY ZXZ ZYA ZYB ZYC ZYD
ZYE ZYF ZYG ZYH ZYI ZYJ ZYK ZYL ZYM ZYN ZYO ZYP ZYQ ZYR ZYS ZYT ZYU ZYV ZYW ZYX ZYY ZYZ ZZA ZZB
ZZC ZZD ZZE ZZF ZZG ZZH ZZI ZZJ ZZK ZZL ZZM ZZN ZZO ZZP ZZQ ZZR ZZS ZZT ZZU ZZV ZZW ZZX ZZY ZZZ
My suggestion will be create a custom table and keep all possible combination numbers in it and use this table
a® -
Change Material in sales order (VA01/VA02) after GATP execution
Hi All,
My requirement is to replace the Material no if confirm quantity is 0 after GATP execution.
Currently i am changing material no in USEREXIT_CHECK_VBAP. After chnaging material in this user exit, new material is replaced on screen. But when i press ENTER its not changing all the relavent data for new material (Like Material Description).
Also New Pricing is not carried out.
Is there any flag, through we can trigger all SAP standard process after i change material on user exit or is there anything to trigger SAP standard process again after changing material in user exit?
Thanks in advance.Hi Valter,
My requirement is whenever i change ship to party in sales order , bill to and payer need to be redetermined from ship to instead of sold to (as the standard does). I am doing this in MV45AFZZ. But I can see them updated in VBPA.
But can see it in transaction as exit is triggering each time.
suggest an alternative....
thanks
ayesha. -
After successful execution from test lab,status is showing as not completed
We need you help in resolving an ALM Issue.
After successful execution from test lab the Automatic Runner popup shows as the test execution status as "Passed" ,But after closing the Automatic Runner popup window the Tesl lab execution status is not updated and it shows as "not completed". Can you please look into this issue and provide the resolution...
We Would appreciate for your valuable support.
Before closing the Automatic Runner popup,Runner popupStatus:.
After closing the Automatic Runner popup window the Tesl lab execution status:The issue was related to Note 959209
Maybe you are looking for
-
Hi all CREATE TABLE XX_OFFICE_USER_IMP ID NUMBER, OFFICE VARCHAR2(10 BYTE), USER_NAME VARCHAR2(10 BYTE), BANK_ACCOUNT_ID NUMBER, TRANSFERED NUMBER Insert into xx_office_user_imp (ID,OFFICE,USER_NA
-
How to apply time series function on physical columns in OBIEE RPD
Hi, I know a way to apply time series function(Ago and ToDate) by using existing logical columns as the source. I have set the chronological key and created time dimension. In the expressiion builder for the same Time Dimension appears at the Top so
-
Problem when down loading a simple report to Excel sheet
HI Frenz, When I download a Simple report to excel , The Excel shows a blank column in between two column, which should not be the case. Kindly let me know ASAP Regards Irfan
-
ICR Process 002: ledger selection - create a SP Ledger
Hello, I am implementing ICR functionality in ECC 5.0. I have implemented process '003' so far, and it is already working fine. I have seen this question in SDN which is about exactly the same issue that I have: [Re: ICR Process 002: ledger selection
-
Removing in # symbol in text .
Hi experts , This is the code in develpment server to remove # symbol in the purchase order text SPLIT p_text AT c_# INTO l_text l_text1. REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=>horizontal_tab IN l_text WITH ' '. REPLACE ALL OCCUR