<?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: Problem  FIELD-SYMBOL with HASHED TABLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-field-symbol-with-hashed-table/m-p/4927372#M1149534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ignore...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Narendran Muthukumaran on Dec 18, 2008 8:28 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Dec 2008 19:28:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-18T19:28:02Z</dc:date>
    <item>
      <title>Problem  FIELD-SYMBOL with HASHED TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-field-symbol-with-hashed-table/m-p/4927370#M1149532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with the following code. It is called in method MB_DOCUMENT_BEFORE_UPDATE of badi MB_DOCUMENT_BADI. I need to read the serial numbers of all items. I tried to do it with a field symbol. The information I need is stored in the hased table (SAPLMIGO)LCL_MIGO_GLOBALS=&amp;gt;KERNEL-&amp;gt;PT_GOSERIAL_KERNEL. The systems returns sy-subrc = 4 after the assign. Can anyone help me? Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF ty_s_goserial,
          selected TYPE xfeld,
          serialno TYPE    gernr,
        END OF ty_s_goserial,
        ty_t_goserial  TYPE STANDARD TABLE OF ty_s_goserial WITH
                                                 NON-UNIQUE DEFAULT KEY.

  TYPES: BEGIN OF ty_s_goserial_kernel,
            global_counter TYPE migo_global_counter,
            t_goserial TYPE ty_t_goserial,
        END OF ty_s_goserial_kernel.

 types: tyt_goserial TYPE HASHED   TABLE OF ty_s_goserial_kernel
                                 WITH UNIQUE KEY global_counter.

    fs_l_serialno = '(SAPLMIGO)LCL_MIGO_GLOBALS=&amp;gt;KERNEL-&amp;gt;PT_GOSERIAL_KERNEL'.

    FIELD-SYMBOLS: &amp;lt;fs_serialno&amp;gt; type tyt_goserial.

    ASSIGN (fs_l_serialno) TO &amp;lt;fs_serialno&amp;gt;.

    IF sy-subrc = 4.

      WRITE: / 'Ouch...'.

    ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 19:07:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-field-symbol-with-hashed-table/m-p/4927370#M1149532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T19:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  FIELD-SYMBOL with HASHED TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-field-symbol-with-hashed-table/m-p/4927371#M1149533</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;Try adding body operator..at the end as it is an internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(SAPLMIGO)LCL_MIGO_GLOBALS=&amp;gt;KERNEL-&amp;gt;PT_GOSERIAL_KERNEL[]'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 19:26:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-field-symbol-with-hashed-table/m-p/4927371#M1149533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T19:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  FIELD-SYMBOL with HASHED TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-field-symbol-with-hashed-table/m-p/4927372#M1149534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ignore...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Narendran Muthukumaran on Dec 18, 2008 8:28 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 19:28:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-field-symbol-with-hashed-table/m-p/4927372#M1149534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T19:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  FIELD-SYMBOL with HASHED TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-field-symbol-with-hashed-table/m-p/4927373#M1149535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, did you find a solution ?&lt;/P&gt;&lt;P&gt;I have the same problem, i can't assign my field symbol.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 16:37:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-field-symbol-with-hashed-table/m-p/4927373#M1149535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T16:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  FIELD-SYMBOL with HASHED TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-field-symbol-with-hashed-table/m-p/4927374#M1149536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I solve the problem in another way&lt;/P&gt;&lt;P&gt;thanks , bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 16:42:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-field-symbol-with-hashed-table/m-p/4927374#M1149536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T16:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  FIELD-SYMBOL with HASHED TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-field-symbol-with-hashed-table/m-p/4927375#M1149537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gustavo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mind sharing with me how you solved this?&lt;/P&gt;&lt;P&gt;It would be of great help!&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neesha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 04:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-field-symbol-with-hashed-table/m-p/4927375#M1149537</guid>
      <dc:creator>jjay</dc:creator>
      <dc:date>2012-06-19T04:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem  FIELD-SYMBOL with HASHED TABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-field-symbol-with-hashed-table/m-p/4927376#M1149538</link>
      <description>&lt;P&gt;You can get the exporting tables from method LINE_GET with this code sample below&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  DATA: lv_class  TYPE string,
        lv_method TYPE string,
        lv_line   TYPE sytabix.
  FIELD-SYMBOLS: &amp;lt;fs_kernel&amp;gt; TYPE any.
  lv_class = '(SAPLMIGO)LCL_MIGO_GLOBALS=&amp;gt;KERNEL'.
  lv_method = 'LINE_GET'.
  ASSIGN (lv_class) TO &amp;lt;fs_kernel&amp;gt;.
  DATA lr_o TYPE REF TO object.

  IF &amp;lt;fs_kernel&amp;gt; IS ASSIGNED  .
    lr_o ?= &amp;lt;fs_kernel&amp;gt;.
    lv_line = i_line_id.
    CALL METHOD lr_o-&amp;gt;(lv_method)
      EXPORTING
        i_line      = lv_line " The line ID from the PBO_DETAIL parameter
        i_dependent_tables  = abap_true
      IMPORTING
        et_goserial = lt_serial.&lt;BR /&gt;&lt;BR /&gt;  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Mar 2023 18:27:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-field-symbol-with-hashed-table/m-p/4927376#M1149538</guid>
      <dc:creator>former_member858795</dc:creator>
      <dc:date>2023-03-29T18:27:40Z</dc:date>
    </item>
  </channel>
</rss>

