MSS Web Dynpro code modification

Hi,
We are using XSS component on top of ECC 5.0. I need to make a small change to the standard Web Dynpro code delivered by SAP. Is there is an alternate way to modify the code without implementing JDI? Your thoughts are welcome...
Regards,
GN

Hi Raju,
Could you please gice me pointers on how to go about modifying the standard SAP ESS/MSS Web Dynpro applications?
Is there any documentation for doing the same?
Thanks and Regards
Paddie

Similar Messages

  • Web Dynpro Code Wizard doesn't have context tab

    When doing web dynpro development and when clicking the Web Dynpro Code Wizard, I can't see the context tab.  It looks like this: [http://twitpic.com/z2q92].  In other SAP systems I have seen the wizard look like this, where it has two tabs one of which is the context tab: [http://twitpic.com/z2qgh].  As the context tab is very useful, I would like to know how to get it to display. 
    I have searched in the SE80 settings and can't find any option related to this.  I also searched the forums here and could not find any related posts.  We're using the 700 release level 13 (as seen in this screenshot: [http://twitpic.com/z2qkf]).  Is there something I can do to make this tab appear?  If we need to implement a note or a newer support pack, which one would it be?

    As you stated the system without the context tab is NetWeaver 7.0.  The context tab and the extra wizards were new features in NetWeaver 7.0 Enhancement Package 1.  Your system would have to be updated to this NetWeaver Enhancement Package level in order to have this functionality.

  • Error «The entered value is not on the list of valid values» in the hierarchy of mss web dynpro abap

    Hello Experts
    The error «The entered value is not on the list of valid values» in the hierarchy of mss web dynpro abap occurs after manager’s following actions:
    selected detailed Team View ;
    selected hierarchy;
    changed style of the hierarchy to any other (for example, the vertical);
    the error occurs after attempting to do any action.
    Our system is EHP7.
    If someone faced with this error, please give me advice how can i resolve this problem.

    Hi John,
    Sorry for the delay in replying. No, we do not have the same problem if we understand you correctly.
    "We have bypassed the MSS Home Page and just embedded the Detailed Team View as a standalone application in our MSS portal role" - we also made for the our customer. BUT we have error «The entered value is not on the list of valid values» in our standard system.
    Regards,
    Andrey

  • Web Dynpro Code Wizard - code patterns

    Hello,
    the code patterns that are generated by the very helpful Web Dynpro Code wizard seem to be a little inconsistent in their syntax structuring.
    If I were to ask the wizard to read me a context node - I would get something like (some bits removed for brevity):
    data lo_nd_result type ref to if_wd_context_node.
      data lo_el_result type ref to if_wd_context_element.
      data ls_result type wd_this->element_result.
    * navigate from <CONTEXT> to <RESULT> via lead selection
      lo_nd_result = wd_context->get_child_node( name = wd_this->wdctx_result ).
    * get element via lead selection
      lo_el_emp_search_result = lo_nd_emp_search_result->get_element( ).
    * get all declared attributes
      lo_el_emp_search_result->get_static_attributes(
        importing
          static_attributes = ls_emp_search_result ).
    Yet if I were to ask the wizard to generate a message I would get:
    *  get message manager
    data lo_api_controller     type ref to if_wd_controller.
    data lo_message_manager    type ref to if_wd_message_manager.
    lo_api_controller ?= wd_this->wd_get_api( ).
    call method lo_api_controller->get_message_manager
       receiving
         message_manager = lo_message_manager
    *  report message
    call method lo_message_manager->report_t100_message
       exporting
         msgid                     =
         msgno                     =
         msgty                     =
    *     p1                        =
    *     p2                        =
    *     p3                        =
    *     p4                        =
    *     msg_user_data             =
    *     is_permanent              = ABAP_FALSE
    *     scope_permanent_msg       = CO_MSG_SCOPE_CONTROLLER
    *     view                      =
    *     show_as_popup             =
    *     controller_permanent_msg  =
    *     msg_index                 =
    *     cancel_navigation         =
    *     enable_message_navigation =
       receiving
         message_id                =
    Edited by: Thomas Jung on Apr 27, 2010 8:56 AM

    post  split to avoid silly size/formatting limits
    Ok - both work - but one is using the:     
    result = class_ref->methodname( parameters = paramvalue )
    and one is using 
    call method class_ref->methodname
                                      exporting parameters = paramvalue
                                    receiving result = result.
    As I often have to review code written by others, I encourage them to use these wizards - it helps speed code and prevents simple mistakes.  But code that contains multiple different syntax structure approaches is harder to read (albeit only slightly), moreover - it looks sloppy.
    But why are they not consistent in their syntax structure? (one could also argue why do we have multiple syntax structures for the same operation - but that's a different discussion).
    Is there some way customers can update these structures to match with their own internal coding standards - or something we can change so that they go one way or another?
    I look forward to other's thoughts on the same topic.
    Cheers,
    Chris

  • Web Dynpro Code Generator

    Hi All
    In webdynpro some files will be generated by "Web Dynpro Code Generator" internally and keeps in gen_wdp folder. One of the file (that is Internalview_XXX.java file) generated by this generator contains the methods which are duplicated there by at the time of DC build it is giving errors such as already defined
    Thereby deleting these gen_wdp folder also does not solved my issues please any one can help me in this issue.
    Regards
    Prasad.

    Hi,
    You are correct - files in the gen_wdp folder are generated by NWDS using the WDP Framework.
    Have you tried to edit these files directly? If so you will need to a second WDP project and create the view, then add whatever coding you did onthe older view. Finally you can delete the old view and replace it.
    It is not guaranteed to work - but unless I have more information on what you are trying to do - I will not be able to give more help.
    Hope that helps.
    Thanks.
    p256960

  • Weblog for Simple way to debug ESS and MSS Web Dynpro Java applications

    Here is the link to the new Weblog topic "Simple way to debug ESS and MSS Web Dynpro Java applications"
    /people/yugandhar.reddy/blog/2011/03/26/simple-way-to-debug-ess-and-mss-web-dynpro-java-based-applications--very-useful-technique

    Thanks Siddharth. I was trying as you suggested, I was trying to add the link to the FAQ's but looks like the wiki is locked or I dont have permission to create a page in it. Is there any other way to do it?
    Edited by: Yugandhar  Reddy on Mar 28, 2011 5:04 PM

  • Search for users in a particular LDAP through Web Dynpro code...

    Hi Experts,
    Let me try explaining my problem. In my project we are using two ADAM LDAPs. One for storing internal users and the other for storing external users. I have configured the portal to connect to both the LDAPs. I am able to search for the users created in both the LDAPs through portal Indentity Management.
    I am trying to search for the users in a specific LDAP through Web Dynpro coding... I am not lucky enough to get it done. Let me explain you what I did.
    I created a custom attribute for UME through config tool. Gave a physical mapping for the custom attribute in dataSourceConfig_xxx.xml to the LDAP attribute distinguishedName which returns the distinguished Name for the user in ADAM LDAP.
    For Example: Custom attribute in UME is ldapuser which is mapped to distinguishedName attribute in ADAM LDAP in dataSourceConfig_xxx.xml.
    When I do a search for the users in a particular LDAP, I am trying to put a filter to the newly created ldapuser attribute to distinguish between the two LDAPs.
    The search will result if I pass the value as '*'. If I try to specify the user path for the LDAP in this attribute it doesnt result any data.
    For example:
    userSearchFilter.setSearchAttribute(
         "com.sap.com.cust.admn",
          "ldapuser",
         "OU=16482515,OU=Members",
         ISearchAttribute.LIKE_OPERATOR,
         false);
    The above code will not return the data, whereas
    userSearchFilter.setSearchAttribute(
         "com.sap.com.cust.admn",
          "ldapuser",
         ISearchAttribute.LIKE_OPERATOR,
         false);
    Will result with user list from both the LDAPs.
    If anyone tried searching for users in a particular LDAP through code, please help me with this issue.
    Thank you in advance.
    Regards,
    Rekha Malavathu

    I just figured it out. Under "group-policy GroupPolicy_COMPANY_SSL_VPN attributes", I had to add "vpn-simultaneous-logins 15". Apparently, it was using the value "vpn-simultaneous-logins 0" under the NOACCESS group policy.

  • One section data of adobe form is not read by web dynpro code

    Hi,
    I am facing problem in adobe form integrated with web dynpro. Form is having Java script. There is a section in the form related to settlement rule of wbs. It can be added in the form by pressing add record button.
    When I use this form offline and press add record and one section is added. I fill the data in those two section and upload on the portal to process online data in the second section is not reaby the code whereas in the first section is present there.
    But if the same activity is performed online data is properly read by the code.
    Could you please assist if there is any issue of saving data in the form offline and how it is handled in offline form.
    Thanx..

    Hi ,
    Try this.
    I think  you have corresponding context node is in the WDP. using  'APPEND INITIAL LINE TO'  just add  some blank data to the context. .
    Inside the form, create a table  for the context node. so at  run time all the empty entry will be displayed. Make this Table as hidden.
    Create another  Table that will display all the non empty row from  the above hidden table. When ever  we add / delete rows, the corresponding entry will update the hidden table. or else you can update the  hidden table on the click event of SUBMIT .
    Hope  this will help you.
    Regards ,
    Shaira

  • Web Dynpro Code Wizard in WDJ??

    Hi Guys,
    in Web Dnypro ABAP I frequently use the Code Wizard Tool to generate source code, call methods in controllers etc.. I guess you know what tool I mean..
    Is there such a thing for Web Dynpro Java as well?? Let me know!!
    Later, Johannes

    Hi,
    there is no code wizard in webdynpro Java. But You can use cntrl+space to see methods.
    Example you just type wd then press cntrl+space then you can see all the interfaces and classes starting from wd like  wdcontext,wdcomponentAPI etc. After that press dot(.) and see the methods under it.
    I hope it helps.
    Regards,
    Rohit

  • Experiences - Applying support packs to enhanced SAP Web Dynpro code

    Just thought I might highlight some experiences we've had with applying support packs for XSS. (Reply if you have your own experiences or a proven better way)
    Firstly, we are using Travel within XSS and have some significant developments to get this working globally.  Rightly or wrongly, we added our own DC's within the ESS application area and need to take this into account during support packs.
    As advised by SAP, we have not directly applied the support pack source code to the modified track, but created a separate SPXX track which we manually need to reaply all of our changes.  It dissapoints me that SAP don't recommend doing what the help.sap.com states, but there must be a reason for this (supposedly the meta data tool not yet available in NW04 will address the main reason).
    In order to get our custom DC's from the old track to the new; I needed to add all non-generated objects to an activity, connect SPXX-1 track to the SPXX track and transport all the way through to the approval stage to get it migrated (the connection can be terminated after this is done).  Again - Less than ideal, especially if you accidentally transport a generated file or miss a file.
    Then for all SAP Web Dynpro changes, we've documented all changes to the nth degree and it's at this point we manually reapply the changes - taking into account any SAP changes that may have occurred.
    I hope SAP promotes doing this a better way soon, but here's a process for anyone else needing to do this.
    Regards,
    Matt

    As you stated the system without the context tab is NetWeaver 7.0.  The context tab and the extra wizards were new features in NetWeaver 7.0 Enhancement Package 1.  Your system would have to be updated to this NetWeaver Enhancement Package level in order to have this functionality.

  • Problem while moving Web Dynpro code from one env to other

    Hi Experts,
    I have developed some Web Dynpro program in Development Environment. The Web Dynpro program uses BAPI and gets data from R/3.  I have to transfer the Web Dynpro program to Quality environment. When I am trying to compile, I am getting following error message:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'DT8_METADATA' in the SLD. No such JCO destination is defined in the SLD.
    In Development environment, I have created JCOs called DT8_METADATA and DT8_METADATA. Is it important for me to create same named JCO in Quality as well.
    Regards,
    S

    Hi,
    the JCO destination names u have created in Dev also needs to be created in Qlty also with targetd destination msgserver.
    This might helps you to run in Quality.
    Thanks,
    Lohi,

  • MSS web dynpro personalization fails

    We have upgraded to NW04s SP10 (standalone protal) and ERP2005 ECC 6.0.  When we use the web dynpro personalization (preview iview, ctrl+right mouse click) we are able to change labels, fields, etc. and we can see the change when we choose apply/ok.  If we then close the preview and preview it again the change is gone.  Help!  I have also opened a customer message with SAP.

    Hi Daniel,
    Did you get this issue sorted out.
    If so could you please tell me how to replicate the changes done through ctrl+right click(UI Personalisation using Portal).
    Regards,
    Sreenath

  • Exclusive Checkout - Web Dynpro codes from NWDI

    HI, SDN fellows.
    I imported the SC Configuration, and created the project of the DC. When I try to open the file, just wanna to view the codes (not plannig to change them). There is a pop up message with check box - "Exclusive Checkout".
    What is the meaning of "check" or "uncheck" the "Exclusive Checkout"?
    In my case (just wanna to view the codes, not planning to change them), should I "check" or "uncheck" it?
    Thanks,
    Kent

    HI,
    when you try to touch any file in DC which belongs to NWDI track, NWDS will ask you to create activity to insure you are not going to make any changes accidently..
    when you just want to see the code, and have no intention to touch source, then just dont checkout it.
    In your case don't check out anyhting, if pop up comes then just cancel it.
    whatever Marlo said about exclusive check out is right.
    not only you can exclusively check out your file but a complete DC also. so when you are working on any DC nobody would able to touch it, it becomes read only for every other user except you.

  • No NWDI activity asked while modifying the Web Dynpro java code

    Hi,
    We have 2 team in our project, one offshore team and one onsite team. We have NWDI also in our landscape.
    I have created 1 project in my local NWDS from DTR using create project  option from NWDI track , when i do any modification in that web dynpro code once it appears in my local NWDS, its asking for the activity, all this is fine.
    But when my offshore team send me this project from offshore (offshore team also working on this project), i go to my local machine under C:\Documents and Settings\user\.dtc\0\DCs\xyz.org\.. (workspace, where all the project folders are created in my local machine ) and replaces the web dynpro project  (which i created using create project option from NWDI track ) with the project which offshore teams gave me  that is I copy paste the project folder I received from offshore team.
    I closed the NWDS and reopened NWDS, i did repair and reload also, but now when i try to do any code modification in that project its not asking any activity at all. So i want to know the reason why its not asking activity at all while modifying the code.
    if now i do any code changes, and since no activity is asked, it wont be transported to QA and Prd system.
    Can anyone have any suggestion on this..

    Hi GLM,
    I think you might be right that some files are in read as well as write mode. I went to my local machine and checked the project folder C:\Documents and Settings\user\.dtc\0\DCs\xyz.org\testproject\_comp\.dcdef  file , its not in read only mode, that is read only flag was not checked.
    I again checked the mode of .dcdef file in other web dynpro projects which are asking for the activity in all those projects mode of .dcdef was read only that is read only flad was checked in .dcdef file.  ( I am not sure is .dcdef file only giving this problem that si because of this file not in read only mode I am not asked for the activity)
    So could you plzz tell me how to make in read only. when ever i click the read only check box of .dcdef file and reload the project in my NWDS. that read only check box is getting removed. how to do this..
    regarding your query, landscape in offshore team and onsite team are different, client has not provided nay access to its landscape to ofshore team so offshore team can not check in / check out the code written by me and same applies to me I can not check in / check out the code written by offshore team , only option is offshore team do some changes in the code and send the project folder via email and I have to deploy in client landsacpe and do further modification.

  • Transport ESS MSS changes and new web dynpros

    Hi ,
    How do we transport the changes that we  make to ESS/MSS web dynpro screens and how do we transport the new web dynpro applications that we develop?
    Appreciate any suggestions.
    regards
    Sam

    Hi Sejoon,
    Why do you want to copy the DC's to a custom SC. It gives you a lot of problems with references in the WebDynpro's and in the backend customizing.
    The ESS/MSS applications are in a separate business package which you don't need to upgrade whenever you apply a patch to your portal, so there is no administrative effort.
    Also, if you copy the DC's to a custom SC, and you do want to upgrade the package, then you still have to copy the DC again, and redo all your changes.
    Anyway, SAP's recommended approach is described in the NWDI cookbook; it says not to copy the DC's, but change directly in the original.
    Johan

Maybe you are looking for

  • Getting message that Windows 7 not genuine

    I bought a Thinkpad X200 at the Lenovo Outlet that was supposed to have Windows 7 installed.  Instead, it had XP and Lenovo had to send me disks for Windows 7.  After working for over a year, I started getting a message "Windows 7 Build 7601. This co

  • Problem with MathType and CS5 due to InDesign

    We publish Math and Science curriculum and we run into the problem below. the second bullets is imported wrong in CS5. Is there a work around? (I also emailed Design Science). We'd rather use CS5 since all our other subjects are done in CS5 and we wa

  • Multiple SQL_HANDLE_DBC handles do not work on Linux

    Hello, I am seeing the following error from the SQL Server Driver For Linux when I attempt to execute a query on a SECOND connection within my application: SQLSTATE: IM001 Native Error Code: 0 Message: [unixODBC][Driver Manager]Driver does not suppor

  • Which Product Costing is most used By order, By Period, By Sales Order?

    Hi, As you know there are three types of product costing. Product Cost by Order Product Cost by Period Product Cost by Sales Order May i know which product costing method is widely used in the industries?

  • 3D Pie Chart

    Hi all, Just wondering if anyone can point my sniffer in the right direction. I am looking for some way be it an applet or some other method to produce a 3D pie chart using Java. I have seen some impressive examples by doing a search on google but th