<?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 in BADI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/5237830#M1210414</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;Pls move the following code outside the method..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM EXB706K
USING lgart users kont1 koart1
* REISETÄTIGKEIT steht in WA_HEAD-KZTKT
USERS = wa_t001-bukrs.
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2009 13:08:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-17T13:08:12Z</dc:date>
    <item>
      <title>problem in BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/5237829#M1210413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;In the below code am not able to execute . the form EXB706K&lt;/P&gt;&lt;P&gt;how to use this form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;METHOD if_ex_trip_post_fi~exb706k.
  DATA: w_lgart  TYPE t706k-lgart,
        w_users  TYPE t706k-users,
        w_kont1  TYPE t706k-kont1,
        w_koart1 TYPE t706k-koart1,
        w_ctry   TYPE zfsp_mappings-country_key,
        w_objnm  TYPE zfsp_mappings-objname,
        w_value1 TYPE zfsp_mappings-value1,
        w_value2 TYPE zfsp_mappings-value2.

  TYPES:BEGIN OF ty_t001,
        bukrs TYPE t001-bukrs,
        END OF ty_t001.

  DATA: it_t001 TYPE STANDARD TABLE OF ty_t001,
         wa_t001 TYPE ty_t001.
  INCLUDE zsample1.

  SELECT bukrs
FROM t001 INTO TABLE it_t001.


  SELECT SINGLE country_key objname value1 value2
FROM zfsp_mappings INTO  (w_ctry , w_objnm , w_value1 , w_value2)
WHERE objname = 'ADVANCE' AND
       value1 = 'YES'.
  BREAK-POINT.
  LOOP AT it_t001 INTO wa_t001.

    IF wa_t001-bukrs+0(2) = w_value2 .

      FORM EXB706K
USING lgart users kont1 koart1
* REISETÄTIGKEIT steht in WA_HEAD-KZTKT
USERS = wa_t001-bukrs.
ENDFORM.

      CONTINUE.
    ELSE.

    ENDIF.
  ENDLOOP.

ENDMETHOD.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 10:13:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/5237829#M1210413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T10:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: problem in BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/5237830#M1210414</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;Pls move the following code outside the method..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM EXB706K
USING lgart users kont1 koart1
* REISETÄTIGKEIT steht in WA_HEAD-KZTKT
USERS = wa_t001-bukrs.
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 13:08:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/5237830#M1210414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-17T13:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: problem in BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/5237831#M1210415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FORM EXB706K&lt;/P&gt;&lt;P&gt;USING lgart users kont1 koart1&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;REISETÄTIGKEIT steht in WA_HEAD-KZTKT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;USERS = wa_t001-bukrs.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that form or Perform? If is form? What is it doing inside the loop? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can keep it in the same method but where is perform for that? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think, it is better to keep the form code in a method and call the method instead of perform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 16:19:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/5237831#M1210415</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2009-02-17T16:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: problem in BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/5237832#M1210416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to create a methord and call it can any 1 tell me plz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Sunita.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 01:31:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/5237832#M1210416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T01:31:15Z</dc:date>
    </item>
  </channel>
</rss>

