F1 help in report output

am giving hard coded message at output.
i want  F1 Help , can help me to get out of this problem?
do n't tell use DYN_FIELD_F1_HELP'
this FM, please give suitable solution.
Any funtional  module, anything please let me.
Please please, As early as posiible

Hi,
You can use the DESCRIBE statment ....
You can find out the identifier of the help text (F1 help) defined for a field in the ABAP Dictionary using the HELP-ID addition:
DESCRIBE FIELD <f> HELP-ID <h>.
If the field <f> is defined with reference to a data type from the ABAP Dictionary, the statement writes the help text ID into the variable <h>. You can use the ID in a suitable function module to display the help text.
<b>DATA: company TYPE s_carr_id,
      h(20) TYPE c,
      tlink TYPE TABLE OF tline.
DESCRIBE FIELD company HELP-ID h.
CALL FUNCTION 'HELP_OBJECT_SHOW'
     EXPORTING
          dokclass                      = 'DE'
          doklangu                      = sy-langu
          dokname                       = h
     TABLES
          links                         = tlink
     EXCEPTIONS
          object_not_found              = 1
          sapscript_error               = 2
          others                        = 3.
IF sy-subrc <> 0.
ENDIF.</b>
In this program, the field H receives the name of the data element S_CARR_ID. The function module HELP_OBJECT_SHOW displays the documentation for the data element in a dialog box.
Regards
Sudheer

