<?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: How do I create a physical structure in the data dictionary ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-physical-structure-in-the-data-dictionary/m-p/6330154#M1395981</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;gt_range2        TYPE REF TO data,&lt;/P&gt;&lt;P&gt;gs_range2        TYPE REF TO data,&lt;/P&gt;&lt;P&gt;&amp;lt;range&amp;gt;        TYPE STANDARD TABLE,&lt;/P&gt;&lt;P&gt;&amp;lt;range1&amp;gt;       TYPE ANY,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Oct 2009 14:15:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-23T14:15:56Z</dc:date>
    <item>
      <title>How do I create a physical structure in the data dictionary ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-physical-structure-in-the-data-dictionary/m-p/6330152#M1395979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I create a data structure using ABAP ? (prefrebly by using a class)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a physical data dictionary structure, just like using se11 (data type -&amp;gt; structure).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx ahead.&lt;/P&gt;&lt;P&gt;-Tonni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 13:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-physical-structure-in-the-data-dictionary/m-p/6330152#M1395979</guid>
      <dc:creator>former_member259491</dc:creator>
      <dc:date>2009-10-23T13:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a physical structure in the data dictionary ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-physical-structure-in-the-data-dictionary/m-p/6330153#M1395980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To create a dynamic table at runtime I use the code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: gt_fcat          TYPE slis_t_fieldcat_alv,&lt;/P&gt;&lt;P&gt;      gs_fcat          LIKE LINE OF gt_fcat,&lt;/P&gt;&lt;P&gt;      gt_fieldcat      TYPE lvc_t_fcat,&lt;/P&gt;&lt;P&gt;      gs_fieldcat      LIKE LINE OF gt_fieldcat.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: gt_fieldcat, gt_fieldcat[], gs_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gs_fieldcat-fieldname     = 'SIGN'.&lt;/P&gt;&lt;P&gt;  gs_fieldcat-ref_field     = 'XMSTU'.&lt;/P&gt;&lt;P&gt;  gs_fieldcat-ref_table     = 'T007A'.&lt;/P&gt;&lt;P&gt;  gs_fieldcat-fix_column    = space.&lt;/P&gt;&lt;P&gt;  gs_fieldcat-no_zero       = space.&lt;/P&gt;&lt;P&gt;  APPEND gs_fieldcat TO gt_fieldcat.&lt;/P&gt;&lt;P&gt;  gs_fieldcat-fieldname     = 'OPTION'.&lt;/P&gt;&lt;P&gt;  gs_fieldcat-ref_field     = 'SEQN'.&lt;/P&gt;&lt;P&gt;  gs_fieldcat-ref_table     = 'T159W'.&lt;/P&gt;&lt;P&gt;  gs_fieldcat-fix_column    = space.&lt;/P&gt;&lt;P&gt;  gs_fieldcat-no_zero       = space.&lt;/P&gt;&lt;P&gt;  APPEND gs_fieldcat TO gt_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create a new Table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CLEAR : gt_range2.&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      it_fieldcatalog = gt_fieldcat&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      ep_table        = gt_range2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create a new Line with the same structure of the table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ASSIGN gt_range2-&amp;gt;* TO &amp;lt;range&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create a structure like this table I use&lt;/P&gt;&lt;P&gt;  CREATE DATA gs_range2 LIKE LINE OF &amp;lt;range&amp;gt;.&lt;/P&gt;&lt;P&gt;  ASSIGN gs_range2-&amp;gt;* TO &amp;lt;range1&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 14:14:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-physical-structure-in-the-data-dictionary/m-p/6330153#M1395980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-23T14:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a physical structure in the data dictionary ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-physical-structure-in-the-data-dictionary/m-p/6330154#M1395981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;gt_range2        TYPE REF TO data,&lt;/P&gt;&lt;P&gt;gs_range2        TYPE REF TO data,&lt;/P&gt;&lt;P&gt;&amp;lt;range&amp;gt;        TYPE STANDARD TABLE,&lt;/P&gt;&lt;P&gt;&amp;lt;range1&amp;gt;       TYPE ANY,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 14:15:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-physical-structure-in-the-data-dictionary/m-p/6330154#M1395981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-23T14:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a physical structure in the data dictionary ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-physical-structure-in-the-data-dictionary/m-p/6330155#M1395982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you ask is not very simple.&lt;/P&gt;&lt;P&gt;You should have a look at the different function modules in function group SDIF via tcode SE80.&lt;/P&gt;&lt;P&gt;This function group contains a set of function modules to create objects in the SAP Data Dictionary (structures, tables, data elements, ...).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of function modules:&lt;/P&gt;&lt;P&gt;DDIF_TABL_PUT&lt;/P&gt;&lt;P&gt;DDIF_TTYP_PUT&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will also find back these function modules in SE11 because SAP uses them in SE11 to create/generate/modify/deletes DDIC objects such as structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Wim Van den Wyngaert on Oct 23, 2009 5:07 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 15:06:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-physical-structure-in-the-data-dictionary/m-p/6330155#M1395982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-23T15:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a physical structure in the data dictionary ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-physical-structure-in-the-data-dictionary/m-p/6330156#M1395983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have a look at package SEDD. In here you should find all the classes, methods and function modules for creating structures via program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. I'm sure that this question was posted in the past. Do a search and you just might get lucky in finding it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2009 15:12:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-physical-structure-in-the-data-dictionary/m-p/6330156#M1395983</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-10-23T15:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I create a physical structure in the data dictionary ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-physical-structure-in-the-data-dictionary/m-p/6330157#M1395984</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;use FMs from function group SDIF for this purpose:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DDIF_DOMA_PUT                  DD: Interface to write a domain in the ABAP Dictionary             &lt;/P&gt;&lt;P&gt;DDIF_DTEL_PUT                  DD: Interface for writing a data element to the ABAP Dictionary    &lt;/P&gt;&lt;P&gt;DDIF_ENQU_PUT                  DD: Interface for writing a lock object to the ABAP Dictionary     &lt;/P&gt;&lt;P&gt;DDIF_INDX_PUT                  DD: Interface to write an index to the ABAP Dictionary             &lt;/P&gt;&lt;P&gt;DDIF_SHLP_PUT                  DD: Interface to write a search help in the ABAP Dictionary        &lt;/P&gt;&lt;P&gt;DDIF_TABL_PUT                  DD: Interface to write a table in the ABAP Dictionary              &lt;/P&gt;&lt;P&gt;DDIF_TABT_PUT                  DD: Interface for writing technical settings to the ABAP Dictionary&lt;/P&gt;&lt;P&gt;DDIF_TTYP_PUT                  DD: Interface for Writing a Table Type to the ABAP Dictionary      &lt;/P&gt;&lt;P&gt;DDIF_VIET_PUT                  DD: Interface for writing view techn. settings to ABAP Dictionary  &lt;/P&gt;&lt;P&gt;DDIF_VIEW_PUT                  DD: Interface for writing a view in the ABAP Dictionary            &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of them are well documented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2010 10:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-create-a-physical-structure-in-the-data-dictionary/m-p/6330157#M1395984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-08T10:13:38Z</dc:date>
    </item>
  </channel>
</rss>

