Call Standard Text by report replacing the variables with their values
Hi,
I have a requirement to call a standard text from a report.
Following is the text present in standard text.
&PTXT1-ENAME& will attend for interview
on &MEMOACT-PLDAT& at &MEMOACT-PLTIM&.
I am doing it by using READ_TEXT. But READ_TEXT reads the entire text as it is.
Is there any way I could retrieve the standard texts with &PTXT1-ENAME& replaced by the value of PTXT1-ENAME in report. And similarly &MEMOACT-PLDAT& replcaed with its actual value.
Any pointers in this regard would be helpful.
Points will be awarded.
Regards,
Mayank Agarwal
Hi,
In the Text
&PTXT1-ENAME& will attend for interview
on &MEMOACT-PLDAT& at &MEMOACT-PLTIM&.
do not use the * as a paragrapgh , use /: as the paragraph
Regards
Sudheer
Similar Messages
-
how can i call standard text in a report program
Thanks
BaidyanathHi,
check this
data: xthead type thead.
data: ilines type table of tline with header line.
xthead-tdobject = 'ZPT_DET'.
xthead-tdid = 'Z001'.
xthead-tdname = '004500'.
xthead-tdspras = sy-langu.
xthead-tdlinesize = 72.
call function 'READ_TEXT'
exporting
id = xthead-tdid
language = xthead-tdspras
name = xthead-tdname
object = xthead-tdobject
tables
lines = ilines
exceptions
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
others = 8.
call function 'EDIT_TEXT'
exporting
header = xthead
tables
lines = ilines
exceptions
id = 1
language = 2
linesize = 3
name = 4
object = 5
textformat = 6
communication = 7
others = 8.
check sy-subrc = 0.
aRs -
Since i got the new Iphone 4s it constantly drops calls. Apple have replaced the phone with another new iphone 4s but i am still having the same problem. I have checked with vodapohe that there is no issue from there end, given a new sim, still drops out
Have a look at this it might help
http://support.apple.com/kb/TS4148 -
How can I have a standard text block appear on the last page of my documents?
How can I have a standard text block appear on the last page of my documents without having to type it in all the time? I have a terms statement with a line for a customer’s signature which I want on the last page of my invoices and right now I have to type it in each time or cut and paste it from a previous invoice. I already have a Master Page that includes the customer information and my company information at the top of each page and I am using data merge to fill each page with the items ordered and their pictures etc. I would just like to have this standard terms block automatically show up on the last page after the last item in the data merge.
Thank you all in advance for your help.Thank you Peter. This works. I have the text block now at the bottom of a second master page which I apply to the last page. For aesthetics I can modify the position of the text block in the new master page to bring it up from the bottom under the last item ordered when there is less than 4 items on the page. (my data merge fits up to 4 items with their images on a page). If the last page is full I’ll insert a final page using the second master and also bring it up to the top of the page.
-
If I block a number . What response does that party get if they call or text my number?
The call/message simply won't go through. If iMessage, it will show as delivered, but it actually won't be delivered.
Here's what it sounds like on their end, for calls:
http://www.wired.com/images_blogs/gadgetlab/2013/09/blocked_ios7.mp3 -
Calling oracle9iAS Forms and reports into the portal
Hi !
Could it possible to call a Forms and reports in the portals? if yes ? How?
In my case I have to generate lots of reports..like printing reports in the different tray of printer through portal ? Could this be achieved by Oracle Portal ?
thanks in advance
chrisDo you know how to do it by now.
Thanks. -
How to replace one variable with another in large number of queries
Hello guys!
I have this situation: our company needs to use one variable instead of another for certain amount of queries.
Is there some way to automatically replace one variable with another for a certain characteristic in big number of queries ( like 150 - 200 ) ? Doing this manually would take lots of time)
Apreciate your help!you could try (at your own risk) the following:
1. search the technical id (ELTUID) of your variable in table RSZELTDIR
2. see where this variable is used in table RSZELTXREF (by filling RSZELTDIR-ELTUIID in RSZELTXREF-TELTUID)
3. add similar entries for your new variable
4. delete the entries for the old variable (they're part of the key, so you can't simply "change" them) -
Replacement Path variable with query
Hi all,
I have a replacement path variable in a query that use the result from other query (a pre-query), both of them use the same variables, exactly the same, although the query ask me for the values of the variables twice (for the query and for the pre-query), is possible that the query ask me for the variables only one time (re-use the same values for both queries)?
Thanks,
JavierIf possible use only the variable with replacement path on the query. Since the Pre-query has all the same variables as the main query, the user would enter all the required input on the pre-query one time. The result of the pre--query feeds the main query. If the main query has no other selection variables except for the replacement path, the selection screen will not pop up again.
Thanks
Vineet -
I have a Mac book pro(13 inch non-retina, i7) with regular drive, I want to replace the drive with SSD, so can I do it for Mac book pro purchased in 2012 and which SSD is recommended.
I am looking for 500 to 700GB SSD.
ThanksUpgrading your MacBook Pro with a Solid State Drive...
...call back with any questions.
Clinton -
Report script - using substitution variable with multiple values
Hi All,
Substitution variable with multiple values is not working correctly with Report scripts. Can you please let me know what is the syntax to assign multiple values to a sub variable using maxl:
alter database samp.samp set variable 'ExtractQuarter' 'Q1,Q2,Q3,Q4';
alter database Samp.Samp set variable 'ExtractQuarter' 'Q1:Q4';
I tried both of the above but they are errored out with the below error:
Error: 1001005 - Unknown Member [Q1:Q4] in Report.
my requirement is different for both Actual and forecast data extract so i would like to make use of this variable to extract whole year data for Forecast and current quarter data for Actual with out duplicating the report scripts for both processes.
Thanks,
PRaveenHi,
Please refer following thread,
range of months in report script?
Hope it helps.
Regards -
How can I get the variable with the value from Thread Run method?
We want to access a variable from the run method of a Thread externally in a class or in a method. Even though I make the variable as public /public static, I could get the value till the end of the run method only. After that scope of the variable gets lost resulting to null value in the called method/class..
How can I get the variable with the value?
This is sample code:
public class SampleSynchronisation
public static void main(String df[])
sampleThread sathr= new sampleThread();
sathr.start();
System.out.println("This is the value from the run method "+sathr.x);
// I should get Inside the run method::: But I get only Inside
class sampleThread extends Thread
public String x="Inside";
public void run()
x+="the run method";
NB: if i write the variable in to a file I am able to read it from external method. This I dont want to doWe want to access a variable from the run method of a
Thread externally in a class or in a method. I presume you mean a member variable of the thread class and not a local variable inside the run() method.
Even
though I make the variable as public /public static, I
could get the value till the end of the run method
only. After that scope of the variable gets lost
resulting to null value in the called method/class..
I find it easier to implement the Runnable interface rather than extending a thread. This allows your class to extend another class (ie if you extend thread you can't extend something else, but if you implement Runnable you have the ability to inherit from something). Here's how I would write it:
public class SampleSynchronisation
public static void main(String[] args)
SampleSynchronisation app = new SampleSynchronisation();
public SampleSynchronisation()
MyRunnable runner = new MyRunnable();
new Thread(runner).start();
// yield this thread so other thread gets a chance to start
Thread.yield();
System.out.println("runner's X = " + runner.getX());
class MyRunnable implements Runnable
String X = null;
// this method called from the controlling thread
public synchronized String getX()
return X;
public void run()
System.out.println("Inside MyRunnable");
X = "MyRunnable's data";
} // end class MyRunnable
} // end class SampleSynchronisation>
public class SampleSynchronisation
public static void main(String df[])
sampleThread sathr= new sampleThread();
sathr.start();
System.out.println("This is the value from the run
method "+sathr.x);
// I should get Inside the run method::: But I get
only Inside
class sampleThread extends Thread
public String x="Inside";
public void run()
x+="the run method";
NB: if i write the variable in to a file I am able to
read it from external method. This I dont want to do -
How can I get the variable with the value from Thread's run method
We want to access a variable from the run method of a Thread externally in a class or in a method. Even though I make the variable as public /public static, I could get the value till the end of the run method only. After that scope of the variable gets lost resulting to null value in the called method/class..
How can I get the variable with the value?
This is sample code:
public class SampleSynchronisation
public static void main(String df[])
sampleThread sathr= new sampleThread();
sathr.start();
System.out.println("This is the value from the run method "+sathr.x);
/* I should get:
Inside the run method
But I get only:
Inside*/
class sampleThread extends Thread
public String x="Inside";
public void run()
x+="the run method";
NB: if i write the variable in to a file I am able to read it from external method. This I dont want to doYour main thread continues to run after the sathr thread is completed, consequently the output is done before the sathr thread has modified the string. You need to make the main thread pause, this will allow sathr time to run to the point where it will modify the string and then you can print it out. Another way would be to lock the object using a synchronized block to stop the main thread accessing the string until the sathr has finished with it.
-
How to replace the '&' character with '&' in xi
Hi,
i need to replace the '&' character with ' &'.but i f i am converting it is displaying as '&' because internally '&' = '&'.
beacuse of this it is not converting.
is there any possiblity to change the standard conversion in xi.Graphical mapping does not support special character like & , <,> to be mapped.
You can encode & as and in UTF-8 only.
if you want the special character to be used, Opt XSLT mapping with ISO-8859-1 encoding
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="ISO-8859-1"/>
<xsl:template match="/">
<xsl:copy-of select="*" />
</xsl:template>
</xsl:stylesheet>
How to Work with Character Encodings in Process Integration (NW7.0)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42 -
How do I replace the organiser with a new one
How do I replace the organiser with a new one
The problem is to understand your question (or your two questions : do you both mean the same thing ?)
An answer to Hatstead question would help.
1 - Do you really mean using another software to organize your workflow ?
2 - Do you mean using other softwares based on folders rather than databases ?
3 - Or do you mean working with different catalogs ?
If you don't want to use the Organizer, it's not possible to 'delete' it, but it is simple not to use it.
Most other organizing solutions include the choice of selecting PSE editor as the external editor
There are various solutions depending on your platform : Windows, Mac, Linux...
It's important to know if you prefer the folders or database organization to suggest possible solutions. -
Can I replace the LCD with an LED on Early 2009 24" model?
I have an old 2009 (okay, so not that old) iMac and the LCD has some serious burn-in and it's to the point where I can't use the computer without it hurting my eyes. I'm looking to replace the screen, but the computer still works great and I don't want to have to do this again in four to five years. Any chance I can take an LED display from a 24" Cinema Display and put it in the iMac, or are the connections different?
Personally I would use a Mini DisplayPort to DVI Adapter, DVI cable and a $130 DVI monitor, before shelling out for a $500 to $600 for a replacement panel. Or at least until your 100% sure, that there is nothing wrong with the logicboard or graphic's chip.
Optionally a Belkin Mini DisplayPort to HDMI Cable would be an even cheaper setup, if you already have an HDMI TV.
Addtitionally I would probably just replace the iMac with another iMac or Mac Mini, because it is real hard to justify spending anything at all on a 5 year old system.
Maybe you are looking for
-
Wireless Site-Survey for High Density Environment
Hi, I have done many Wireless SIte-Surveys in my career. But this will the first time, I am going to do a Site-Survey for High Density environment (School with Byod 1:1 design). Currently, the school has a Wireless network in place. The current wirel
-
Earpiece not working_can't hear caller,
My earpiece isn't working. Cannot hear unless I switch over to speaker or plug in a headset. Any ideas on how to fix?
-
Thunderbird prompted me with a pop up window regarding "scripting". When I stopped the script and Thunderbird restarted I was unable to access the last year of my emails up to the date that I stopped the script. Emails from 2013 were archived, unfort
-
Outlook mail notification in UWL
Hi, Is it possible to to get mail notifications in UWL form either Microsoft Exchange server / Lotus Notes ? Can anyone guide on what configurations are required? cheers
-
Error Code (-50) when downloading from iTunes
Im curious to know if anyone else has received this type of error message before? I have never had any problems downloading season pass stuff from iTunes so this is the first time I've ever seen this. Ive double and triple checked all of my connecti