<?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 Problem with copying the T-code KSB1 program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227220#M478820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to copy the standard report KSB1 and have to make the changes to it. But problem is when I am copying the program RKAEP000 to ZRKAEP000 and try to execute the program it gives the error &amp;#147;Transaction Code Does not Defined&amp;#148;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I tried to execute the standard program RKAEP000 it gave me the same error, but when I am executing through transaction code KSB1 then it is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I tried to copy the T-code KSB1 to ZKSB1 then executed the ZKSB1, it gave me same error. Now I am not able to find where the program is checking for the t-code ZKSB1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will appreciate you guy&amp;#146;s response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2007 18:25:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-01T18:25:19Z</dc:date>
    <item>
      <title>Problem with copying the T-code KSB1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227220#M478820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to copy the standard report KSB1 and have to make the changes to it. But problem is when I am copying the program RKAEP000 to ZRKAEP000 and try to execute the program it gives the error &amp;#147;Transaction Code Does not Defined&amp;#148;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I tried to execute the standard program RKAEP000 it gave me the same error, but when I am executing through transaction code KSB1 then it is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I tried to copy the T-code KSB1 to ZKSB1 then executed the ZKSB1, it gave me same error. Now I am not able to find where the program is checking for the t-code ZKSB1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will appreciate you guy&amp;#146;s response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 18:25:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227220#M478820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T18:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with copying the T-code KSB1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227221#M478821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this piece of code in form transaction_init in include RKAEPINI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-batch IS INITIAL OR c_item_group IS INITIAL.       "note 193499&lt;/P&gt;&lt;P&gt;    "parameters must be filled in batch mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'K_LINE_ITEM_LOGICAL_KEY_GET'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_tcode            = v_tcode&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        e_item_group       = c_item_group&lt;/P&gt;&lt;P&gt;        e_rep_object       = c_rep_object&lt;/P&gt;&lt;P&gt;        e_update           = gd-update&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        unknow_transaction = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe u can just comment this check.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 18:40:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227221#M478821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T18:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with copying the T-code KSB1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227222#M478822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;better copy that FM to a Z  function module,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and add this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN 'ZKSB1'.  &lt;/P&gt;&lt;P&gt;      E_ITEM_GROUP = CON_ITEM_GROUP-COST_ACTUAL.&lt;/P&gt;&lt;P&gt;      E_REP_OBJECT = OBJEKTART_KS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and call this Z FM from your program.    just to make sure it works exactly as KSB1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 18:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227222#M478822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T18:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with copying the T-code KSB1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227223#M478823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See below FM,and you are getting problem in this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep Break point in this FM or    RKAEPINI ( Include ) keep break Point here.&lt;/P&gt;&lt;P&gt;now run your transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'K_LINE_ITEM_LOGICAL_KEY_GET'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              i_tcode            = v_tcode&lt;/P&gt;&lt;P&gt;         IMPORTING&lt;/P&gt;&lt;P&gt;              e_item_group       = c_item_group&lt;/P&gt;&lt;P&gt;              e_rep_object       = c_rep_object&lt;/P&gt;&lt;P&gt;              e_update           = gd-update&lt;/P&gt;&lt;P&gt;         EXCEPTIONS&lt;/P&gt;&lt;P&gt;              unknow_transaction = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 1.&lt;/P&gt;&lt;P&gt;      MESSAGE e496(kb).&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if it is helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 18:49:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227223#M478823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T18:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with copying the T-code KSB1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227224#M478824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a start, try commenting out the call to FM K_LINE_ITEM_LOGICAL_KEY_GET, and set the values of c_item_group to COAC and c_rep_object to KS manually. And clear gd-update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 19:01:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227224#M478824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T19:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with copying the T-code KSB1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227225#M478825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you guys it worked. Now  I have to add LIFNR (Vendor) field to the output of the custom program. I have to get LIFNR for the corresponding purchase order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know how to proceed to add LIFNR to the output ALV grid.&lt;/P&gt;&lt;P&gt;I can get the LIFNR from the EKKO table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 19:21:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227225#M478825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T19:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with copying the T-code KSB1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227226#M478826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_structure_name       = c_field_structure&lt;/P&gt;&lt;P&gt;        i_client_never_display = 'X'&lt;/P&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;        ct_fieldcat            = ct_default_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after this,  append ur LIFNR also to field catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also  select from ekko and pass to the internal table which is being passed to reuse_alv_*display   FM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 19:56:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227226#M478826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T19:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with copying the T-code KSB1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227227#M478827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sujamol,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah I can do it but I am not able to find where to do changes in program RKAEP000 to make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 20:03:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227227#M478827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T20:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with copying the T-code KSB1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227228#M478828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you get the purchase order number?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 20:11:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227228#M478828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T20:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with copying the T-code KSB1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227229#M478829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;search for this block in that.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;this is piece existing in that program..&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_structure_name = c_field_structure&lt;/P&gt;&lt;P&gt;i_client_never_display = 'X'&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;ct_fieldcat = ct_default_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just after this add ur field catalog..to append this ct_default_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was this your question ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 20:13:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227229#M478829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T20:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with copying the T-code KSB1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227230#M478830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have added the following code, but it is not adding the LIFNR column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_structure_name       = c_field_structure&lt;/P&gt;&lt;P&gt;        i_client_never_display = 'X'&lt;/P&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;        ct_fieldcat            = ct_default_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ls_field_cat-col_pos    = '182'.&lt;/P&gt;&lt;P&gt;    ls_field_cat-fieldname    = 'LIFNR'.&lt;/P&gt;&lt;P&gt;    ls_field_cat-seltext_l    = 'Vendor'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    APPEND ls_field_cat to ct_default_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field catalog has almost 181 columns so I have added it at the 182 position. Other thing is to get the LIFNR I required the purchase order number. I am able to see the purchase order in the output but not able to find out from which internal table I have to extract it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2007 12:41:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227230#M478830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-02T12:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with copying the T-code KSB1 program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227231#M478831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide the steps which you followed in creating Z program and adding logic to add new fields?&lt;/P&gt;&lt;P&gt;Have a similar requirement.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 06:21:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-copying-the-t-code-ksb1-program/m-p/2227231#M478831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-08T06:21:50Z</dc:date>
    </item>
  </channel>
</rss>

