Re: parameters(urgent)
Hi,
My requirement: End users are creating some notification types by using iw21 transaction. They may enter different values for some parameters while they are creating notification.Then i have to raise information message according to values. So i am creating user exits.
How can i write the exit for that
<i>Then i have to raise information message according to values</i>
to simply give a short information message you can just code as below
if <condition> = 'TRUE'.
message i398(00) with 'Message' value .
endif .
if you want to give a detailed message , then as sasi mentioned you can use popup fms . (like POPUP_DISPLAY_TEXT )
Regards
Raja
Similar Messages
-
Mapping Issue(UDF) in HTTP-RFC scenario with URL parameters - Urgent
Hi All,
I am working out an HTTP-RFC scenarion wherein there is no xml data to be pushed.
The data will be coming in the url parameters.
Also we'll exposing our url(created by SAP PI) to 3rd party system to push data in terms of url parameters.
So how do I do mapping? Also what UDF code will contain?
Since I'm working on this kind of scenario for the first time, I need every help from you guys.
Thanks & Regards,
Amit PatilHi All,
I have worked on RFC to HTTP scenario wherein URL have to be passed. I used UDF in d same.
But now the case is reverse, how shall I move ahead with what source message type(in the mapping) and how to do mapping.
What kind of UDF will be useful here?
I am completely blank in this kind of scenario where 3rd party system is going to pass four parameters on URL link craeted by us since its an HTTP to RFC scenario.
Please guys help me! Give me some inputs.
Thanks,
Amit Patil -
Passing parameters - urgent please
Dear friends,
In my first.jsp file i am passsing a emailaddress to second.jsp
thru url. second.jsp is receiving the emailaddress using request.getparameter.
However i have somany parameters like email. and i have hide these parameters, in which the user cannot see in the url bar.
please help me how can i hide the parameters like (email..etc.,)
first.jsp
<a href="second.jsp?email=<%=emailaddress%>">Test</a>
second.jsp
String getemailid=request.getParameter("email");
out.println("My name is : "+getemailid);
thank you for your cooperation
Yours
rajeshDear MinaGavinmaur and Ps,
Thank you for your valuable suggestions. Now my problem is solved.
Once again thanks a lot for fast replies.
If you need any assistance please contact me at [email protected]
Yours
Rajesh
intValue() doesn't have an input parameter so it
should be written as:
Integer intObj = (Integer)
session.getAttribute("integernumber");
int counter = intObj.intValue(); -
Edi partner profile inbound parameters urgent plz
hi
iam trying to make settings for inbound parameters of edi for bank, iam wondering what is partner number if partner type is "b"(bank). my partner number will be bank key or house bank or what , bcoz it is not accepting bank key or house bank idHi,
In Transaction code FI12 - Change House Bank - Details, there is an push button to create EDI Partner Profiles. Click on that and enter the EDI Partner number. This is not House Bank number / Bank Key. After entering the EDI Partner number, you can click on Partner Profiles and complete the setting up of Partner Profile.
Thanks
Murali. -
In my JSP page i am using Callable Statements for storing the data. The stored procedure returns a value after inserting the data. I want to know, how to access the output parameter passed by the stored procudure in the JSP page
See http://developer.java.sun.com/developer/onlineTraining/Database/JDBC20Intro/JDBC20.html#JDBC2013_4 and carefully go through the code fragments therein.
-
Parameters issue in discoverer while writing a view...its urgent please
Hi Everybody,
I have written a view in which i have a where condition which says something like
where abc IN ( Select xyz from table2).
Now in my desktop, i want a parameter to pass for the subquery as
select xyz from table2 where column1='bla bla bla'
please tell me how is this possbile.
thank you
kumarKumar.
1. Are you trying to show a LOV at run time? If so, you can create a LOV directly in the EUL via Disco Admin which will present a list of the items a user can choose from at run time (and not have to worry about a sub-query).
2. If it's an actual sub-query you need, then first of all, Disco v4 (maybe it was v9, but that was an ugly child anyway) is the last version that supported 'pseudo' sub-queries.
3. It's been written up in the forum many times about how to pass run time parameters to a folder in the EUL. There's one method that's popular for actually passing the parm to the folder.
4. Another method is to create a worksheet that only calls a function, to kick off a PL/SQL routine that builds a table using your parameter and then have the main worksheet call that new table.
So, if it's a LOV you want - that's a whole lot easier.
Russ -
Passing Parameters in a URL to Reports - Need Help Urgently !
I have created Image Maps (content area) where I pass parameters in the URL as follows :
<area shape="rect" coords="335,66,528,83" href="http://townland:7778/pls/portal30/PORTAL30.RPT_SUMKWH.show_parms?meter=PMS 11BBA01">
<area shape="rect" coords="400,55,600,90" href="http://townland:7778/pls/portal30/PORTAL30.RPT_SUMKWH.show_parms?meter=PMS 11BBA02">
I am having a problem passing this meter parameter to the report [I am generating this report (RPT_SUMKWH) using SQL Query] :
I have tried the following :
1) I tried referencing this parameter in the 'Additional PL/SQL code, before displaying page' section of my Report as :- wwpro_api_parameters.get_value('meter', 'RPT_SUMKWH')
but this did not work (this made the package body invalid).
2) I then tried using the meter parameter as a bind variable in my SELECT Query of the Report, then, in the 'Customisation Form' section, I place :- wwpro_api_parameters.get_value('meter', 'RPT_SUMKWH') under Default Value, however, when I go back to my Image Map content area & ty to click on the URL, I get an error "Page does not display" .
How do I then pass this parameter to my report, where do I place the code to make the call for the parameter being passed from the Image Map URL in the content area??
AVDHi,
You will have to encode your parameter value. The problem is because of the spaces in the value. Whenever there any special
characters in the value it should be encoded.
example
select '<area shape="rect" coords="335,66,528,83" href="http://townland:7778/pls/portal30/PORTAL30.RPT_SUMKWH.show_parms?meter='||
<portal_schema>.wwutl_htf.url_encode('PMS 11BBA01')||'">pams</a>' url
from meters
The above is just an example. Please change the names to suit your requirements.
Thanks,
Sharmila -
Command line parameters and Shell Script -- URGENT
Hi folks,
I am facing some problem in the Shell script and the command line parameter.
The scenario is -- I am picking a file from a directory, whose path is <b>/interfaces/xid/receive/filename.dat</b>
I have to encrypt filename.dat and move it to another folder, whose path is <b>/interfaces/xid/send</b>. So, the encrypted file will reside in the <b>send</b> directory.
Now, I don't want to hardcode the new path, where the encrypted file has to be moved. Please let me know how to achieve this. Please consider this as urgent.
Have a look at the command line in the "before message processing" -- <b>/interfaces/xid/receive/xi_decompress.sh /interfaces%F</b>
Have a look at the shell script for the same --
#!/bin/sh
Setup environment variables
COMMPRESS_DIR=/interfaces/software/commpress
export COMMPRESS_DIR
LOG_DIR=/interfaces/software/commpress/log/
export LOG_DIR
IN_FILE=$1
export IN_FILE
Find the directory where the unencrypted file is deposited
IN_FILE_DIR=`dirname $1`
export IN_FILE_DIR
Make sure the working directory is where the unencrypt.key is...
cd $COMMPRESS_DIR
encrypt the file
if [ `uname` = "HP-UX" ]
then
find $IN_FILE | $COMMPRESS_DIR/compx $IN_FILE_DIR logpath=$LOG_DIR
else
find $IN_FILE | $COMMPRESS_DIR/compx-sun $IN_FILE_DIR logpath=$LOG_DIR
fi
Get the result of the encryption
RET_CODE=$?
Check decryption result
If error (retuen code <> 0), create an error log file in the
same directory as the input file.
if [ $RET_CODE -ne 0 ]
then
PREFIX="Decryption"
DATE_TIME=$(date +%Y%m%d_%H%M%S%N)
SUFFIX="err"
FILENAME=$/$_$.$
echo "Decryption Error log" >$FILENAME
echo "DATE_TIME: $" >>$FILENAME
echo "DIRECTORY: $" >>$FILENAME
echo "FILE: $" >>$FILENAME
echo "ERROR CODE: $" >>$FILENAME
fi
exit $RET_CODE
What else I need to add in this piece of code? Urgent help !!
Thanks a lot in advance.
NeeteshHi Satish,
I was able to figure that out, that we need to hard code the path as the 2nd parameter.
But I guess there is a way out in Unix where we can handle this situation, where we are not willing to hard code.
Anyways, thanks a lot for your input .. -:)
Cheers,
Neetesh -
URGENT: pass parameters from report to report without usting a link or URL
HI.
I want to send an ID field from a report to a report (like master-detail) and that should be done by pressing the next or previous button. So, not with a LINK or URL link.
Is that possible? I used the wwsto_api_session package in several ways, but no luck so far.
Thanks,
Paul.If your requirement is to provide buttons that take the users to another report, you have to do the following:
In your source report (report A), create a form containing a button. Use hidden fields for the parameters you have to pass to the target report (report B).
You'd need to base your report A on a SELECT statement. One of the columns in the SELECT statement can be a string where you actually construct the entire HTML form, something like:
SELECT ...., '<form action=... method=post> ... ' FROM ...Hope this helps. -
Hi its urgent...help on selection screen parameters
Hi all,
I need help on selection screen parameters.
requirement is that,
i am having input fields for material, plant ,start date and end date and a check box and an input field for getting the txt file.
when i select the checkbox, it should ignore the mandatory fileds in the selection screen.
and when i get the file input, it should take the input data material, plant, start date and end date from the flat file and populate the corresponding input fields in selection screen.
How to do this..
thanks in advance.Hi ..
While declare the Matnr, Plant etc dont use the OBLIGATORY addition.
instead of the based on the value of check box validate them .
AT SELECTION-SCREEN.
IF c_box = ' '.
<< validate for mandatory fields>>
endif.
<b>REWARD IF HELPFUL.</b> -
URGENT!!! a way to find out if Oracle stored procedures have OUT parameters
I'm having problemes properly creating a string for the prepareCall().
so that i can call up a stored procedure in oracle.
the problem is that some stored procedures have OUT parameters that I have to register, and some stored procedures don't.
how can i find out if a stored procedure has an OUT parameter or not?
So that i can format a string with one less ? for statements that don't,
and one more ? for statements that do have an OUT parameter.
is there such a method as boolean OUTparameterExist();
or i'll take any suggestions.any other solutions?That was the solution. You don't need to execute any sql statement to get Database Meta Data. You just need a connection, which you use to get the DatabaseMetaData instance
DatabaseMetaData dbmd = connection.getMetaData();then invoke any of the (numerous) methods to get the info you require
ResultSet rs = dbmd.getProcedureColumns("mydb","myschema","myproc",null);
while(rs.next()) {
String name = rs.getString("COLUMN_NAME");
if (rs.getShort("COLUMN_TYPE")==DatabaseMetaData.procedureColumnOut) {
// column is an OUT parameter
}Dave -
Urgent! pass parameters between jsp pages
Does anyone can give an example about how to pass parameters between jsp pages?
This is what I do:
pageContext.forward("pag_loginc.jsp?p_idusr=" + strUsr + "&c_password=");
But when deployed is not working.
Help is needed.can you put that stuff in the session context in the first page, then pull it out in the second page?
-
Showing parameters in a Report, URGENT
I'm trying to show the parameters selected by a user in a form
in the header section of the report(Reports6i). The labels
remain the same but the selections keep changing. PLEASE
HELP,URGENTHi Aarthi
This is a solution for your problem. Hope this solves your
problem.
DECLARE
pl_id ParamList;
pl_name VARCHAR2(10) := 'tempdata';
frmparam number(5);
begin
pl_id := Get_Parameter_List(pl_name);
IF not Id_Null(pl_id) THEN
destroy_parameter_list(pl_name);
end if;
pl_id := Create_Parameter_List(pl_name);
if :ctlblk.deptno is not null then
frmparam := :ctlblk.deptno;
else
frmparam := 'ALL'
end if;
Add_Parameter(pl_id, 'dno', TEXT_PARAMETER,frmparam);
-- dno is the parameter in the report, u may c that before
-- executing the report in your parameter form
end if;
RUN_PRODUCT
(REPORTS,'C:\MYREPORTS\empreport',SYNCHRONOUS,RUNTIME,FILESYSTEM,
PL_ID,NULL);
end; -
Parameters of Init SID .ORA ???URGENT
Hi
I have an Oracle 8.1.7 on Windows2000 with 640MB RAM.The Oracle home in D:\ drive and initial paging size on C:\ =960MB and Maxi. = 1920 MB
and the total paging file size is 960MB.
No. Of users 15.
SO I want PLS the parameters of the Init<SID>.ORA of this database specialy things regarding to RAM,SGA,Sahred_Pool_size and memory.Hi
I have an Oracle 8.1.7 on Windows2000 with 640MB RAM.The Oracle home in D:\ drive and initial paging size on C:\ =960MB and Maxi. = 1920 MB
and the total paging file size is 960MB.
No. Of users 15.
SO I want PLS the parameters of the Init<SID>.ORA of this database specialy things regarding to RAM,SGA,Sahred_Pool_size and memory.And how can I set the db_block_buffers,Block_Buffer and Log Buffer. You can use the following parameters, depends on what you like to have:
log_buffer = 32768 # small
log_buffer = 262144 # medium
# block buffers = (db_block_buffers * db_block_size ) = 10MB small , 50 MB medium, >100MB big
db_block_buffers = ? see formula above
shared_pool_size = 20000000 # small
shared_pool_size = 50000000 # medium
# you can set these to 0 when you don't you use MTS or JAVA (I recommend to uncommend all MTS* parameters)
large_pool_size = 0
java_pool_size = 0
# small sort area sizes
sort_area_size = 65536
sort_area_retained_size = 65536
Cheers
Thomas -
URGENT : Return all rows when parameters null
Hi !
I have a simple question for you guys.
I have some problems creating an SQL.
Effectively, I want to be able to return all the rows of a table when my parameters are null.
Here is an example of what I'm saying.
SELECT COPY_TRANSACTION.DATE_TRANSACTION,
COPY_TRANSACTION.CODE_NT,
COPY_TRANSACTION.NOM_GROUPE,
COPY_TRANSACTION.NOM_PROVENANCE,
COPY_TRANSACTION.NOM_SUJET,
COPY_TRANSACTION.NOM_ACTION,
COPY_TRANSACTION.NOM_SOURCE,
COPY_TRANSACTION.NOM_SYSTEME,
COPY_TRANSACTION.VOLUME
FROM GESTACHE_OWNER.COPY_TRANSACTION COPY_TRANSACTION
WHERE (COPY_TRANSACTION.DATE_TRANSACTION Between ? And ?)
AND (COPY_TRANSACTION.PEIN_CREATION=?)
AND (COPY_TRANSACTION.CODE_NT In (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
AND )I want that when ? is null, every data of my table will be selected.
Anyone can help me ??Not pretty but you could try:
SELECT CT.DATE_TRANSACTION,
CT.CODE_NT,
CT.NOM_GROUPE,
CT.NOM_PROVENANCE,
CT.NOM_SUJET,
CT.NOM_ACTION,
CT.NOM_SOURCE,
CT.NOM_SYSTEME,
CT.VOLUME
FROM GESTACHE_OWNER.COPY_TRANSACTION CT
WHERE ( ( ?1 is null
and ?2 is null
and ?n is null)
or ( CT.DATE_TRANSACTION Between ?1 And ?2
AND CT.PEIN_CREATION=?3
AND CT.CODE_NT In (?4,?5,?6,?7,?8,...?n)
AND )How is this being called - a procedure, script, form? Depending on the use it might be beter to have 2 queries - one for NULL parameters, and one for the non-NULL parameters
Maybe you are looking for
-
Errors in implementing Text Layout Framework text flow- selection event not found
please help me i have implemented the same project givan at adobe open source code site. This is my code <?xml version="1.0" encoding="utf-8"?> <!-- ADOBE SYSTEMS INCORPORATED Copyright 2008 Adobe Systems Incorporated All Rights Reserved. NOTICE: Ad
-
JSF doesn't set values for optionally rendered fields
When I enter a value into an optionally rendered inputText, the resulting object property is never updated, but when I remove the "rendered=" code then the objects set property works every time. I am using the version of JSF that downloads with the l
-
my browser window that saves all the sites I go to daily is GONE, and the back errors are gone that let me suf back to my last page, I didnt do anything they were just gone one morning
-
How do I delete quests sing in from my iPad tablet
Delete quest from iPad tablet sing in
-
Had pandora on ipod touch now it gone how can i get it back
had pandora on ipod touch now it's gone how can i get ipod touch back on my ipod touch