Future for JNET UI elements in ABAP Webdynpro?

Hi,
I recently had the opportunity to do an interesting project that included producing a Gantt chart in an ABAP web dynpro application. I used the standard Gantt UI element, which is a JNET control.
I had to learn a lot about using JNET and specifically the Gantt with webdynpro. I found some documentation but what I found is not very up to date, and I learned a few things the hard way. I am interested in possibly sharing what I learned here in a blog, but I am wondering if there is much interest? And anyway, will the JNET elements continue to be part of webdynpro or will they be replaced? For example, would Flash Islands be preferred over the JNET controls?
Does anyone know what the future might be for these JNET UI elements?
Thanks,
Margaret

>And anyway, will the JNET elements continue to be part of webdynpro or will they be replaced? For example, would Flash Islands be preferred over the JNET controls?
This is the SAP internal rules about JNET:  JNET superseeds Islands.  If something can be done in JNET, it must be done in JNET instead of Islands.  Here is an example.  An internal team built a org chart viewer in Flex as a Flash Island. However all Islands must be approved by the SAP UI Governance Council.  The Council determined that the same thing could have been acomplished with JNET and therfore the Flex version was never allowed to ship to customers.  Hopefully that example shows that we take JNET pretty seriously inside of SAP.

Similar Messages

  • Menu elements in ABAP webdynpro?

    Hi,
    Is there any view elements available in ABAP webdynpro which is similar to Menu /Menu elements in other languages like VB or D2K?
    I want to create menu like this:
    Screen
       Screen1(it will be view1 of component1)
       Screen2(it will be view2 of component2)
    Then how to link this?

    Hi Mog,
       You could use button choice and you could achieve the same functionality of MENU .
    Create a Button choice SCREE and give SCREEN1 and SCREEN2 as teh choices.And there is provision associate an action with each choices.So you could very well fire view plugs and chieve the navigation.
    Thanks
    Anzy

  • How to retain the text in "text edit" element of abap webdynpro

    Hi all,
    I have a requirement where i need to preserve the text in the "case" user has entered.As of now it automatically gets converted into upper case.
    eg:user enters "Hello World"
    it is getting saved as "HELLO WORLD".I don want this case conversion to happen.
    Kindly respond.
    PS:Suitable points will be rewarded for helpful answers.

    Hi,
    ur text edit is binded to some context attribute  and attribute has some data type ,
    u can save the data as lower case means the upper case conversion will  not be done by checking the lower case property of domain.
    create a domain with the data type u want , in the defination tab set the check box lower case . and then create a data element using this domain and use it ...
    Regards
    yashpal

  • Changing Field Label length for Data Element using ABAP code.

    Hi Experts,
    We have a scenario where we have to update the maximum length of the various Field Labels (Short, Medium, Long..) for a Data Element using ABAP code.
    Does anyone know how to do this ? Is there a Function Module available for this purpose ?
    Appreciate your valuable inputs.

    Hi ,
    Use the view
    DD03M
    Give
    TABNAME as table name,
    DDLANGUAGE = EN / sy-langu
    and order by position. (for correct sequencing)
    You will get description of the fields (short,medium, long etc). You will also get the length and other details.

  • Doubts in ABAP WebDynpro

    Hi Experts,
    I am new to ABAP WebDynpro and self-learning going through SDN stuff and other online-help. Please provide me
    your kind explanation on below doubts.
    1. When do we use GET_ATTRIBUTE and GET_STATIC_ATTRIBUTE
    2. How to read the index of a particular selected row in table?
    3. How do you change position of a particulr node dynamically?
    4. Is it possible to execute a component without a window?
    5. Is it possible to run a VIEW without embeding into a window in Webdynpro application?
    6. How to read the content entered in PARAMTER and SELECT-OPTION elements in ABAP Webdynpro? Can anybody pass code how to read entries?
    I mean GET_ATTRIBUTE or GET_STATIC_ATTRIBUTES is used for reading attribute value. 
    7. Is it possible to fix the Message window position? Show at the bottom of a screen? Please provide some code for this.
    8. Is it possible to change the color of a laber attached to a attribute dynamically? For example somefield is mandatory but you forgot to enter and press on u2018Continueu2019 then program should show that elementu2019s lable with redcolor text. Please provide me example code.
    Thanks in advance for the support and useful explanation!
    Regards,
    Meera.

    Hi
    Refer the answers inline
    1) When do we use GET_ATTRIBUTE and GET_STATIC_ATTRIBUTE
    GET_ATTRIBUTE
    Method to get the values of a context attribute.
    The prerequisite for this method is that the application knows the data type of the attribute.
    The value of the given attribute is copied to the export parameter. To do this the export parameter must have a data type to which a value can be written.
    GET_STATIC_ATTRIBUTES
    This method copies the static attributes to the transferred variable. If the structure is not identical, a move-correspondingis performed, which is not as efficient as a direct move, but is still useful in many cases.
    Static attributes are those that either have been declared or that belong to the structure with which the node was declared.
    2) How to read the index of a particular selected row in table?
    data: lr_element type ref to if_wd_context_element,
              lv_index type i.
      lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT'  ).
      lv_index = lr_element->get_index( ).
    3) How do you change position of a particulr node dynamically?
        Explain Bit deeply
    4) Is it possible to execute a component without a window?
        No it is not possible, actually the component view can be viewed by embedding it to the window
    5) Is it possible to run a VIEW without embeding into a window in Webdynpro application?
        No it is not possible, without window you cant run the view
    6) Is it possible to run a VIEW without embeding into a window in Webdynpro application?
      DATA LO_ND_MAIN_NODE TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA LO_EL_MAIN_NODE TYPE REF TO IF_WD_CONTEXT_ELEMENT.
      DATA LS_MAIN_NODE TYPE WD_THIS->ELEMENT_MAIN_NODE.
      DATA LV_INP_VALUE LIKE LS_MAIN_NODE-INP_VALUE.
    navigate from <CONTEXT> to <MAIN_NODE> via lead selection
      LO_ND_MAIN_NODE = WD_CONTEXT->GET_CHILD_NODE( NAME = 'MAIN_NODE' ).
    get element via lead selection
      LO_EL_MAIN_NODE = LO_ND_MAIN_NODE->GET_ELEMENT(  ).
    get single attribute
      LO_EL_MAIN_NODE->GET_ATTRIBUTE(
        EXPORTING
          NAME =  `INPUT_VALUE`
        IMPORTING
          VALUE = LV_INP_VALUE ).
    7) Is it possible to fix the Message window position? Show at the bottom of a screen?
        Yes it is possible to show the messages by using the message area UI element in the needed position
    8. Is it possible to change the color of a laber attached to a attribute dynamically? For example somefield is mandatory but you      forgot to enter and press on u2018Continueu2019 then program should show that elementu2019s lable with redcolor text.
        Im working onit and let you know after i complete.
    Regards
    Arun.P

  • Models in Abap Webdynpro.

    Hi All,
    I am a Java guy having knowledge in Java webdynpro, it happend for me to get into ABAP webdynpro just had a small query here.
    How does models functionality work in ABAp Webdynpro.
    How do we access RFC, BAPI, web services, EJBs etc in ABAP web dynpro.
    Thanks in Advance,
    Sai Krishna.

    Hi Sai,
    Model is nothing but the business logic similar to the Java webdynpro . I guess you have seen those Hook methods like WD_doinit, WD DOmodifyView some standard default methods which we get according to the requirement we write our code as and where we want . One basic thing is u must be aware of the Context which is the heart of the webdynpro abap applications the interaction between the screen and the database is done by this .
    Let me take a small example of how are we going to use the RFC or Bapis.
    EG:
    We have a screen UI elemnets in which we have one input field and a table our aim is to fetch the data into the table depending upon the input field or say selection field . and here we will be using say RFC or it may be a BAPI.
    SO step1. Intially we desing the screen UI elements , create a Node for the input field with cardinality (0:1). and create another node for the table binding with cardinality as (0:n).then bind the values of the screen .
    step2:  Now since after giving the value in the input filed we want to fetch the data. On action of the Button or on enter of the input filed we need to write our code.
    That means here our bapi or RFC comes into picture . what we need to do is get_attribute of the input field and call that RFC in import values pass the get_attribute value and see that it returns some table
    say lt_table.
    Now when you debug you can see the table values which we need to bind it to the table.
    lo_nd_table->bind_table( lt_table ).
    This will fetch the table values depending upon the input field values you giv .
    Hope it is clear and helpful.
    Have A GoodDay:)
    Regards,
    Sana.

  • ESS and CATS available in ABAP webdynpro

    Hi Friends,
    Currently we are under ECC6.0 with the following SP13.
    SAP_BASIS     700     0013     SAPKB70013     SAP Basis Component
    SAP_ABA                     700     0013     SAPKA70013     Cross-Application Component
    And iam looking is the ESS and CATS are available in ABAP webdynpro , i know thta these are available on JAVA side.
    If i want to get ESS and CATS in ABAP Web dynpro , what we have to do ???
    Could you send me useful links for ESS and CATS in ABAP webdynpro on Portals side.
    Srinivas.

    Thanks To your Reply.
    So we have to live with current ESS which is in Java Iviews on portal side.
    There is no as such ESS availble with SAP SP17 or EP7 side for ABAP web dynpro.
    If we want to make it available , then we have to go for custom development right.
    But Travel & Expenses are available in both JAVA webdynpro and ABAP webdynpro , how come SAP give partly give the package in JAVA and ABAP.
    Please clarify me.
    Srinivas.

  • Regd. ESS and CATS in ABAP webdynpro

    Hi Friends,
    Currently we are under ECC6.0 with the following SP13.
    SAP_BASIS     700     0013     SAPKB70013     SAP Basis Component
    SAP_ABA                     700     0013     SAPKA70013     Cross-Application Component
    And iam looking is the ESS and CATS are available in ABAP webdynpro , i know thta these are available on JAVA side.
    If i want to get ESS and CATS in ABAP Web dynpro , what we have to do ???
    Could you send me useful links for ESS and CATS in ABAP webdynpro on Portals side.
    Srinivas.

    Hai,
    Please find the below links.....
    http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c2fad86f-0401-0010-91ac-bdb38595a735
    /people/heidi.geisau/blog/2005/12/21/web-dynpro-abap-goes-live
    http://help.sap.com/saphelp_nw04/helpdata/en/dd/e9863596db1d23e10000009b38f889/frameset.htm
    Regards,
    Yoganand.V

  • ABAP Webdynpro reports in portal do not use portal theme for some elements

    Hi,
    I have an ABAP webdynpro screen which uses, amongst other things, a date navigator and drop down lists.  All aspects of the portal theme seem to be picked up by the webdynpro except the date navigator and drop down lists.  They don't even use the SAP standard ones.  They display as plain text using TimesNewRoman font and not the ones specified in the theme.  They also do not use any of the colours in the theme.  All tables and fields etc are all themed ok.  Any ideas how I can fix this?
    Regards
    Cindy

    Could there be a lockal cache issue?
    Clear you browser cache via Tools > Internet Options >  Delete History
    Try again after clearing the cache, if that doesn't help then try downloading the Internet Explorer Developer Toolbar:
    http://www.microsoft.com/downloadS/details.aspx?familyid=E59C3964-672D-4511-BB3E-2D5E1DB91038&displaylang=en
    ...use this tool to get details about the css and classes aplied to the objects and use it to open a OSS message if it is a SAP WebDynpro application of talk to your developers if it is a Custom WebDynpro app.
    Good Luck,
    Benjamin Houttuin

  • Jnet in abap webdynpro

    Hello,
    is there any samples or documentation on how to use jnet in abap webdynpro.
    regards
    kaushik

    There are samples for the Network UI element and the Gantt chart UI element:
    You can find examples of this UI element in the system in the Web Dynpro application WDR_TEST_UI_ELEMENTS, in the component WDR_TEST_EVENTS in the NETWORK view, and in the component WDR_NETWORK_TEST.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/f5/248841a79f1609e10000000a155106/frameset.htm
    You can find an example of this UI element in the system in component WDR_TEST_EVENTS in the GANTT view, and in the component WDR_GANTT_TEST.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/68/248841a79f1609e10000000a155106/frameset.htm
    There is also a general JNET developers' guide:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/42/cdfa0f0a8d136fe10000000a1553f7/frameset.htm

  • Interactive Gantt Element & UI feasibility - ABAP Webdynpro

    I have a requirement to design a interactive timeline chart in ABAP webdynpro. Infact, the UI should be a replicate of CM33[Capacity Planning Workbench] standard transaction in our SAP. Can you let me know whether its possible to design such a interactive graphical UI in ABAP Webdynpro without using any JAVA coding/controls/plugins???
    In my R&D, I have found that instead of using Business Graphics, Gantt UI can be used which will provide more interactive [lot of event handling] options. But it seems Gantt UI has to be used with XML and JNET.I don have any idea on this. I went through some of the documents but im not able to understand. Is it that JNET understanding requires JAVA skills.  I dono how to design the frontend with Gantt UI and i could not find any useful documents.
    Can you please help me stating whether this Capacity planning [CM33 transaction] can be replicated using only ABAP Webdynpro through Gantt UI element or any other UI without using JAVA coding.?? It will help me alot if you can provide some documents on the same..
    @Thomas jung

    You don't need to code any Java to use the Gantt-Plugin (JNET) in Web Dynpro ABAP. Although it is written in Java, you feed the plugin with an XML-file which contains the data in the required format. That format is extremely complex. You find the documentation below.
    For learning purposes I recommend the Web Dynpro Applications:
    - WDR_TEST_GANTT
    - WDR_GANTT_TEST
    You have to analyse the XML-files which are attached as MIMEs to the WD components. For your own solution, you will have to transform your data into that xml format, e.g. by a Simple Transformation oder XSLT.
    [Documentation Web Dynpro UI Element Gantt|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/68/248841a79f1609e10000000a155106/frameset.htm]
    [JNet/JGantt Developer Documentation|http://www.sdn.sap.com/irj/scn/index?rid=/lw/uuid/f010ec31-9658-2910-3c83-c6e62904eceb&overridelayout=true]
    The JNet Documentation contains additional examples, sadly there is none for Gantt. But it shows clearly the power of JNET.
    If you get your hands on a PPM 5.0 installation, I highly recommend to analyse the newest cProjects-Gantt-chart which is amazing.

  • How to get the values multiple times for the specified element - ABAP IXML.

    Hi all,
             i have requirement to get the values for the specified elements multiple times. eg:., if the element is used in the xml 4 times then i need to get all the 4 values.  here is the sample xml,
    <View mmRelease="6.30" mmVersion="2.0" mmTimestamp="1180099591892" name="Comp_viewtestView" package="sap.com" masterLanguage="en">
    <AbstractView.InboundPlugs>
    <InboundPlug name="ip2">
    <ParameterizedFeature.Parameters>
    <Parameter name="ippara2">
    <Parameter.Type>
    <Core.ForeignReference modelName="DtDictionary" package="com.sap.dictionary" name="binary" type="DtSimpleType"/>
    </Parameter.Type>
    </Parameter>
    </ParameterizedFeature.Parameters>
    </InboundPlug>
    <InboundPlug name="hi">
    <ParameterizedFeature.Parameters>
    <Parameter name="hipara">
    <Parameter.Type>
    <Core.ForeignReference modelName="DtDictionary" package="com.sap.ide.webdynpro.uielementdefinitions" name="Visibility" type="DtSimpleType"/>
    </Parameter.Type>
    </Parameter>
    </ParameterizedFeature.Parameters>
    </InboundPlug>
    Here i need to store the following values in internal table, the element to get the values are,
    (1) InboungPlug name and the respective values of "Parameter name" and "Parameter type" name value.
    The output will be of 2 records & values should be
    Inbound plug name = ip2
    Parameter name    = ippara2
    Parameter type      = binary
    2nd record
    Inbound plug name = hi
    Parameter name    = hipara
    Parameter type      = Visibility
    These 2 records should be in internal table and then i will be passing to database table...
    Can anyone provide me the code for the above......
    Thanks in advance,
    Vishnu.

    I didn't get ur requirement..
    As per my understanding, upload the XML file into an internal table and then loop over the internal table and get the values for ptype and pname..
    XML ABAP  -  may b helpfull
    Edited by: Veeranji Reddy on May 7, 2009 2:10 PM

  • ABAP Webdynpro Development - Script Error when Accessing Visual Elements

    I am encountering a strange error at my client .  I can't use the Abap Webdynpro visual elements to build views .
    To reproduce the error :
    - T-code SE80
    - Open up any ABAP webdynpro component .
    - Open up one of the view  and go on Tab Layout .
    Normal Screen : You would see many WYSIWYG items ( buttons, radiobutton , text elements etcu2026. ) at the left side u2026 these elements are used to build the view .
    Here : No elements displayed and when we click on that area we get an error   . 
    Instead of the elements to get displayed .. lines are displayed and when you try to open up ( click ) the lines , an internet explorer script error stating the following occurs ( although the abap wendynpro is edited in SAP Gui ) :
    An Error has occured in the script on this page .
    Line : 1
    Char : 25
    Error : Object Required
    Code: 0
    URL : http://hdrerpdev05.bchydro.bc.ca:8100/sap/bc/wdvd/toolbar.html?_vdrespkey=4KE8FGJO3P88DO8K5XCEYHTEA&_vdframe=toolbar&usedynp=&usepat=&sap-client=100
    Anybody had had the same kind of error before ^^????
    Thanks and Best Regards !

    Hi,
    we are getting the some what related errors in SE80 -> Web Dynpro Layout
    An Error has occured in the script on this page .
    Line : 1
    Char : 1
    Error : Object Expected
    Code: 0
    URL : http://<FQDN>:8000/sap/bc/wdvd/painting.html?_vdrespkey=4KZ4LYLFQA2I7X53H3CRICKFC&_vdframe=painting&sap-client=230
    An Error has occured in the script on this page .
    Line : 110
    Char : 2
    Error : Could not complete the operation due to error 80020101
    Code: 0
    URL : http://<FQDN>:8000/sap/bc/wdvd?_vdrespkey=4KZ4LYLFQA2I7X53H3CRICKFC&_vdframe=no_add_ui_lib&sap-client=230
    Recently, we have upgraded our ERP system (SAP ECC 6.0 SPS17) with EHP4 SPS8. SAP_BASIS and SAP_ABA patch level same on 701_0008.
    FQDN is mantianed at icm/host_name_full parameter in system as well as in /etc/hosts file with associated system IP address.
    As suggested by  Ted Dinh,  we do not find any duplicate MIME files in our MIME Repository (SE80) and we cleared/invalidated  ICM cache many times in problem analysis.
    As suggested by  Thierno Diarra , in our affected system domain WDY_MD_UI_ELEMENT_CATEGORY is well maintained in value ranges.
    We have raised SAP OSS Message for the same, they told us to check dns server connectivity/settings with the affected system. we did the suggested DNS settings in affected system. But  still the same error message is occuring. They have suggested same sap notes like #979039 and #1009930 & #1483210 , but all the corrections/suggections/SICF service status as mentioned, are found OK in our system.
    Regards,
    Bhavik G. Shroff

  • Using customize portal theme for abap webdynpro.

    Dear all,
    I have a customized portal theme where we used different color for the portal. When I create a abap webdynpro application for a workflow task (the application will launch when user click on the item in the UWL). When the application launch, it does not use the customized portal theme instead it just use the standard theme.
    Anyone knows where can I configure it?
    Thanks
    Regards
    Bryan

    Hi Brian,
    You can change the color of a table only if u have the Textview as UI element for cell.
    You can change the semantic color property of textview.
    Please check this.
    I would suggest you to use ALV instead of Table as you can change its colors easily by using functions like SET_DESIGN
    GET_DESIGN of IF_SALV_WD_TABLE_SETTINGS.
    I hope it helps.
    Please revert back with issues.
    Regards,
    Sumit Oberoi

  • Image UI element is  not displayed in Abap webdynpro application

    Hi Experts,
    I need your advice on below issue.
    I have created new ABAP Webdynpro application just to
    display employee photo.
    When loading the application, I generated a dynamic URL for
    a image in webdynpro application path in cache to map to Image UI Element. It
    is working well in DEV and QA environment. But it is not displaying when loaded
    in PRD system.
    Please suggest where to check the cache properties in system
    in order to resolve this issue.
    The user can access the application path, is there any chance for security issue in the same path?
    I suspect the URL is cleared before user access it, can it be controlled via any config?
    Looking forward for your valuable inputs.
    Thanks,
    Swetha

    HI Swetha,
    Maybe the image is not present in MIME repository for the PRD system.
    Please check.
    Regards,
    Hancila

Maybe you are looking for