<?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 error while using the parameter inside the badi method. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-while-using-the-parameter-inside-the-badi-method/m-p/7104749#M1508965</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;&lt;/P&gt;&lt;P&gt;In Badi Occurs 0 will not support. you need to create the Struture first and then create the table according to that structure and the work area for that structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then do the coding .&lt;/P&gt;&lt;P&gt;Hope this might help you to solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sumodh.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Jun 2010 06:29:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-29T06:29:31Z</dc:date>
    <item>
      <title>syntax error while using the parameter inside the badi method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-while-using-the-parameter-inside-the-badi-method/m-p/7104748#M1508964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm writing a code in the badi implementation . The badi is /SAPSLL/CTRL_MM0C_R3 . this badi contains a metthod API_CONTROL_MODIFY.This badi triggers while using MIGO transaction . &lt;/P&gt;&lt;P&gt;It is having the following parameter .&lt;/P&gt;&lt;P&gt;IT_MSEG	Importing	Type	SLLR3_MSEG_T . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SLLR3_MSEG_T is declared as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: sllr3_mkpf_t LIKE mkpf OCCURS 0,&lt;/P&gt;&lt;P&gt;            sllr3_mseg_t LIKE mseg OCCURS 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i have to get the werks value that is populated into IT_MSEG whie doing MIGO .&lt;/P&gt;&lt;P&gt;I have declared a local variable and assigned werks value from the IT_MSEG to the local variable as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:l_werks type werks.&lt;/P&gt;&lt;P&gt;l_werks = IT_MSEG-WERKS.	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'm getting the following error.&lt;/P&gt;&lt;P&gt;"IT_MSEG" is a table without a header line and therefore has no&lt;/P&gt;&lt;P&gt;component called "WERKS".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How should i avoid this error. Please give me sample code on how to avoid this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 06:24:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-while-using-the-parameter-inside-the-badi-method/m-p/7104748#M1508964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-29T06:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: syntax error while using the parameter inside the badi method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-while-using-the-parameter-inside-the-badi-method/m-p/7104749#M1508965</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;&lt;/P&gt;&lt;P&gt;In Badi Occurs 0 will not support. you need to create the Struture first and then create the table according to that structure and the work area for that structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then do the coding .&lt;/P&gt;&lt;P&gt;Hope this might help you to solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;Sumodh.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 06:29:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-while-using-the-parameter-inside-the-badi-method/m-p/7104749#M1508965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-29T06:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: syntax error while using the parameter inside the badi method.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-while-using-the-parameter-inside-the-badi-method/m-p/7104750#M1508966</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;Move the row from IT_MSEG into a work area and use it. Declare the workarea of required type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:l_werks type werks.
read table it_mseg into wa_mseg index 1.
l_werks = wa_MSEG-WERKS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 06:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-while-using-the-parameter-inside-the-badi-method/m-p/7104750#M1508966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-29T06:31:53Z</dc:date>
    </item>
  </channel>
</rss>

