<?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: Nodes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/nodes/m-p/2671529#M616855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prajwal ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking that ALV Tree types node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okya now i got it ,you need to cevelop one logical database in SE36 Transaction or SLDB Transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps creation of Logical database :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LDB Name start with Z* or Y*  -&amp;gt; now click on create button.-&amp;gt; enter short description -&amp;gt; click on create button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you need to mention structure or database table,when you give table or structure it becomes node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here example purpose i am taking the MARA and MAKT Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter Root node name is MARA -&amp;gt; give the description -&amp;gt; enter database table as MARA -&amp;gt; click on create button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now select MARA -&amp;gt; click on create button &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Node name -&amp;gt; MAKT -&amp;gt; description - text table -&amp;gt; hierarchy table as MARA -&amp;gt; database table MAKT-&amp;gt; click on create button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : when you mention nodes here ,it should have parent child relationship,otherwise LDB Will not work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;click on selection push button on tool bar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you get pop up window -&amp;gt; click on yes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select Nodes for which field selection are to be generated -&amp;gt; select check box mara table,click on transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get below code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS :  s_matnr  FOR MARA-MATNR. -&amp;gt; uncommented and used s_matnr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Parameter for search pattern selection (Type SY-LDB_SP):&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PARAMETERS p_sp AS SEARCH PATTERN FOR TABLE MARA.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SELECT-OPTIONS :&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                  ?  FOR MAKT-MATNR,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                  ?  FOR MAKT-SPRAS.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Enable DYNAMIC SELECTIONS for selected nodes :&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Enable FIELD SELECTION for selected nodes :&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; SELECTION-SCREEN FIELD SELECTION FOR TABLE MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do not check syntax and just activate it. -&amp;gt; back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now click on source code :you get pop up window -&amp;gt; click on yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;save and activate the current screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the following code ,which is system generated&lt;/P&gt;&lt;P&gt;include DBZSDFTOP . " header&lt;/P&gt;&lt;P&gt;include DBZSDFNXXX . " all system routines -&amp;gt; keep the cursor here and double click&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;include DBZSDFF001 . " user defined include&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get following code here -&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include DBZSDFN001 . " Node MARA&lt;/P&gt;&lt;P&gt;include DBZSDFN002 . " Node MAKT&lt;/P&gt;&lt;P&gt;include DBZSDFFXXX . " init, PBO, PAI&lt;/P&gt;&lt;P&gt;include DBZSDFSXXX . " search help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save and activate here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include DBZSDFN001 . " Node MARA -&amp;gt; keep the cursor on include and double click &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get following code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call event GET MARA&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM PUT_MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;STATICS FLAG.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IF FLAG = SPACE.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FLAG = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Declarations for field selection for node MARA ***&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  STATICS MARA_FIELDS TYPE RSFS_TAB_FIELDS.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MOVE 'MARA' TO MARA_FIELDS-TABLENAME.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  READ TABLE SELECT_FIELDS WITH KEY MARA_FIELDS-TABLENAME&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    INTO MARA_FIELDS.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT * INTO CORRESPONDING FIELDS OF  -&amp;gt; uncommented and made some changes&lt;/P&gt;&lt;P&gt;     MARA  " (choose one of them)&lt;/P&gt;&lt;P&gt;     FROM MARA&lt;/P&gt;&lt;P&gt;   WHERE MATNR IN s_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PUT MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDSELECT.&lt;/P&gt;&lt;P&gt;ENDFORM.                               "PUT_&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Authority Check for node MARA&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FORM AUTHORITYCHECK_MARA.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  AUTHORITY-CHECK ...&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ENDFORM.                             "AUTHORITYCHECK_MARA&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save and activate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now keep the cursor on include .. include DBZSDFN002 . " Node MAKT and double click&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get following code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call event GET MAKT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM PUT_MAKT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT * FROM MAKT  -&amp;gt; i made some changes&lt;/P&gt;&lt;P&gt;   INTO MAKT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INTO TABLE ? (choose one!)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   WHERE MATNR = MARA-MATNR&lt;/P&gt;&lt;P&gt;     AND SPRAS = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PUT MAKT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDSELECT.&lt;/P&gt;&lt;P&gt;ENDFORM.                               "PUT_&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Authority Check for node MARA&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FORM AUTHORITYCHECK_MARA.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  AUTHORITY-CHECK ...&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ENDFORM.                             "AUTHORITYCHECK_MARA&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;save and activate it -&amp;gt; go back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i am able to use LDB ( ZSDF - I created) in SE38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goto SE38 Transaction &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create program starting with Z* or Y* -&amp;gt; click on create&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enter description and select type is executable program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you will see logical database  -&amp;gt; enter LDB Name ( ZSDF)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on SAVE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the simple code which i written in se38&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nodes : mara,&lt;/P&gt;&lt;P&gt;        makt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2007 15:41:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-16T15:41:41Z</dc:date>
    <item>
      <title>Nodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nodes/m-p/2671523#M616849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi...&lt;/P&gt;&lt;P&gt;what is the use of nodes . how to create that. Please give me the steps.&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Prajwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 03:40:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nodes/m-p/2671523#M616849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T03:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nodes/m-p/2671524#M616850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the below links :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="410994"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 03:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nodes/m-p/2671524#M616850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T03:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nodes/m-p/2671525#M616851</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;Nodes is a Keyword used in Logical Database.It is Similar to TABLES.Nodes are specially made for data exchange between LDB and ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 04:38:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nodes/m-p/2671525#M616851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T04:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nodes/m-p/2671526#M616852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to create node please give the steps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 04:50:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nodes/m-p/2671526#M616852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T04:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nodes/m-p/2671527#M616853</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;  I already mentioned that it is a keyword used in Logical Database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The nodes must be structures defined in the ABAP Dictionary or data types from a type group. Normally, these are the structures of database tables which the logical database reads and passes to the user for further evaluation. However, it is also possible, and sometimes useful, to use ABAP Dictionary structures without an underlying database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 04:53:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nodes/m-p/2671527#M616853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T04:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nodes/m-p/2671528#M616854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tried.&lt;/P&gt;&lt;P&gt;its giving error like this "&amp;lt;b&amp;gt;SPFLI" is not a node of the logical database __S.		&amp;lt;/b&amp;gt; what may be the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 05:03:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nodes/m-p/2671528#M616854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T05:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Nodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/nodes/m-p/2671529#M616855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prajwal ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking that ALV Tree types node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okya now i got it ,you need to cevelop one logical database in SE36 Transaction or SLDB Transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps creation of Logical database :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LDB Name start with Z* or Y*  -&amp;gt; now click on create button.-&amp;gt; enter short description -&amp;gt; click on create button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you need to mention structure or database table,when you give table or structure it becomes node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here example purpose i am taking the MARA and MAKT Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter Root node name is MARA -&amp;gt; give the description -&amp;gt; enter database table as MARA -&amp;gt; click on create button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now select MARA -&amp;gt; click on create button &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Node name -&amp;gt; MAKT -&amp;gt; description - text table -&amp;gt; hierarchy table as MARA -&amp;gt; database table MAKT-&amp;gt; click on create button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : when you mention nodes here ,it should have parent child relationship,otherwise LDB Will not work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;click on selection push button on tool bar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you get pop up window -&amp;gt; click on yes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select Nodes for which field selection are to be generated -&amp;gt; select check box mara table,click on transfer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get below code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS :  s_matnr  FOR MARA-MATNR. -&amp;gt; uncommented and used s_matnr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Parameter for search pattern selection (Type SY-LDB_SP):&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PARAMETERS p_sp AS SEARCH PATTERN FOR TABLE MARA.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SELECT-OPTIONS :&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                  ?  FOR MAKT-MATNR,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                  ?  FOR MAKT-SPRAS.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Enable DYNAMIC SELECTIONS for selected nodes :&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Enable FIELD SELECTION for selected nodes :&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; SELECTION-SCREEN FIELD SELECTION FOR TABLE MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do not check syntax and just activate it. -&amp;gt; back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now click on source code :you get pop up window -&amp;gt; click on yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;save and activate the current screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the following code ,which is system generated&lt;/P&gt;&lt;P&gt;include DBZSDFTOP . " header&lt;/P&gt;&lt;P&gt;include DBZSDFNXXX . " all system routines -&amp;gt; keep the cursor here and double click&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;include DBZSDFF001 . " user defined include&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get following code here -&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include DBZSDFN001 . " Node MARA&lt;/P&gt;&lt;P&gt;include DBZSDFN002 . " Node MAKT&lt;/P&gt;&lt;P&gt;include DBZSDFFXXX . " init, PBO, PAI&lt;/P&gt;&lt;P&gt;include DBZSDFSXXX . " search help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save and activate here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include DBZSDFN001 . " Node MARA -&amp;gt; keep the cursor on include and double click &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get following code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call event GET MARA&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM PUT_MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;STATICS FLAG.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IF FLAG = SPACE.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FLAG = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Declarations for field selection for node MARA ***&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  STATICS MARA_FIELDS TYPE RSFS_TAB_FIELDS.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MOVE 'MARA' TO MARA_FIELDS-TABLENAME.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  READ TABLE SELECT_FIELDS WITH KEY MARA_FIELDS-TABLENAME&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    INTO MARA_FIELDS.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT * INTO CORRESPONDING FIELDS OF  -&amp;gt; uncommented and made some changes&lt;/P&gt;&lt;P&gt;     MARA  " (choose one of them)&lt;/P&gt;&lt;P&gt;     FROM MARA&lt;/P&gt;&lt;P&gt;   WHERE MATNR IN s_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PUT MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDSELECT.&lt;/P&gt;&lt;P&gt;ENDFORM.                               "PUT_&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Authority Check for node MARA&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FORM AUTHORITYCHECK_MARA.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  AUTHORITY-CHECK ...&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ENDFORM.                             "AUTHORITYCHECK_MARA&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save and activate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now keep the cursor on include .. include DBZSDFN002 . " Node MAKT and double click&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You get following code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call event GET MAKT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM PUT_MAKT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT * FROM MAKT  -&amp;gt; i made some changes&lt;/P&gt;&lt;P&gt;   INTO MAKT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INTO TABLE ? (choose one!)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   WHERE MATNR = MARA-MATNR&lt;/P&gt;&lt;P&gt;     AND SPRAS = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PUT MAKT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDSELECT.&lt;/P&gt;&lt;P&gt;ENDFORM.                               "PUT_&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Authority Check for node MARA&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FORM AUTHORITYCHECK_MARA.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  AUTHORITY-CHECK ...&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ENDFORM.                             "AUTHORITYCHECK_MARA&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;save and activate it -&amp;gt; go back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i am able to use LDB ( ZSDF - I created) in SE38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goto SE38 Transaction &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create program starting with Z* or Y* -&amp;gt; click on create&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;enter description and select type is executable program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you will see logical database  -&amp;gt; enter LDB Name ( ZSDF)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on SAVE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the simple code which i written in se38&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nodes : mara,&lt;/P&gt;&lt;P&gt;        makt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 15:41:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/nodes/m-p/2671529#M616855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T15:41:41Z</dc:date>
    </item>
  </channel>
</rss>

