How to pass dates as parameters in GO URL?
Hi,
Can we pass date values as parameters in GO URL?
I have a date column in my source report that I would like to pass as filter parameter to target reports via GO URL. Could you please let me know the correct syntax if this is possible?
How can i convert the CHAr to date in the target?? I am using the below syntax and it is receiving a value of 20-JUL-2011.
'<a href="http://sunt2000-10.wfs.com:9704/analytics/saw.dll?GO&path=/shared/WFS%20Financials/WFS%20Business%20Aviation/WFS%20Business%20Aviation%20Retail%20Volume&Action=Navigate&P0=1&P1=eq&P2="WFS%20Day%20Date"."Calendar%20Date"&P3=' || CAST("WFS Day Date"."Calendar Date" AS CHAR) || ' ">QTY(USG)</a>'
I need to convert this as a DATE when navigating to a different page to pass as a parameter.
Similar Messages
-
How to pass APEX_UTIL.COUNT_CLICK parameters in the url
Hello,
I have to count clicks on the List items:
There is a Click Counting option in the definition of each List item,
and you can add Click Count Category there.
However, I also need to add Click Id parameter - p_id.
This parameter (p_id) suppose to pass a value into CLICK_ID column of the APEX_WORKSPACE_CLICKS view.
I am constructing a url for that.
The url without p_id works perfect:
z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_company=&WORKSPACE_ID.&p_user=&APP_USER.But the url with p_id does not work at all:
z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_id=Profile&p_company=&WORKSPACE_ID.&p_user=&APP_USER.Do you know how to pass p_id parameter in the url, so that it would be inserted in apex_workspace_clicks view?
Thank you!CLICK_ID column of the APEX_WORKSPACE_CLICKS is a Number, so you have to pass a number, ex:
&p_id=1
So your url should look like:
z?p_url=f?p=&APP_ID.:43:&APP_SESSION.::NO:::&p_cat=Common&p_id=1&p_company=&WORKSPACE_ID.&p_user=&APP_USER.You can use a page number to associate with a click, to be more descriptive -
How to pass data from one internal session to another internal session
hi all sap experts ,
How to pass data from one internal session to another internal session and from oneExternal session to another external session.
Except : Import and Export parameters and SPA/GPA parameters.
Tell me the otherWay to pass data ..
Plz
Thanks in advancehi,
abap memory management u will understand about this concept.
the import /export parameter will help u that passing data between two internal sessions by using abap memory.
for syntax
Passing Data Between Programs
There are two ways of passing data to a called program:
Passing Data Using Internal Memory Areas
There are two cross-program memory areas to which ABAP programs have access (refer to the diagram in Memory Structures of an ABAP Program) that you can use to pass data between programs.
SAP Memory
SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens (see below).
ABAP Memory
ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse. For further information, refer to Data Clusters in ABAP Memory.
Filling Input Fields on an Initial Screen
Most programs that you call from other programs have their own initial screen that the user must fill with values. For an executable program, this is normally the selection screen. The SUBMIT statement has a series of additions that you can use to fill the input fields of the called program:
Filling the Selection Screen of a Called Program
You cannot fill the input fields of a screen using additions in the calling statement. Instead, you can use SPA/GPA parameters. For further information, refer to Filling an Initial Screen Using SPA/GPA Parameters.
Message was edited by:
sunil kumar
Message was edited by:
sunil kumar -
How to pass data from one internal session to another
Hi SAP Experts,
How to pass data from one internal session to another and from One external session to another external session. I used import and export parmeter and SPA/GPA parameters. What is the other way to pass data?
Please tel me urgently
Thank you
BasuMemory Structures of an ABAP Program
In the Overview of the R/3 Basis System you have seen that each user can open up to six R/3 windows in a single SAPgui session. Each of these windows corresponds to a session on the application server with its own area of shared memory.
The first application program that you start in a session opens an internal session within the main session. The internal session has a memory area that contains the ABAP program and its associated data. When the program calls external routines (methods, subroutines or function modules) their main program and working data are also loaded into the memory area of the internal session.
Only one internal session is ever active. If the active application program calls a further application program, the system opens another internal session. Here, there are two possible cases: If the second program does not return control to the calling program when it has finished running, the called program replaces the calling program in the internal session. The contents of the memory of the calling program are deleted. If the second program does return control to the calling program when it has finished running, the session of the called program is not deleted. Instead, it becomes inactive, and its memory contents are placed on a stack.
The memory area of each session contains an area called ABAP memory. ABAP memory is available to all internal sessions. ABAP programs can use the EXPORT and IMPORT statements to access it. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse.
All ABAP programs can also access the SAP memory. This is a memory area to which all sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters are often used to preassign values to input fields. You can set them individually for users, or globally according to the flow of an application program. SAP memory is the only connection between the different sessions within a SAPgui.
The following diagram shows how an application program accesses the different areas within shared memory:
In the diagram, an ABAP program is active in the second internal session of the first main session. It can access the memory of its own internal session, ABAP memory and SAP memory. The program in the first internal session has called the program which is currently active, and its own data is currently inactive on the stack. If the program currently active calls another program but will itself carry on once that program has finished running, the new program will be activated in a third internal session.
Data Clusters in ABAP Memory
You can store data clusters in ABAP memory. ABAP memory is a memory area within the internal session (roll area) of an ABAP program and any other program called from it using CALL TRANSACTION or SUBMIT.
ABAP memory is independent of the ABAP program or program module from which it was generated. In other words, an object saved in ABAP memory can be read from any other ABAP program in the same call chain. ABAP memory is not the same as the cross-transaction global SAP memory. For further information, refer to Passing Data Between Programs.
This allows you to pass data from one module to another over several levels of the program hierarchy. For example, you can pass data
From an executable program (report) to another executable program called using SUBMIT.
From a transaction to an executable program (report).
Between dialog modules.
From a program to a function module.
and so on.
The contents of the memory are released when you leave the transaction.
To save data objects in ABAP memory, use the statement EXPORT TO MEMORY.
Saving Data Objects in Memory
To read data objects from memory, use the statement IMPORT FROM MEMORY.
Reading Data Objects from Memory
To delete data clusters from memory, use the statement FREE MEMORY.
Deleting Data Clusters from Memory
please read this which provide more idea about memory
Message was edited by:
sunil kumar -
How to pass whitespaces as parameters to sqlplus
Hi all,
does anyone of you know how to pass whitespaces as parameters to sqlplus?
I am struggeling with with problem for quite a while now.
I tried doing this the following way:
sqlplus mydb/mydb@mysid @mypath\myfile.sql param1 param2 ' ' param4 ' '
sqlplus mydb/mydb@mysid @mypath\myfile.sql param1 param2 " " param4 " "
sqlplus mydb/mydb@mysid @mypath\myfile.sql param1 param2 '\ ' param4 '\ '
but none of this is working. Any more ideas?
Thanks in advance!
DougHi,
This could do it :[oracle@Nicosa-oel ~]$ cat script.sql
DEFINE myparam1 = "&1 ";
DEFINE myparam2 = "&2 ";
DEFINE myparam3 = "&3 ";
DEFINE myparam4 = "&4 ";
DEFINE myparam5 = "&5 ";
select '&myparam1.' c from dual
union all select '&myparam2.' from dual
union all select '&myparam3.' from dual
union all select '&myparam4.' from dual
union all select '&myparam5.' from dual;
undefine myparam1
undefine myparam2
undefine myparam3
undefine myparam4
undefine myparam5
[oracle@Nicosa-oel ~]$ sqlplus scott/TIGER
SQL*Plus: Release 11.2.0.1.0 Production on Tue Jan 3 16:20:49 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> @l
Scott@my11g SQL>@script a " " c " " e
C
a
c
e -
How to pass Data from one form to the other
Hi all
Can any one suggest me how to pass data from one form to the other form, which i zoomed from the original one?
I tried to do this by passing parameter in Event Procedure but i am getting error msg when i am opening the zoomed form.
If any one of u have any idea, give me a reply
Thank you
SuhasiniIf you choose the second alternative you should erase these global variables after the second form is opened
You can erase the global variable using:
erase('global_var')
Greetings,
Sim -
Performace tuning: how to pass data between different batch job programs?
Hi everyone,
now i have one problem about performance tuning using threading in SAP programs: split one big program into two programs - one is main program and the other is sub program. using batch jobs, we can submit multi jobs of sub program at the same time.
does anybody know how to pass data between different batch jobs? I don't want to use temp files. can ABAP memory can implement this?
thanks!Wei,
Yes we can transfer the data by using
SAP Memory OR ABAP Memory.
Ex: V_count TYPE i.
V_count = 100.
LOOP AT itab.
IF v_count EQ 25.
Here For every batch job
EXPORT data TO MEMORY ID 'ABC'
Function module
JOB_OPEN
JOB_SUBMIT
JOB_CLOSE.
ENDIF.
ENDLOOP .
IN your 2nd program.
INITIALIZATION.
IMPORT data FROM MEMORY IF 'ABC'.
FREE memory if .---When you free the memory you will get recent data.
Don't forget to reward if useful. -
SAP threading-how to pass data between different batch job programs?
Hi everyone,
now i have one problem about performance tuning using threading in SAP programs: split one big program into two programs - one is main program and the other is sub program. using batch jobs, we can submit multi jobs of sub program at the same time.
does anybody know how to pass data between different batch jobs? I don't want to use temp files. can ABAP memory can implement this?
thanks!Passing Data Between Programs
[http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/frameset.htm|http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9df735c111d1829f0000e829fbfe/frameset.htm] -
How to pass selection screen parameters in text elements?
how to pass selection screen parameters in text elements?
don't you mean he other way around. Assign text-elements (selection texts) to select options?
This you do in the menu where you can find text-elements, selection texts.
menu Goto->text elements->selection texts.
Edited by: Micky Oestreich on May 10, 2008 2:45 PM -
How to pass data from offline form to webdynpro java
Hi,
Please suggest me how to pass data from offline from to webdynpro java node?
i am using the below code to pass data from offline form(after entering values in the form) to node . i am using form upload ui element to upload offline form and after that i am providng a button to update data.But still i am not able to see data in the node.Any suggestions on this.below code is wriiten on action of the button.
wdContext.currentContextElement().setPDFSource(null);
try
if(null!=wdContext.currentContextElement().getAttributePointer("Resource"))
IWDResource fileResource = wdContext.currentContextElement().getResource();
if("PDF".equalsIgnoreCase(fileResource.getResourceType().getFileExtension()))
byte[] b = new byte[wdContext.currentContextElement().getResource().read(false).available()];
wdContext.currentContextElement().getResource().read(false).read(b) wdContext.currentContextElement().setPDFSource(b);
WDInteractiveFormHelper.transferPDFDataIntoContext (wdContext.currentContextElement().getPDFSource(), wdContext.nodeVn_TestData());
else
wdComponentAPI.getMessageManager().reportException("Please enter correct file");
else
wdComponentAPI.getMessageManager().reportException("Error while uploading file");
catch (Exception e) {
wdComponentAPI.getMessageManager().reportException
("Error in uploading the Adobe Form :"+e.getLocalizedMessage(),false);
Regards,
PavaniIf you choose the second alternative you should erase these global variables after the second form is opened
You can erase the global variable using:
erase('global_var')
Greetings,
Sim -
Oracle Lite: How to create data subsetting parameters?
I need to know:
how to create data subsetting parameters?
I need these parameters for use of a restricting predicate in an item publication.
I were looking the forum and i found topics about "how to set?" but i don't found how to create a data subsetting parameter.
I am replacing SQL server 2000 and SQL server CE by oracle 9i and oracle lite 5.0.2.
Thanks in advance.
PCIDHad problems with the parameters shown on pages webtogo in the datasubsettings section because none of them were "defined", but in sections 1.4.1.2 I found these lines:
Template: select * from master.task where CustCity = :city
Then click OK. This brings you back to the previous screen. The template query contains a variable (subscription parameter) named "city". Later, when you provision the application to a user, you will be prompted to enter the value for it.
I found out how to put a parameter to restrict registries that download to the pocket pc from each user.
Thank you very much!!! -
How to pass data in realtime jobs throgh XML ??
How to pass data in realtime jobs throgh XML in Data Services ??
http://wiki.scn.sap.com/wiki/display/EIM/Realtime+at+a+Glance
-
How to pass context based parameters to subquery?
Hello to All!
How to pass context based parameters to subquery of custom folder when I schedule workbook?
Thanks, OlegHi Russ
Yes, I've done this too. Basic SQL though will not allow the updating of a table inside a function, so we have to get clever. The trick is to use the PRAGMA AUTONOMOUS TRANSACTION command. Here's an example:
FUNCTION UPDATE_MYTABLE(P_VALUE IN NUMBER)
RETURN VARCHAR2 IS
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
UPDATE SCHEMA_OWNER.MY_TABLE SET MY_VALUE = P_VALUE;
COMMIT;
RETURN('Done');
END UPDATE_TABLE;
When the update has been completed the Discoverer worksheet will respond with 'Done'.
Everyone: don't forget to grant EXECUTE on this function to all of the necessary users, including the EUL owner, and also don't forget to import the function using the Admin edition so that it is available for the users. You will also need to make sure that all necessary users have been granted the UPDATE privilege on the table.
I hope this helps
Regards
Michael -
How to pass data from list to internal table
Sir,
Please tell me how to pass data from list display to internal table. Some fields in the list display are input fields .These are added at run time and these added values should be stored in the internal tableFollow this code sample:
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = W_REPID
I_CALLBACK_PF_STATUS_SET = 'PF_STATUS'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM
P_SELFLD TYPE SLIS_SELFIELD.
case p_ucomm.
when '<Some user Action>'.
Data ref1 type ref to cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
E_GRID = ref1.
call method ref1->check_changed_data
* Your internal table will have the data
endcase.
ENDFORM.
Regards,
Ravi -
How to pass XMLType as parameters to Java stored procs ?
How to pass XMLType as parameters to Java stored procs ?
ORA-00932: inconsistent datatypes: expected an IN argument at position 1 that is an instance of an Oracle type convertible to an instance of a user defined Java class got an Oracle type that could not be converted to a java class
Java stored proc -->
CREATE or replace FUNCTION testJavaStoredProcMerge( entity xmltype,event xmltype ) RETURN VARCHAR2 AS LANGUAGE JAVA
NAME 'XDBMergeOp.merge(org.w3c.dom.Document,org.w3c.dom.Document) return java.lang.String';
PL/SQL -->
declare
theQuote VARCHAR2(50);
entity xmltype;
event xmltype;
begin
entity := xmltype('<Quote><Fields><Field1>f1</Field1></Fields></Quote>');
event := xmltype('<Quote><Fields><Field2>f2</Field2></Fields></Quote>');
theQuote := testJavaStoredProcMerge(entity,event);
dbms_output.put_line(theQuote);
end;
Java class -->
public class XDBMergeOp {
public static String merge(Document entity, Document event) throws Exception {
return ...
Thanks in advance.I think you'll need to use XMLType and then extract the DOM inside java..
create or replace package SAXLOADER
as
procedure LOAD(P_PARAMETERS XMLTYPE, P_DATASOURCE BFILE);
end;
create or replace package body SAXLOADER
as
procedure LOAD(P_PARAMETERS XMLTYPE, P_DATASOURCE BFILE)
AS
LANGUAGE JAVA
NAME 'com.oracle.st.xmldb.pm.saxLoader.SaxProcessor.saxLoader ( oracle.xdb.XMLType, oracle.sql.BFILE)';
end;
public static void saxLoader(XMLType parameterSettings, BFILE dataSource)
throws Exception {
Document parameters = parameterSettings.getDocument();
SaxProcessor app = new SaxProcessor(parameters);
app.processXMLFile(dataSource);
Edited by: mdrake on Apr 6, 2009 11:28 AM
Maybe you are looking for
-
I have a possible solution for any hangs/ freezing on the login screen
this solution is by no means a guaranteed fix nor is it for someone who is very computer illiterate. it also will void any apple warranty. here it is. 1. open your laptop 2. remove both ram cards. 3. replace the ram cards in the opposite slots 4. clo
-
Efficient method to read a Setup file ? Config VIs ?
Hello All: I am developing a project with a large setup file which is linked to a global variable in my code. Each section in the setup file maps to a cluster in my global variable. Typically I use config VIs to read and modify the setup file from m
-
Lenovo B570 (F2)NO BIOS ACCESS, no (F12) BOOT order Access
Hello everyone, Yesterday I got a brand new B570. After first power on I got access to Bios (F2) and Bootorder (F12). Today, after installation of a win7/64 the B570 refuses to enter BIOS and Bootorder table. I found this : message in this forum BIO
-
Is there anyway to change the font used in the Notes app?
I noticed Notes's font has changed on my iPhone 3Gs (which I don't like). Is there a way to change it back? Thanks, Paul
-
Hi, is it possible to view the source code of an .exe? Vanessa