<?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 use RS_TABLE_LIST_CREATE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-rs-table-list-create/m-p/5084253#M1180691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abbapers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use the FM RS_TABLE_LIST_CREATE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'RS_TABLE_LIST_CREATE'
         EXPORTING
              table_name         = 'BKPF'
    *         ACTION             = 'ANZE'
    *         WITHOUT_SUBMIT     = ' '
    *         GENERATION_FORCED  =
    *         NEW_SEL            =
    *         NO_STRUCTURE_CHECK = ' '
    *         DATA_EXIT          = ' '
    *    IMPORTING
    *         PROGNAME           =
    *    TABLES
    *         SELTAB             =
    *    EXCEPTIONS
    *         TABLE_IS_STRUCTURE = 1
    *         TABLE_NOT_EXISTS   = 2
    *         DB_NOT_EXISTS      = 3
    *         NO_PERMISSION      = 4
    *         NO_CHANGE_ALLOWED  = 5
    *         OTHERS             = 6
              .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I pass the parameter table_name, I obtain the select options of this table, but I want select other  select options in function the tabla that I obtain with other code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'DDIF_FIELDINFO_GET'
         exporting
              tabname        = 'BKPF'
        importing
             x030l_wa       = x030l
        tables
             dfies_tab      = i_dfies.

    refresh %_tab2.

    loop at i_dfies.
      clear %_tab2.
      move-corresponding i_dfies to %_tab2.
      %_tab2-dtyp = i_dfies-datatype.
      if not i_dfies-keyflag is initial.
        %_tab2-flag1 = fkey.
      endif.
      %_tab2-exid = i_dfies-inttype.
      %_tab2-exlength = i_dfies-outputlen.
      %_tab2-dblength = i_dfies-leng.
      append %_tab2.
    endloop.

  LOOP AT %_TAB2.
    MOVE %_TAB2 TO RETT_%_TAB2.
    APPEND RETT_%_TAB2.
  ENDLOOP.

  IMPORT %_TAB2_FIELD %_TAB2_SORT FROM MEMORY ID SY-REPID.

  DESCRIBE TABLE %_TAB2_FIELD LINES COUNT.

  IF NOT COUNT IS INITIAL.
    REFRESH %_TAB2.

    LOOP AT %_TAB2_FIELD.
      %_TAB2 = %_TAB2_FIELD.
      APPEND %_TAB2.
    ENDLOOP.
  ENDIF.

 do.
   clear count.
   read line sy-index field value input_entry.
   if sy-subrc ne 0.
     exit.
   endif.
   if not count is initial.
     read line sy-index field value sy-lisel into my_lisel.
     my_lisel+1(1) = 'X'.
     modify line sy-index field value sy-lisel from my_lisel.
   endif.
 enddo.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I view the next post, but I dont understand the DATABROWSE-GEN_FLAG ¿contain value ' ' or 'X'.?&lt;/P&gt;&lt;P&gt;the code DATABROWSE-GEN_FLAG:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="|"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jan 2009 09:43:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-22T09:43:30Z</dc:date>
    <item>
      <title>use RS_TABLE_LIST_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-rs-table-list-create/m-p/5084253#M1180691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abbapers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use the FM RS_TABLE_LIST_CREATE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'RS_TABLE_LIST_CREATE'
         EXPORTING
              table_name         = 'BKPF'
    *         ACTION             = 'ANZE'
    *         WITHOUT_SUBMIT     = ' '
    *         GENERATION_FORCED  =
    *         NEW_SEL            =
    *         NO_STRUCTURE_CHECK = ' '
    *         DATA_EXIT          = ' '
    *    IMPORTING
    *         PROGNAME           =
    *    TABLES
    *         SELTAB             =
    *    EXCEPTIONS
    *         TABLE_IS_STRUCTURE = 1
    *         TABLE_NOT_EXISTS   = 2
    *         DB_NOT_EXISTS      = 3
    *         NO_PERMISSION      = 4
    *         NO_CHANGE_ALLOWED  = 5
    *         OTHERS             = 6
              .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I pass the parameter table_name, I obtain the select options of this table, but I want select other  select options in function the tabla that I obtain with other code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'DDIF_FIELDINFO_GET'
         exporting
              tabname        = 'BKPF'
        importing
             x030l_wa       = x030l
        tables
             dfies_tab      = i_dfies.

    refresh %_tab2.

    loop at i_dfies.
      clear %_tab2.
      move-corresponding i_dfies to %_tab2.
      %_tab2-dtyp = i_dfies-datatype.
      if not i_dfies-keyflag is initial.
        %_tab2-flag1 = fkey.
      endif.
      %_tab2-exid = i_dfies-inttype.
      %_tab2-exlength = i_dfies-outputlen.
      %_tab2-dblength = i_dfies-leng.
      append %_tab2.
    endloop.

  LOOP AT %_TAB2.
    MOVE %_TAB2 TO RETT_%_TAB2.
    APPEND RETT_%_TAB2.
  ENDLOOP.

  IMPORT %_TAB2_FIELD %_TAB2_SORT FROM MEMORY ID SY-REPID.

  DESCRIBE TABLE %_TAB2_FIELD LINES COUNT.

  IF NOT COUNT IS INITIAL.
    REFRESH %_TAB2.

    LOOP AT %_TAB2_FIELD.
      %_TAB2 = %_TAB2_FIELD.
      APPEND %_TAB2.
    ENDLOOP.
  ENDIF.

 do.
   clear count.
   read line sy-index field value input_entry.
   if sy-subrc ne 0.
     exit.
   endif.
   if not count is initial.
     read line sy-index field value sy-lisel into my_lisel.
     my_lisel+1(1) = 'X'.
     modify line sy-index field value sy-lisel from my_lisel.
   endif.
 enddo.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I view the next post, but I dont understand the DATABROWSE-GEN_FLAG ¿contain value ' ' or 'X'.?&lt;/P&gt;&lt;P&gt;the code DATABROWSE-GEN_FLAG:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="|"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2009 09:43:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-rs-table-list-create/m-p/5084253#M1180691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-22T09:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: use RS_TABLE_LIST_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-rs-table-list-create/m-p/5084254#M1180692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATABROWSE-GEN_FLAG was space, here the developer needed to display the SE16 selection-screen for a certain table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATABROWSE-GEN_FLAG is to force the generation of the program: if somebody has just run se16 for a certain table, the program is generated so it doesn't need to generate it again, but if it needs to change the selection-screen has to be dysplayed it should be better to generate it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2009 09:56:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-rs-table-list-create/m-p/5084254#M1180692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-22T09:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: use RS_TABLE_LIST_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-rs-table-list-create/m-p/5084255#M1180693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, then if I want select other select option, How do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2009 10:01:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-rs-table-list-create/m-p/5084255#M1180693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-22T10:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: use RS_TABLE_LIST_CREATE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-rs-table-list-create/m-p/5084256#M1180694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U need to set NEW_SEL parameter, in this case the system'll show a popup where it can select the new field for selection-screen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'RS_TABLE_LIST_CREATE'
  EXPORTING
    TABLE_NAME               = 'BKPF'
*   ACTION                   = 'ANZE'
*   WITHOUT_SUBMIT           = ' '
    GENERATION_FORCED        = 'X'
    NEW_SEL                  = 'X'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you generate a new selection-screen, the system generate the program again so probably  GENERATION_FORCED        = 'X' is useless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2009 10:20:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-rs-table-list-create/m-p/5084256#M1180694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-22T10:20:50Z</dc:date>
    </item>
  </channel>
</rss>

