Webdynpro ABAP code

Hi,
Any doc available to create webdynpro application using ABAP

http://help.sap.com/saphelp_crm50/helpdata/en/9d/9599386185c064e10000009b38f8cf/content.htm
chk it

Similar Messages

  • 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

  • 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

  • Calling a mime object in the WebDynPro ABAP code dynamically

    Hi ,
    Can anyone let me know the API to access the mime objects dynamically in the WD ABAP code. I have a text file in the WD ABAP component as a text file.
    I would like to pick the file with the help of API's and read the content of the file using Mime Object API's .
    Can anyone help me out in this.
    Best Regards
    Sid

    Hi,
    do the methods of CL_WD_WEB_ICON help?
    Regards, Heidi

  • WebDynPro ABAP iView Flickering

    Hello Everyone,
    This one is weird. I have WebDynPro ABAP iViews created in the portal which rendered fine. But suddenly, the iViews started behaving weirdly - they started flickering, as though the iView is being refreshed again and again so the display never finishes rendering anything. If I put on my headphones, I can hear the tap sound which you hear when you hit "Refresh/F5" on IE. This means for some reason, the iView is automatically refreshed and I don't know why.
    If I go to the WebDynPro App URL directly, everything seems to work fine. Also, I created a fresh new iView just to see if my old iViews are messed up, but the new one also flickers.
    Did anyone see this? Any suggestions what could have gone wrong between the Portal and the WD app?
    Any help is appreciated!
    Thanks,
    Kiran

    Here's the URL
    http://<portal>:<port>/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportal_content!2fcom.<company>!2fContent!2f<project>!2fGS!2fiViews!2ftest?sap-config-mode=true
    We wondered if the iView started falling apart after some strange logic was added to our WebDynPro ABAP code, so to test this we created a very simple app just displaying a 'hello' message. Even this app fails when an iVIew is created and previewed. The app works fine run directly on se80.
    There should be some thing wrong with the portal itself.
    Thanks,
    Kiran

  • 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.

  • 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

  • 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.

  • 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.

  • 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

  • Debugging ABAP Code From Within WebDynpro

    Hi experts,
    I would like to check whether i can debug ABAP code from within webdynpro if i m using a remote J2EE server.
    So netweaver development studio is on my machine
    J2ee server is on a remote machine
    R/3 is also on another remote machine
    Thanks.
    Rgds,
    Daniel

    Hi Daniel,
    One thing note here is
    "You have debugging authorization in the ABAP Workbench in the relevant system.
    Since debugging in the ABAP system via load balancing is not supported, you must reconfigure your JCO destinations so that the calls take place on a dedicated ABAP application server. For Web Dynpro, this is done in the Web Dynpro Content Administrator. In the destination maintenance, specify Single Server Connection as the Destination Type ".
    Other than that ideally it works with j2ee and abap on diff systems.
    Regards
    Ayyapparaj

  • Debugging ABAP Code From Within Webdynpro Application

    Hello Experts,
    We use ABAP RFC Function in Our Java Webdynpro application, We need to debug the parameters pass from the webdynpro application to the ABAP Function.
    In order to do that we:
    1. Defined a JCO connection with "Single Server Connection" as the Destination Type.
    2. We have loged on to the relevant system and client using SAP GUI with the same user that run the webdynpro application.
    3. We have activate the external debugging in se80 Utilities -> Settings
    4. We have set an HTTP (external) breakpoint in the ABAP code,
    As mentioned in the article:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e9a9d90-0201-0010-478e-991dbea73a30
    However, we recieve a dump in the R3 system:
    RFC_DEBUGGING_NO_DIALOG_USER
    ShrtText
    RFC debugging is only possible with dialog user
    What happened?
    You attempted to debug a program by RFC. However, in this destination
    there is a user whose user type permits communication without dialog.
    This means, for example, that debugging with a system user is not
    possible.
    What can you do?
    Restart the program and take note of the following:
    You can do one of the following:
    1. You can change the user listed in the RFC destination and enter a
    dialog user.
    2. In the target system of RFC you can change the user type of the user
    listed in the RFC destination to 'dialog'.
    3. You can avoid this runtime error by omitting the RFC debugging.
    If in the ABAP debugger the statement cursor points to the statement
    (CALL FUNCTION ... DESTINATION), you must choose the function
    'Execute'.
    We checked and the user we use is defined as dialog in SU01 and the user that the webdynpro use to call the functio is the same user as was logged in.
    What else should we do?
    Thanks,
    Eyal

    Hello Eyal,
    You mentioned the following..
    1. Defined a JCO connection with "Single Server Connection" as the Destination Type. 2. We have loged on to the relevant system and client using SAP GUI with the same user that run the webdynpro application.*<---The system that you logged into is your source system*
    3. We have activate the external debugging in se80 Utilities -> Settings
    4. We have set an HTTP (external) breakpoint in the ABAP code,
    and the name of the system defined in the RFC connection will be your target system.
    As per the response (dump error message) in this target system you need to have a dialog user.
    And this dialog user needs to be defined in the RFC destination that is being used to connect to the target system.
    Regards,
    Siddhesh

  • Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input

    Dear Friends,
    We are facing a serious problem for debugging. Expecting valuable input for the same.
    Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input in Production Server.
    The debugging (for WebDynpro-ABAP application) is working in Dev. Server for
    1st ] Within R/3
    Ex. debug for bapi within R/3. i.e. value enter as input in R/3 only.
    2nd ] From webpage to R/3
    Ex. Some input given on the internet web page developed through WebDynpro and external breakpoint set in R/3 it works. It directs to R/3 code through debugging.
    In Prod. Server the 1st case above is working but the 2nd case is not working.
    In Prod. Server the WebDynpro developed applications are running successfully through internet explorer webpage inputs. So running the application is not a problem in prod. Server but debugging of the same is the problem.
    The setting which are done in Prod. server are,
    1] RZ10 in parameters are set for port and host name.
    2.1] In SMICM check for ICM.
    2.2] Host file updated in Windows-System 32.
    3] In SICF following services are active,
    3.1] default_host/sap/bc/webdynpro
    3.2] default_host/sap/public/bc
    3.3] default_host/sap/public/bc/webdynpro/viewdesigner
    3.4] default_host/sap/bc/wdvd
    3.5] default_host/sap/public/icman
    3.6] default_host/sap/bc/gui/sap/its/webgui
    3.7] default_host/sap/public/ping
    3.8] default_host/sap/bc/error
    3.9] default_host/sap/bc/echo
    4] In SE80
    4.1] Internet services-System-are published
    4.2] Internet services-WEBGUI-are published
    4.3] Utilities-Setting-ABAP Editor-Debugging-Username & New Debugger set.
    4.4] Utilities-Setting-ABAP Editor-Editor-Front-End Editor(New) set.
    5] In Su01 for user profiles sap_all & sap_new is assigned and role  SAP_BC_WEBSERVICE_DEBUGGER is assigned.
    6] The support packages are also updated to latest level.
    7] Gone through following links but not getting any clues.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/74d50bd1431b5ae10000000a42189c/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/EN/77/3545415ea6f523e10000000a155106/frameset.htm
    Thanks in Advance.
    Best Regards,
    Abhijit.

    No cross posting
    Read the "Rules of Engagament"
    Regards
    Juan

  • Error in opening webdynpro abap application

    hi All,
    I am facing below issue in opening webdynpro abap application, this is first WDA application in production system, please help me in resolving this issue.
    ============================================================================
    Error when processing your request
    What has happened?
    The URL http://grp.mysap.pg.com:9500/sap/bc/webdynpro/sap/zgpuvstapp/~ucfLOADING was not called due to an error.
    Note
    The following error text was processed in the system GRP : A request for server adln5412 has been sent to server adln5411; see Note 1364846
    The error occurred on the application server adln5411_GRP_10 and in the work process 3 .
    The termination type was: ERROR_MESSAGE_STATE
    The ABAP call stack was:
    Method: PREPROCESS_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system GRP in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server adln5411_GRP_10 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 3 in transaction ST11 on the application server adln5411_GRP_10 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 400 -u: BS6402 -l: E -s: GRP -i: adln5411_GRP_10 -w: 3 -d: 20100929 -t: 140306 -v: ERROR_MESSAGE_STATE -e: A request for server adln5412 has been sent to server adln5411; see Note 1364846
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    ============================================================================
    Edited by: brahmanandam ausali on Sep 30, 2010 4:11 AM

    Hi Shibli,
    I'm facing the same issue with the POWL only if called from a part of the network outside our country (Italy) so I think it would be a network configuration problem as you suppose. Can you explain us the configuration of the balancer and dispatcher to solve the issue?
    Thanks
    Mattia

Maybe you are looking for

  • Some music on iTunes (and on iPod) no longer plays

    Hello All, I recently restored my entire music library from my iPod to my freshly formatted computer. I used CopyTran to perform the operation (http://www.copytrans.net ) - it seemed to work well. I then noticed some tracks on my computer do not play

  • Face tag in iPhoto

    I had format my HD and reinstall OS then import my photos in my iPhoto library. but iphoto not recognize faces automaticaly for the photos for I had named allready earlier, please advice me, should i excercise once again to give name for all my photo

  • I am not able to connect to itunes store from itunes 10.5.2.11 on vista

    I get the message 'itunes store is not available because you aren't connected to the internet'. I can access other sites. i have itunes 10.5.2.11 on windows vista

  • Convert p type into c type

    hii experts, i have a structure. In that i use V(8) TYPE P. but when i save the file it gives dump. it needs TYPE C. so how i convert tthat PACKED type inco CHAR type. Please provide me the code. thanks babbal

  • How to debrick a WRVS4400N V2 Router?

    I've got a WRVS4400N V2 Router that just keeps rebooting itself. It powers up, the diag red LED stays lit, it gets part way through the boot process and reboots itself. I would like to try to reflash the device, but don't know if this is possible in