How to change value dynamically in URL?
Hi All,
This seems to be a really easy yet I cannot find a working solution!
I have a report where one column is a link which passes the following:
f?p=&APP_ID.:28:&SESSION.::&DEBUG.:RP,:P28_PROCS_ID,P28_PROCS_VER:#PROCS_ID#,#PROCS_VER#
What I would like to achieve is that the #PROCS_VER# variable is incremented by one like this:
f?p=&APP_ID.:28:&SESSION.::&DEBUG.:RP,:P28_PROCS_ID,P28_PROCS_VER:#PROCS_ID#,#PROCS_VER#+1
However this will not work and only displays the actual value behind PROCS_VER and appends '+1' to it...
Any ideas?
Pawel.
I did think about it Vikas...
Ofcourse I am not expecting the value to be magically calculated by Apache. But I was expecting the HTMLDB to be smart enough to evaluate the expression before it creates the URL string....
If Apex can 'convert' or 'translate' my entry #PROCS_VER# into an integer like 123 then why couldn't it simply perform a simple calculation and add a 1 to it?
All is missing here is that Apex is simply not able to perform ANY math before it blindly copies the "value" hidden under #PROCS_VER# into the string which builds up the URL...
Also in another post by Scott (Re: How to pass a "+" in an url ? I saw that %2B was evaluated into a plus sign in a URL...
Similar Messages
-
How to change JNDI dynamically in DB adapter and FTP adapter
Hi every one,
Please any one explain "How to change JNDI dynamically in DB adapter and FTP adapter" with screen shots
Thanks in advanceYES, very much possible. Only with CRUD operation on a table is possible.
Please refer the below URL, where you can see the multiple check box selected under "Perform an operation on a table" under Operation Type.
http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_db.htm#BDCGADFJ
*7) Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question.*
Going forward, please raise this as a separate thread. So that people will get benefited.
Thanks,
Vijay -
Hi All,
How to change value of ${eol} from \n to \r\n, while writing file through File Adapter.
As my file is being created in Linux environment, so for new line separater, \n is used. I mounted this file directory to windows System.
As Windows requires \r\n for new line seperator. So I need to change value of ${eol} in the Schema created for file writing.
Can any one provide help regarding this.
Thanks in advanceHi,
When an XML payload is written to a file \n would be used as the default line separator regardless of if its windows or linux, as per the XML specification http://www.w3.org/TR/REC-xml/#sec-line-ends.
As such, one need not worry about the line separators because, the XML file would eventually be processed by a parser which usually would be able to understand both line endings (as they are whitespace characters as far as the parser is concerned).
If you want to convert the line terminators (for readability etc), 10.1.3.4 has a new feature - in the XML schema definition for the file adapter payload, add these two top level directives to the schema element:
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
nxsd:normalizeLineTerminators="false"
Regards,
Shanmu. -
How to change images dynamically in jsp?
Hi All,
i Want to know how to change images dynamically in jsp, for example in any site if u look at advertise or any images, it will be changed after every few seconds.
Please guide me
Thanks
Sandesh Ssandeshas wrote:
Hi BlusC,
i was searching your mail Id to ask the question directly to u,i checked in your blog also, but i didnt get,I want to keep my email spam safe. Only trusted people and direct friends have it. Just use the forums for discussion.
my question is suppose if i want to display and change the advertise(adds from different company ) in my web site,how can i do it by using jsp?
Do i need to create animated gifs which contains all company adds??one might be from movie add,after few seconds next one migth be some other web site add like that, how can i achieve this in my servet,jsp or using struts.You create animated gifs with an [animated gif editor|http://google.com/search?q=animated+gif+editor]. There is nothing what JSP can do for you here. -
How to change value of instance variable and local variable at run time?
As we can change value at run time using debug mode of Eclipse. I want to do this by using a standalone prgram from where I can change the value of a variable at runtime.
Suppose I have a class, say employee like -
class employee {
public String name;
employee(String name){
this.name = name;
public int showSalary(){
int salary = 10000;
return salary;
public String showName()
return name;
i want to change the value of instance variable "name" and local variable "salary" from a stand alone program?
My standalone program will not use employee class; i mean not creating any instance or extending it. This is being used by any other calss in project.
Can someone tell me how to change these value?
Please help
Regards,
Sujeet SharmaThis is the tutorial You should interest in. According to 'name' field of the class, it's value can be change with reflection. I'm not sure if local variable ('salary') can be changed - rather not.
-
How to change the Dynamic Selection screen
Dear Freinds,
I have requirement where in on the selection of Dynamic Selections ( iam using PNP logical database) i want to add another fields , could any one tell me how to change Dynamic Selections as per my requirement.
please let me know .
regards
divyaHi Prat,
I have done similar way and saved the view ( i.e se80> ediobject>table>table name > given all the tables required for me and i try to saved it is not allowing to save and giving message as empty view cannot be saved. Therefore i have selected the tables which have been added and made one by table and selected them . some how it got saved. Now when i added this name of the view in the custom report caterogy and executed my custom report and selected the > dynamic selections i found as empty and in debugging i can see all the 4 tables which i have mentioed while createing view are there . But i dint understood why the custom View is empty.
please correct me where i went wrong.
regards
divya' -
How to change values of a characterstic at runtime?
Hi,
How to change the values of characterstic at runtime?
for example if the characterstic contains values like P and A. i need to change all the P values as PLAN in the query output at runtime.
Note: I cant use cell editor, because there are no stuctres in the query definition.
Regards,
RaviHi,
Probably i was not clear in my question.
for example characterstic ZPL contations Keys P and A with respectve texts PL and AC.
but in the 10th query they dont want to see the text as PL but as PLAN. in the remaing queries they want to see the text as PL.
I know we can do it using table interface in WAD-Table web item.
If there any we can do this requirement in Bex designer?
Regards,
Ravi. -
User Exit: AFAR0002. How to change value in field: ANLC - NAFAP?
Hi,
At the moment I am working on custom Depreciation Key for which the depreciation for period (and subperiods) will be recounted and taken into account for depreciation posting.
I try to use exit AFAR0002 for this purpose.
I am able to count and change the value of depreciation for each subperiods. The problem is, that I cannot change the value of "Ordinary depreciation that is planned for the asset in the current fiscal year" for the pierod '000'. Due to this, in the last period of the current fiscal year system tries to reverse the sum of planned depreciation in previous subperiods. It simply tries to meet the "planned depreciation for fiscal year' with the sum of planned depreciation for subperiods.
example:
ANLC-NAFAP = 100.
Active Asset value = 1000
Depreciation for periods:
001 -> -50
002 -> -50
003 -> -50
004 -> -50
005 -> -50
006 -> -50
007 -> -50
008 -> -50
009 -> -50
010 -> -50
011 -> -50
*012 -> 450
planned value -> -100
The questions are:
1. is it possible to change value in ANLC-NAFAP in this exit
2. How it sould be done.
Thanks in advance for help.
Regards,
WojciechDear Paul,
I had run AFAR. The report changed to '0' the value of ANLC-NAFAP field - sth changed - thanks.
But I still have a problem to set this value to the sum of planned depreciation for each month. At the moment, in the last period the system tries to reverse all planned "sub"depreciation to '0' in total.
Is it any additional condition that has to be fulfilled in order to change the value of "Ordinary depreciation that is planned for the asset in the current fiscal year" for the pierod '000'?
Regards,
Wojciech -
I want to change value of field afnam based on the following code below in BADI ME_PROCESS_REQ_CUST.
But this code give me endless loop. Is there anything missing in my coding?Please correct me, Thank you.
data : obj_pr type MEREQ_ITEM,
wa_eine type eine.
CALL METHOD IM_ITEM->get_data
RECEIVING
re_data = obj_pr.
if obj_pr-infnr <> space.
select single * into wa_eine from eine
where infnr = obj_pr-infnr.
if sy-subrc = 0.
obj_pr-afnam = wa_eine-effpr.
endif.
endif.
CALL METHOD IM_ITEM->set_data
EXPORTING
im_data = obj_pr.Hi Jessie,
As per my understanding, the thing is that, in BADI "ME_PROCESS_REQ_CUST", there is a method called "CLOSE".
you have to implement this method to close the processing....
work on triggering the method first and if it triggers, then implement the coding and see how it is working....
thanks,
Vishnu. -
How to change value of element and update XML file
Hi
I have an xml file called test.xml like below
<?xml version="1.0" encoding="UTF-8"?>
<printing>
<userName/>
<viewName/>
</printing>I want to change value of user name and view name and update test.xml file in my folder
Anyone has sample code to do so
AshishThanx
i was able to do so, but what i want now is to remove element
for example
i have following xml
<?xml version="1.0" encoding="UTF-8"?>
<printing>
<firstLineTexts>
<firstLineText />
<firstLineText>|line11</firstLineText>
<firstLineText>|line12</firstLineText>
</firstLineTexts>
</printing>how do i remove all elements fireLineText
my final output should be
<?xml version="1.0" encoding="UTF-8"?>
<printing>
<firstLineTexts>
</firstLineTexts>
</printing>How do i do it using DOM,
I can create instance of DOM and write it using TransformerFactory
Ashish -
How to change value date from posting date to net due date
Hi Gurus,
My client wants to change value date from posting date to net due date. currently posting date is considered as value date but in future client wants to change value date to net due date of documents.
1. what configurations need to be maintained to change value date from posting date to net due date.
2. Will these changes effect automatic payment run.
Thanks and Regards,
SureshHi Suresh,
In Future
While posting the documents you can mention the value date as due date of the documents.
For already posted documents
You can change the value date to net due date.
If the value date is display mode i.e. if you are not able to change the value date in FB02 (Document Change Mode), use OB32 transaction and make value date field as eidtable (BSEG-VALUT).
In OB32 transaction enter all the required fields like Account type, transaction type, company code and finally activate the Field can be changed check box.
But not sure, whether we can change the value date to previous date or not?
This would help you..
Regards,
Praisty
Edited by: Praisty on Jul 28, 2009 9:56 AM -
How to change the dynamic IP address to Static IP Address in Solaris 10X86
Hi,
I have installed Solaris 10X86 in a VM.While installing Solaris I have enabled DHCP.So its created with dynamic IP Address.Now I want to change the dynamic IP address to static IP address.Please anyone can help me to sort out this problem.Hi,
I have installed Solaris 10X86 in a VM.While installing Solaris I have enabled DHCP.So its created with dynamic IP Address.Now I want to change the dynamic IP address to static IP address.Please anyone can help me to sort out this problem. -
How to change values in table TPFID (Description of SAP instance)
I am having problems with my system - I noticed that table TPFID has the incorrect HOST settings, but I can;t figure out how to change this.
Any advice would be very appreciated!That is your operation modes in RZ04, just delete the invalid host from the list and then go settings -> based on current status -> Existing instances ->set
Regards
Juan -
How to change value of auto reload
Hi, I want to cahnge the amount charged to my credit card when I do a reload or make a payment. It is currently set for $16 and I want to make it $8 or $10. I can't figure out how to change the amount, how do I change the amount billed to my credit card?
Hi,
When an XML payload is written to a file \n would be used as the default line separator regardless of if its windows or linux, as per the XML specification http://www.w3.org/TR/REC-xml/#sec-line-ends.
As such, one need not worry about the line separators because, the XML file would eventually be processed by a parser which usually would be able to understand both line endings (as they are whitespace characters as far as the parser is concerned).
If you want to convert the line terminators (for readability etc), 10.1.3.4 has a new feature - in the XML schema definition for the file adapter payload, add these two top level directives to the schema element:
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
nxsd:normalizeLineTerminators="false"
Regards,
Shanmu. -
How to change value date field
HI,
After posting the transaction data into the document , is it possible to change the 'value date' . if it is possible pl.give me guidelines . As i know it is possible to change "Assignmentand Text filed"
This is my user Requirement to change " Value date field".
Regards,
PrabhakarHi,
Check in document change FB02.
It may allow you to change the value date. If it is not allow to change the filed then create value date in
Document Change Rules, Document Header.
Regards,
Sankar
Maybe you are looking for
-
What are the important views or field in vendors master record
All, We are converting two different companies into our SAP. We are at blue printing stage. I was assigned to gather vendor master data requirements in SAP. I sent them all the fields that we are currently using in SAP. I sent them a template of
-
Error Message when attempting to load a web page
I keep getting the following message when I try to go to adobetv pse11 tutorials using Google or Google Chrome. How can I correct this? I am using VAIO with Win 8 Pro. Message title was edited by: Brett N
-
Idoc to file problem with DynamicConfiguration
HI SAP Guru's I have a iDoc to File scenario and the output file requirement is bit tricky. output file should be xx_Region_iDoc Number_YYYYMMDDHHMMSS I been through couple of blogs but non of them mentioned about the iDoc all of them showed the abou
-
External Storage Solutions (but not computer backups)
There are many articles about external hard drives for backups, but what about as a source to store home videos and pictures? For example, I have a MacBook Air 128GB that can't store much. My backup drive is a Time Capsule 2TB. After extensive resear
-
That's pretty much what I would like to know so I can stop trying to make endless corrections when Itunes wants to entertain me with Blink 182. I would way that any personalized radio service that means serious business and wants to extend beyond th