Similar Messages

  • Help restricting report output

    Hi All,
    Just a quick caveat before I expose my significant ignorance, I have no SAP training or background. Nearly all of my SAP knowledge has come from Google Unfortunately I've come to an impasse that even Google can't help me with
    Ive been working on some log analysis for my client. Some of the information I get from them comes from SAP, so I've been attempting to automate the SAP request from Perl. Ive done a bunch of work and found out what their transaction names translate to, and I can now call the report from Perl using SAP::Rfc.
    The code I use looks like this:
    #!/usr/bin/perl
    use strict;
    use warnings;
    use SAP::Rfc;
    use Data::Dumper;
    my $rfc = new SAP::Rfc(
         ASHOST => 'host',
         USER     =>     $uid,
         PASSWD     =>     $password,
         CLIENT     =>     '100',
         SYSNR     =>     'PD1',
         TRACE     =>     '1');
    my $interface = $rfc->discover("INST_EXECUTE_REPORT");
    $interface->PROGRAM( "RSUSR002" );
    $rfc->callrfc( $interface );
    print Dumper \$interface;
    $rfc->close();
    What I need to do now is define the from date, from time, to date and to time to restrict the number of rows returned by this report. Ive looked through the traces and the Dumper dumps to try and find the answer with no luck, and as mentioned Google has let me down too
    Can anyone help me, or provide a small hint?
    Thanks for your help!

    Hi,
    I've been given reports that humans produce for review. They would like to automate the collection of the information from SAP as well as the analysis jobs that have been created.
    My initial idea was to have my job run the reports the humans do, however I've not been able to find any information on how to use SAPRFC to do such a thing, so I resorted to looking at tables via RFC_READ_TABLE. This is working so some extent however I currently can't find out what a users organisaitonal unit is, and even if I did, I don't know how to build a query with SAPRFC to do the lookup.
    Has anyone had any experience joining tables using RFC_READ_TABLE, or perhaps a more appropriate function?
    Thanks!

  • F4 help in ALV report output  (FM REUSE_ALV_GRID_DISPLAY)

    Hello,
    I have developed ALV report using the FM REUSE_ALV_GRID_DISPLAY.
    My requirement is to have a customized search help on the output of ALV on one field.
    I tried to find it on SDN but all the methods are using OO ALV.
    How we can attaché customized search help in ALV developed using the FM REUSE_ALV_GRID_DISPLAY.
    Kindly Help
    Regards
    Sachin

    Hii..
    If you use OO then it is very easy to create a F4 help on the ALV..
    try this sample code
    <removed by moderator>
    Hope this will help u..
    Regards,
    Jhings
    Moderator message: please post only relevant code parts, your post must be less than 5000 characters to preserve formatting.
    Edited by: Thomas Zloch on Mar 28, 2011 12:51 PM

  • URGENT HELP:Reports Output in RTF Format

    Hi,
    I have a problem with Oracle Reports 3.0
    I am generating a report output to a RTF file.
    The report is output in landscape orientation in Reports Runtime
    window.
    But when I open the RTF document, the output is in
    Portrait orientation and some of the information is getting out
    of the view. If I manually change the orientation in the RTF
    Page Setup, I am able to view the output properly.
    Can this be automated by using some property/setup in Oracle
    Reports 3.0?
    Also, the BMPs are not visible in the RTF file.
    Can anyone help me on these issues?
    Regards,
    Uma Shankar Varati
    null

    Hi Aravind,
    I don’t think there is any help in HTMLDB for this. There is this technical note: http://www.oracle.com/technology/pub/notes/technote_htmldb_fop.html I don’t really like this approach.
    You should consider using XML Publisher. It’s a “new” Oracle product that is easy to use and really works! Actually it’s an Oracle Application product that is now standalone. It’s much faster to use than making the xslt manually. You can make the templates in Word. We have a project where we don’t make any templates. The customers make their own on each site.
    There of cause is a licensing issue. Depending on you setup it can be expensive.
    Check:
    http://www.oracle.com/technology/products/applications/publishing/index.html
    BI Publisher
    You can download it from Oracle eDelivery:
    http://edelivery.oracle.com/EPD/Download/get_form?egroup_part_number=B23145-01
    Product Pack Oracle Application Server Products
    Platform: Any (e.g. Window 32 Bit)
    The part number is B23145-01: "Oracle® XML Publisher CD/Media Pack".
    This includes the client and server side code + documentation and sample templates and applications.
    Regards Pete

  • Help in Pivot report output

    Hi All,
    Iam having one pivot report output i want sort by column in dashboard
    if it is table output then we have option to sort by column in dashboard
    Is this possible to sort by column in pivot output
    Please help me
    Thanks in Advance

    You have to design in answers!
    In RESULT you can configer:
    Enable column sorting in Dashboards = true/false
    Regards,
    Stefan Hess

  • Need help reg. Conversion of report output into spool

    Hi Experts,
    I need to convert the report output into spool while report is executed in foreground not in background. Please let me know your inputs.
    Thanks
    Gopal

    SUBMIT... TO SAP-SPOOL AND RETURN : Prints output of a report that you call with the SUBMIT keyword. As with NEW-PAGE PRINT ON, the list is printed during its generation, so that both PRINT-CONTROL and FORMAT keywords take effect. Also, SUBMIT... TO SAP-SPOOL AND RETURN allows the programmer to set the format and other printing parameters. As with NEW-PAGE PRINT ON, you can set printing and archiving parameters with the GET_PRINT_PARAMETERS function module.
    CONVERT_ABAPSPOOLJOB_2_PDF convert abap spool output to PDF

  • How To Restrict Number Of Rows For Multiple Group In Report Output

    Hi ,
    I have a requirement to restrict number of rows in report output.I have three different group , if i use same no of rows to restrict then output is as expected but if i want Deduction group should have 7 rows , earning should have 5 rows and Tax group have 3 rows in report output then XML tag is not working.
    Below is the XML tag i am using -
    First i have declare the variable to restrict the rows -
    <xsl:variable name="lpp" select="number(7)"/>
    <xsl:variable name="lpp1" select="number(5)"/>
    <xsl:variable name="lpp2" select="number(3)"/>
    For Each -
    <?for-each:PAYSLIP?>
    <xsl:variable xdofo:ctx="incontext" name="DedLines" select=".//AC_DEDUCTIONS"/>
    <xsl:variable xdofo:ctx="incontext" name="EarLines" select=".//AC_EARNINGS[ELEMENT_CLASSIFICATION!='Taxable Benefits']"/>
    <xsl:variable xdofo:ctx="incontext" name="EarTaxLines" select=".//AC_EARNINGS[ELEMENT_CLASSIFICATION='Taxable Benefits']>
    <?for-each:$DedLines?><?if:(position()-1) mod $lpp=0?> <xsl:variable name="start" xdofo:ctx="incontext" select="position()"/>
    <?if:(position()-1) mod $lpp1=0?><xsl:variable name="start1" xdofo:ctx="incontext" select="position()"/
    <?if:(position()-1) mod $lpp2=0?><xsl:variable name="start2" xdofo:ctx="incontext" select="position()"/>
    Report output is tabular form (one page has two column - Earning and Deduction ) . Tax group comes below earning group.
    Deduction Group -
    <?for-each-group:$DedLines;./REPORTING_NAME?><?if:position()>=$start and position()<$start+$lpp?>
    <?REPORTING_NAME?>
    <?end if?><?end for-each-group?>
    Earning Group -
    <?for-each-group:$EarLines;./REPORTING_NAME?><?if:position()>=$start1 and position()<$start1+$lpp1?>
    <?REPORTING_NAME?>
    <?end if?><?end for-each-group?>
    Tax Group -
    <?for-each-group:$EarTaxLines;./REPORTING_NAME?><?if:position()>=$start2 and position()<$start2+$lpp2?>
    <?REPORTING_NAME?>
    <?end if?><?end for-each-group?>
    Please let me know in case additional detail is require.
    Thanks in Advance.
    Thanks,
    Harsh
    Edited by: Harsh.rkg on Jan 14, 2013 9:43 PM

    variable lpp2 is declare to restrict EarTaxLines -
    <xsl:variable name="lpp2" select="number(2)"/>
    This will help to restrict the no of rows on one page , if we have more then two tax benefits line then layout will roll over to continuation page.
    As part of report output my expectation is if i restrict Earning , Deduction and Tax benefits to same no of line for example - variable lpp ,lpp1 and lpp2 have same value "number(2)" , we can see the layout is continue on next page (restrict every group can have max two lines) .This is the reason we have 4 header grid , deduction and Tax Benefit lines are rolled over to continuation page .But if we restrict different value for each variable then continuation page layout is missing .
    When we tried for <xsl:variable name="lpp2" select="number(3)"/> value continuation page layout is not getting generate for both employee number .

  • Creation of report with the help of report painter

    Dear Experts,
                         I need report painter material, if any body have  pls  farward to me.
    my intension to create controlling report with the help of report painter.
    I am ready to award full points.
    Thanks in advance
    Regards
    avudaiappan
    Moderator - Please read this:
    /thread/931177 [original link is broken]
    Thread locked

    Hello Chinasammy,
    Report Painter allows you to create reports using data from SAP application components, which you can adapt to meet your individual requirements.
    Many of your reporting requirements can already be met by using the standard reports provided by various SAP application components. If these SAP standard reports do not meet your reporting needs, Report Painter enables you to define your specific reports quickly and easily.
    When executing a Report Painter report, it is displayed by the system in Report Writer format. You thus have access to the same functions as for Report Writer reports defined in the same way, and can combine Report Painter and Report Writer reports together in a report group.
    Report Painter uses a graphical report structure, which forms the basis for your report definition and displays the rows and columns as they appear in the final report output.
    To facilitate report definition, you can use many of the standard reporting objects provided by SAP (such as libraries, row/column models, and standard layouts) in your own specific reports. When you define a Report Painter report you can use groups (sets). You can also enter characteristic values directly.
    Advantages of Report Painter include:
    Flexible and simple report definition
    Report definition without using sets
    Direct layout control: The rows and columns are displayed in the report definition as they appear in the final report output, making test runs unnecessary.
    =============================================
    Below mentioned is the process for creating reports using Report Painter as a tool.
    Selecting and maintaining a library for your report: As the transfer structure to Report Painter you use a report table, which is defaulted by SAP and can not be maintained. This table contains characteristics, key figures and predefined columns. In a library, you collect the characteristics, key figures, and predefined columns from the report table, which you need for your Report Painter reports.
    When you define a Report Painter report, you assign it to a library. Reports assigned to one library can only use the characteristics, key figures, and predefined columns selected for that library.
    When you create or maintain a library, the Position field determines the sequence in which the characteristics, key figures or (predefined) key figures appear in the Report Painter selection lists when you define a report. This allows you to position the objects that you use regularly in your reports at the beginning of the selection lists. If you do not make an entry in the Position field, you will not be able to use this object in Report Painter reports.
    You can use either the standard SAP libraries for your reports or define your own.
    (ii) Selecting or maintaining a standard layout for your report: Standard layouts determine report layout features and the format of your report data.If the SAP standard layouts do not meet your reporting requirements, you can create a new  standard layout or change an existing one.
    (iii) Defining row and column models: A model is a one-dimensional, predefined reporting structure that you can insert in either the rows or columns of your report.If you often use the same or similar row or column definitions in your reports, it is recommended that you create row or column models.
    You must define the row and/or column models that you want to include in your report definition before you define the report.
    You can also use the standard column models supplied by SAP.
    (iv) Defining the report: Defining a Report Painter report involves the following steps.
    (a) Define the report columns: You define the report columns using the characteristics, key figures, and predefined columns selected for the library that the report uses. Alternatively, you can use a column model for column definition. Column models are predefined column structures which you insert into your entire column definition, instead of defining each individual column.
    (b) Define the report rows: You define the report rows using the characteristics selected for the library selected for the report.
    Alternatively, you can use a row model for your row definition. Row models serve the same purpose as column models, but are used to define a report row.
    Edit and format the report rows and columns in line with your requirements. (For example, you can hide rows or columns, define the column width or define colors for your report rows).
    (iii)Define general data selection criteria for the selection of your report data: Selection criteria are the characteristics used to select data for the entire report. You cannot enter characteristics as data selection criteria if they are already being used in the report rows or columns.
    (iv) Assigning the report to a report group: Once you have defined a report, you must assign it to a report group. A report group can contain one or more reports from the same library. However, reports that share the same data will select data more quickly and improve processing time.
    Hopw this helps you. Please let me know if you need anything more and assign points.
    Rgds
    Manish

  • Issue in Report output

    Issue in Report output
    I am facing strange issue. I have created a BEx query and Executed in Bex analyser. In this output I can able to see * mark as values instead of KF.
    Anyone can help me in this.

    hi,
    can you use NODIM functionality and see .
    Ravi

  • Double Click on ALV Report Output, Bringing to selections creen

    Hello Gurus,
    Please help me When i do double click on ALV Report  output , it is going back to Selection screen, actually its working as Back button. Now how to stop it.. I did debugging but i cannot trace it.

    PERFORM SUB_CREATE_FCAT.
    DATA W_REPID LIKE SY-REPID.
        W_REPID = SY-REPID.
    ls_layout-colwidth_optimize = 'X'.
    ls_layout-zebra = 'X'.
    PERFORM SUB_SORT.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
    *     I_INTERFACE_CHECK                 = ' '
    *     I_BYPASSING_BUFFER                = ' '
    *     I_BUFFER_ACTIVE                   = ' '
          I_CALLBACK_PROGRAM                 = SY-CPROG
          I_CALLBACK_PF_STATUS_SET          = 'STATUS'
           I_CALLBACK_USER_COMMAND           = 'C_USERCOMMAND '
    *     I_CALLBACK_TOP_OF_PAGE            = ' '
    *     I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
    *     I_CALLBACK_HTML_END_OF_LIST       = ' '
    *     I_STRUCTURE_NAME                  =
    *     I_BACKGROUND_ID                   = ' '
    *     I_GRID_TITLE                      =
    *     I_GRID_SETTINGS                   =
           IS_LAYOUT                         = ls_layout
           IT_FIELDCAT                       = IT_FIELDCAT
    *     IT_EXCLUDING                      =
    *     IT_SPECIAL_GROUPS                 =
           IT_SORT                           = IT_SORT
    *     IT_FILTER                         =
    *     IS_SEL_HIDE                       =
    *     I_DEFAULT                         = 'X'
          I_SAVE                            = 'U'
    *     IS_VARIANT                        =
    *     IT_EVENTS                         =
    *     IT_EVENT_EXIT                     =
    *     IS_PRINT                          =
    *     IS_REPREP_ID                      =
    *     I_SCREEN_START_COLUMN             = 0
    *     I_SCREEN_START_LINE               = 0
    *     I_SCREEN_END_COLUMN               = 0
    *     I_SCREEN_END_LINE                 = 0
    *     I_HTML_HEIGHT_TOP                 = 0
    *     I_HTML_HEIGHT_END                 = 0
    *     IT_ALV_GRAPHICS                   =
    *     IT_HYPERLINK                      =
    *     IT_ADD_FIELDCAT                   =
    *     IT_EXCEPT_QINFO                   =
    *     IR_SALV_FULLSCREEN_ADAPTER        =
    *   IMPORTING
    *     E_EXIT_CAUSED_BY_CALLER           =
    *     ES_EXIT_CAUSED_BY_USER            =
         TABLES
           t_outtab                          = T_FINAL
    *   EXCEPTIONS
    *     PROGRAM_ERROR                     = 1
    *     OTHERS                            = 2
       IF sy-subrc <> 0.
    * Implement suitable error handling here
       ENDIF.

  • Displaying selection criteria in ALV report output

    Hello,
    I’ve been using REUSE_ALV_GRID_DISPLAY function module to display my report content in ALV.
    My report’s selection criteria has parameters, select options, checkboxes and radio buttons.  As part of the ALV output, I want to display the criteria that the user had selected in the selection screen.  I was hoping to do that via parameter "i_callback_top_of_page" and fill the selection criteria in the header area.  I'm using REUSE_ALV_COMMENTARY_WRITE to fill the header area. 
    However, the header area takes too much of view space in the output if I put all the selection screen information in it.
    Is there a way to make the header area scrollable?  What is a good way of displaying the selection criteria information as part of the report output?
    Appreciate your help.
    ss

    Hi SS,
    1. The purpose of displaying / writring
       selection information
       in alv is
       for identifying what the user has seleccted,
       directly from the report (when its printed)
    2. So, the option of priting/writing
       it on the TOP of alv, is ok.
    3. However, U can also choose to WRITE
      it at the BOTTOM (instead of top)
    4. Try to utilise maximum spacing (horizontally)
       field1 : abcd      fidl2 = xyz  field3 = ppp
       field4 : mnc       etc.         etc.
    regards,
    amit m.

  • Issue while downloading the alv report output in spreadsheet format .

    Hi,
    I have a report output, whenever I try to download it in the spreadsheet format to my desktop,
    I get the following issue:
    Say the correct material number is 10833340001218999 or 10030000063207001
    (This appears in the report output)
    But in the excel file the number is displayed as 10833340001218900 and 10030000063207000.
    Please help.
    Regards,
    Sucharita.

    Hi Sucharita,
    The reason for your problem could be that in excel 2007, characters more that 15 are replaced with 0.
    Or you can try downloading the data using FM 'GUI_DOWNLOAD' , if currently you are using stadard SAP functionality of data downloading.
    Best Regards,
    Vishal.

  • Tab not working on ALV report output in Persona

    In normal SAP GUI we can move the cursor position on ALV report output between different column by pressing TAB on keyboard. But in case of persona 2.00, TAB doesn't work and we have to click on each cell of the report output whatever we want to highlight. Is there any settings or SAP note we can implement to so TAB will work on persona.
    Thanks,
    harkamal

    Hi Devendra Singh,
    I think it's not possible to show all field values in another Language (Eg Thai) But it's possible if it's short Text, Long Text etc
    SE63 and follow menu
    Translation
    ABAP Objects
    Short Text / Long Text Etc..
    AND
    Translation
    NON ABAP Objects
    For that also you have to maintain it first in SE63..
    [SAP Help1|http://help.sap.com/erp2005_ehp_04/helpdata/EN/77/5719d2492011d1894a0000e829fbbd/frameset.htm]
    [SAP Help2|http://help.sap.com/erp2005_ehp_04/helpdata/EN/b4/54601d77f38e429ffad9e3e11c1b25/frameset.htm]
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • ALV report output to be send to the respective users through email

    Hi Gurus,
    My requirement is to send the ALV report output to the respective users Email ID (Lotus notes) when the report runs in background.
    Could any one suggest me with sample coding, How to send a ALV report output to the respective email ID's ( Suggest me the FM that used to send a internal table)
    Regards
    Paul

    Hi Paul,
      Here for u the sample code:
    <b>call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           exporting
                document_data              = gd_doc_data
                put_in_outbox              = 'X'
           importing
                sent_to_all                = gd_sent_all
           tables
                packing_list               = it_packing_list
                contents_txt               = it_message
                receivers                  = it_receivers
           exceptions
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                others                     = 8.
    Store function module return code
      gd_error = sy-subrc.
    Get it_receivers return code
      loop at it_receivers.
      endloop.</b>
    Hope this helps you.Reply for queries
    Regards,
    Kumar.

  • Printing logo with ALV report output?

    Hi all,
    I have written a sinple program to display a report output in ALV grid format and inserted a logo in it usingh standrad FM. Though the logo is inserted successfully displaying with list ,  but  when i am clicking on print preview the logo is missing.
    Please help me on how to print the logo with the list?
    Thanks,
    Vamshi.

    Hi Krishna,
    -->Firstly go to T-Code OAER.
    -->Give Class Name as PICTURES
    -->Give Class Type as OT
    -->Give Object Key as(watever the name you wish to give)
    -->Example key 1000
    -->Click on Execute.
    Here you will get Standard Document Types.
    Select which ever you want i.e., Attachment,Screen,Template ,etc.
    Double click on Attchment it will ask you the File on the Desktop.
    Upload the image.
    Now you can see the Image in the Folder PICTURES.
    Now go to the Report.
    Function Module 'REUSE_ALV_COMMENTARY_WRITE'.
                             i_logo = '1000'.
    Hope this will Help you.
    With Regards,
    Sharmishta.

Maybe you are looking for

  • Problem to execute cvs command using Runtime.exec method

    Hello, I want execute this cvs command, with this options: cvs -d :pserver:[email protected]:/home/cvs/cvsroot rlog -S -d "2007/05/01<now" Project I tried to execute with Runtime.exec() : Runtime.exec("cvs -d :pserver:[email protected]:/home/cvs/cvsr

  • Internal Order closure

    Hi Experts, While closing the Internal Order, system giving below error message. However, when we execute KOB1, there are no items getting displayed. Kindly let me know, which tcode can be used for listing open down payments or down payment requests

  • Compaq Presario CQ50-139WM. Installing new DC jack, using existing wiring harness

    Need to know how to attach wiring harness to dc power jack connector socket - cannot locate wiring diagram

  • Will Iweb load onto a new macbook pro

    My 2008 macbook pro motherboard has packed up. Can you load iweb onto the latest macbook pro

  • Can't avoid cmd-click going to new tab

    Some sites force a jump to a (Mac, obviously) Cmd-clicked link's tab instead of opening it without going to it. The prime offenders are Gmail ...and Firefox bookmarks. Most sites seem to work fine but nearly all my work is done via Google Apps. This