Generated code WebDynpro ABAP

Hi all,
I am setting up a tool that counts the number of specific lines written for a SAP project, for KPI purpose. It is already working for reports, includes, functions (group and functions), classes, BSP applications and so on....
I am now looking for a way to count the lines of codes written in a Webdynpro ABAP application. Does anyone knows where is the code generated? In what format (classes, reports) ?
Quick and Helpful answers will be highly rewarded.
Yann

Hi Yann,
Code will be generated as class. IF you want the class name of current webdynpro component  that is generated, right click on the webdynpro component -> select check -> extended syntax check. New window will be opened in which program name will be specified. Remove the "" ==CP" suffix and remaining part is the class name of the current webdynpro component.
Thanks,
Prashanth

Similar Messages

  • SM30 Table Maintenance Generator in Webdynpro ABAP

    Hi Experts,
    I am new to Webdynpro.
    Can someone explain me the steps in having the Table maintenace feature in Webdynpro ABAP ?
    We are having a custom table in ECC for which the entries will be updated from Webdynpro.
    Thanks in Advance,
    Regards,
    Vivek K

    Hi,
    for table maintenance in WD4A I prefer ALV grids. Lazy as I am, I'll just point you to this step-by-step scenario ) :
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1?quicklink=index&overridelayout=true
    Alternatively you can also make a transaction for the Maintenance view and include the Transaction in the Web Dynpro, but I wouldn't  reccomend this..
    regards, Lukas

  • Webdynpro abap from crm 2007

    Hi guys,
    I have one question, is it possible to generate a webdynpro abap page showing an alv from crm.
    Thanks!!
    Jon

    Hi,
    you can create WD reports and may be able to call them by using their URLs. Use the call_browser function to call the application.
    Regards
    Prasenjit

  • Reg calling Transaction code in Webdynpro ABAP

    Hi All,
    Can I call Transaction code in Webdynpro ABAP Portal Application. If so, how can this be possible? Can anybody give me a lead?
    Thanks.
    Kumar Saurav.

    Hi,
    The most easy Way is here:
    1) Test any Webdynpro Application from SE80 when the webdynpro Browser opens to display output
    Copy its HTTP link, Suppose we get the below link
    http://r3d01web1.Siemens.dk:8001/sap/bc/webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN
    2) Now replace some part of the above link ( webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN )  with the new link part ( gui/sap/its/webgui?~transaction=PA30 )
    So that the newly generated link is such that the below one:
    http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30
    Note in place of PA30 you can put any of your desired tcode.
    3) Now Just Make a webdynpro component and in its View layout put a LINK TO URL ui element
    and in its property REFERENCE just past the http link ( http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30 )
    4) Activate and test your webdynpro Application.

  • How to use Java code inside WebDynpro-ABAP

    Hi,
        How to use Java code inside WebDynpro-ABAP.
    Could any one provide sample code.
    Cheers,
    Sam

    Hi Sam,
    We can't Bring Java Inside the ABAP. Both are running in different Environments.
    and also ABAP Codes are runs on BASIS.
    -Basis is a middleware between ABAP codes and Ur OS.
    -Contains set of programs to load,RUN,intepret the ABAP program..
    So Both are Different.
    Regards,
    Ramganesan K.

  • ABAP Query - Differences in generated code after upgrade

    Hi all,
    We have upgraded to ECC 6. from 4.6C. We are experiencing differences between the behaviour of some queries in different systems. This can be as subtle as some of the output parameters not appearing on the selection screen (such as the options within the output format box, i.e. ABAP list, ABC analysis etc), to actual syntax errors in queries where there is no difference between the infosets and queries in the two systems.
    A pattern I have noticed is that there are big differences in the generated code behind the query transaction.
    In production, where we have the problems, the generated code contains a lot of include programs starting with /1BCDWB/, I am not sure what these are, but the generated code in the systems that work don't have these. I am not sure what is triggering the code to generate differently, but I think if I can find out then it will point me in the right direction.
    any help appreciated.
    Stephen

    Stephen,
    I have noticed the queries are generated with two different formats. One is very compact and has multiple different includes each for data, selection screen, various selection screen events, etc. Other is a single big non-modular program.
    We have also noticed generated program template gets reset to the non-modular kind, if additional code is added in the selection-screen code section of the infoset. They do not return to the original even after you undo the changes.

  • How to Generate New Version of Enhancements done to Std WebDynpro ABAP obj

    Hi Experts,
    We have enhanced a SAP Std WebDynpro ABAP component (HAP_DOCUMENT_BODY) using Enhancement framework provided by SAP. Multiple enhancements were done on the same component for different requirements. Now, under the Enhancement Implementations folder of this component, you can see 5 enhancements of the component each referring to the 5 different changes done (most of the changes were done to the same view ).
    These changes has now been transported to the Quality System. Now, the client wants one of the changes to be removed. I am not sure of the impact of removing, for eg: the 3rd enhancement,  on the other changes done as multiple enhancements were done in a mixed manner.
    What i want to do is to generate a new version of WebDynpro component on Dev which has all the enhancements done so far using Utilities -> Versions -> Generate new version. Then try to delete the 3rd enhancement folder, so that if something goes wrong, I can always revert to this newly created version on DEV which has all changes available.
    Questions:
    1)  Before that, I would like to know if I can generate versions of the enhancements done of WebDynpro ABAP using enhancement framework by using Utilities -> Versions -> Generate new version ?
    2) If yes, I want to generate one version which has all the enhancements done so far using enhancement framework. For doing so, where should i do the click or selection (Is it Std Main Component or is it Enhancements in the enhancements folder-if so, there are 5 of them, and which one??) before i go to  Utilities -> Versions -> Generate new version. I am not clear where i should select or keep the cursor selected on before generating a new version? 
    Please guide with step by step details.
    Thanks,

    I have moved this post to the HTML5 layouts forum, which is more appropriate.
    I am guessing you are using Rh11 as you have a trial copy. I have some instructions for Rh10 and the only difference should be the script used. See the contact page on my site and request those details. Include a link to this thread.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Calling Java code from Webdynpro Abap UI

    Hi All,
    Can anybody tell me, How to make calls to java code on a button click from webdynpro ABAP UI ?
    Thanks in Advance.
    Jenish .V. Joy

    Hi Jenish,
    As I am new to WebDynpro for ABAP I could not help you out exactly.But See this link which will help you to create applications in WebDynpro by using ABAP language.
    https://www.sdn.sap.com/irj/sdn/developerareas/abap?
    rid=/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    If you get any answer for your question let me know.
    Regards,
    Karthick K Eswaran

  • Change in Webdynpro ABAP(FITE_EXPENSES) iView standard code in Portal.

    Hi,
       We are on EP 7.0 with ESS 1.2 and MSS 1.0. In Backend R/3, we have applied EHP2 for Webdynpro ABAP screens. In travel & expenses -> Create Expense report we have a requirement where we need to put our logic for calculation of receipt amount based on no of travel days.
    for E.G. For a particular Expense type the amount per day is 100. While creating expense (Enter Receipts portion) user selects this expense type and based on no of days the receipt amount should get changed. For 4 days the amount would be 100 * 4 = 400. We need to code this logic in the standard Webdynpro Abap iView for Create Expense Report(FITE_EXPENSES).
    Can I get some pointers for this change.
    Regards,
    --VP.

    Dear Hayerk,
          Your requirement can be fulfilled easily. Have you tried hiding a button or a field or label in simple iView same is the case in your FITE_EXPENSES hiding scanned receipts button. What you can do is attach a super user to a HR user having a pending expense report to be created. Through content administrator you can preview mytrips and expenses iview in that go and click on create in tab ALL MY TRAVLE REQUESTS for expense report then on scanned receipts button right click -> user settings -> hide button.
    Regards,
    --VP.

  • Reading UME attributes from Webdynpro ABAP code

    Hi,
    We have a requirement in our project where we need to read the UME attributes for a logged in user in the webdynpro ABAP code. The attribute in question is "SAP Vendor Number" which is maintained as UME attribute for each user.
    Is there any standard FM or BAPI or webservice which we can leverage for this requirement?
    Else, any pointers regarding how to achieve this functionality would be helpful.
    Thanks.

    Hi kartik,
    BAPI_USER_GET_DETAIL Function module to get all the required details of the system user in one go. Here you need to give the SAP Logon Name (USerID) of the person to the function module.
    Or check if this are helpful.
    BBP_PARTNER_GET_DATA
    BAPI_PARTNER_GET_BY_IDNUMBER
    BUPA_PARTNER_GET_BY_IDNUMBER 
    BBP_PDH_GET_PARTNERS_FROM_USER

  • How to add set attribute method in webdynpro abap using code wizard.

    Hi developer,
    I am new to webdynpro abap , i have developed a small component from sap technical abap but i am not able to add the set attribute method using read context node /attribute in wizard code ,pleae guide me in solution.
    thanks,
    ravi.

    Hi,
    could you copy / past your code ?
    if you need help on webdynpro and your beginner, try to watch the video on internet of WebBProfessor. It's really good videos !
    regards
    Fred

  • WebDynpro Abap code to read IView Name

    Hi Friends,
    Could you please give me Webdynpro abap code to read the name of the Iview.
    Regards,
    Lakshmi Prasad.

    Hello Lakshmi,
    I dont think this is possible. If you want to differentiate from which iView your web dynpro application is launched, then you can pass some constant as Application Parameter in the iView. and in the web dynpro application you can read this parameter and perform your required logic.
    For example suppose say your web dynpro application is hosted in iView1 and iView2. In both the iview properties, pass a parameter (say IVIEWNAMe) with values 'iView1' and iView2 respectively.
    then in the Webdynpro -> Window Controllers' -> default event handler method, you read the parameter IVIEWNAME and based on the value you can peform your logic.
    BR, Saravanan

  • Creating a dynamic valuehelp in webdynpro abap

    Hello,
    I am doing some development in Webdynpro Abap.
    At this point I am unable to use the standard valuehelp provided in the system for selecting some values in an SAP HR system. Would there be any code samples for coding a custom value help in Webdynpro for ABAP. One of the things I have to be able to do is to dynamically generate the values of the valuehelp based on the value of some other fields on the screen that I am coding.
    Any code samples or links will be appreciated.
    Thanks for your help.
    Best Regards
    Sumit Agarwal.

    hi,
    Check out OVS Input help.
    /people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap
    http://help.sap.com/saphelp_nw04s/helpdata/en/47/9ef8c99b5e3c5ce10000000a421937/frameset.htm
    I hope this will help you.
    Thanx.

  • WebDynPro ABAP in adobe flex client

    Hi,
    I have some WebDynPro ABAP applications.
    I want to run them in adobe flex client as rendering medium.
    Is it possible.
    Best Regards
    Sid

    >
    Robert Gaertner wrote:
    > Good to know. That kinda sounds as if the webdynpro app itself will not have to be modified at all. Does this apply to CE webdynpro only or will be NW7.0 webdynpro apps supported the same way? How's the xBCML code generated? Will the CE be an requirement?
    That is correct - the apps do not have to be modified in any way.  Web Dynpro was designed years ago with this kind of future in mind.  The application rendering is separated in layers. One of those layers is the UI rendering itself.  It was strickly designed so that we could "plug-in" new rendering engines over time. 
    So what technically happens is nice bit of OO magic.  There are multiple implementations of each UI elment rendering class, but they all have the same interface.  That way the rendering engine can determine what kind of client it is building the UI for at runtime and substitute a different rendering engine by calling the correct subclass.  The first rendering engine that SAP supplied for Web Dynpro is what is called the Unified Renderer.  This is what produces the HTML and JavaScript UI that we run today in the browser.  In NW 7.0 EnhP1 ABAP and NW 7.1 CE EnhP1 we have actually rewritten this Unified Renderer completely - improving performance and adding in more AJAX functionality.  So this same plug-in rendering technology can be used to seemlessly overhaul the HTML renderer as well. 
    With this plug-in rendering technology we were able to build an XML based renderer.  This XML formatted output is what we call xBCML (Extensible Business Client Markup Language).  Actually if you compare the two rendering engines it is much easier to build an XML description of the UI then it is to build HTML/JavaScript. This nice, neutral XML description of the UI elements and their properties can then be sent to the client machine over HTTP/HTTPS and interpreted by different technologies.  We use this same XML format within a Flex, Silverlight, and .Net Client Renderer.  This is how SAP has built the Flex Client, Flash Islands, Silverlight Islands, and the NetWeaver Business Client Smart Client Renderer.
    On the ABAP side of the house for Web Dynpro we are bringing all of this new rendering technology to the 7.0 release via Enhancement Packages.  The dependency of the Business Suite to run on top of NetWeaver 7.0 is a pretty much a driving factor to make sure that new Web Dynpro technology for ABAP must make it into the 7.0 code line to be effective.
    The Java side is less clear.  We have really focused future enhancements to Java Web Dynpro within the 7.1 CE codeline.  Our current plans are to deliver this functionality to WD Java via CE  (some of it is already there in CE 7.1 and some will come later with CE 7.1 EnhP1). I would be a little suprised to see a backport effort to 7.0 Java given the focus on CE.  I realize that this leaves ESS/MSS in a strange location - so if there was customer demand around that application it might be the only thing to lead to a selective backport - but I certainly can't confirm that this will happen.

  • How can we display photo of particular person on webdynpro abap view

    hello gurus,
                     i am very new to webdynpro abap.i have one requirement.could any one can suggest me to overcome my requirement.
    in my requirement i have one view.in that view i need to display one photo image which ever saved on my desktoop.if i click on save button i should generate one doc number and update what ever the photo image i have displayed in the view against this doc number.after some time if give the doc number in to docnumber field and click on display button it should display what ever the photo we have saved previously against this doc number.this is my exact requirement.i think for this we need to maintain one Z table to stroe the photo and respective doc.number.for this how can we stroe photo against doc number in ztables.what is the type i supposed to give for photo image field.
    could you please any one suggest me on this and could any one send me the sample code if possible.
    regards,
    babu.

    Hello Babu,
    I doubt whether you can directly display the image from your desktop into the webdynpro application using Image UI Element. Only solution what I can think of is to load the image into the MIME folder and then bind the path of image in the Source property of the image UI element. But if you ask me this is not a good solution. Let me propose my solution. If no one get back to issue with better approach then you can follow the same
    1. whenever the image the is uploaded from the desktop, create this image in the MIME folder ( you search in SDN for creating objects in MIME folder )
    2. then bind the path of the image in Mime folder to the Source property of the Image UI Element
    3. Once the image is persisted in the DDIC table, delete the image from the MIME folder.
    4. to persist the image in DDIC table, create an attribute of type RAWSTRING.
    5. Whenever you want to display image from DDIC table into the UI, then again create the image in MIME folder and delete the image from MIME folder when you are existing from the application.
    Alternative would be to use the Mime repository for storing the image and in the DDIC table just maintain the Mime folder path for the document number.
    Hope this helps you.
    BR, Saravanan

Maybe you are looking for

  • FBL3n -billing document number

    Hi All, My user wants to see the billing document number for sales gl account in the fbl3n I changed the layout there i am getting the billing docuemnt filed but iam not getting the numbers Plz give me ur vluable suggestions Regards Renu

  • Synchronizing table to View in a Mapping.

    Hi All, I am trying to replace my table operators within all of my mappings to their corresponding views. If I do it from GUI it syncronizes/reconciles well, but I want to do it for all of the table operators in all of the mapping, that's why I tried

  • What's the gesture to get a text insertion point in iOS 7 Keynote?

    I was editing a new presentation. I find I have to tap repeatedly to edit an existing text area so I can get a simple insertion point and not a word selection or selecting the entire area or starting a re-positioning of the area. I have yet to figure

  • Cannot open illustartor cc 2014 files from bridge

    cannot open illustartor cc 2014 files from bridge... after I installed Illustrator CC 2014 and updated Bridge CC I cannot open the Illustrator files from Bridge as it seems the path for opening such files still points to the old Illustrator CC folder

  • Syntax of function

    hey hii i just wanted to know that is there any way to just find the syntax a inbuilt function in oracle?? like we have in cmd in windows or ny other thing the help command so we can know waht r the arguments required in that function.