How to create a dynpro property on the WAS and get it in code?

Hello,
I remember that once I've read at the NWDS help that I can create dynpro properties which can be configured on the WAS's Configuration Adapter serviceand can be retreived when the dynpro application loads. I need to use it now but can't find the explanation and code example. Can someone please show me how to do it?
Roy

Hi Roy,
1. create a .properties file with the key value pair.
2. Put it in src/configurations/application/<app name>
3.
WDDeployableObjectPart App = wdThis.wdGetAPI().getComponent().getApplication().getDeployableObjectPart();
IWDConfiguration Configprop = WDConfiguration.getConfigurationByName (App,property file name );
// get the string value of the property.
String value = Configprop.getStringEntry ("<key of the property sheet>");
To chaneg the property value outside the application,
Goto configuration adapter  -> WEbdynpro -> the app name. Under that you will find the property file
You can edit the file and restart the server.
Regards
Bharathwaj

Similar Messages

  • How to create a blinking property on the XY graph?

    Hello.
    I am monitoring two lines that has a chance to collide from each other. The lines are represented through the XY Graph.
    The user would like to see a "blinking" rectangle or square shape (depending on the lenght of the line) enclosing the line,
    if collision is imminent. But if there is no collision, the rectangle or square shape will not be visible on the XY graph.
    This is for the operators visual to check where is the collision might happen.
    I attached a simple illustration of what i wanted to do.
    1. How can I create the rectngle or suare shape figure if i am only given coordinates at the end points of the line?
    2. How can i create the blinking property in the XY graph?
    I would greatly appreciate for any help if above is possible.
    Thanks a lot.
    Attachments:
    blinking alarm indicator.JPG ‏175 KB

    Based on what you're saying it sounds like you're already determining if you have a collision situation and are turning on the LED. To draw the rectangle you can juse use the drawing VIs to draw on on the graph's drawing layers. You have three available to you: foreground, background, and middle. Examples ship with LabVIEW to show you how to use them. As for the blinking part you would need to handle this yourself. I would do it by having a separate loop that does the drawing. If the blinking condition is set, then you just need to toggle the box on and off (by clearing the picture to turn if off, and then drawing the rectangle to turn it on).

  • How to create a text file or XML file  and add content through  code into it...

    Hi Everyone,
    How to create a text file and add content through the code to the text file eform javascript ......orelse can we create a text file in life cycle designer...
    Else say how to create a new XML file through the code and how some content like Example "Hello World".

    You can create a text file as a file attachment (data object) using the doc.createDataObject and doc.setDataObjectContents:
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.450.html
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.528.html
    You can then export the file with the doc.exportDataObject method:
    http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.463.html
    This won't work with Reader if it hasn't been given the file attachment usage right with LiveCycle Reader Extensions.

  • A few months ago I syncd my MacBook up with a friends iPad and now when she goes to buy apps it comes up with my username and requests my password, how do I put it back to the username and get rid of mine completely ?

    A few months ago I syncd my MacBook pro with a friends iPad to share some films and now when she goes to buy apps or use her email the iPad comes up with my username and asks for my ID, how to I set it back to my friends account n get rid of mine off her device

    About replacing my ID with my friends on her iPad. Haven't got the iPad with me and my friend isn't very techy. I can imagine its quite simple to do but I'm getting grief about it n could know how to hide her thru settings

  • How to create a dynamic property in JavaFX

    public class Person() {
    private SimpleStringProperty _Name = new SimpleStringProperty();
    public final String NameGet() {
    return this._Name.getValue();
    public final void NameSet(String Name) {
    this._Name.setValue(ColumnName);
    public StringProperty NameProperty() {
    return this._Name;
    private SimpleStringProperty _SurName = new SimpleStringProperty();
    public final String SurNameGet() {
    return this._SurName.getValue();
    public final void SurNameSet(String SurName) {
    this._Name.setValue(ColumnName);
    public StringProperty SurNameProperty() {
    return this._SurName;
    How to create a dynamic property in JavaFX ?
    ObservableMap, ObservableMapValue, MapPropertyBase, MapProperty
    Which one should I use. Can you give an example?

    I'm not sure what you mean by "dynamic property"; can you be more explicit?
    Your code creates two properties that can be read, written, and observed for changes, though it's probably better to use the standard naming scheme for the methods (e.g they should be getName(), setName(...) and nameProperty()).
    An ObservableMap is an extension of the java.util.Map interface that can be observed; i.e. you can register a listener that will be notified if a key-value pair is added or removed from the map.
    ObservableMapValue is an interface that defines an observable reference to an ObservableMap; i.e. it has a get() method returning an ObservableMap and a set(...) method taking an ObservableMap. You can register a ChangeListener which is notified when the set(...) method is called. It additionally functions as an ObservableMap, so you can also register listeners that get notified when key-value pairs are added or removed from the underlying observable map.
    MapProperty and MapPropertyBase are effectively partial implementations of ObservableMapValue. SimpleMapProperty is a full implementation.
    If you just need a single ObservableMap (i.e. not an observable reference to one), then the FXCollections.observableHashMap() factory method will provide one.

  • How to create web dynpro iView?

    Hi all,
       How to create web dynpro iView?
    I want to create a web dynpro iView where WD is displayed in its icon when create.
    Can you give me the steps and which options to select on each steps.
    Thanks.

    Hi Virenp
    Welcome to SDN
    First Check the below Link  before the below message.so it would give clear idea
    [Creating a Web Dynpro-Based iView|http://help.sap.com/saphelp_nw70/helpdata/en/11/0d653f0c9fa075e10000000a114084/content.htm]
    http://help.sap.com/saphelp_nw70/helpdata/en/11/0d653f0c9fa075e10000000a114084/content.htm
    Go to Content_Administration --> Click on Portal content  -
    > Go any of your Folder
    Right click on the Folder and Click on New -
    >  Iview
    Selct the 3rd Option webdynpro java applicaiton.
    Select the iview as FULL page for one application
    Then select the webdynpro application you deployed  (it would be either under Local or in SAP.com folder)
    Click on next,. and UNCHECK the Option where it would prompt to Create Page.. this is necessary only when u need a page
    Click Finish  ,  and Preview the Iview..
    Suggestion : Always check on [help.sap.com |http://help.sap.com ] for any queries, which is the Bible for SAP reference.
    Thanks
    KT

  • How to create a record based on the name of a file in the file-system?

    Hi,
    With a lot of pictures I want to have a database to gather some information about these pictures.
    First question is how to generate a record based on a file in the file system?
    e.g. the pictures are "c:\fotos\2009\01\disc_001.jpg" to "c:\foto\2009\01\dis_98.jpg" .
    now i want to create records with as one of the attributes the name of the picture (not the picture itself). how to create these records (based on the information of the file-ssytem). i.e. the number of records should be the same as the number of pictures.
    any suggestions?
    any reaction will be appreciated.
    Leo

    Link to Create directory
    http://www.adp-gmbh.ch/ora/sql/create_directory.html
    You can create a list of files in the directory and read the list files from that directory.
    [UTL_FILE Documentation |http://download.oracle.com/docs/cd/B14117_01/appdev.101/b10802/u_file.htm#996728]
    [Solution using Java|http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:439619916584]
    SS

  • How to create multi garnishment order for the same garnishment document

    Hi,
    Can anyone tell me how to create multi garnishment order for the same garnishment document. I tried to copy the entry in IT0195 but the sequence field is grayed out so it will just delete the old record. What configuration should I do to make this possible?
    Thanks a lot in advance.

    hi,
    As far as I got it.
    You cannot have multiple Garnishment order but if a need arises you have to maintain it in IT216.
    For that follow this path goto PA30->pernr->194->change->Garnishment->adjustment.
    Since like order you cannot maintain adjustment also directly.
    Regards,
    Amit
    Reward all helpful replies.

  • How to create a generalized version of the detailed polygons?

    How to create a generalized version of the detailed polygons?
    I have a table of detailed polygons (100+ vertices) and I want to get generalized version of these polygons.
    For example, assume I have a polygon with 100 vertices. Distance between vertex n and n+1 is 1.0.
    I want to get geometry (generalized polygon, line or point) where distance between vertex n and n+1 is 10.0 or more (I want vertices to be considered as one vertex if distance between them is less then 10.0).
    Is it possible to create generalized version of polygons on the fly?
    Any help is appreciated.
    Thanks.

    Scenario A:
    If all of your polygons have no interaction among them (No polygon shares any boundary with any other ones).
    In this case you can use the sdo_util.simplify in 10g to reduce the vertices in your polygons which returns new polygon geometries on the fly.
    If you found that simplify is not doing exactly what you want, you can always roll out your own implementation using PL/SQL or the new SDOAPI JGeoemtry class in Java. Both will give you complete access to the coordinate arrays in a polygon and update them back to the database after you have simplified them in your code.
    Scenario B:
    If your polygons share boundaries, then the above methods will not work since the simplification process may not preserve the topology among your polygons. What you can do then is to use the Java topo package to create a new topology by adding all of your polygons to to an empty topology (which you first create in the database and then load into memory using oracle.spatial.topo.TopoMap). Once you have a topology built in the memory, you can use methods such as oracle.spatial.topo.TopoMap.changeEdgeCoords() to simplify the edges of your polygons. You can then recreate the simplified polygons from the topology. This is just a rough guide; for more details you need to check out the java doc for the various packages mentioned above which are shipped with 10g spatial.

  • How to create a temp table in the memory, not in disk?

    in sql server, you can create a temp table in the memory instead of disk,
    then you can do the insert, delete,update and select on it.
    after finishing, just release it.
    in Oracle,
    I am wonderfing how to create a temp table in the memory, not in disk?
    thanks,

    Thanks for rectifying me Howard.
    I just read your full article on this too and its very well explained here:
    http://www.dizwell.com/prod/node/357
    Few lines from your article
    It is true, of course, that since Version 8.0 Oracle has provided the ability to create a Keep Pool in the Buffer Cache, which certainly sounds like it can do the job... especially since that word 'keep' is used again. But a keep pool is merely a segregated part of the buffer cache, into which you direct blocks from particular tables (by creating them, or altering them, with the BUFFER POOL KEEP clause). So you can tuck the blocks from such tables out of the way, into their own part of the buffer cache... but that is not the same thing as guaranteeing they'll stay there. If you over-populate the Keep Pool, then its LRU mechanism will kick in and age its contents out just as efficiently as an unsegregated buffer cache would.
    Functionally, therefore, there can be no guarantees. The best you can do is create a sufficiently large Keep Pool, and then choose the tables that will use it with care such that they don’t swamp themselves, and start causing each other to age out back to disk.
    Thanks and Regards

  • How to create a snapshot report on the specific destination?

    dear all
    How to create a snapshot report on the specific destination?
    thanks
    john

    user8779435 wrote:
    dear all
    How to create a snapshot report on the specific destination?
    thanks
    john
    Hi,
    when prompted just input the full path with filename for example
    Enter value for report_name: /tmp/awrreport.htmlHope this helps
    Cheers

  • How do I edit a merged clip in Audition, that was created in premiere to correct the synchronisation, and have it all updated to the premiere clip?

    Hello,
    How do I edit a merged clip in Audition, that was created in premiere to correct the synchronisation, and have it all updated to the premiere clip?
    I have tried several tutorials but these either:
    - show correction in premiere sequence (which is not practical; given the huge number of files we have)
    - or show the editing in audition of a sequence, not the clip.
    We have started merging audio and video (removing the original audio during merge) but some of the merged clips are out of sync, so we need to correct manually, BUT we want to correct the merged clip, which may or may not end up being used, so we do not want to take it to the sequence as all we are doing is prepare the synced files for editing.
    Any idea how I can correct the synchronisation in Audition?, when I right click on clip and select "Edit in Adobe Audition" I get a list of files but not a multitrack session where I can see my video and audio tracks.

    if premiere pro doesn't sync your footage properly, and you have a huge number of files, you may want to look at pluraleyes.  there is a demo, and if it works properly, it would save you time to have it done right the first time, instead of tracking down random merged clips with bad sync.
    premiere will either export a complete sequence or "edit clip in audition". the edit clip will create a copy of the original audio and open that in audition. there is no dynamic link, its just an audio file open in two programs at the same time.  since there is no dynamic link, its not possible to bring merged clips into audition.
    Adobe Premiere Pro Help | Synchronizing audio and video with Merge Clips
    Once created, the merged clip cannot be re-synchronized, or adjusted. You must make a new merged clip.
    Merged clip audio results in mono track audio only.Final Cut Pro XML and AAF interchange formats are not supported.
    this doesn't give me much hope that audition or any other adobe program outside of premiere will help you fix the problem merged clips.

  • How to create  some columns dynamically in the report designer depending upon the input selection

    Post Author: ekta
    CA Forum: Crystal Reports
    how  to create  some columns dynamically in the report designer depending upon the input selection 
    how  export  this dynamic  report in (pdf , xls,doc and rtf format)
    report format is as below:
    Element Codes
    1
    16
    14
    11
    19
    10
    2
    3
    Employee nos.
    Employee Name
    Normal
    RDO
    WC
    Breveavement
    LWOP
    Sick
    Carers leave
    AL
    O/T 1.5
    O/T 2.0
    Total Hours
    000004
    PHAN , Hanh Huynh
    68.40
    7.60
    76.00
    000010
    I , Jungue
    68.40
    7.60
    2.00
    5.00
    76.00
    000022
    GARFINKEL , Hersch
    66.30
    7.60
    2.10
    76.00
    In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
    if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
    Can anybody help me how do I design such report....
    Thanks

    Hi Developer life,
    According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
    As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric  values) in the details,  add  an filter to filter the data base on this column group, but if
    the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
    If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
    Similar threads with details steps for your reference:
    https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings 
    If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
    Any question, please feel free to let me know.
    Best Regards
    Vicky Liu

  • How to create a different sid in the same  system

    Hi Experts
    In one system already i have installed HP Quality center with Oracle, Now i want to install SAP on the same system. Please help me how to create a different SID on the same system.
    Thanks in advance

    Hi,
    If you are talking about host...then when you will start installation of new system it ask for SID then choose different SID...
    Thanks
    Sunny

  • How to get the spool id or how to create a spool id for the report .

    hi,
    how to get the spool id or how to create a spool id for the report .
    this spool id i have to use it in CONVERT_ABAPSPOOLJOB_2_PDF fm to get the pdf download file.
    my requirement is to download a pdf file from the alv grid list.

    Hi Raghu,
    Execute this program.
    REPORT  ZTEST_3318                              .
    tables: usr01.
    perform send_report_to_spool.
    *&      Form  send_report_to_spool
          text
    form send_report_to_spool.
      data: loc_dest like pri_params-pdest,
            wf_listname type char12,
            wf_listtext like PRI_PARAMS-PRTXT,
            wf_copies type i,
            wf_days type i,
            wf_PARAMS LIKE PRI_PARAMS,     " achieving file PRI_PARAMS.
            wf_valid type c.
      clear : wf_listname , loc_dest , wf_listtext .
      move: 'AP interface' to   wf_listname .
      move: 'AP interface' to   wf_listtext .
    select single spld into usr01-spld from usr01 where bname eq sy-uname .
      if sy-subrc eq 0 .
        move: usr01-spld to loc_dest .
      endif .
      call function 'GET_PRINT_PARAMETERS'
        EXPORTING
          destination    = loc_dest
          copies         = 1
          list_name      = wf_listname
          list_text      = wf_listtext
          immediately    = ' '
          release        = ' '
          new_list_id    = 'X'
          expiration     = 1
          line_size      = 200
          line_count     = 65
          layout         = 'X_65_200'
          sap_cover_page = 'X'
          receiver       = 'SAP*'
          department     = ''
          no_dialog      = 'X'
        IMPORTING
          out_parameters = wf_params
          valid          = wf_valid.
      if wf_valid <> space.
        new-page print on parameters wf_params no dialog.
        perform write_summary .
        new-page print off.
      endif .
    endform.                    "send_report_to_spool
    *&      Form  write_summary
          text
    -->  p1        text
    <--  p2        text
    FORM write_summary .
    data: begin of itab occurs 0,
          matnr type matnr,
          end of itab.
    select matnr
           from mara
           into table itab
           up to 10 rows.
    loop at itab.
    write: / itab-matnr.
    endloop.
    ENDFORM.                    " write_summary
    This will create spool in SP01.What data you want to put in Spool write it in form write_summary.I have done coding for testing purpose
    After that use that spool for your purpose.
    If Useful award point

Maybe you are looking for