How to Create A Conditionally-Texted Paragraph Element
I'm creating a multi-purposed document where I need to add a section of conditional text on each page, but not always in the same place on the page (so I don't think a Master Page solution would work). Rather than have to select the text and manually apply the condition each time, I would like to create a paragraph tag that is already defined with that condition so my users can just select that tag and enter the text. The paragraph designer doesn't provide the ability to specify a condition text setting for newly created paragraphs. I tried creating a new reference page and adding a conditionally-texted text box within a graphics frame, and then specifying that for the Below Pgf setting for a new paragraph element, but it just imports the graphic frame from the reference page and the text within cannot be editing.
Suggestions?
Thanks
I would create a unique paragraph tag and then apply a conditional
text setting to all tags of that type with a FrameScript.
An alternative may be to set up a paragraph tag with the conditional
text settings already applied and then copy-and-insert it with a third
party tool such as ClipMate or Autotext, but I don't know that the
conditional text setting is "sticky" when processed through a
third-party solution. You'd have to test it a bit.
Art
Art Campbell
[email protected]
"... In my opinion, there's nothing in this world beats a '52
Vincent and a redheaded girl." -- Richard Thompson
No disclaimers apply.
DoD 358
Similar Messages
-
How to create a condition in sap
Hi all,
How to create a condition in sap
i want to create a condition in sap quotation. how to solve this issue please give me idea step by step.
[http://www.4shared.com/document/MQiBd3bP/screenshot.html]
Thanks & Regards
Ambrish
Edited by: ambrish dwivedi on Feb 28, 2011 12:29 PM
Moderator message: not related to ABAP development, please do some research before asking.
Edited by: Thomas Zloch on Feb 28, 2011 9:21 AMHello Ambrish,
Which condition are you talking about ?
is it the calculation you want to do in ur driver program or kind of routines which are used in Pricing ? -
How to create a OTR Text in Web Dynpro ?
Hi All,
Please help, How to create a OTR Text in Web Dynpro ?
Urgent.
Thanks in advance.
Kaleem.Hi Kaleemullah,
To create OTR Text, T-Code is SOTR_EDIT. If you run this transaction then one screen will appear. There you can choose Long Text or Short Text based on your
Text. You can choose language also. In Text field you can enter your text. You can put WDYV in your Object Type field. In Text block Length can be increased to 25 as it may be problem if language conversion of Text happens. You must fill your package field and save the OTR.
I hope you can be able to create OTR Text now.
Best Regards,
bansidhar -
How to create greater_or_equal condition for file_io storage
Dear experts,
Please tell me the how to create greater_or_equal condition for query in file_io as RationalOperatorType.GREATER_OR_EQUAL is not supported for file_IO storage.
thanks n regards,
Kapoorchand.Hi,
not sure if I got you correctly, but in
com.sap.ip.me.api.persist.query.RelationalOperatorType
There is no condition available that you are looking for. Why do you not work with
public interface Condition
Represents a condition for a query. This can either be a single condition, as FIELD = VALUE and / or a composite condition, as ( ( FIELD1 = VALUE1 OR FIELD2 = VALUE2 ) AND FIELDE 3 <> VALUE3 ).
Hope this helps!
Regards,
Oliver -
How to create a LONG TEXT object in BAPI_ALM_NOTIF_CREATE
Dear experts,
Would you please give me a hand how to create a LONG TEXT object when creating a new Notification using BAPI_ALM_NOTIF_CREATE.
The snapit of my code is below. The Notification is created but without a long text.
THANK YOU!!
Data:
lv_it_longText type STANDARD TABLE OF BAPI2080_NOTFULLTXTI,
lv_st_longText like LINE OF lv_it_longText,
lv_st_longText-OBJTYPE = 'QME'.
lv_st_longText-TEXT_LINE = DESCRIPTIONLONG.
CALL FUNCTION 'BAPI_ALM_NOTIF_CREATE'
EXPORTING
EXTERNAL_NUMBER =
notif_type = 'M1'
notifheader = lv_header
TASK_DETERMINATION = ' '
SENDER =
ORDERID =
IMPORTING
NOTIFHEADER_EXPORT = lv_header_import
TABLES
*NOTITEM = lv_it_item
NOTIFCAUS =
NOTIFACTV =
NOTIFTASK =
NOTIFPARTNR =
LONGTEXTS = lv_it_longText
KEY_RELATIONSHIPS =
RETURN = lv_it_return.Hi
Make sure you have filled OBKEY.
OBJKEY must have the corresponding sort field for the values named below :-
1. QMEL - Notification header
2. QMFE - Notification item
3. QMUR - Notification cause
4. QMSM - Notification task
5. QMMA - Notification action
The combination of sort field of item/cause, item/task and item/action must be unique within a notification. If you leave the sort field empty and the OBJTYP = QME, then a long text is created for the notification header.
Regards
Abhii -
How to create Using Formatted Text Field with multiple Sliders?
Hi i found the Java Sun tutorial at http://java.sun.com/docs/books/tutorial/uiswing/components/slider.html very useful, and it tells how to create one Formatted Text Field with a Slider - however i need to create Formatted Text Field for multiple Sliders in one GUI, how do i do this?
my code now is as follows, and the way it is now is scroll first slider is okay but scrolling second slider also changes value of text field of first slider! homework due tomorrow, please kindly help!
// constructor
label1 = new JLabel( "Individuals" );
scroller1 = new JSlider( SwingConstants.HORIZONTAL, 0, 100, 10 );
scroller1.setMajorTickSpacing( 10 );
scroller1.setMinorTickSpacing( 1 );
scroller1.setPaintTicks( true );
scroller1.setPaintLabels( true );
scroller1.addChangeListener(this);
java.text.NumberFormat numberFormat = java.text.NumberFormat.getIntegerInstance();
NumberFormatter formatter = new NumberFormatter(numberFormat);
formatter.setMinimum(new Integer(0));
formatter.setMaximum(new Integer(100));
textField1 = new JFormattedTextField(formatter);
textField1.setValue(new Integer(10)); //FPS_INIT
textField1.setColumns(1); //get some space
textField1.addPropertyChangeListener(this);
//React when the user presses Enter.
textField1.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "check");
textField1.getActionMap().put("check", new AbstractAction() {
public void actionPerformed(ActionEvent e) {
if (!textField1.isEditValid()) { //The text is invalid.
Toolkit.getDefaultToolkit().beep();
textField1.selectAll();
} else try { //The text is valid,
textField1.commitEdit(); //so use it.
} catch (java.text.ParseException exc) { }
label2 = new JLabel( "Precision" );
scroller2 = new JSlider( SwingConstants.HORIZONTAL, 0, 100, 8 );
scroller2.setMajorTickSpacing( 10 );
scroller2.setMinorTickSpacing( 1 );
scroller2.setPaintTicks( true );
scroller2.setPaintLabels( true );
scroller2.addChangeListener(this);
textField2 = new JFormattedTextField(formatter);
textField2.setValue(new Integer(10)); //FPS_INIT
textField2.setColumns(1); //get some space
textField2.addPropertyChangeListener(this);
//React when the user presses Enter.
textField2.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), "check");
textField2.getActionMap().put("check", new AbstractAction() {
public void actionPerformed(ActionEvent e) {
if (!textField2.isEditValid()) { //The text is invalid.
Toolkit.getDefaultToolkit().beep();
textField2.selectAll();
} else try { //The text is valid,
textField2.commitEdit(); //so use it.
} catch (java.text.ParseException exc) { }
// State Changed
public void stateChanged(ChangeEvent e) {
JSlider source = (JSlider)e.getSource();
int fps = (int)source.getValue();
if (!source.getValueIsAdjusting()) { //done adjusting
if(source==scroller1) {
System.out.println("source ==scoller1\n");
textField1.setValue(new Integer(fps)); //update ftf value
else if(source==scroller2) {
System.out.println("source ==scoller2\n");
textField2.setValue(new Integer(fps)); //update ftf value
} else { //value is adjusting; just set the text
if(source==scroller1) textField1.setText(String.valueOf(fps));
else if(source==scroller2) textField2.setText(String.valueOf(fps));
// Property Change
public void propertyChange(PropertyChangeEvent e) {
if ("value".equals(e.getPropertyName())) {
Number value = (Number)e.getNewValue();
if (scroller1 != null && value != null) {
scroller1.setValue(value.intValue());
else if (scroller2 != null && value != null) {
scroller2.setValue(value.intValue());
// ACTION PERFORMED
public void actionPerformed(ActionEvent event) {
if (!textField1.isEditValid()) { //The text is invalid.
Toolkit.getDefaultToolkit().beep();
textField1.selectAll();
} else try { //The text is valid,
textField1.commitEdit(); //so use it.
} catch (java.text.ParseException exc) { }
if (!textField2.isEditValid()) { //The text is invalid.
Toolkit.getDefaultToolkit().beep();
textField2.selectAll();
} else try { //The text is valid,
textField2.commitEdit(); //so use it.
} catch (java.text.ParseException exc) { }
...if :p3_note_id is null
then
insert into notes (project_id, note, notes_month, notes_year) So, p3_note_id is NULL.
Another option is that you have a trigger on table NOTES that generates a new note_id even for an update. -
How to create Reference Condition Types
Hi ,
Please tell me how to create Ref.Condition Types?
I have a requirement.."I should create a Zdiscount(13%) which should be copied to the sales order automatically based on PR00"
How to do that?
Points for sure
RamChandraHi,
You can use condition supplement functionality.
Check the link [Condition Supplements|http://help.sap.com/saphelp_47x200/helpdata/en/93/7432de546011d1a7020000e829fd11/frameset.htm]
You can also check the field RefConType for the discount condition type in SPRO -> Sales and distribution -> Basic functions ->Pricing -> Pricing control ->Define condition type.
Regards, -
How to create and read text file using LabVIEW 7.1 PDA module?
How to create and read text file using LabVIEW 7.1 PDA module? I can not create a text file and read it.
I attach my code here.
Attachments:
File_IO.vi 82 KBWell my acquisition code runs perfect. The problem is reading it. I can't seem to read my data no matter what I do. My data gets saved as a string using the array to string vi but I've read that the string to array vi (which I need to convert back to array to read my data) does not work on the pda. I'm using version 8.0. So I was trying to modify the program posted in this discussion so that it would save data from my DAQ. I did that but I still can't read the data after its saved. I really don't know what else to do. All I need to do is read the data on the pda itself. I can't understand why I'm having such a hard time doing that. I found a possible solution on another discussion that talks about parsing the strings because of the bug in the "string to array" vi. However, that lead me to another problem because for some reason, the array indicators or graphs don't function on the pda. When i build the program to the pda or emulator, the array indicators are faded out on the front panel as if the function is not valid. Does this kind of help give a better picture of what I'm trying to do. Simply read data back. Thanks.
-
How to Create all Pages text in Outline
Adobe Indesign CS5 : How to Create all Pages text in Outline
or how to Create Scripts for Create Outline Text
One step Solution
plz Freinds....
thnx
[email rmoved by forum host]Oh and sorry I don't know of a script.
My last post was just a "warning" to whomever else may stumble on this thread. It was more for posterity, if it helps you then great. If it helps others then great.
There are certain circumstances and unusual times where you'd need to do this. And I don't know of a way to automate it.
You can get 3rd Party Acrobat PDF plugins that will do it (my mind has gone blank on their names?)
Here's a nice tut with a transparency script also added http://www.stevewareham.com/text2outlines.php
BUT if you want to do this in Acrobat Pro
Add a Watermark under Document>Watermark>Add
Make sure the text covers all the space in the PDF where text could lie
Or you could use an image - say a full page black JPG or something
Set the Opacity to 0
the watermark will be added to all pages
Then Advanced>Flattener Preview
make sure Convert text to outlines is selected
Select the option for All Pages in Document
Click Appy
Flatten the PDF and all the text should convert under the flattening -
How to create report condition based on "total"
Hello,
I have a Discoverer report that shows revenue by city and sub-totals revenue by state.
I need to modify this report so that only cities in states with revenue (sub-total) more than one million are pulled.
Example:
Pittsburgh - 100,000
Harrisburg - 200,000
Erie - 300,000
------State:PA 600,000
Los Angeles 500,000
San Fransisco 600,000
Oakland 200,000
-----State:CA 1,300,000
In this example, the report should show only the cities in California, as the revenue sum is over 1 million:
Los Angeles 500,000
San Fransisco 600,000
Oakland 200,000
---State:CA 1,300,000
Is this possible?
I'm using Discoverer version 10.1.2.2.
Thank you.
Edited by: [email protected] on Dec 11, 2009 3:03 PMHello
You need to do two things to solve this problem.
1. You need to create an analytic calculation that returns 1 when the sum of the revenue in all of the cities in a state is one million or more
2. You need to create a condition such that you only include states when the above is 1
Let's call the calculation, OneMillionStates and I will assume your fields are called State, City and Revenue
Here's the formula:
CASE WHEN SUM(REVENUE) OVER(PARTITION BY STATE) > 1000000 THEN 1 ELSE 0 END
Now your condition shoudl be: ONEMILLIONSTATE = 1
You don't even need to display the calculation on screen and notice how the city does not even come into the calculation.
Best wishes
Michael
URL: http://ascbi.com
Blog: http://learndiscoverer.blogspot.com -
How to create a condition based on a select that retrieve dynamically a LOV
Hi all, I need to create a condition based on a select that retrieve dynamically a LOV.
So, the condition have to be:
inventory_item_id NOT IN (SELECT inventory_item_id FROM apps.mtl_system_items_kfv WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV')
I need to create a LOV based on this select without making any join with the folder which contains the field inventory_item_id, because otherwise I have the contradiction:
and o124757.INVENTORY_ITEM_ID = o118741.INVENTORY_ITEM_ID -- join between the main custom folder (o118741) and the LOV custom folder (o124757)
and o118741.INVENTORY_ITEM_ID NOT IN (o124757.INVENTORY_ITEM_ID) -- condition
These two condition together don't show any data, obviously....This means also, that I can't use a calculated field, because if I want to see this field, I have to create a join, another time, with the main custom folder.
I tried to create a LOV on the Administrator, but when I create the condition I have to check manually the values....and if in the future this LOV will increase I need every time to re-check all the values.....instead I need that the inventory_item_id have to be NOT IN dinamically in the list of values retrieved by the select.
Anybody has inplemented something similar ??
Thanks in advance
AlexHi alex,
SELECT incidents.INVENTORY_ITEM_ID,
pcodes.PROBLEM_NAME
FROM apps.cs_incidents_all_b incidents,apps.jtf_rs_problem_codes_v pcodes
WHERE incidents.category_id IN (SELECT category_id
FROM mtl_categories_kfv
WHERE concatenated_segments = 'IPTV')
AND incidents.PROBLEM_CODE = pcodes.PROBLEM_CODE
where incidents.INVENTORY_ITEM_ID NOT IN SELECT inventory_item_id
FROM apps.mtl_system_items_kfv
WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV'
You want to add this condition to the first query it holds good for this scenerio.All the items which are NOT IN will be retrieved.Here you are selecting other than "General_faults_iptv"
But again your trying to select in the second query where you want "General_faults_iptv"
SELECT inventory_item_id
FROM apps.mtl_system_items_kfv
WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV'
If you carefully go through what your doing,you will understand.In the above explantion ,there will be no records generated.First query your saying NOT IN and again your saying for the same IN,how will records retrieve its meaningless.
I dont know what you want to get from second query.I would suggest you to do is dont use the second query and just use the first query and you will get.Here is the query and this will give you result.
SELECT incidents.INVENTORY_ITEM_ID,
pcodes.PROBLEM_NAME
FROM apps.cs_incidents_all_b incidents,apps.jtf_rs_problem_codes_v pcodes
WHERE incidents.category_id IN (SELECT category_id
FROM mtl_categories_kfv
WHERE concatenated_segments = 'IPTV')
AND incidents.PROBLEM_CODE = pcodes.PROBLEM_CODE
AND incidents.INVENTORY_ITEM_ID NOT IN SELECT inventory_item_id
FROM apps.mtl_system_items_kfv
WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV'
Regards,
Kranthi. -
How to create a group of cost element
Hi,
i want to integrate a group of cost element in KP06, but i don't know how to create it.
please what is the transaction to do that ?
Regards.Hello,
To create the Group of Cost Element
Go to transection code KAH1 Give any name or number to your cost element group then make the proper standerd hirerchey as you need or simply click on the cost elemt and add all cost element which you want to make a group.
Hope it will solve you probem,
Regards
Ravi -
How to create column header text while downloading file
How can we create column header text while downloading file using function GUI_DOWNLOAD(in SAP Release 4.6c) because there is no FIELDNAMES parameter in
4.6c version.Hii,
Check this sample code. I have called GUI_DOWNLOAD twice. Onetime to download header of table and next time data of table
REPORT z_file_download.
DATA: w_name(90) TYPE c.
DATA:
BEGIN OF fs_flight,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
price LIKE sflight-price,
currency LIKE sflight-currency,
END OF fs_flight.
DATA:
BEGIN OF fs_head,
carrid(10) TYPE c,
connid(10) TYPE c,
fldate(10) TYPE c,
price(10) TYPE c,
curr(10) TYPE c,
END OF fs_head.
DATA:
t_head LIKE
TABLE OF
fs_head.
DATA:
t_flight LIKE
TABLE OF
fs_flight.
fs_head-carrid = 'CARRID'.
fs_head-connid = 'CONNID'.
fs_head-fldate = 'FLDATE'.
fs_head-price = 'PRICE'.
fs_head-curr = 'CURRENCY'.
APPEND fs_head TO t_head.
SELECT-OPTIONS:
s_carrid FOR fs_flight-carrid.
START-OF-SELECTION.
SELECT carrid
connid
fldate
price
currency
FROM sflight
INTO TABLE t_flight
WHERE carrid IN s_carrid.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE =
filename = 'D:\flight.xls'
FILETYPE = 'ASC'
* APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X'
* HEADER = '00'
* TRUNC_TRAILING_BLANKS = ' '
* WRITE_LF = 'X'
* COL_SELECT = ' '
* COL_SELECT_MASK = ' '
* DAT_MODE = ' '
* CONFIRM_OVERWRITE = ' '
* NO_AUTH_CHECK = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* WRITE_BOM = ' '
* IMPORTING
* FILELENGTH =
tables
data_tab = t_head
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF sy-subrc NE 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'D:\flight.xls'
filetype = 'ASC'
append = 'X'
write_field_separator = 'X'
TABLES
data_tab = t_flight
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc EQ 0.
MESSAGE 'Download successful' TYPE 'I'.
ENDIF.
IF sy-subrc NE 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards
Abhijeet -
How to create a new Text Object to be used for SAVE_TEXT FUNCTION
hi,,
can anyone tell how can i create a new text object and text id for saving text by using function SAVE_TEXT.
Thankshi,.
try out this
DATA: header LIKE thead.
DATA: newheader LIKE thead.
DATA:lines LIKE tline OCCURS 0 WITH HEADER LINE.
header-tdobject = 'VBBK'.
header-tdname = delivery number.
header-tdspras = language.
lines-tdformat = '*'.
header-tdid = text id. "for example: Z022
lines-tdline = your text that you want to write .
APPEND lines. CLEAR lines.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = header
savemode_direct = 'V'
IMPORTING
newheader = newheader
TABLES
lines = lines
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5. -
How to create a moving text in APEX forms?
Hi
Can anyone help me with the procedure and the code for creating a moving text in APEX.
Thanks in advance.marquee was introduced with IE (Internet Explorer) and certain versions of Firefox, Opera, Chrome and Safari web browsers support it.
tell me how do you want the text to work. the easiest way will be to create an HTML region and put the marquee tag code in it
if you fear about the compatibility of marquee with browsers or have a browser version with which marquee does not work then use JQuery
check the following
http://plugins.jquery.com/marquee/
let me know if this answers your query in the current thread
Regards,
Vishal
Oracle APEX 4.2 Reporting | Packt Publishing
Vishal's blog
Maybe you are looking for
-
Trying to generate the spool from at user command...
Hi Gurus, The spool is not getting created in the foreground, I think I am missing something here, the code is below. AT USER-COMMAND. CASE sy-ucomm . WHEN 'SEND'. PERFORM get_cust_emails. LOOP AT i_output. READ TABLE i_mail
-
HT4927 How do I retrieve photos from Time Machine on a new macbook air?
My previous mac book pro had all my photos on it. I thought I saved the library to a disk, but was unsuccessful. I also backed up my photos to my Time machine daily. Once my macbook and coffee got acquainted, it no longer worked. I am unable to retr
-
Regarding Workflow trigerring using change document
Hi all, I am trying to trigger a workflow using change document object. I want that to trigger the workflow on the material master change through MM02. I have created a business object ZBUS1001 and wanted that on change of material master the custom
-
hello, i cant perches an item in clash of clans ,, my visa's information is correct and the app store has already accepted it ,, what's wrong ?
-
I am having a serious development issue and can not contact Gold Support. We are Professional Customers with Gold Support, yet the portal says we do not have it. As recently as December I had an active case with them which was covered by Gold Support