<?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: Regarding Customer Objects in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-customer-objects/m-p/4832815#M1130632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try out this code.&lt;/P&gt;&lt;P&gt;this report program takes the tcode as inputs and gives all badi's and exits related to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report  zkexits.&lt;/P&gt;&lt;P&gt;tables : tstc,&lt;/P&gt;&lt;P&gt;tadir,&lt;/P&gt;&lt;P&gt;modsapt,&lt;/P&gt;&lt;P&gt;modact,&lt;/P&gt;&lt;P&gt;trdir,&lt;/P&gt;&lt;P&gt;tfdir,&lt;/P&gt;&lt;P&gt;enlfdir,&lt;/P&gt;&lt;P&gt;sxs_attrt ,&lt;/P&gt;&lt;P&gt;tstct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : jtab like tadir occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data : field1(30).&lt;/P&gt;&lt;P&gt;data : v_devclass like tadir-devclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_tcode like tstc-tcode,&lt;/P&gt;&lt;P&gt;p_pgmna like tstc-pgmna .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data wa_tadir type tadir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not p_tcode is initial.&lt;/P&gt;&lt;P&gt;select single * from tstc where tcode eq p_tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif not p_pgmna is initial.&lt;/P&gt;&lt;P&gt;tstc-pgmna = p_pgmna.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;select single * from tadir&lt;/P&gt;&lt;P&gt;where pgmid = 'R3TR'&lt;/P&gt;&lt;P&gt;and object = 'PROG'&lt;/P&gt;&lt;P&gt;and obj_name = tstc-pgmna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move : tadir-devclass to v_devclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;select single * from trdir&lt;/P&gt;&lt;P&gt;where name = tstc-pgmna.&lt;/P&gt;&lt;P&gt;if trdir-subc eq 'F'.&lt;/P&gt;&lt;P&gt;select single * from tfdir&lt;/P&gt;&lt;P&gt;where pname = tstc-pgmna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from enlfdir&lt;/P&gt;&lt;P&gt;where funcname = tfdir-funcname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from tadir&lt;/P&gt;&lt;P&gt;where pgmid = 'R3TR'&lt;/P&gt;&lt;P&gt;and object = 'FUGR'&lt;/P&gt;&lt;P&gt;and obj_name eq enlfdir-area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move : tadir-devclass to v_devclass.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from tadir into table jtab&lt;/P&gt;&lt;P&gt;where pgmid = 'R3TR'&lt;/P&gt;&lt;P&gt;and object in ('SMOD', 'SXSD')&lt;/P&gt;&lt;P&gt;and devclass = v_devclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from tstct&lt;/P&gt;&lt;P&gt;where sprsl eq sy-langu&lt;/P&gt;&lt;P&gt;and tcode eq p_tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;format color col_positive intensified off.&lt;/P&gt;&lt;P&gt;write:/(19) 'Transaction Code - ',&lt;/P&gt;&lt;P&gt;20(20) p_tcode,&lt;/P&gt;&lt;P&gt;45(50) tstct-ttext.&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;if not jtab[] is initial.&lt;/P&gt;&lt;P&gt;write:/(105) sy-uline.&lt;/P&gt;&lt;P&gt;format color col_heading intensified on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Sorting the internal Table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort jtab by object.&lt;/P&gt;&lt;P&gt;data : wf_txt(60) type c,&lt;/P&gt;&lt;P&gt;wf_smod type i ,&lt;/P&gt;&lt;P&gt;wf_badi type i ,&lt;/P&gt;&lt;P&gt;wf_object2(30) type c.&lt;/P&gt;&lt;P&gt;clear : wf_smod, wf_badi , wf_object2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the total SMOD.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at jtab into wa_tadir.&lt;/P&gt;&lt;P&gt;at first.&lt;/P&gt;&lt;P&gt;format color col_heading intensified on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/1 sy-vline,&lt;/P&gt;&lt;P&gt;2 'Enhancement/ Business Add-in',&lt;/P&gt;&lt;P&gt;41 sy-vline ,&lt;/P&gt;&lt;P&gt;42 'Description',&lt;/P&gt;&lt;P&gt;105 sy-vline.&lt;/P&gt;&lt;P&gt;write:/(105) sy-uline.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;clear wf_txt.&lt;/P&gt;&lt;P&gt;at new object.&lt;/P&gt;&lt;P&gt;if wa_tadir-object = 'SMOD'.&lt;/P&gt;&lt;P&gt;wf_object2 = 'Enhancement' .&lt;/P&gt;&lt;P&gt;elseif wa_tadir-object = 'SXSD'.&lt;/P&gt;&lt;P&gt;wf_object2 = ' Business Add-in'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;format color col_group intensified on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/1 sy-vline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 wf_object2,&lt;/P&gt;&lt;P&gt;105 sy-vline.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case wa_tadir-object.&lt;/P&gt;&lt;P&gt;when 'SMOD'.&lt;/P&gt;&lt;P&gt;wf_smod = wf_smod + 1.&lt;/P&gt;&lt;P&gt;select single modtext into wf_txt&lt;/P&gt;&lt;P&gt;from modsapt&lt;/P&gt;&lt;P&gt;where sprsl = sy-langu&lt;/P&gt;&lt;P&gt;and name = wa_tadir-obj_name.&lt;/P&gt;&lt;P&gt;format color col_normal intensified off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'SXSD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;For BADis&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wf_badi = wf_badi + 1 .&lt;/P&gt;&lt;P&gt;select single text into wf_txt&lt;/P&gt;&lt;P&gt;from sxs_attrt&lt;/P&gt;&lt;P&gt;where sprsl = sy-langu&lt;/P&gt;&lt;P&gt;and exit_name = wa_tadir-obj_name.&lt;/P&gt;&lt;P&gt;format color col_normal intensified on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/1 sy-vline,&lt;/P&gt;&lt;P&gt;2 wa_tadir-obj_name hotspot on,&lt;/P&gt;&lt;P&gt;41 sy-vline ,&lt;/P&gt;&lt;P&gt;42 wf_txt,&lt;/P&gt;&lt;P&gt;105 sy-vline.&lt;/P&gt;&lt;P&gt;at end of object.&lt;/P&gt;&lt;P&gt;write : /(105) sy-uline.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/(105) sy-uline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;format color col_total intensified on.&lt;/P&gt;&lt;P&gt;write:/ 'No.of Exits:' , wf_smod.&lt;/P&gt;&lt;P&gt;write:/ 'No.of BADis:' , wf_badi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;format color col_negative intensified on.&lt;/P&gt;&lt;P&gt;write:/(105) 'No userexits or BADis exist'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;format color col_negative intensified on.&lt;/P&gt;&lt;P&gt;write:/(105) 'Transaction does not exist'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : wf_object type tadir-object.&lt;/P&gt;&lt;P&gt;clear wf_object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get cursor field field1.&lt;/P&gt;&lt;P&gt;check field1(8) eq 'WA_TADIR'.&lt;/P&gt;&lt;P&gt;read table jtab with key obj_name = sy-lisel+1(20).&lt;/P&gt;&lt;P&gt;move jtab-object to wf_object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case wf_object.&lt;/P&gt;&lt;P&gt;when 'SMOD'.&lt;/P&gt;&lt;P&gt;set parameter id 'MON' field sy-lisel+1(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'SMOD' and skip first screen.&lt;/P&gt;&lt;P&gt;when 'SXSD'.&lt;/P&gt;&lt;P&gt;set parameter id 'EXN' field sy-lisel+1(20).&lt;/P&gt;&lt;P&gt;call transaction 'SE18' and skip first screen.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Dec 2008 06:13:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-04T06:13:30Z</dc:date>
    <item>
      <title>Regarding Customer Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-customer-objects/m-p/4832811#M1130628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me in how to find the customer related infomation like userexits,function modules,etc in the  invoice creation transaction vf01,vf04,vf06.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Bharath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: BHARATH SANKILICHITTY on Dec 4, 2008 7:02 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2008 06:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-customer-objects/m-p/4832811#M1130628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-04T06:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Customer Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-customer-objects/m-p/4832812#M1130629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;To find....&lt;/P&gt;&lt;P&gt;For User Exit's&lt;/P&gt;&lt;P&gt;goto to tcode-&amp;gt;status-&amp;gt;program name-&amp;gt;double click on that,&lt;/P&gt;&lt;P&gt;then goto to-&amp;gt; attribute take the package name and &lt;/P&gt;&lt;P&gt;Goto SMOD tcode -&amp;gt;Utilities-&amp;gt;give the package name and F8&lt;/P&gt;&lt;P&gt;then a list of exits will display for that tcode as well as that package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For BADI's,&lt;/P&gt;&lt;P&gt;1)goto to tcode SE24 give the CL_EXITHANDLER and display and then double click on the GET_INSTANCE &lt;/P&gt;&lt;P&gt;keep Break point at this location 'call method cl_exithandler=&amp;gt;get_class_name_by_interface'&lt;/P&gt;&lt;P&gt;then the tcode it will trigger there and we can debugg there we can find badi'for that tcode and then remove the break point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)Goto to tcode-&amp;gt;status-&amp;gt;program name-&amp;gt;double click on that program will display's&lt;/P&gt;&lt;P&gt;then  press crtl+F then cl_exithandler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u ,&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2008 06:03:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-customer-objects/m-p/4832812#M1130629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-04T06:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Customer Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-customer-objects/m-p/4832813#M1130630</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;If you want to find out the Cust Objects for a standard tcode then ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first find out the program name of the tcode .. ( at status of that screen).&lt;/P&gt;&lt;P&gt;second  find the package for that program ,.. &lt;/P&gt;&lt;P&gt;third goo to se80 pass the package their you find all the info related to that tocde..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Raghunath.S&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2008 06:04:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-customer-objects/m-p/4832813#M1130630</guid>
      <dc:creator>former_member632729</dc:creator>
      <dc:date>2008-12-04T06:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Customer Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-customer-objects/m-p/4832814#M1130631</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;Execute the transaction in debugging mode&lt;/P&gt;&lt;P&gt;Place the break-point at statement call customer-function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whereever it breaks, you have reached a ser-exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2008 06:05:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-customer-objects/m-p/4832814#M1130631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-04T06:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Customer Objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-customer-objects/m-p/4832815#M1130632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try out this code.&lt;/P&gt;&lt;P&gt;this report program takes the tcode as inputs and gives all badi's and exits related to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report  zkexits.&lt;/P&gt;&lt;P&gt;tables : tstc,&lt;/P&gt;&lt;P&gt;tadir,&lt;/P&gt;&lt;P&gt;modsapt,&lt;/P&gt;&lt;P&gt;modact,&lt;/P&gt;&lt;P&gt;trdir,&lt;/P&gt;&lt;P&gt;tfdir,&lt;/P&gt;&lt;P&gt;enlfdir,&lt;/P&gt;&lt;P&gt;sxs_attrt ,&lt;/P&gt;&lt;P&gt;tstct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : jtab like tadir occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data : field1(30).&lt;/P&gt;&lt;P&gt;data : v_devclass like tadir-devclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_tcode like tstc-tcode,&lt;/P&gt;&lt;P&gt;p_pgmna like tstc-pgmna .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data wa_tadir type tadir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not p_tcode is initial.&lt;/P&gt;&lt;P&gt;select single * from tstc where tcode eq p_tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif not p_pgmna is initial.&lt;/P&gt;&lt;P&gt;tstc-pgmna = p_pgmna.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;select single * from tadir&lt;/P&gt;&lt;P&gt;where pgmid = 'R3TR'&lt;/P&gt;&lt;P&gt;and object = 'PROG'&lt;/P&gt;&lt;P&gt;and obj_name = tstc-pgmna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move : tadir-devclass to v_devclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;select single * from trdir&lt;/P&gt;&lt;P&gt;where name = tstc-pgmna.&lt;/P&gt;&lt;P&gt;if trdir-subc eq 'F'.&lt;/P&gt;&lt;P&gt;select single * from tfdir&lt;/P&gt;&lt;P&gt;where pname = tstc-pgmna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from enlfdir&lt;/P&gt;&lt;P&gt;where funcname = tfdir-funcname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from tadir&lt;/P&gt;&lt;P&gt;where pgmid = 'R3TR'&lt;/P&gt;&lt;P&gt;and object = 'FUGR'&lt;/P&gt;&lt;P&gt;and obj_name eq enlfdir-area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move : tadir-devclass to v_devclass.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from tadir into table jtab&lt;/P&gt;&lt;P&gt;where pgmid = 'R3TR'&lt;/P&gt;&lt;P&gt;and object in ('SMOD', 'SXSD')&lt;/P&gt;&lt;P&gt;and devclass = v_devclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from tstct&lt;/P&gt;&lt;P&gt;where sprsl eq sy-langu&lt;/P&gt;&lt;P&gt;and tcode eq p_tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;format color col_positive intensified off.&lt;/P&gt;&lt;P&gt;write:/(19) 'Transaction Code - ',&lt;/P&gt;&lt;P&gt;20(20) p_tcode,&lt;/P&gt;&lt;P&gt;45(50) tstct-ttext.&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;if not jtab[] is initial.&lt;/P&gt;&lt;P&gt;write:/(105) sy-uline.&lt;/P&gt;&lt;P&gt;format color col_heading intensified on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Sorting the internal Table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort jtab by object.&lt;/P&gt;&lt;P&gt;data : wf_txt(60) type c,&lt;/P&gt;&lt;P&gt;wf_smod type i ,&lt;/P&gt;&lt;P&gt;wf_badi type i ,&lt;/P&gt;&lt;P&gt;wf_object2(30) type c.&lt;/P&gt;&lt;P&gt;clear : wf_smod, wf_badi , wf_object2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the total SMOD.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at jtab into wa_tadir.&lt;/P&gt;&lt;P&gt;at first.&lt;/P&gt;&lt;P&gt;format color col_heading intensified on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/1 sy-vline,&lt;/P&gt;&lt;P&gt;2 'Enhancement/ Business Add-in',&lt;/P&gt;&lt;P&gt;41 sy-vline ,&lt;/P&gt;&lt;P&gt;42 'Description',&lt;/P&gt;&lt;P&gt;105 sy-vline.&lt;/P&gt;&lt;P&gt;write:/(105) sy-uline.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;clear wf_txt.&lt;/P&gt;&lt;P&gt;at new object.&lt;/P&gt;&lt;P&gt;if wa_tadir-object = 'SMOD'.&lt;/P&gt;&lt;P&gt;wf_object2 = 'Enhancement' .&lt;/P&gt;&lt;P&gt;elseif wa_tadir-object = 'SXSD'.&lt;/P&gt;&lt;P&gt;wf_object2 = ' Business Add-in'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;format color col_group intensified on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/1 sy-vline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 wf_object2,&lt;/P&gt;&lt;P&gt;105 sy-vline.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case wa_tadir-object.&lt;/P&gt;&lt;P&gt;when 'SMOD'.&lt;/P&gt;&lt;P&gt;wf_smod = wf_smod + 1.&lt;/P&gt;&lt;P&gt;select single modtext into wf_txt&lt;/P&gt;&lt;P&gt;from modsapt&lt;/P&gt;&lt;P&gt;where sprsl = sy-langu&lt;/P&gt;&lt;P&gt;and name = wa_tadir-obj_name.&lt;/P&gt;&lt;P&gt;format color col_normal intensified off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'SXSD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;For BADis&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wf_badi = wf_badi + 1 .&lt;/P&gt;&lt;P&gt;select single text into wf_txt&lt;/P&gt;&lt;P&gt;from sxs_attrt&lt;/P&gt;&lt;P&gt;where sprsl = sy-langu&lt;/P&gt;&lt;P&gt;and exit_name = wa_tadir-obj_name.&lt;/P&gt;&lt;P&gt;format color col_normal intensified on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/1 sy-vline,&lt;/P&gt;&lt;P&gt;2 wa_tadir-obj_name hotspot on,&lt;/P&gt;&lt;P&gt;41 sy-vline ,&lt;/P&gt;&lt;P&gt;42 wf_txt,&lt;/P&gt;&lt;P&gt;105 sy-vline.&lt;/P&gt;&lt;P&gt;at end of object.&lt;/P&gt;&lt;P&gt;write : /(105) sy-uline.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/(105) sy-uline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;format color col_total intensified on.&lt;/P&gt;&lt;P&gt;write:/ 'No.of Exits:' , wf_smod.&lt;/P&gt;&lt;P&gt;write:/ 'No.of BADis:' , wf_badi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;format color col_negative intensified on.&lt;/P&gt;&lt;P&gt;write:/(105) 'No userexits or BADis exist'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;format color col_negative intensified on.&lt;/P&gt;&lt;P&gt;write:/(105) 'Transaction does not exist'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : wf_object type tadir-object.&lt;/P&gt;&lt;P&gt;clear wf_object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get cursor field field1.&lt;/P&gt;&lt;P&gt;check field1(8) eq 'WA_TADIR'.&lt;/P&gt;&lt;P&gt;read table jtab with key obj_name = sy-lisel+1(20).&lt;/P&gt;&lt;P&gt;move jtab-object to wf_object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case wf_object.&lt;/P&gt;&lt;P&gt;when 'SMOD'.&lt;/P&gt;&lt;P&gt;set parameter id 'MON' field sy-lisel+1(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'SMOD' and skip first screen.&lt;/P&gt;&lt;P&gt;when 'SXSD'.&lt;/P&gt;&lt;P&gt;set parameter id 'EXN' field sy-lisel+1(20).&lt;/P&gt;&lt;P&gt;call transaction 'SE18' and skip first screen.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Dec 2008 06:13:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-customer-objects/m-p/4832815#M1130632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-04T06:13:30Z</dc:date>
    </item>
  </channel>
</rss>

