<?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 Simple issue in BADI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-issue-in-badi/m-p/4411706#M1048275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I want to change one field in BADI(CACL_CHARACTER_INPUT) with name T16FB-KZFAE (Changability indicator for Purchasing Docs).&lt;/P&gt;&lt;P&gt;I have implemented one of the BADI method as below : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;method IF_EX_CACL_CHARACTER_INPUT~SET_CHARACTER_INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-tcode eq 'ME38' and '(SAPBLEND)CEKKO-BSART' eq 'LP'.&lt;/P&gt;&lt;P&gt;move '1' to '(SAPBLEND)T16FB-KZFAE'. "Did not work&lt;/P&gt;&lt;P&gt;*T16FB-KZFAE = '1'. "Did not work &lt;/P&gt;&lt;P&gt;*assign '1' to '(SAPBLEND)T16FB-KZFAE' . "Did not work&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above code I want to make T16FB-KZFAE equal to '1'.&lt;/P&gt;&lt;P&gt;Though it is a simple looking thing, it actaually gives some Syntax errors when I make assignment as shown in above code. &lt;/P&gt;&lt;P&gt;When I debug the code the field is visible as '(SAPBLEND)CEKKO-BSART' and can be Changed !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help in this situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Sep 2008 11:18:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-04T11:18:55Z</dc:date>
    <item>
      <title>Simple issue in BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-issue-in-badi/m-p/4411706#M1048275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I want to change one field in BADI(CACL_CHARACTER_INPUT) with name T16FB-KZFAE (Changability indicator for Purchasing Docs).&lt;/P&gt;&lt;P&gt;I have implemented one of the BADI method as below : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;method IF_EX_CACL_CHARACTER_INPUT~SET_CHARACTER_INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-tcode eq 'ME38' and '(SAPBLEND)CEKKO-BSART' eq 'LP'.&lt;/P&gt;&lt;P&gt;move '1' to '(SAPBLEND)T16FB-KZFAE'. "Did not work&lt;/P&gt;&lt;P&gt;*T16FB-KZFAE = '1'. "Did not work &lt;/P&gt;&lt;P&gt;*assign '1' to '(SAPBLEND)T16FB-KZFAE' . "Did not work&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above code I want to make T16FB-KZFAE equal to '1'.&lt;/P&gt;&lt;P&gt;Though it is a simple looking thing, it actaually gives some Syntax errors when I make assignment as shown in above code. &lt;/P&gt;&lt;P&gt;When I debug the code the field is visible as '(SAPBLEND)CEKKO-BSART' and can be Changed !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help in this situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2008 11:18:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-issue-in-badi/m-p/4411706#M1048275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-04T11:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Simple issue in BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-issue-in-badi/m-p/4411707#M1048276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FIELD-SYMBOLS: &amp;lt;fs1&amp;gt; TYPE ESART.
DATA: name(21) TYPE c VALUE '(SAPBLEND)CEKKO-BSART'.
ASSIGN (name) TO &amp;lt;fs1&amp;gt;.
IF sy-subrc EQ 0.
  &amp;lt;fs1&amp;gt; = '1'.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Valter Oliveira on Sep 4, 2008 12:52 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2008 11:38:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-issue-in-badi/m-p/4411707#M1048276</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-09-04T11:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Simple issue in BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-issue-in-badi/m-p/4411708#M1048277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me try this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2008 11:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-issue-in-badi/m-p/4411708#M1048277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-04T11:44:00Z</dc:date>
    </item>
  </channel>
</rss>

