Reg UI element Properties
Hi All,
Can any one give me the coding lines for dynamically setting the properties of UI Elements (for example, like enabling the UI element dynamically or making it visible or invisible on click of a button etc...)
Regards,
Murthy.
Hi Narayana,
There are some properties of the UI which you can be access through its API and there are some properties which you can bind to a context variable and change the value of the context variable at runtime like you said the visibility of the UI.
For code samples refer to this <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/creating%20an%20extended%20web%20dynpro%20application.pdf">Link 1</a> <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/74cda090-0201-0010-6b91-f85b2489f765">Link 2</a>
Regards
Sid
Similar Messages
-
What does Field Label tab does in Data element properties
Hi,
Please explain What does Field Label tab does in Data element properties. It has following interface:
Length Field Label
Short
Medium
Long
Heading
Thanks!
~Sid
Max Points for precise answersHi
<b>Short Field Label</b>
Definition
One of the following:
- Short field label
- Medium field label
- Long field label
Can be assigned as prefixed text to a screen field referring to the ABAP Dictonary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
A heading can be defined to output the field values in lists. This heading is automatically included in the list header row, in the logon language.
<b>Medium Field Label</b>
Definition
One of the following:
- Short field label
- Medium field label
- Long field label
Can be assigned as prefixed text to a screen field referring to the ABAP Dictonary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
A heading can be defined to output the field values in lists. This heading is automatically included in the list header row, in the logon language.
<b>Long Field Label</b>
Definition
One of the following:
- Short field label
- Medium field label
- Long field label
Can be assigned as prefixed text to a screen field referring to the ABAP Dictonary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
A heading can be defined to output the field values in lists. This heading is automatically included in the list header row, in the logon language.
<b>Heading</b>
Definition
One of the following:
- Short field label
- Medium field label
- Long field label
Can be assigned as prefixed text to a screen field referring to the ABAP Dictonary. The text is displayed on the screen in the logon language of the user (if the text was translated into this language).
A heading can be defined to output the field values in lists. This heading is automatically included in the list header row, in the logon language.
<b>Reward If Usefull</b> -
PS Elements Properties display on TV
When I export images from Adobe PS Elements to a flash drive for display on TV, how do I include the Properties text that I enter for each image as an explanation of the image's significance?
Yes. Simply select a batch of photos in Organizer or choose an album and hit the F11 key (Windows)
You will get a full screen display with captions. -
Changing individual array element properties
In the attached VI, I have a 1D array of slider controls ("Phase Coefficients") where each array element represents the coefficient in a polynomial of arbitrary order. The problem I'm having is that the slider range I set for the lowest order coefficient (array element 0) quickly becomes impractical for higher order coefficients (elements >5). Small changes in the higher order coefficients dramtically change the overall polynomial. I want each element/slider to have its own range, but I know this isn't strictly possible as each element in an array shares the same properties. I've implemented a work around (Use boolean to activate) in which the range of all sliders is adjusted depending on which element is being viewed, but my implementation prevents editing of the range while running the VI. Is there any way to adapt my method (or use another method all together) to allow for different, editable ranges for each element slider?
Thanks!
Solved!
Go to Solution.
Attachments:
Arb Poly Gen.vi 39 KBHi RavensFan,
Thanks for the suggestion! I tried your idea, but I still seem to be having the same problem with each slider sharing properties despite now being in a cluster inside the array. I may be misunderstanding you. Would you mind showing me an example please?
*Edit: Nevermind, got it to work. Thanks again!
Attachments:
Array Cluster Slider.vi 7 KB -
Hi,
I'm doing a bpm scenario where i recieve a file using receive step then use a switch to check if a condition satisifies based on that I'm sending to File using send step and in other block using Mail.
Im getting error as container elements not intialized when did syntax check in bpm and also for receive step it says container element intialized but not used,,,
please tell me what needs to be done
ThanksHi,
for every abstract interface you will contanier variable and this varaible will be used in BPM Steps, this i very basic fund.
so please make sure that you have done perfectly.
Regards,
Raj -
JSFL: Change element properties inside a library symbol?
I'm trying to make a JSFL script to scan all the symbols in a library, find the text fields, and set useEmbeddedFonts = true.
Actually, just backing up a second, assume there are instances on the stage. Then I can use fl.findObjectInDocByType("text") to find all the text fields and inspect them to see their type, contents, etc. But if I try to use one of the elements returned by that call to change the useEmbeddedFonts property, nothing seems to happen.
Something like this:
var texts = fl.findObjectInDocByType("text", doc);
if (texts.length > 0) {
for (var i = 0; i < texts.length; i++) {
if( texts[i].obj.textType != "static" && texts[i].obj.useDeviceFonts == false )
fl.trace("Setting text field to use device fonts: " + texts[i].obj.name);
texts[i].obj.useDeviceFonts = true;
It seems to have no effect on the text fields. They are still set to anti-alias.
Ok, so assuming that problem can be overcome, to deal with symbols in the library, I was thinking of running through the library items and creating instances of them on the stage, then using the findObjectInDocByType to update them, assuming this will actually change the symbol and not just the instance. But I don't see how to actually create an instance of a symbol on the stage, which seems like it should be easy.
Or, is there some other way of introspecting the library symbols to find the text fields and modify them directly? This would have to handle cases like button symbols where the text field is inside the symbol, not a symbol itself...altenbach wrote:
One of the elements could be a 2D picture indicator of about the same size. You can write text in any color using picture functions.
Here's what I had in mind. Seems to work just fine (I would fine-tune the font, picture border, etc. but this should get you started).
LabVIEW Champion . Do more with less code and in less time .
Attachments:
ColorText.png 13 KB
ColorText.vi 9 KB -
I have created a standard text element of around 100 lines by using SO10.
I am trying to call it in my sap-script, the window size is not that big to accomodate all the 100 lines.
Can anyone suggest any solution to this problem.
Correct answers will be rewarded.
Regardshi,
try like this:
Store the standard text in internal table of type TLINE, using object id,object name...........
data:g_tline TYPE TABLE OF tline WITH HEADER LINE,
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = 'F05'
language = sy-langu
name = '4500012164'
object = 'EKKO'
TABLES
lines = g_tline
and then call the below function module
CALL FUNCTION 'FORMAT_TEXTLINES'
EXPORTING
cursor_column = 1
cursor_line = 1
endline = 99999
formatwidth = 45
linewidth = 45
startline = 1
language = sy-langu
*IMPORTING
*NEW_CURSOR_COLUMN =
*NEW_CURSOR_LINE =
TABLES
lines = g_tline
EXCEPTIONS
BOUND_ERROR = 1
OTHERS = 2
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop at g_tline.
write: / g_tline.
endloop.
thanks
raji -
Hi all,
can any one know me the mrp elements in md04
As we call Value stock at vendor as Subcst
To.quality inspection as QM-Lot
In transfer ( storage location) as Sloc st
and i want to know for Returns,in transfer (plant), unrestrected consignment,
blocked consignment,Rest.Consignment,consignment in inspection.quality inspection stock at vendor.
Thanks,
Narsimha Reddyi need the mrp elements i.e.in md04 transaction we can see the stock. if we click on stock we will find all the stocks dispalyed so where can we see that all mrp list elements.
-
Reg : WBS Element in Transaction FB50
Hi All,
I have a requirement in Fb50 transaction is that if I pass the Internal order (AUFNR) value say 601 after posting, WBS Element (PS_PSP_PNR) value supposed to display is 601 but this field is having a conversion exit at domain level
called 'CONVERSION_EXIT_ABPSP_OUTPUT'.Due to this exit the value which I am passing 601 is internally converted and displaying as 4503.My requirement is that the same Internal Order value has to be displayed on the WBS Field. That is it is taking 601 as a PS_PSP_PNR value as an input for the 'CONVERSION_EXIT_ABPSP_OUTPUT' and is returning a value 4503 value of POSID field. Is there any conversion routine which will convert the POSID value to PS_PSP_PNR value? Please help me. Thanks in advance.
Regards,
Rajesh.Hi,
if you use CONVERSION_EXIT_ABPSP_INPUT, it will give you 601 again back to you.
Thanks,
Ramakrishna -
Reg WBS Element in Sales Order Line Item For Sales Order BOM
Hi ,
Greetings!!!!
I have a requirement, in a Sales Order I am Exploding BOM. After that Projects will be Created.
Once Project will be created i need to Assign WBS element for All Items in Sales Order.
My requirement is When I assign WBS element for Header Material (Parent Item) system will auto assign WBS for Child Items.
for this what Configuration I have to do.
Please do need full.
Thanks,
Regards,
Prasad.Hi Dayananda
Check in transaction VTFL for given item category what copying routine are set. Check those copy routine and see if there is any data is being copied from table VBAP
Similar to above also check transaction VTFA for copying routine (if any)
As a standard SAP even we create an invoice with reference to the delivery document, still there are some data which is being copied from a sales order i.e. all pricing relevant information is copied from your sales order and not from delivery. -
How to find all query elements inside a Query
Hi,
I would like to find out all query elements inside my query.
Is there any table which stores all query elements inside my query ?
Thanks
PratyushHi,
Query elements are stored in this follwing table:
SE11
Table name : RSZELTXREF [Directory of query element references]
other query related tables :
Tables used in Queries
RSZELTDIR Directory of the reporting component elements
RSZELTTXT Texts of reporting component elements
RSZELTXREF Directory of query element references
RSRREPDIR Directory of all reports (Query GENUNIID)
RSZCOMPDIR Directory of reporting components
RSZRANGE Selection specification for an element
RSZSELECT Selection properties of an element
RSZELTDIR Directory of the reporting component elements
RSZCOMPIC Assignment reuseable component <-> InfoCube
RSZELTPRIO Priorities with element collisions
RSZELTPROP Element properties (settings)
RSZELTATTR Attribute selection per dimension element
RSZCALC Definition of a formula element
RSZCEL Query Designer: Directory of Cells
RSZGLOBV Global Variables in Reporting
RSZCHANGES Change history of reporting components
Hope it will helps you.
Thanks
Hemav -
Web Dynpro Table UI Element - Force Footer visible to false
Hi Guys,
Is there any way to force the footer visible property to false, despite the total number of visible row and total number of data available? The reason I want to do this is because I want to create my own paginator (by page, not by row in standard SAP).
Also, I was looking at this help page:
http://help.sap.com/saphelp_nw04s/helpdata/en/23/5e9041d3c72e7be10000000a1550b0/frameset.htm
However, I found out that many of the Table UI Element properties described here is not available in NWDS 2004s (I am using SPS 09 and also tried on SPS 14). Anyone knows why ?
Is there any other way to change the pagination from Row to Page ?
Thanks,
JohannesHi,
Well i understood your problem, but it cant addressed with the existing functionality.
You need to do it by yourself. First you need to make the visibility of the footer to NONE. Then add UI elements like label for displaying page numbers, inputField and buttons with text "<"(previous) and ">" (next) as text just like a normal footer.
Now on action of these buttons you have to manipulate the things. Suppose you have 5 rows as 1 page. So if the visibleRowCount property of your table gives you 5 then you can display the label as page1. Dont forget to map an integer attribute to your visibleRowCount so that it will be easier to manipulate. On click of next set the label as Page2 and set firstVisibleRow property of your table to 6 ie to display the next set of 5 records in the next page. now your visibleRowCount will be 10 ie you can check for multiples of 5.
Is this the thing you want? Just give a try.
thanks & regards,
Manoj -
Windows XP Pro, SP3. Firefox 3.6.3. Ever since updating to this version a few weeks ago I can no longer do a right click of the mouse and check the properties of an active url link on webpages. I've always had the option before. I want this feature back!!!!
In Firefox 3.6 Properties has been removed from the right click context menu.
You can use ''View Image Info'' or ''View Page Info'' in the right click context menu to see the (image) properties.
You can use the above mentioned extension (Element Properties 6) to get that context menu item back.
See also Link And Forminfo: https://addons.mozilla.org/firefox/addon/6939 -
Reg : adobe in web dynpro
hi ,
I am working on Adobe Online Interactive Form using webdynpro for ABAP.
Steps followed for development:
In WD I have created a service call and added the bapi to create sale order.
Mapped the context from component controller to view controller.
From the view layout, I have configured the UI element properties.(data source, pdf source, onsubmit,templatesource etc.)
Inside the interactive form (ZCI type), I have binded all my UI element with the context elements that is displyed in data view.
and then
went to the layout of adobe form, in the menu Utilities->Insert web dynpro script.
i have a button in my view.
I put a break-point on the action handler method.
when i enter the data on adobe form and click the button on vuew...it is not going into debigging mode.
it is saying WAIT...and thats it,
can any one help plz.
regards
ArjunHi,
Check out these links-
https://www.sdn.sap.com/irj/sdn/adobe
https://www.sdn.sap.com/irj/sdn/adobe?rid=/webcontent/uuid/24b9e126-0b01-0010-e098-f46384fad9f3
Regards
Lekha -
ScreenPainter Properties in ABAP code
Hi all that's my first post here & i have a "Big" question can we use a screen painter element Properties in an ABAP code
Exemple:
in a input/output Field i want to change the text color after a some conditions
Help please
Regards.
MEHDIHello,
There would some functionality that can be attained by coding in ABAP. Say for instance you want the text in an input box to be changed in color upon clicking a puchbutton.
Say TEXT is the name of the input box and OK is the function code of the button, then if you write the code similar to the following in the PBO of the screen, the color change can be attained
if sy-ucomm = 'OK'.
loop at screen.
if screen-name = 'TEXT'.
screen-intensified = '1'.
modify screen.
endif.
endloop.
endif.
Similarly using screen-invisible, screen-input etc can be used to hide or disable the input box at runtime.
Regards,
Sachin
Maybe you are looking for
-
THe messages are not in my archives and I don't delete them as soon as I get them. Where in the world are they going? I needed a number of them in order to make appropriate responses, and they are no longer in my inbox!
-
Import Script Failing Sporadically
The script ran fine for a year, then it began failing sporadically. I suspect it's related to a DB timeout or network issue, but I can't pinpoint the issue. I added some basic logging and error trapping, but it isn't enough to go on. Any ideas on
-
Dual Booting with Windows Off of Different Hard Drives
Hi, Been reading the guides but I'm still struggling with this. I have this set up SSD1 - Windows 7 (includes windows boot) HDD1 - Windows Files (NTFS) HDD2 - Arch Linux When I installed, Arch, I unplugged the windows drives. I partitioned arch as fo
-
How do I add an output for a 2nd monitor?
I have a mac mini that was purchased in 2009 I believe, maybe 2008. The operating system has been upgraded to Snow Leopard. I want to add a 2nd monitor, so I can use 2 at the same time, however, there is only one output. Is there a way to add an outp
-
Hi , I have written a SQL query query to select the max date of a column from a table: SELECT MAX(datecolumn) from dbo.tablename I get result as '2014-01-23 22:53:39.683' when I execute this in Management studio, but when I do the same in a package