<?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: Table lookup code from the infopackage ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170845#M1908252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jino, I am aware of the process and the method you have described. thanks for the info. But i am looking for the code which will be written in the infopackage to read the value from the TVARVC table. I am not good in ABAP and asking the abap code which i can use it in the infopackage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help with the code if you knwo abap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jul 2015 10:05:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-07-16T10:05:23Z</dc:date>
    <item>
      <title>Table lookup code from the infopackage ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170843#M1908250</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 need to fetch the value from BI - TVARVC table ( bi variable table) to get the values for one flag - document type. DOC_TYPE. This value will be maintained in the TVARV table. I need to get the value through an ABAP routine written in the infopackage. Can you please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;infopackage - is to extract data from SAP ECC. Its a BI terminology.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 09:02:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170843#M1908250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-16T09:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Table lookup code from the infopackage ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170844#M1908251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please go to the data selection tab on the infopackage . For the field DOC_TYPE select type variable as '6'&amp;nbsp; and press enter, system will ask you to enter the name for your routine, upon completion you will get an ABAP editor where you will be able to enter the code. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Once you have completed the coding , save the infopackage, on the data selection tab, down you will see the routine check option, which can be used to verify your code.&lt;/SPAN&gt;&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;Thanks,&lt;/P&gt;&lt;P&gt;Jino.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 09:22:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170844#M1908251</guid>
      <dc:creator>jino_jose</dc:creator>
      <dc:date>2015-07-16T09:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Table lookup code from the infopackage ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170845#M1908252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jino, I am aware of the process and the method you have described. thanks for the info. But i am looking for the code which will be written in the infopackage to read the value from the TVARVC table. I am not good in ABAP and asking the abap code which i can use it in the infopackage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help with the code if you knwo abap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 10:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170845#M1908252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-16T10:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Table lookup code from the infopackage ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170846#M1908253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought you were looking for the process, anyway you can try below code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;L_IDX &lt;SPAN class="L0S52"&gt;LIKE &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;TABIX&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;READ &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;L_T_RANGE &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;KEY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FIELDNAME &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'DOC_TYPE'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; L_IDX &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;TABIX&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;wa_tvarvc &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;tvarvc&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;SELECT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SINGLE&amp;nbsp; &lt;/SPAN&gt;* &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;tvarvc &lt;SPAN class="L0S52"&gt;INTO&amp;nbsp; &lt;/SPAN&gt;wa_tvarvc &lt;SPAN class="L0S52"&gt;WHERE &lt;/SPAN&gt;name &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;' Please specify the variant name'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; L_T_RANGE&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;LOW &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_tvarvc&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;low&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; L_T_RANGE&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SIGN &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_tvarvc&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;sign&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; L_T_RANGE&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;OPTION &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_tvarvc&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;opti&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; L_T_RANGE&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;HIGH &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;wa_tvarvc&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;high&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;L_T_RANGE&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MODIFY &lt;/SPAN&gt;L_T_RANGE &lt;SPAN class="L0S52"&gt;INDEX &lt;/SPAN&gt;L_IDX&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; P_SUBRC &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jino.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 13:22:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170846#M1908253</guid>
      <dc:creator>jino_jose</dc:creator>
      <dc:date>2015-07-16T13:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Table lookup code from the infopackage ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170847#M1908254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jino,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the code. I will try this out in the D box and update you tomorrow. Please find my below initial doubts, not sure if these are valid. Please advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) for exmaple if maintain a variable zdoc_type in the TVARVC table, then I need to put this statement in the IP code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;SELECT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SINGLE&amp;nbsp; &lt;/SPAN&gt;* &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;tvarvc &lt;SPAN class="L0S52"&gt;INTO&amp;nbsp; &lt;/SPAN&gt;wa_tvarvc &lt;SPAN class="L0S52"&gt;WHERE &lt;/SPAN&gt;name &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;' zdoc_type'. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;SPAN class="L0S33"&gt;for example if in future if we maintain doc_type value's as SB, BP, CC in the TVARVC table. Will the infopackage extract all the data in regards to the doc_type values. My requirement is we need to extract only 1 document type from the TVARVC table currently, &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG style="color: #ff6600; text-decoration: underline;"&gt;but in future we might need to extract or maintain more values from the TVARVC table like AB., CD, DE etc for DOC_TYPE&lt;/STRONG&gt;&lt;/SPAN&gt;...then can we maintain all these values with the same variable ZDOC_TYPE in the tvarvc table ? Please modify the above select statement to extract whatever values given in the TVARVC table in future. Please update if I am not clear. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;2) should I used the tech name of the IOBJ here in the below statement. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;READ &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;L_T_RANGE &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;KEY&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FIELDNAME &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline;"&gt;'0DOC_TYPE' or it should be zdoc_type.&lt;/SPAN&gt;( IOBJ name is 0DOC_TYPE).&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;3) Do I need to declarate zdoc_type in the data declaration. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;4) if for example if I want to check another field in the same infopackage, then do I need a separate abap code by adding '6' in that field or I can add the code for that field as well in your given code after the modify statement..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;Thanks again for the code. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&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;DR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 15:09:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170847#M1908254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-16T15:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Table lookup code from the infopackage ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170848#M1908255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The select is written under the assumption that you will be maintaining only one value , if you have multiple value try below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DATA &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;:&lt;/SPAN&gt;IT_TVARVC &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;TVARVC&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WA_TVARVC &lt;SPAN class="L0S52"&gt;LIKE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;LINE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;IT_TVARVC&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;SELECT &lt;/SPAN&gt;* &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;TVARVC &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;IT_TVARVC&amp;nbsp; &lt;SPAN class="L0S52"&gt;WHERE &lt;/SPAN&gt;NAME &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'zdoc_type'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;IT_TVARVC &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;WA_TVARVC&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; L_T_RANGE&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;LOW &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;WA_TVARVC&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;LOW&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; L_T_RANGE&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SIGN &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;WA_TVARVC&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SIGN&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; L_T_RANGE&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;OPTION &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;WA_TVARVC&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;OPTI&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; L_T_RANGE&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;HIGH &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;WA_TVARVC&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;HIGH&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;APPEND &lt;/SPAN&gt;L_T_RANGE&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;ENDLOOP&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;MODIFY &lt;/SPAN&gt;L_T_RANGE &lt;SPAN class="L0S52"&gt;INDEX &lt;/SPAN&gt;L_IDX&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P_SUBRC &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S33" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;2) should I used the tech name of the IOBJ here in the below statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S33" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;READ &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;TABLE &lt;/SPAN&gt;L_T_RANGE &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;KEY&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FIELDNAME &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; text-decoration: underline; background: transparent;"&gt;'0DOC_TYPE' or it should be zdoc_type.&lt;/SPAN&gt;( IOBJ name is 0DOC_TYPE).&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; text-decoration: underline; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-style: inherit; font-family: inherit; color: #ff0000; background: transparent;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-style: inherit; background: transparent; font-size: 13.3333330154419px; font-family: inherit;"&gt;Please use the infoobject name- 0DOC_TYPE&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S33" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S33" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;3) Do I need to declarate zdoc_type in the data declaration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; background: transparent; font-size: 13.3333330154419px; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt; &lt;SPAN style="color: #ff0000;"&gt;Not required&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S33" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S33" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;4) if for example if I want to check another field in the same infopackage, then do I need a separate abap code by adding '6' in that field or I can add the code for that field as well in your given code after the modify statement..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;You may need to add separate ABAP code for each object.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Jino&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 16:35:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170848#M1908255</guid>
      <dc:creator>jino_jose</dc:creator>
      <dc:date>2015-07-16T16:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Table lookup code from the infopackage ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170849#M1908256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You so much Jose. really appreciate your help and for your prompt reply. Will put this in my code and update you asap. I also need your advise on the endroutine which is taking around 35 minutes to complete. Will post another thread for the same. Please advise. Thank again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Night.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;DR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 17:13:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170849#M1908256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-16T17:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Table lookup code from the infopackage ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170850#M1908257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Worked like a charm. You are awesome Jose. Thanks for your help. Awarded you full points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;DR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 13:30:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-lookup-code-from-the-infopackage/m-p/11170850#M1908257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-17T13:30:44Z</dc:date>
    </item>
  </channel>
</rss>

