<?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: Syntax-Problem in BADI: WORKORDER_INFOSYSTEM Method: AT_OUTPUT_SCREEN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794815#M1310601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Advait,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your answer, but i need the contents of table MT_FIELDCAT_LOCAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i debug the method in debugger i can see the table with this field:&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="O"&gt;&lt;/SPAN&gt;-MT_FIELDCAT_LOCAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i get this table in the BADI. I will copy it to&lt;/P&gt;&lt;P&gt;variable: LOCAL_T_FCAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
METHOD IF_EX_WORKORDER_INFOSYSTEM~AT_OUTPUT_SCREEN.
*
  DATA: LOCAL_T_FCAT  TYPE LVC_T_FCAT.
*
* {O:55*\CLASS=CL_GUI_ALV_GRID}-MT_FIELDCAT_LOCAL.
* LOCAL_T_FCAT = I_ALV_GRID-MT_FIELDCAT_LOCAL.
  BREAK-POINT.
ENDMETHOD.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jun 2009 09:26:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-25T09:26:53Z</dc:date>
    <item>
      <title>Syntax-Problem in BADI: WORKORDER_INFOSYSTEM Method: AT_OUTPUT_SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794810#M1310596</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 want to use the method AT_OUTPUT_SCREEN of BADI: WORKORDER_INFOSYSTEM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get the fieldcattable: MT_FIELDCAT_LOCAL.&lt;/P&gt;&lt;P&gt;This method has the parameter: I_ALV_GRID (type ref. to)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try this code, but i get syntax-error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
method IF_EX_WORKORDER_INFOSYSTEM~AT_OUTPUT_SCREEN.
*
  data: LOCAL_T_FCAT  type LVC_T_FCAT.
*
  LOCAL_T_FCAT = I_ALV_GRID-&amp;gt;MT_FIELDCAT_LOCAL.
  break-point.
endmethod.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me to get what i need?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 14:45:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794810#M1310596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T14:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax-Problem in BADI: WORKORDER_INFOSYSTEM Method: AT_OUTPUT_SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794811#M1310597</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 try it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2009 21:20:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794811#M1310597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-21T21:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax-Problem in BADI: WORKORDER_INFOSYSTEM Method: AT_OUTPUT_SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794812#M1310598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What syntax error are you getting ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2009 21:35:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794812#M1310598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-21T21:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax-Problem in BADI: WORKORDER_INFOSYSTEM Method: AT_OUTPUT_SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794813#M1310599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Advait,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i get this syntax-error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Class ZCL_IM__WORKORDER_INFOSYST, Method IF_EX_WORKORDER_INFOSYSTEM~AT_OUTPUT_SCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field "MT_FIELDCAT_LOCAL" is unknown. It is neither in one of the specified tables&lt;/P&gt;&lt;P&gt;nor defined by a "DATA" statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What statement do i have to insert to get the table MT_FIELDCAT_LOCAL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2009 08:13:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794813#M1310599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-25T08:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax-Problem in BADI: WORKORDER_INFOSYSTEM Method: AT_OUTPUT_SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794814#M1310600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;As I can see, the BADI's function does not contain the parameter  MT_FIELDCAT_LOCAL, thus it wont be visible in this method, but it does have 2 parameters IT_FIELDCAT and IT_FIELDCAT_ALL, you may use one of these. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2009 08:40:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794814#M1310600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-25T08:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax-Problem in BADI: WORKORDER_INFOSYSTEM Method: AT_OUTPUT_SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794815#M1310601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Advait,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your answer, but i need the contents of table MT_FIELDCAT_LOCAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i debug the method in debugger i can see the table with this field:&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="O"&gt;&lt;/SPAN&gt;-MT_FIELDCAT_LOCAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i get this table in the BADI. I will copy it to&lt;/P&gt;&lt;P&gt;variable: LOCAL_T_FCAT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
METHOD IF_EX_WORKORDER_INFOSYSTEM~AT_OUTPUT_SCREEN.
*
  DATA: LOCAL_T_FCAT  TYPE LVC_T_FCAT.
*
* {O:55*\CLASS=CL_GUI_ALV_GRID}-MT_FIELDCAT_LOCAL.
* LOCAL_T_FCAT = I_ALV_GRID-MT_FIELDCAT_LOCAL.
  BREAK-POINT.
ENDMETHOD.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2009 09:26:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794815#M1310601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-25T09:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax-Problem in BADI: WORKORDER_INFOSYSTEM Method: AT_OUTPUT_SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794816#M1310602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;That attribute is a private attribute of the class CL_GUI_ALV_GRID, hence you wont be able to access it in the BADI. However if you want to get the fieldcatalog, then you can always use the method GET_FRONTEND_FIELDCATALOG which will return the fieldcatalog of the alv instance that is currently passed to the method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
call method CL_GUI_ALV_GRID-&amp;gt;GET_FRONTEND_FIELDCATALOG
         importing ET_FIELDCATALOG = LOCAL_T_FCAT.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2009 09:41:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794816#M1310602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-25T09:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax-Problem in BADI: WORKORDER_INFOSYSTEM Method: AT_OUTPUT_SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794817#M1310603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adviat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that's it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2009 12:10:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-problem-in-badi-workorder-infosystem-method-at-output-screen/m-p/5794817#M1310603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-25T12:10:05Z</dc:date>
    </item>
  </channel>
</rss>

