How to show program documentation in the dynpro?

hi everyone
i just wrote a short documentation for the abap programm and now i want to make a button in the menubar in my dynpro to show the documentation... how can i do this?

The function DSYS_SHOW_FOR_F1HELP will do the job I think - here's some sample code that should point you in the right direction:
report zlocal_jc_sdn_show_doco.
start-of-selection.
  perform show_my_doco.
*&      Form  show_my_doco
form show_my_doco.
* Popup doco for sy-repid
  data:
    l_dokclass          like dsysh-dokclass,
    l_docu_object       like sy-repid,
    l_title             like dsyat-child_titl.
  l_title       = 'Report documentation'.
  l_dokclass    = 'RE'.
  l_docu_object = sy-repid.
  call function 'DSYS_SHOW_FOR_F1HELP'
    exporting
      dokclass         = l_dokclass
      dokname          = l_docu_object
      doktitle         = l_title
      short_text       = 'X'
      appendix         = 'X'
    exceptions
      class_unknown    = 1
      object_not_found = 2
      others           = 3.
endform.                    "show_my_doco
Jonathan

Similar Messages

  • How to add program documentation icon on selection screen

    Hi All,
    Please let me know how to add  program documentation icon on selection screen.
    Thanks
    Jog

    THis is pretty straight forward, in se38, enter program name, click change.  Now click Go To, Documentation.  Enter the documentation on this screen, save and activate, now run the program,  the icon will be there.
    REgards,
    Rich Heilman

  • How to show Indian numbers in the Firefox ?

    How to show Indian numbers in the Firefox ?
    Like This : http://i52.tinypic.com/f1y3c5.png
    Not Like This : http://oi52.tinypic.com/23r0osm.jpg

    Thank you very much ..

  • How to  show additional items in the same window using stacked canvas

    How to show additional items in the same window using stacked canvas.
    My content canvas has 14 items, and I have to include more.
    I want to know how I can use a stacked canvas to show these additional items in the same window, so that I can scroll through horzontally , as if all the items are on one canvas.

    Well, I intially navigate into my content canvas. At this stage the stacked canvas is not visible, then how should I navigate to an item on the stacked canvas to make it visible?

  • How to show all items in the reading list? I think this option has been removed in Safari Version 7.0.2

    How to show all items in the reading list? I think this option has been removed in Safari Version 7.0.2

    Thanks. That solved it. I had my doubts since I wasn't concerned about my lost bookmarks. I was concerned about the broken functionality. In any event, restoring from a backup solved both the functionality and the lost bookmarks. I appreciate the response!

  • How to show all days of the year 1900

    how to show all days of the year 1900

    As you show days for any other year.
    Do you want to catch us on the fact year 1900 wasn't a leap year?
    Regards
    Etbin
    select to_date('1.1.' || :the_year,'DD.MM.YYYY') + level - 1
      from dual
    connect by level <= to_date('31.12.' || :the_year,'DD.MM.YYYY') - to_date('1.1.' || :the_year,'DD.MM.YYYY') + 1*** not tested ***
    Message was edited by: Etbin
    user596003

  • Calander shows only contact birthdays. How to show contact anniversary in the calander

    Calander shows only contact birthdays. How to show contact anniversary in the calander?

    In Contacts app pick a contact, tap Edit, below the birthday entry, tap add date, there you have your anniversary.

  • How to confirm program version in Web Dynpro for ABAP

    Hello expert
    I would like to know how to confirm the program version for Web Dynpro for ABAP.
    For ABAP we can confirm version using SE38.
    Best regards,
    Ichimura

    everything has a version
    View has a version.
    controllers have versions
    WD component also has version
    so double click on what you need and the follow the path

  • How to change Program Documentation ?

    Hi ,
    I have copied a SAP Progtram and modified it.
    The SAP Programs was in Language DE and I have translated it to EN.
    However,when I try to change the documentation of my Z-program,
    it says 'Maintain the document in language German' and does not
    allow me to make any changes in the Documentation.
    Any clues ?
    Thanks in advance,
    Sandip.

    HI
    GOOD.
    DO LIKE THIS
    ENTER THE NAME OF THE REPORT RASIMU02 IN SE38 INITIAL SCREEN
    SELECT DOCUMENTATION RADIO BUTTON
    SELECT DISPLAY
    IT WILL DISPLAY THE DOCUMENTATION IN ENGLISH
    SELECT ALL THE THINGS AND COPY THEM
    NOW
    GO TO PROGRAM->COPY
    GIVE YOUR Z PROGRAM NAME
    CLICK ON COPY
    IT WILL ASK TO SELECT THE REQUIRED CHECK BOXES
    DONT SELECT ANYTHING
    SELECT  ON COPY
    AND SAVE IT AS PER YOUR REQUIREMENT
    NOT OPEN THAT Z REPORT IN CHANGE MODE
    NOW
    SELECT GOTO->DOCUMENTATION
    IT WILL SHOW YOU ONE SCREEN WITH SOME TEXT ELEMENTS
    IN THE END YOU PASTE THE DETAIL DOCUMENTATION THAT YOU COPIED.
    SAVE AND ACTIVE BOTH THE DOCUMENTATION SCREEN AND PROGRAM
    NOW YOU SELECT THE GOTO->DOCUMENTATION
    IT WILL SHOW YOU THE DOCUMENTATION WITH THE TEXT ELEMENTS
    IF YOU COME TO THE INITIAL SCREEN AND GIVE THE REPORT NAME AND SELECT THE DOCUMENTATION CHECK BOX AND DISPLAY BUTTON IT WILL DISPLAY ONLY THE DOCUMENTATION OF THAT REPORT.
    I HOPE THIS WILL HELP YOU TO SOLVE YOUR PROBLEM
    THANKS
    MRUTYUNJAYA TRIPATHY

  • How to Show total value in the header 2nd page but based on 1st page footer

    How to show total value in header in report builder but i have the total have related with the total in footer.
    Example
    ===============================================
    Page 1
    Empno Ename Sal
    1 Scott 1000
    2 ALlen 2000
    3 Susi 1000
    Total Sal Page 1: 4000
    ===============================================
    Page 2
    Total Sal Page 1: 4000 --> How to get it?????
    Empno Ename Sal
    4 Budi 1000
    5 Roger 200
    6 George 2000
    Total Sal Page 2: 3200
    Please Help..
    Thanks

    hmm .. what i would do is
    - create a placeholder column
    - create a field in the header and one in the footer
    - have the footer field reference the summary column
    - have the header field reference the placeholder column
    - create a fromat trigger on the footer field to
    store the value of the footer into the placeholder column
    so when the report is executed and the footer field is formatted, the format trigger stores the current value of the summary in the placeholder. then the pagebreak occures and the header field is formatted .. printing the value.
    there might actually be an easier way, just reference the two fields to the same summary column and in theory, since there is nothing happening between the time when the footer is formatted and the header is formatted, the values should be the same .. however this is a theory and i have not actually tested this. since reports does all kinds of fancy optimization this might have unexpected results, but it's worth a try.
    thanks,
    ph.

  • How to show a pcd object in dynpro view

    Hi All,
    I have to show a PCD object in dynpro view but I can't use iFrame because it will show all header footer of portal not just view.
    what will be other way to show a PCD object in Webdynpro view.
    Thanks

    Hi John,
    Yes I want to display a iView only but of other type, will you please guide me how you have achieved it?
    Thanks

  • How to include BC documentation in the metadata repository

    Hi experts,
    Currently, my bw 3.5 system doesn't display the business content documentation in the metadata repository, the one available in the help.sap.com sitie.
    In the sap documentation is stated:
    "To include SAP Content documentation in the online documentation generated for metadata objects, it must be installed in plain html http format for static help and using a Web server. The Content documentation can then be read by the Web server from any front end platform using the http protocol, and displayed in a Web browser.
    You can find additional information about maintaining setting variants for online help (transaction SR13) in the Business Information Warehouse Implementation Guide (IMG), under the node General BW Settings ® Settings for Displaying SAP Content Documentation."
    however I can figure out how to put the bc documentation in my metadata repository
    I execute TC SR13, and has this entry in the PlainHtmlHttp tab:
    ONLINE-EN     WN32     IWBHELP     http://help.sap.com     saphelp_nw04/helpdata     EN   default is ON
    I appreciate an step by step solution for my problem
    thanks everybody

    I dont know if theres a way to do that....
    I think is not possibl because if you want to open the web pages of help.sap is requered that your SAP system would have http connection directly to internet and at least by a security issue no recommended.....
    Use sap help in web....
    Regards

  • How to find program which created the session

    Hi friends,
    can anybody tell me, how to find out the program name that as generated   perticular batch session in SM35.
    I have session name and i want to find out the program which created the session.
    Thanks in advance.
    Saya

    Hi Saya,
    Check table <b>TBTCO</b> and<b> TBTCP</b> to know about the program created by a session.
    Give Job name to TBTCP-JOBNAME and get report name in the field TBTCP-PROGNAME.
    Thanks,
    Vinay

  • How to show grouped data in the same table?

    Hi,
    I am using JDev 11.1.1.2.0 with ADF 11g.
    I have a below requirement
    I have a tbl as below
    Columns -==> RC TL Code
    Data ==> 0 0 Prof
    0 1 Prin
    0 2 Tech
    1 0 Prin
    1 2 Prof
    I prepared a query with a grouping on TL so that I can show my data as below
    TL - 0
    RC Code
    0 Prof
    1 Prin
    TL - 1
    RC Code
    1 Prin
    TL - 2
    RC Code
    0 Tech
    2 Prof
    Really confused on to what type of component should I use and how can the component be repeated once dragged and dropped onto the canvas. Is this possible using ADF? If not what is the alternative?
    Thanks in advance.

    Hi Bharat,
      Unload the Repository and Delete the Table and fields in Hierarchy table and Recreate and reload the data.OIther wise you have to lot of manual work.
    Thanks
    Ganesh Kotti

  • How to show processing screen while the submitted request is in progress?

    Hi SIM Experts,
    I have couple of requirements in SIM7.1.1.9, i.e.
    1. Whenever i submit a request, i need to show a *'Processing Screen'* (i.e. form indicating that my request is in progress) when my request is in progress.
    2. Once my request is completed, i need to switch back from *'Processing Screen'* to form from where request has been submitted.
    For Example:
    1. When i click on *'Search'* with some search criteria in say *'Search Users Form'*, system will take some time to fetch the search results. During this processing time, i need to show a *'Processing Screen'* to the end user.
    2. Once *'Search Users Form'* is ready with its search results, i need to switch back from *'Processing Screen'* to *'Search Users Form'*.
    I feel challenge is keeping track on the submitted request and switching back to the requested page.
    FYI, i was trying to implement this using SIM7.1.1.9 Workflows & Forms and couldn't able to get a solution.
    Any help makes my tasks to move ahead. Thanks in advance.
    Mahi

    Hi,
    Did you managed to solve the issue? I am into the same issue.
    The same question..Did you got any answer for this?
    How to use <div id='processing' --- --- ----> tag info in IDM Form?
    What I did so far is..
    I defined a js function and copied to /includes folder and updated commonScripts.jsp to include the js function which I added.The following is the js function I am using (I googled it and got this function)
    +function showLoad() {+
    var num = 0;
    var tim;
    var txt = "Loading, please wait ........";
    document.getElementById("a").innerHTML = txt;
    num +;+
    +if (num == 30) {  // erase after 5 seconds, adjust to suit+
    document.getElementById("a").style.display="none";
    window.clearTimeout(tim);
    +}+
    +else {+
    tim = window.setTimeout("showLoad()", 1000);
    +}+
    +}+
    On the Button OnClick property I mentioned showLoad() function, but for some reason I am getting the following error..
    getElementById() is null or not an object
    I think the getElementById() is expecting a required parameter but I am not sure how we can pass that ID from the IdM form.
    Please let us know how did you resolved the issue.
    Thanks in advance.

Maybe you are looking for