<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: simple for u in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-for-u/m-p/2496497#M563843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Goto that table in SE11 and press display, then press CNTR + Y then start the copying from first field to last field then press CNTR + C then come to your note pad then pate it there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2007 13:15:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-17T13:15:13Z</dc:date>
    <item>
      <title>simple for u</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-for-u/m-p/2496496#M563842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello &lt;/P&gt;&lt;P&gt;friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had a zrub_client table and it had almost 20 attributes &lt;/P&gt;&lt;P&gt;i want the structure of that table in notepad or wordpad file or excel with datatypes and all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can u help me out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope u got my problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had copied the field names from se16 but from their datatypes are not comings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Best Regards&lt;/P&gt;&lt;P&gt;Ruby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 13:12:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-for-u/m-p/2496496#M563842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T13:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: simple for u</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-for-u/m-p/2496497#M563843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Goto that table in SE11 and press display, then press CNTR + Y then start the copying from first field to last field then press CNTR + C then come to your note pad then pate it there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 13:15:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-for-u/m-p/2496497#M563843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T13:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: simple for u</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-for-u/m-p/2496498#M563844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanx Friend &lt;/P&gt;&lt;P&gt;It Works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Best Regards&lt;/P&gt;&lt;P&gt;Ruby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 13:19:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-for-u/m-p/2496498#M563844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T13:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: simple for u</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-for-u/m-p/2496499#M563845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had frequently the same problem so I build a simple ALV report  (5mn)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZSE11ALV..

TABLES dfies.

DATA: header TYPE x030l,
      rc LIKE sy-subrc,
      fieldtab TYPE TABLE OF dfies,
      is_variant TYPE disvariant.

PARAMETERS: tabname LIKE dfies-tabname
              MEMORY ID dtb OBLIGATORY
              MATCHCODE OBJECT dd_tabl,
            p-varia LIKE disvariant-variant.

INITIALIZATION.
  PERFORM default_for_variant USING  sy-repid p-varia.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p-varia.
  PERFORM vari_f4 USING p-varia.

AT SELECTION-SCREEN ON tabname.
  CALL FUNCTION 'GET_FIELDTAB'
       EXPORTING
            tabname             = tabname
       IMPORTING
            header              = header
            rc                  = rc
       TABLES
            fieldtab            = fieldtab
       EXCEPTIONS
            internal_error      = 1
            no_texts_found      = 2
            table_has_no_fields = 3
            table_not_activ     = 4
            OTHERS              = 5.

  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

END-OF-SELECTION.

  is_variant-report = sy-repid.
  is_variant-variant = p-varia.

  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
            i_bypassing_buffer = 'X'
            i_structure_name   = 'DFIES'
            i_default          = 'X'
            i_save             = 'A'
            is_variant         = is_variant
       TABLES
            t_outtab           = fieldtab
       EXCEPTIONS
            OTHERS             = 1.

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  vari_f4
*&amp;amp;---------------------------------------------------------------------*
FORM vari_f4 USING    p_p_varia.

  DATA: e_exit(1) TYPE c.

  is_variant-report = sy-repid.
  is_variant-variant = p_p_varia.

  CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
    EXPORTING
      is_variant                = is_variant
*     I_TABNAME_HEADER          =
*     I_TABNAME_ITEM            =
*     IT_DEFAULT_FIELDCAT       =
      i_save                    = 'A'
*     I_DISPLAY_VIA_GRID        = ' '
    IMPORTING
      e_exit                    = e_exit
      es_variant                = is_variant
    EXCEPTIONS
      not_found                 = 1
      program_error             = 2
      OTHERS                    = 3.

  IF sy-subrc = 1. " pas trouvé
    MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ELSE.
    IF e_exit = space.
      p_p_varia = is_variant-variant.
    ENDIF.
  ENDIF.
ENDFORM.                                                    " vari_f4

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  default_for_variant
*&amp;amp;---------------------------------------------------------------------*
FORM default_for_variant USING    value(p_report)
                                  p_variant.

  CLEAR is_variant.
  is_variant-report = p_report.
  CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
       EXPORTING
            i_save     = 'A'
       CHANGING
            cs_variant = is_variant
       EXCEPTIONS
            not_found  = 2.

  IF sy-subrc = 0.
    p_variant = is_variant-variant.
  ENDIF.

ENDFORM.                    " default_for_variant&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Just build a default variant adapted to your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 13:21:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-for-u/m-p/2496499#M563845</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-07-17T13:21:18Z</dc:date>
    </item>
  </channel>
</rss>

