<?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 Calling the custom badi from executable program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-the-custom-badi-from-executable-program/m-p/4136971#M989302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a custom Badi definition ,interface, methods,class in the Enhancement Spot,&lt;/P&gt;&lt;P&gt;i need to call the custom badi in the executable program.&lt;/P&gt;&lt;P&gt;my problem is: while getting the instance of the interface by using&lt;/P&gt;&lt;P&gt; CALL METHOD cl_exithandler=&amp;gt;get_instance &lt;/P&gt;&lt;P&gt;here it goes to dump since there ie no entry in the table &lt;STRONG&gt;sxs_attr&lt;/STRONG&gt;  what can i do for that.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jul 2008 06:02:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-11T06:02:50Z</dc:date>
    <item>
      <title>Calling the custom badi from executable program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-the-custom-badi-from-executable-program/m-p/4136971#M989302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a custom Badi definition ,interface, methods,class in the Enhancement Spot,&lt;/P&gt;&lt;P&gt;i need to call the custom badi in the executable program.&lt;/P&gt;&lt;P&gt;my problem is: while getting the instance of the interface by using&lt;/P&gt;&lt;P&gt; CALL METHOD cl_exithandler=&amp;gt;get_instance &lt;/P&gt;&lt;P&gt;here it goes to dump since there ie no entry in the table &lt;STRONG&gt;sxs_attr&lt;/STRONG&gt;  what can i do for that.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 06:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-the-custom-badi-from-executable-program/m-p/4136971#M989302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T06:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Calling the custom badi from executable program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-the-custom-badi-from-executable-program/m-p/4136972#M989303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;let me know ur mail id . I will forward you the right document with a sample program which explains the one that you are trying .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Find some extract from the document below. This will explain how to handle &lt;/P&gt;&lt;P&gt;CALL METHOD CL_EXITHANDLER=&amp;gt;get_instance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***********************&lt;/P&gt;&lt;P&gt;REPORT  YSPFLIBADI NO STANDARD PAGE HEADING.&lt;/P&gt;&lt;P&gt;*&amp;amp; UI&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.&lt;/P&gt;&lt;P&gt;PARAMETERS : P_CARRID TYPE SPFLI-CARRID.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME.&lt;/P&gt;&lt;P&gt;PARAMETERS : R1 RADIOBUTTON GROUP RAD,&lt;/P&gt;&lt;P&gt;             R2 RADIOBUTTON GROUP RAD,&lt;/P&gt;&lt;P&gt;             R3 RADIOBUTTON GROUP RAD.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; DATA DECLARATION&lt;/P&gt;&lt;P&gt;DATA : INSTANCE TYPE REF TO YIF_EX_C_SPFLI_BADI.&lt;/P&gt;&lt;P&gt;DATA : P_CONNID TYPE SPFLI-CONNID,&lt;/P&gt;&lt;P&gt;       WA1 TYPE ZSPFLI_STR.&lt;/P&gt;&lt;P&gt;*&amp;amp; INTERNAL TABLE DECLARATION&lt;/P&gt;&lt;P&gt;DATA : JTAB TYPE ZSPFLI_ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;APPLICATION LOGIC&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; EVENTS&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  CALL METHOD CL_EXITHANDLER=&amp;gt;get_instance&lt;/P&gt;&lt;P&gt;       CHANGING&lt;/P&gt;&lt;P&gt;          INSTANCE = INSTANCE.&lt;/P&gt;&lt;P&gt;    IF INSTANCE IS INITIAL.&lt;/P&gt;&lt;P&gt;      MESSAGE E112(0) WITH 'ERROR IN BADI'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt; IF ( R1 NE 'X' ) AND ( R2 NE 'X' ) AND ( R3 NE 'X').&lt;/P&gt;&lt;P&gt;  MESSAGE E111(0) WITH 'INVALID SELECTION'.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;   IF R1 EQ 'X'.&lt;/P&gt;&lt;P&gt;     CALL METHOD INSTANCE-&amp;gt;GET_CONNID&lt;/P&gt;&lt;P&gt;                                    EXPORTING CARRID = P_CARRID&lt;/P&gt;&lt;P&gt;                                    IMPORTING CONNID = P_CONNID.&lt;/P&gt;&lt;P&gt;       IF NOT P_CONNID IS INITIAL.&lt;/P&gt;&lt;P&gt;          WRITE : /20 'CONNID = ', P_CONNID .&lt;/P&gt;&lt;P&gt;       ENDIF.&lt;/P&gt;&lt;P&gt;   ELSEIF R2 EQ 'X'.&lt;/P&gt;&lt;P&gt;    CALL METHOD INSTANCE-&amp;gt;GET_SINGLE_RECORD&lt;/P&gt;&lt;P&gt;                             EXPORTING CARRID = P_CARRID&lt;/P&gt;&lt;P&gt;                             IMPORTING WA = WA1.&lt;/P&gt;&lt;P&gt;          IF NOT WA1 IS INITIAL.&lt;/P&gt;&lt;P&gt;            WRITE : /2 'CONNID' .&lt;/P&gt;&lt;P&gt;            WRITE : / WA1-CARRID,WA1-CONNID,WA1-CITYFROM,WA1-CITYTO.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;   ELSE.&lt;/P&gt;&lt;P&gt;    CALL METHOD INSTANCE-&amp;gt;GET_MULTIPLE_RECORDS&lt;/P&gt;&lt;P&gt;                             EXPORTING CARRID = P_CARRID&lt;/P&gt;&lt;P&gt;                             IMPORTING ITAB = JTAB.&lt;/P&gt;&lt;P&gt;          IF NOT JTAB IS INITIAL.&lt;/P&gt;&lt;P&gt;            DATA : WA2 LIKE LINE OF JTAB.&lt;/P&gt;&lt;P&gt;           ULINE AT :/2(52).&lt;/P&gt;&lt;P&gt;           WRITE : /2 'CARRID' COLOR COL_POSITIVE ,&lt;/P&gt;&lt;P&gt;                    9 'CONNID' COLOR COL_NEGATIVE,&lt;/P&gt;&lt;P&gt;                    18 'CITYFROM' COLOR COL_GROUP,&lt;/P&gt;&lt;P&gt;                    38 'CITYTO' COLOR COL_HEADING.&lt;/P&gt;&lt;P&gt;           ULINE AT :/2(52).&lt;/P&gt;&lt;P&gt;            LOOP AT JTAB INTO WA2.&lt;/P&gt;&lt;P&gt;             WRITE : / WA2-CARRID   UNDER 'CARRID',&lt;/P&gt;&lt;P&gt;                       WA2-CONNID   UNDER 'CONNID',&lt;/P&gt;&lt;P&gt;                       WA2-CITYFROM UNDER 'CITYFROM',&lt;/P&gt;&lt;P&gt;                       WA2-CITYTO   UNDER 'CITYTO'.&lt;/P&gt;&lt;P&gt;                       ULINE AT :/2(52).&lt;/P&gt;&lt;P&gt;            ENDLOOP.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2008 13:55:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-the-custom-badi-from-executable-program/m-p/4136972#M989303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-11T13:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calling the custom badi from executable program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-the-custom-badi-from-executable-program/m-p/4136973#M989304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi raj...&lt;/P&gt;&lt;P&gt;    im having the same problem , my badi oriented data not available in table SXS_ATTR .&lt;/P&gt;&lt;P&gt;it shows a dump error as : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;    Exception condition "DATA_INCONS_IN_EXIT_MANAGEM" raised.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;    The current ABAP/4 program encountered an unexpected&lt;/P&gt;&lt;P&gt;    situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    A RAISE statement in the program "CL_EXITHANDLER================CP" raised the&lt;/P&gt;&lt;P&gt;     exception&lt;/P&gt;&lt;P&gt;    condition "DATA_INCONS_IN_EXIT_MANAGEM".&lt;/P&gt;&lt;P&gt;    Since the exception was not intercepted by a superior&lt;/P&gt;&lt;P&gt;    program, processing was terminated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Short description of exception condition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    For detailed documentation of the exception condition, use&lt;/P&gt;&lt;P&gt;    Transaction SE37 (Function Library). You can take the called&lt;/P&gt;&lt;P&gt;    function module from the display of active calls.&lt;/P&gt;&lt;P&gt;    -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trigger Location of Runtime Error&lt;/P&gt;&lt;P&gt;    Program                                 CL_EXITHANDLER================CP&lt;/P&gt;&lt;P&gt;    Include                                 CL_EXITHANDLER================CM001&lt;/P&gt;&lt;P&gt;    Row                                     155&lt;/P&gt;&lt;P&gt;Module type                             (METHOD)&lt;/P&gt;&lt;P&gt;Module Name                             GET_INSTANCE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz give me the solution ya . or else sent some document to my id  get from my business card .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Deepa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2008 06:18:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-the-custom-badi-from-executable-program/m-p/4136973#M989304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-04T06:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Calling the custom badi from executable program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-the-custom-badi-from-executable-program/m-p/4136974#M989305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please send Badi Material to this mail id &lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2008 06:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-the-custom-badi-from-executable-program/m-p/4136974#M989305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-18T06:33:45Z</dc:date>
    </item>
  </channel>
</rss>

