Retaining a Value in a variable
Hi,
I have a sender query (query 1)and a receiver query(query2). The sender query has a user entry variable C on an info object A(of length 18). The receiver query has a customer exit variable D on an info object B(of length 4).
The customer exit variable D has to derive the last 4 digits of the user input variable C in query 1.
I have linked A and B in the assignment details of the RRI using the variable option.
The problem that i'm facing is that when a jump is performed the variable D has to derive its value from the variable C but when query 2 is triggered by the jump that value in variable C is lost and hence D cannot be populated. Is it possible to retain the value of variable C even after i run the second query so that i can derive D from C.
Help would be highly appreciated
Hi,
why not trying th efollowing:
Assign B as NAV-Attribute to A, containing the last 4 digits of the 18 digits string.
assign B to BOTH queries and use it in the assignment details "generic".
ANother way: assign A to Query2 with variable E, type replacementpath, filled by values out of query 1.
Derive Value for D in step 2 of the var E.
Actually, the first way seems to be easier ... to me ...
hth
cheers
sven
Similar Messages
-
Values of same Variable(used in diff reports) shud be retained in a session
Hello,
We have an application cockpit. There are 12 to 13 different reports being used in that cockpit. Most of the reports use the same characteristic variables in the report.
When we used to execute these reports in Ver 3.x, the variables used to retain their values in the same session. i.e. if for 0Material, user gave : 'TIP120' as a value in selection criteria in one report, then, if he executed another report after that, which uses the same variable on 0Material, then it retained its previous value: 'TIP120'.
Recently we have migrated to BW 7.0. Now, the variables no longer retain their values in the same session and the user has to type the value again. (personalization is an option but we want the variable should retain the values in same session).
Any help/advise on this will be of great importance as the user is not very comfortable putting values again, each time he runs the report.
Warm Regards,
SumitaHi,
Although this may not be the ideal answer for your question. This is another solution for your Question.(Personalizing Variables)
Go through this link... This will help you for sure
http://help.sap.com/saphelp_nw04/helpdata/en/3f/30ae3d47afd652e10000000a114084/frameset.htm
Hope This Helps,
Regards,
rik -
Doubt : retaining the value between the calls
hi,
Which statement would you use to declare a variable, within a Function Module/Form-routine, so as it will retain the value between the calls?"
GauravDear Gaurav,
To retain the same value outside a function module, you can define a variable with the same name as the exporting parameter in a function module. However in case of Subroutines you can pass the value by reference as any change in the formal parameters will be reflected in the actual parameters.
Check the following links for further clarification:
http://help.sap.com/saphelp_nw70/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db975c35c111d1829f0000e829fbfe/content.htm
Regards,
Rajesh K Soman
<b>Please reward points if found helpful.</b> -
Error while assigning resultset value to Querytable variable in Coldfusion 10
We are upgrading from coldfusion 8 to 10. Internally we were using java function to to get the data.
In java function we have a resultset object, if we assign this resultset value to Querytable variable, we are getting below error. This code was working fine in coldfusion 8.
Detail This exception is usually caused by service startup failure. Check your server configuration.
Message The Runtime service is not available.
StackTrace coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Runtime service is not available. at coldfusion.server.ServiceFactory.getRuntimeService(ServiceFactory.java:117) at coldfusion.runtime.RequestMonitor.<clinit>(RequestMonitor.java:14) at coldfusion.sql.QueryTable.populate(QueryTable.java:358) at coldfusion.sql.QueryTable.populate(QueryTable.java:283) at coldfusion.sql.QueryTable.<init>(QueryTable.java:96) at com.myCompany.myClass.myFunct(myClass.java:627) at
Here is the function which is causing error.
static private QueryTable myFunct(String userId, SessionFactory sf) {
PreparedStatement pStmt = null;
ResultSet rs = null;
QueryTable ret = null;
try{
Query q = sf.getCurrentSession().getNamedQuery("ListUsers");
pStmt = sf.getCurrentSession().connection().prepareStatement(q.getQueryString());
rs = pStmt.executeQuery();// works fine till here
ret = new QueryTable(rs); // error line
rs.close();
}catch(Exception e){
e.printStackTrace();
throw new RuntimeException(e.getLocalizedMessage());
return ret;
Can you provide some help on this. Please let me know if you need any other details.We have found this error is logs
coldfusion.runtime.Encryptor$InvalidParamsForEncryptionException: An error occurred while trying to encrypt or decrypt your input string: The input and output encodings are not same..
at coldfusion.runtime.Encryptor.decrypt(Encryptor.java:303)
at coldfusion.runtime.Encryptor.decrypt(Encryptor.java:284)
at coldfusion.runtime.CFPage.Decrypt(CFPage.java:5353)
at coldfusion.runtime.CFPage.Decrypt(CFPage.java:5326)
at coldfusion.runtime.CFPage.Decrypt(CFPage.java:5458)
at com.vmware.vcp.service.impl.EncryptColdFusionImpl.decrypt(EncryptColdFusionImpl.java:65)
at com.vmware.vcp.web.servlet.ApplicationConfigServlet.initEmailService(ApplicationConfigSer vlet.java:119)
at com.vmware.vcp.web.servlet.ApplicationConfigServlet.init(ApplicationConfigServlet.java:51 )
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121)
at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5001)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5278)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1525)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1515)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722) -
Can we use the value of a variable in an alert message
I have a variable in forms6i. I want to use the value of this variable in an alert message. How is this possible?
Gul wrote:
I have a variable in forms6i. I want to use the value of this variable in an alert message. How is this possible?Try
DECLARE err_txt VARCHAR2(200) t;
al_id ALERT;
al_button Number;
BEGIN
al_id := FIND_ALERT('My_Error_Alert');
SET_ALERT_PROPERTY(al_id, alert_message_text, 'Hello how are you mr. variable '||:variable_name );
al_button := SHOW_ALERT( al_id );
END; Hope it works..
Hamid -
Can we assign value to a variable in PL/SQL Loop
Hi
Can we assign value to a variable in PL/SQL Loops?
DECLARE
V_Num NUMBER;
BEGIN
LOOP
V_Num := 10;
DBMS_OUTPUT.put_line(V_num);
V_Num := V_Num - 1;
EXIT WHEN V_Num = 0;
END LOOP;
END;
In the above program, Can we assign V_num with a value 10????????
Thanks & Regards,
Hari Babu
Edited by: 1004977 on Jun 5, 2013 2:40 AMHi,
1004977 wrote:
Hi
Can we assign value to a variable in PL/SQL Loops?
DECLARE
V_Num NUMBER;
BEGIN
LOOP
V_Num := 10;
DBMS_OUTPUT.put_line(V_num);
V_Num := V_Num - 1;
EXIT WHEN V_Num = 0;
END LOOP;
END;
In the above program, Can we assign V_num with a value 10????????Yes; the example you posted does that.
When the loop starts, the value 10 is assigned to v_num. You should see that value displayed by the put_line statement.
After that, v_num is set to 10 - 1 = 9.
Next, the EXIT condition is evaluated. At this point, v_num is 9, not 0, so the loop runs again. V_num is set to 10 again, and the loop continues forever (or, in some versions, until the dbms_output buffer is filled and an error occurs.) -
How to find the value of a variable in other program
How to find the value of a variable in other program say I am in a FM and this FM is being called in from other program and I want to know some of the variable details of the program from the FM itself. Imagine if this is a txn. and I need to know the details from some of the programs while executing the same transaction
Regards
VinHi Vinayak,
you will be having your first program values in internal table or some variables,
when you are calling the second program you wii use like this,
SUBMIT <Second Program Name> USING SELECTION-SCREEN '1000'
WITH s_emp(second program select-options) IN t_emp(first program variables)
WITH p_chk EQ t_chk
WITH p_r1 EQ t_r1
WITH p_month EQ t_month
WITH s_cust1 IN t_cust1
WITH p_r2 EQ t_r2
WITH s_cust2 IN t_cust2
WITH s_week IN t_week
AND RETURN.
you have pas like this to get your first program details. -
Not getting values in the variable
Hi experts,
in this program
i want VBPA-vbeln = xblnr....but there is a data length error. so I ahve declare one variavble of length 10. & i am moving this xblnr to this variable but not getting value in that variable that i am moving..& give me the possible solutions...
when '0FI_AR_4'.
data: t_DTFIAR_3 like DTFIAR_3 occurs 0 WITH HEADER LINE.
data: BEGIN OF t_DTFIAR_3 occurs 0.
include structure DTFIAR_3.
data: xblnr1(10).
data: END OF t_DTFIAR_3.
data : BEGIN OF t_partner occurs 0,
VBELN like vbpa-VBELN,
parvw like vbpa-PARVW,
kunnr like vbpa-kunnr,
END OF t_partner.
data : xblnr1(10).
t_DTFIAR_3[] = C_T_DATA[].
move t_DTFIAR_3-xblnr to t_DTFIAR_3-xblnr.
select VBELN PARVW kunnr
into table t_patner
from vbpa
FOR ALL ENTRIES IN t_DTFIAR_3
where VBELN = t_DTFIAR_3-xblnr.
SORT t_partner BY VBELN PARVW.
loop at t_DTFIAR_3.
loop at t_partner where VBELN = t_DTFIAR_3-xblnr1.
if t_partner-PARVW = 'ZA'.
t_DTFIAR_3-YPARVW1 = t_partner-PARVW.
t_DTFIAR_3-YPART1 = t_partner-kuNNR.
elseif t_partner-PARVW = 'ZR'.
t_DTFIAR_3-YPARVW2 = t_partner-PARVW.
t_DTFIAR_3-YPART2 = t_partner-kuNNR.
ELSEif t_partner-PARVW = 'ZE'.
t_DTFIAR_3-YPARVW3 = t_partner-PARVW.
t_DTFIAR_3-YPART3 = t_partner-kuNNR.
ELSEif t_partner-PARVW = 'ZS'.
t_DTFIAR_3-YPARVW4 = t_partner-PARVW.
t_DTFIAR_3-YPART4 = t_partner-kuNNR.
ENDIF.
MODIFY t_DTFIAR_3.
endloop.
ENDLOOP.
C_T_DATA[] = t_DTFIAR_3[] .
Thanks in advanceHI,
While moving use the WRITE TO option.
WRITE VBPA-vbeln TO xblnr.
Regards
Sudheer -
Displaying the value of an variable on the stage
I have managed to display the values contained in string variables on stage, and I am happy with that, however when I wish to display the value of an int and convert it to a string as one is supposed to do the output to the stage just calls it [class int] and does not give its value. any suggestions?
My rogram contains a stage at frame 1 which displays a word. The user must input a word. Frame 30 then displays the word which was displayed and the word input by the user. That all works fine. But the value of the variable NumberRight, which has been assigned to that variable will only display as [class int] without showing its value. (even though I have converet it to a string using the .to string function you see below).
My code is as follows;
trace( "The number correct was" + NumberRight); //This works fine in the output window and shows the value of the variable as NumberRight [class int]1 (showing the value to be 1)
outputText.appendText("in/"+textAtIN); //this works fine displaying the word presented and word input by user as in/in
outputText.appendText( NumberRight.toString( )); //here lies the problem as it just displays [class int] and nothing else.
Yes I have managed to overcome that problem it was some code on the first frame, please excuse, however, now, is there any way to remove the [class int] bit from the displays, I wish to have the results as a clear copy of the results so that they can be printed out, without [class int] all over the place?Hi Ned thanks for that. Yes I had accidently created blank spaces in the String() argument. (wanted to check if there was a subsequent difference in display and forgot to return them to normal ...Sorted )
Your next suggestion has eliminated the [class int] but I get a value now of 0.
My code on the first frame for a correct response for example is;
function keyPressedIN(event:KeyboardEvent):void
if (event.keyCode == 13)/*Normally,this will move straight on to the next frame-
recording a correct response and all that that implies in terms of scores etc. But now I have re directed it to Frame 30 to check are the variables working properly*/
//insert code for correct responses vowels etc.
VowelI = VowelI+1;
NumberRight = NumberRight +1;
stage.focus = stage;
//There is no need to display the text box as this is a correct response.
pupilsResponseIN.visible = false;
mainText.visible = false;
gotoAndPlay(30);//at the moment this takes me to the display frame to check if all is ok
On the first frame when the user say hits the Return key my code assigns the value of +1 to the variable; eg
NumberRight=NumberRight+1;
and the value of +1 to the value of VowelI
VowelI=VowelI+1
At Frame 30 the code is as follows;
stop();
trace( "The number correct was"+ NumberRight);
outputText.appendText("in/"+textAtIN);
outputText.appendText( "\n");
outputText.appendText("Vowels Correct ="+(int(VowelI).toString()));
outputText.appendText( "\n");
outputText.appendText("TotalCorrect="+(int(NumberRight).toString()));
//outputText.appendText( VowelI.toString());
Now what I am getting is
in/in
Vowels Correct = O
Total Correct = O
Yet the trace (output box) records the Number correct as [class int]1
many years ago I wrote this same program in Authorware using similar code. I am trying to re write it in FlashCS5 using ActionScript 3 and It take days to solve small problems. I notice also that If for example the user of the program makes an error and I record the error as NumberRight =NumberRight -1 the program records it as Total Correct = NaN .
I gave up on this a few months back but I am trying again. I think there must be a better way to do this. Variables do not seem to add up or subtract for me at present. no doubt its me thats got it wrong. -
How to check empty string and null? Assign same value to multiple variables
Hi,
1.
How do I check for empty string and null?
in_value IN VARCHAR2
2. Also how do I assign same value to multiple variables?
var_one NUMBER := 0;
var_two NUMBER := 0;
var_one := var_two := 0; --- Gives an error
ThanksMichaelS wrote:
Not always: Beware of CHAR's:
Bug 727361: ZERO-LENGTH STRING DOES NOT RETURN NULL WHEN USED WITH CHAR DATA TYPE IN PL/SQL:
SQL> declare
2 l_str1 char (10) := '';
3 l_str2 char (10) := null;
4 begin
5
6 if l_str1 is null
7 then
8 dbms_output.put_line ('oh STR1 is null');
9 elsif l_str1 is not null
10 then
11 dbms_output.put_line ('oh STR1 is NOT null');
12 end if;
13
14 if l_str2 is null
15 then
16 dbms_output.put_line ('oh STR2 is null');
17 elsif l_str2 is not null
18 then
19 dbms_output.put_line ('oh STR2 is NOT null');
20 end if;
21 end;
22 /
oh STR1 is NOT null
oh STR2 is null
PL/SQL procedure successfully completed.
SQL> alter session set events '10932 trace name context forever, level 16384';
Session altered.
SQL> declare
2 l_str1 char (10) := '';
3 l_str2 char (10) := null;
4 begin
5
6 if l_str1 is null
7 then
8 dbms_output.put_line ('oh STR1 is null');
9 elsif l_str1 is not null
10 then
11 dbms_output.put_line ('oh STR1 is NOT null');
12 end if;
13
14 if l_str2 is null
15 then
16 dbms_output.put_line ('oh STR2 is null');
17 elsif l_str2 is not null
18 then
19 dbms_output.put_line ('oh STR2 is NOT null');
20 end if;
21 end;
22 /
oh STR1 is null
oh STR2 is null
PL/SQL procedure successfully completed.
SQL> SY. -
Default value in recordset variable
Hi,
I am using Dreamweaver 8.
I am not sure that I understand the function of the default
value in the variable area of the recordset. I'm using a search box
and sending the result on through the url. If the person types
something that is not in either of the two fields searched, is the
default value supposed to kick in? I have tried entering a value of
something that is actually in the field, but get a broken image
(x)...I'm displaying images.
What I would actually do is to display an error message on a
different page. Is there a SQL statement that could be put after
the search statement such "if not....go to url or
something"? If not, I was thinking of creating a blank
image with wording stating that there was no match.
Current recordset code:
SELECT*
FROM images
WHERE description LIKE %colname% OR picturenum = colname2
ORDER BY picturenum ASC
Name:colname
Type:Text
Default Value: montana (an actual word in the database)
Run-Time Value: $_GET['description']
Name:colname2
Type:Text
Default Value: A091 (an actual image in the database)
Run-Time Value: $_GET['description']
Current code works perfectly thanks to some direction by
David Powers....thanks David.
Any help would be appreciated.
Thanks,
CliffThe best way to accomplish this is to build the WHERE clause dynamically, or else have a different WHERE clause that you use in these situations. In other words, test the value of the querystring variables and if they are empty, use a different WHERE clause that does not include the address condition.
Also, this question belongs in the app dev forum. -
How to define and populate value to a variable in a text file
hi all,
i have a text file on unix server, when i read it through open dataset, is it possible to populate dynamic value to a variable in the text file. and is it possible to define a variable at any place in the text file?
after this the program will send the internal table for emailing.
thanks.Hi, If this file on server is a email template you can put some tags / marks and you can change it after you read it with OPEN DATASET / READ...
Sample:
OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
CHECK sy-subrc EQ 0.
DO.
READ DATASET p_file INTO lv_string.
IF sy-subrc EQ 0.
EXIT.
ENDIF.
REPLACE ALL OCCURENCES OF '((SYSTEM_ID))' WITH sy-sysid.
APPEND input_file_tab.
ENDDO.
CLOSE DATASET p_file.
on file there's a line with:
This email was generated on server ((SYSTEM_ID))
It will be translated to (sy-sysid = DEV):
This email was generated on server DEV
This is a "variable" like that you can use. -
Use varialbe as a value in substitution variable
Hi there,I incrementaly update my cube day by day.And I set a user variable in autoexec.bat to get the current date,eg '2003-06-23'.Could I use such variable as a variable's value in substition variable ?My platform is 6.5 on w2k.Regards,luau
You can use that in a MAXL script to set the substitution variable.the MAXL script would be something like:Alter database $4 drop variable $5;alter database $4 add variable $5 $7 ;where: $4 is the app.cub $5 is the substitution variable name $7 is the value of the subs. variableRich Sullivan - Beacon Analytics
-
Fetches more values into one variable
Hi, inside a cursor loop I'd like to assign, each fetch, a value to a variable, in order, at the end to have a collection of all the values fetched into the same variable.
The code is the following:
CREATE OR REPLACE procedure APPS.AAA as
v_pino varchar2(64);
CURSOR tks_opened_range IS
SELECT incident_number AS YP_TKS_OPENED_WITHIN_RANGE FROM cs.cs_incidents_all_b a, cs_incident_statuses_b b, Cs_Incident_Statuses_Tl c
WHERE b.incident_status_id = c.incident_status_id
AND a.incident_status_id = b.incident_status_id
AND (b.attribute1 <> '3' OR b.attribute1 IS NULL)
AND c.language = 'EL'
AND ((sysdate - to_date(incident_attribute_6, 'dd-mm-yyyy hh24:mi'))*1440) BETWEEN 1 AND 11111111111
AND incident_attribute_2 IN ('ΓΕΝΙΚΗ ΔΙΕΥΘΥΝΣΗ ΤΕΧΝΟΛΟΓΙΑΣ')
ORDER BY incident_number;
rec_tks_opened_range tks_opened_range%ROWTYPE;
begin
FOR rec_tks_opened_range IN tks_opened_range
LOOP
v_pino := rec_tks_opened_range.YP_TKS_OPENED_WITHIN_RANGE;
DBMS_OUTPUT.PUT_LINE('v_pino: ' || v_pino);
end loop;
end AAA;
This works with the variable v_pino!....but at the end, the value of the variable v_pino is ONLY the last fetched by the cursor.
Is there a way to declare a variable (or better a collection) or a new type in order to have all the data fetched into this variable and the end of the fetching ?
I need to know this trick because, after, I have to assign this variable to a pipelined table function.
Thanks in advance
Alex
/Great Devang !! Thanks a lot ! It works ! Now I am able to retrieve all the values I need and store them into my variable gino
I searched on the note you mentioned in your mail in order to pass an array as a variable to a table function (PIPE ROW call), but I didn't find nothing about it.
Now I explain to you my situation.
I already implemented a table function that works perfectly. I have 2 cursors declared and 2 PIPE ROW calls.
FUNCTION statistic_report_2_1 (p_resolv_time_ll varchar2, p_resolv_time_ul varchar2, p_ypiresia varchar2)
RETURN xxi_statistic_rep_2_1_tab PIPELINED
IS
-- CURSORS FOR THE FIRST SHEET - Tickets opened per group and per duration
-- Cursor for tickets opened within 1 hour --
CURSOR tks_opened_1_h IS
SELECT incident_number AS YP_TKS_OPENED_WITHIN_1_HOUR
FROM cs.cs_incidents_all_b a, cs_incident_statuses_b b, Cs_Incident_Statuses_Tl c
WHERE b.incident_status_id = c.incident_status_id
AND a.incident_status_id = b.incident_status_id
AND (b.attribute1 <> '3' OR b.attribute1 IS NULL)
AND c.language = 'EL'
AND ((sysdate - to_date(incident_attribute_6, 'dd-mm-yyyy hh24:mi'))*1440) < 60
AND incident_attribute_2 IN (SELECT * FROM TABLE(CAST(xxi_szf_discoverer.ypiresia_values(p_ypiresia) AS xxi_ypiresia_list_tab)))
ORDER BY incident_number;
rec_tks_opened_1_h tks_opened_1_h%ROWTYPE;
-- Cursor for tickets opened between 1 hour and 3 hours --
CURSOR tks_opened_1_3_h IS
SELECT incident_number AS YP_TKS_OPENED_BE_1_3_HOURS FROM cs.cs_incidents_all_b a, cs_incident_statuses_b b, Cs_Incident_Statuses_Tl c
WHERE b.incident_status_id = c.incident_status_id
AND a.incident_status_id = b.incident_status_id
AND (b.attribute1 <> '3' OR b.attribute1 IS NULL)
AND c.language = 'EL'
AND ((sysdate - to_date(incident_attribute_6, 'dd-mm-yyyy hh24:mi'))*1440) BETWEEN 60 AND 179
AND incident_attribute_2 IN (SELECT * FROM TABLE(CAST(xxi_szf_discoverer.ypiresia_values(p_ypiresia) AS xxi_ypiresia_list_tab)))
ORDER BY incident_number;
rec_tks_opened_1_3_h tks_opened_1_3_h%ROWTYPE;
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
-- FIRST SHEET OPEN CURSORS --
TICKETS NUMBER OPENED WITHIN 1 HOUR
FOR rec_tks_opened_1_h IN tks_opened_1_h
LOOP
PIPE ROW(stat_rep_2_1_type(
rec_tks_opened_1_h.YP_TKS_OPENED_WITHIN_1_HOUR
END LOOP;
-- TICKETS NUMBER OPENED BETWEEN 1 HOUR AND 3 HOURS --
FOR rec_tks_opened_1_3_h IN tks_opened_1_3_h
LOOP
PIPE ROW(stat_rep_2_1_type(
,rec_tks_opened_1_3_h.YP_TKS_OPENED_BE_1_3_HOURS));
END LOOP;
RETURN;
END statistic_report_2_1;
But, in this way and with this syntax, I obtain for each PIPE ROW call only one field filled each time, because I can’t call 2 cursors in a nested loop together (data duplication);
For example:
1st PIPE ROW call : only the first field is filled and into the second I have to put ‘’
2nd PIPE ROW call : only the second field is filled and into the first I have to put ‘’
….and I cant’ call with a single PIPE ROW call two cursor variables…..
Into a Discoverer report this data layout is really bad (you can imagine with thousand
of records).
For this reason I thought to use an array variable (gino) to pass to a single PIPE ROW call outside the cursor loop……but it doesn’t work !!!
Can you suggest me how to resolve this problem….if it possible ?
Did I have to declare other TYPE or collection ?
Thanks you so much
Alex -
Not able to get the value of ODI Variable when i pass thru Option
Hi,
I have ODI variable called prev_etl_run_date which will hold the last successful etl run date. I want to use the value of this variable in one of my KM step.
But i don’t want to use directly in my KM. So I passed the variable name thru KM Option.
I intend to use the variable’s value in the KM step, as shown below:
<%=odiRef.getOption("MY_OPTION_1")%>
Here I am expecting the value of the variable, but here I am only getting the variable name only.
Is there any substitution method available in ODI KM , please help me to solve this issue.
Thanks
nidhiODI options are not intended for run time parameters. They are like design choices or debugging flags or parameters that can be specified in code template. Previous ETL run time stamp is hardly a design choice.
On the other hand, it is really a bad practice to put a variable inside KM directly. That creates a dependency that you can easily avoid by putting a filter using that variable in the interface.
Maybe you are looking for
-
Service Number is not getting updated in the Purchase Requisition
Hi All, When i create a Service PR using bapi BAPI_REQUISITION_CREATE FM , service details ( Service number, Qty, Gross price, ) are not getting updated in Service tab of Purchase requisition transaction. I am passing all the services related paramet
-
The Long Road to building a 10.3 Server... could use Tips!
I recently acquired a copy of 10.3 Server (legal, new in package...) Unlimited license. Quick background on my environment; I'm the school computer guy for a K-8 school, and do the same job for another school a few hours a week. Been working with Mac
-
Open pdf in adobe reader touch
How can i open tao documents at lhe same time in adobe reader touch?
-
Trouble with modifying/deleting an adjustment layer
First time posting on here and I'm going a little crazy! I'm using the most up-to-date version of CS5. I have some pictures that I'm trying to have my subjects in color with the rest of the picture in black & white. It's a common trend I do with a
-
Error in Electronic bank statement
Hi Guys, am trying to do Electronic bank statement, statement is generating but automatic clearing with GL (Main Bank and Bank clearing account) is not happening. T.code: FEBAN error shown under this transaction... i did not get any error log...how d