<?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: Runtime Errors -GETWA_NOT_ASSIGNED. The current ABAP program &amp;quot;SAPLSLVC&amp;quot; had to terminated. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-getwa-not-assigned-the-current-abap-program-quot-saplslvc/m-p/12604033#M2011215</link>
    <description>&lt;P&gt;You can find answers in the forum. The field names must be given in capital letters.&lt;/P&gt;&lt;P&gt;You'd better not use REUSE_ALV_GRID_DISPLAY -&amp;gt; Use the modern CL_SALV_TABLE, this error doesn't happen.&lt;/P&gt;&lt;P&gt;Please edit your question (there's a button to edit your question) and use the button CODE to make your code legible, as already requested by Dominik.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2022 14:32:23 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2022-11-16T14:32:23Z</dc:date>
    <item>
      <title>Runtime Errors -GETWA_NOT_ASSIGNED. The current ABAP program "SAPLSLVC" had to terminated.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-getwa-not-assigned-the-current-abap-program-quot-saplslvc/m-p/12604029#M2011211</link>
      <description>&lt;P&gt;I am a new ABAP Learner and don't know so much about ABAP but I'm trying to learn new things.&lt;BR /&gt;Currently while writing a program I am getting this error while executing :- &lt;/P&gt;
  &lt;P&gt;The current ABAP program "SAPLSLVC" had to be terminated because it has&lt;/P&gt;
  &lt;P&gt;come across a statement that unfortunately cannot be executed.&lt;/P&gt;
  &lt;P&gt;Code:-&lt;/P&gt;
  &lt;P&gt;REPORT ZYZ_TEST.&lt;BR /&gt;&lt;BR /&gt;TABLES ZSTEST.&lt;BR /&gt;&lt;BR /&gt;DATA: IT_ST TYPE TABLE OF ZSTEST,&lt;BR /&gt; WA_ST TYPE ZSTEST,&lt;BR /&gt; IT_FINAL TYPE TABLE OF ZSTEST,&lt;BR /&gt; T_MARKS TYPE I,&lt;BR /&gt; DAYS TYPE P VALUE '365.25',&lt;BR /&gt; AGE TYPE I.&lt;BR /&gt;&lt;BR /&gt;SELECT-OPTIONS: S_ID FOR ZSTEST-STUDENT_ID OBLIGATORY,&lt;BR /&gt; S_DOB FOR ZSTEST-DATE_OF_BIRTH NO INTERVALS NO-EXTENSION.&lt;BR /&gt;SELECT * FROM ZSTEST INTO TABLE IT_ST&lt;BR /&gt; WHERE STUDENT_ID IN S_ID AND DATE_OF_BIRTH IN S_DOB.&lt;BR /&gt;&lt;BR /&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;BR /&gt; MESSAGE ' Please Provide Student ID in between 110 and 120' TYPE 'E'.&lt;BR /&gt;ENDIF.&lt;BR /&gt;&lt;BR /&gt;LOOP AT IT_ST INTO WA_ST.&lt;BR /&gt; T_MARKS = ( WA_ST-CHEMISTRY + WA_ST-PHYSICS + WA_ST-MATHS ).&lt;BR /&gt; AGE = ( SY-DATUM - WA_ST-DATE_OF_BIRTH ) / DAYS .&lt;BR /&gt; WA_ST-TOTAL_MARKS = T_MARKS.&lt;BR /&gt; WA_ST-AGE = AGE.&lt;BR /&gt; APPEND WA_ST TO IT_FINAL.&lt;BR /&gt;ENDLOOP.&lt;BR /&gt;&lt;BR /&gt;MODIFY ZSTEST FROM TABLE IT_FINAL.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;TYPE-POOLS: SLIS.&lt;BR /&gt;&lt;BR /&gt;DATA: IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,&lt;BR /&gt; WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.&lt;BR /&gt;&lt;BR /&gt;PERFORM WA_FIELDCAT USING 'Student_ID' 'Student ID'. "Fieldname in the data table and Column description in the output.&lt;BR /&gt;PERFORM WA_FIELDCAT USING 'Student_Name' 'Student Name'.&lt;BR /&gt;PERFORM WA_FIELDCAT USING 'DATE_OF_BIRTH' 'Date of Birth'.&lt;BR /&gt;PERFORM WA_FIELDCAT USING 'PHYSICS' 'PHYSICS'.&lt;BR /&gt;PERFORM WA_FIELDCAT USING 'CHEMISTRY' 'Chemistry'.&lt;BR /&gt;PERFORM WA_FIELDCAT USING 'MATHS' 'Maths'.&lt;BR /&gt;PERFORM WA_FIELDCAT USING 'TOTAL_MARKS' 'Total Marks'.&lt;BR /&gt;PERFORM WA_FIELDCAT USING 'AGE' 'Age'.&lt;BR /&gt;&lt;BR /&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;BR /&gt; EXPORTING&lt;BR /&gt; IT_FIELDCAT = IT_FIELDCAT&lt;BR /&gt; TABLES&lt;BR /&gt; T_OUTTAB = IT_FINAL&lt;BR /&gt; EXCEPTIONS&lt;BR /&gt; PROGRAM_ERROR = 1&lt;BR /&gt; OTHERS = 2.&lt;/P&gt;
  &lt;P&gt;FORM WA_FIELDCAT USING VALUE(P_FIELDNAME)&lt;BR /&gt; VALUE(P_SELTEXT).&lt;BR /&gt;&lt;BR /&gt; WA_FIELDCAT-FIELDNAME = P_FIELDNAME.&lt;BR /&gt; WA_FIELDCAT-TABNAME = 'it_final'.&lt;BR /&gt; WA_FIELDCAT-SELTEXT_M = P_SELTEXT.&lt;BR /&gt;&lt;BR /&gt; APPEND WA_FIELDCAT TO IT_FIELDCAT.&lt;BR /&gt;&lt;BR /&gt; CLEAR WA_FIELDCAT.&lt;BR /&gt;ENDFORM.&lt;/P&gt;
  &lt;P&gt;Waiting for positive responses and Thanks in Advance.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 10:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-getwa-not-assigned-the-current-abap-program-quot-saplslvc/m-p/12604029#M2011211</guid>
      <dc:creator>former_member828350</dc:creator>
      <dc:date>2022-11-16T10:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Errors -GETWA_NOT_ASSIGNED. The current ABAP program "SAPLSLVC" had to terminated.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-getwa-not-assigned-the-current-abap-program-quot-saplslvc/m-p/12604030#M2011212</link>
      <description>&lt;P&gt;Use CODE formatting to share your code, to make it more readable:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2110984-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 10:58:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-getwa-not-assigned-the-current-abap-program-quot-saplslvc/m-p/12604030#M2011212</guid>
      <dc:creator>Dominik_Tylczynski</dc:creator>
      <dc:date>2022-11-16T10:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Errors -GETWA_NOT_ASSIGNED. The current ABAP program "SAPLSLVC" had to terminated.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-getwa-not-assigned-the-current-abap-program-quot-saplslvc/m-p/12604031#M2011213</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="mention-scrubbed"&gt;starboysb2503&lt;/SPAN&gt;&lt;/P&gt;Use capital letters to populate FIELDNAME and TABNAME in the ALV field catalog. Try the following quick fix&lt;PRE&gt;&lt;CODE&gt;FORM WA_FIELDCAT USING VALUE(P_FIELDNAME)&lt;BR /&gt;VALUE(P_SELTEXT).&lt;BR /&gt;&lt;BR /&gt;WA_FIELDCAT-FIELDNAME = P_FIELDNAME. TRANSLATE WA_FIELDCAT-FIELDNAME TO UPPER CASE.&lt;BR /&gt;WA_FIELDCAT-TABNAME = 'IT_FINAL'.&lt;BR /&gt;WA_FIELDCAT-SELTEXT_M = P_SELTEXT.&lt;BR /&gt;&lt;BR /&gt;APPEND WA_FIELDCAT TO IT_FIELDCAT.&lt;BR /&gt;&lt;BR /&gt;CLEAR WA_FIELDCAT.&lt;BR /&gt;ENDFORM.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;Best regardsDominik Tylczynski</description>
      <pubDate>Wed, 16 Nov 2022 11:02:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-getwa-not-assigned-the-current-abap-program-quot-saplslvc/m-p/12604031#M2011213</guid>
      <dc:creator>Dominik_Tylczynski</dc:creator>
      <dc:date>2022-11-16T11:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Errors -GETWA_NOT_ASSIGNED. The current ABAP program "SAPLSLVC" had to terminated.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-getwa-not-assigned-the-current-abap-program-quot-saplslvc/m-p/12604032#M2011214</link>
      <description>&lt;P&gt;Thanks for your quick response. &lt;/P&gt;&lt;P&gt;FYI earlier this code was working fine but I don't know why It's not working now. &lt;span class="lia-unicode-emoji" title=":slightly_frowning_face:"&gt;🙁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 11:34:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-getwa-not-assigned-the-current-abap-program-quot-saplslvc/m-p/12604032#M2011214</guid>
      <dc:creator>former_member828350</dc:creator>
      <dc:date>2022-11-16T11:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Runtime Errors -GETWA_NOT_ASSIGNED. The current ABAP program "SAPLSLVC" had to terminated.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-getwa-not-assigned-the-current-abap-program-quot-saplslvc/m-p/12604033#M2011215</link>
      <description>&lt;P&gt;You can find answers in the forum. The field names must be given in capital letters.&lt;/P&gt;&lt;P&gt;You'd better not use REUSE_ALV_GRID_DISPLAY -&amp;gt; Use the modern CL_SALV_TABLE, this error doesn't happen.&lt;/P&gt;&lt;P&gt;Please edit your question (there's a button to edit your question) and use the button CODE to make your code legible, as already requested by Dominik.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 14:32:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/runtime-errors-getwa-not-assigned-the-current-abap-program-quot-saplslvc/m-p/12604033#M2011215</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-11-16T14:32:23Z</dc:date>
    </item>
  </channel>
</rss>

