<?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 while creating Transaction Code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804447#M345327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a Z-(or Y-) transaction using SE93 t-code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Put the proposed name of the t-code(must start with Z or Y) and click on "Create".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Give a "Short Text". Select Start Object "Program and Selection Screen(Report Transaction)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Enter the program name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Dec 2006 09:21:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-25T09:21:08Z</dc:date>
    <item>
      <title>Problem while creating Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804446#M345326</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;I m new to abap and I've been given to copy a standard program to make some changes in it.&lt;/P&gt;&lt;P&gt;But before i could do changes i thought of first copying  the standard program and creating a transaction for it to see if it works as standard or not.&lt;/P&gt;&lt;P&gt;Now when i run the report usig this transaction it gives error "Transaction code not defined".&lt;/P&gt;&lt;P&gt;On clicking on its help the detail error says: "You have called up the program without defining a corresponding transaction code. This is probably beacause variant maintenance has been called up using se38. It is not possible to create variants using this transaction."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The standard program is RKAEP000. and only its transaction cpb1 needs to be copied with screen 120 which should be assigned to the transaction as in standard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how should i handle it?&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Dec 2006 08:49:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804446#M345326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-25T08:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while creating Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804447#M345327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a Z-(or Y-) transaction using SE93 t-code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Put the proposed name of the t-code(must start with Z or Y) and click on "Create".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Give a "Short Text". Select Start Object "Program and Selection Screen(Report Transaction)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Enter the program name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Dec 2006 09:21:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804447#M345327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-25T09:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while creating Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804448#M345328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you copied the program from standard one you have to see that which is the main screen or youare using the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after u got that screen no you have to mention the screen no in that creation of the t-code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it will help you malhotra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Dec 2006 09:22:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804448#M345328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-25T09:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while creating Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804449#M345329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Use Transactional Variants&lt;/P&gt;&lt;P&gt;Check&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/7d/f639f8015111d396480000e82de14a/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/7d/f639f8015111d396480000e82de14a/content.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2882353"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Dec 2006 09:41:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804449#M345329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-25T09:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while creating Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804450#M345330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i've checked that screen 120 is of type selection screen but when i copy this to my z program its type changes from selection screen to normal screen. And moreover it doesnot allow me to change its type. as the radiobutton of seletion screen is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Dec 2006 09:55:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804450#M345330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-25T09:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while creating Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804451#M345331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Annie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the coding of report RKAEP000 you see that at event &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN OUTPUT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the routine &amp;lt;b&amp;gt;TRANSACTION_INIT&amp;lt;/b&amp;gt; is called.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM transaction_init
*&amp;amp;---------------------------------------------------------------------*
USING    value(v_tcode) LIKE p_tcode
*&amp;amp;---------------------------------------------------------------------*
CHANGING c_item_group   TYPE kaep_item_group
         c_rep_object   TYPE kaep_rep_object
         c_update       TYPE kaep_flag
         c_sign_apc     LIKE rkact_cl-sign_ap
         c_title        LIKE rsmpe-titcode.
*----------------------------------------------------------------------*

  CLEAR gd.

  IF sy-batch IS INITIAL OR c_item_group IS INITIAL.       "note 193499
    "parameters must be filled in batch mode

    CALL FUNCTION 'K_LINE_ITEM_LOGICAL_KEY_GET'
      EXPORTING
        i_tcode            = v_tcode
      IMPORTING
        e_item_group       = c_item_group
        e_rep_object       = c_rep_object
        e_update           = gd-update
      EXCEPTIONS
        unknow_transaction = 1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;    IF sy-subrc = 1.&lt;/P&gt;&lt;P&gt;      MESSAGE e496(kb).&lt;/P&gt;&lt;P&gt;    ENDIF.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    CALL FUNCTION 'K_LINE_ITEM_APC_SIGN_GET'
      EXPORTING
        i_item_group = c_item_group
      IMPORTING
        e_sign_apc   = c_sign_apc.

  ENDIF.
  CONCATENATE c_item_group c_rep_object c_update INTO c_title.
  gs_display_variant-report = self.
  gs_display_variant-handle = c_item_group.
  gs_display_variant-log_group = c_rep_object.

ENDFORM.                               " TRANSACTION_INIT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function module K_LINE_ITEM_LOGICAL_KEY_GET does not know your transaction and therefore returns an error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To overcome this problem you can change the coding in your copied report as following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
AT SELECTION-SCREEN OUTPUT.
*&amp;amp;---------------------------------------------------------------------*
* Transaction initialization must be done here because parameters are
* not filled at INITIALIZATION when called via SUBMIT
*&amp;amp;---------------------------------------------------------------------*

  CHECK sscrfields-ucomm(2) NE 'UC'.
  IF p_tcode IS INITIAL.
    p_tcode = sy-tcode.
  ENDIF.

  GET PARAMETER ID 'TPB' FIELD p_valtyp.
  IF sy-subrc NE 0.
    GET PARAMETER ID 'VTP' FIELD p_valtyp.
  ENDIF.

  PERFORM transaction_init 
                           USING    'CPB1'     " p_tcode
                           CHANGING p_item
                                    p_obj
                                    gd-update
                                    gd-sign_apc
                                    gd-title.
...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply replace the variable &amp;lt;i&amp;gt;p_tcode&amp;lt;/i&amp;gt; with the original transaction code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Dec 2006 12:35:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804451#M345331</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-12-25T12:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while creating Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804452#M345332</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;please help as m not getting any direction to it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Dec 2006 12:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804452#M345332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-25T12:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while creating Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804453#M345333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Annie &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned before the coding &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    IF sy-subrc = 1.
      MESSAGE e496(kb).  " Transaction code not defined
    ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gives you the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus, if you modify the PERFORM &amp;lt;i&amp;gt;transaction_init&amp;lt;/i&amp;gt; as described above the report should work.&lt;/P&gt;&lt;P&gt;See the coding of function module &amp;lt;b&amp;gt;K_LINE_ITEM_LOGICAL_KEY_GET&amp;lt;/b&amp;gt; to get the allowed transactions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FUNCTION K_LINE_ITEM_LOGICAL_KEY_GET.
*"----------------------------------------------------------------------
*"*"Lokale Schnittstelle:
*"       IMPORTING
*"             VALUE(I_TCODE) LIKE  SY-TCODE DEFAULT SY-TCODE
*"       EXPORTING
*"             VALUE(E_ITEM_GROUP) TYPE  KAEP_ITEM_GROUP
*"             VALUE(E_REP_OBJECT) TYPE  KAEP_REP_OBJECT
*"             VALUE(E_UPDATE) TYPE  KAEP_FLAG
*"       EXCEPTIONS
*"              UNKNOW_TRANSACTION
*"----------------------------------------------------------------------
  CLEAR E_UPDATE.

  CASE I_TCODE.
* documents
    WHEN 'KSB5'.
      E_ITEM_GROUP = CON_ITEM_GROUP-COST_ACTUAL.
      E_REP_OBJECT = CON_REP_OBJECT-DOCUMENTS.
    WHEN 'KABP'.
      E_ITEM_GROUP = CON_ITEM_GROUP-COST_PLAN.
      E_REP_OBJECT = CON_REP_OBJECT-DOCUMENTS.
* cost centers
    WHEN 'KSB1'.
      E_ITEM_GROUP = CON_ITEM_GROUP-COST_ACTUAL.
      E_REP_OBJECT = OBJEKTART_KS.
    WHEN 'KSBP'.
      E_ITEM_GROUP = CON_ITEM_GROUP-COST_PLAN.
      E_REP_OBJECT = OBJEKTART_KS.
    WHEN 'KSB2'.
      E_ITEM_GROUP = CON_ITEM_GROUP-COMMITMENTS.
      E_REP_OBJECT = OBJEKTART_KS.
    WHEN 'KSB8'.
      E_ITEM_GROUP = CON_ITEM_GROUP-BUDGET.
      E_REP_OBJECT = OBJEKTART_KS.
* orders
    WHEN 'KOB1' OR 'KRMI'.
      E_ITEM_GROUP = CON_ITEM_GROUP-COST_ACTUAL.
      E_REP_OBJECT = OBJEKTART_OR.
    WHEN 'KOBP'.
      E_ITEM_GROUP = CON_ITEM_GROUP-COST_PLAN.
      E_REP_OBJECT = OBJEKTART_OR.
    WHEN 'KOB4'.
      E_ITEM_GROUP = CON_ITEM_GROUP-BUDGET.
      E_REP_OBJECT = OBJEKTART_OR.
    WHEN 'KOB5'.                         " IM-Auftraege EP Aufteilung
      E_ITEM_GROUP = CON_ITEM_GROUP-SETTLEMENT.
      E_REP_OBJECT = OBJEKTART_OR.
      E_UPDATE     = CON_ON.
    WHEN 'KOB6'.                         " IM-Auftraege EP Anzeige
      E_ITEM_GROUP = CON_ITEM_GROUP-SETTLEMENT.
      E_REP_OBJECT = OBJEKTART_OR.
      E_UPDATE     = CON_OFF.
    WHEN 'KOB7'.                         " IM-Auftraege EP Abgang
      E_ITEM_GROUP = CON_ITEM_GROUP-RETIREMENT.
      E_REP_OBJECT = OBJEKTART_OR.
      E_UPDATE     = CON_ON.
    WHEN 'KOB2'.
      E_ITEM_GROUP = CON_ITEM_GROUP-COMMITMENTS.
      E_REP_OBJECT = OBJEKTART_OR.
    WHEN 'KOB3' OR 'KKFB'.
      E_ITEM_GROUP = CON_ITEM_GROUP-DEVIATION.
      E_REP_OBJECT = OBJEKTART_OR.
    WHEN 'KOB8'.
      E_ITEM_GROUP = CON_ITEM_GROUP-RESULT_ANALYSIS.
      E_REP_OBJECT = OBJEKTART_OR.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;lt;b&amp;gt;* business processes&lt;/P&gt;&lt;P&gt;    WHEN 'CPB1'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;      E_ITEM_GROUP = CON_ITEM_GROUP-COST_ACTUAL.
      E_REP_OBJECT = OBJEKTART_BP.
    WHEN 'CPBP'.
      E_ITEM_GROUP = CON_ITEM_GROUP-COST_PLAN.
      E_REP_OBJECT = OBJEKTART_BP.
* cost objects
    WHEN 'KKCS'.
      E_ITEM_GROUP = CON_ITEM_GROUP-COST_ACTUAL.
      E_REP_OBJECT = OBJEKTART_HP.
    WHEN 'KKCP'.
      E_ITEM_GROUP = CON_ITEM_GROUP-COST_PLAN.
      E_REP_OBJECT = OBJEKTART_HP.
    WHEN 'KKCA'.
      E_ITEM_GROUP = CON_ITEM_GROUP-DEVIATION.
      E_REP_OBJECT = OBJEKTART_HP.
* sales orders
    WHEN 'KVBI'.
      E_ITEM_GROUP = CON_ITEM_GROUP-COST_ACTUAL.
      E_REP_OBJECT = OBJEKTART_VB.
    WHEN 'KVBO'.
      E_ITEM_GROUP = CON_ITEM_GROUP-COMMITMENTS.
      E_REP_OBJECT = OBJEKTART_VB.
    WHEN 'KKAA'.
      E_ITEM_GROUP = CON_ITEM_GROUP-RESULT_ANALYSIS.
      E_REP_OBJECT = OBJEKTART_VB.
* projects
    WHEN 'CJI3' OR 'CJ74'.               "projects actual line items
      E_ITEM_GROUP = CON_ITEM_GROUP-COST_ACTUAL.
      E_REP_OBJECT = OBJEKTART_PD.
    WHEN 'CJI4' OR 'CJ7M'.               "projects plan line items
      E_ITEM_GROUP = CON_ITEM_GROUP-COST_PLAN.
      E_REP_OBJECT = OBJEKTART_PD.
    WHEN 'CJI5' OR 'CJ76'.               "projects obligo line items
      E_ITEM_GROUP = CON_ITEM_GROUP-COMMITMENTS.
      E_REP_OBJECT = OBJEKTART_PD.
    WHEN 'CJI6'.
      E_ITEM_GROUP = CON_ITEM_GROUP-SKF_ACTUAL.
      E_REP_OBJECT = OBJEKTART_PD.
    WHEN 'CJI7'.
      E_ITEM_GROUP = CON_ITEM_GROUP-SKF_PLAN.
      E_REP_OBJECT = OBJEKTART_PD.
    WHEN 'CJI8'.                         "projects budget line items
      E_ITEM_GROUP = CON_ITEM_GROUP-BUDGET.
      E_REP_OBJECT = OBJEKTART_PD.
    WHEN 'CJI9'.                         "projects strc. plan line items
      E_ITEM_GROUP = CON_ITEM_GROUP-STRC_PLAN.
      E_REP_OBJECT = OBJEKTART_PD.
    WHEN 'CJIA' OR 'CJT2'.               "projects cash act. line items
      E_ITEM_GROUP = CON_ITEM_GROUP-FINANCE_ACTUAL.
      E_REP_OBJECT = OBJEKTART_PD.
    WHEN 'CJIB'.                         "projects cash plan line items
      E_ITEM_GROUP = CON_ITEM_GROUP-FINANCE_PLAN.
      E_REP_OBJECT = OBJEKTART_PD.
    WHEN 'CJIC'   OR   'CJ70'.              " IM-Projekte EP Aufteilung
      E_ITEM_GROUP = CON_ITEM_GROUP-SETTLEMENT.
      E_REP_OBJECT = OBJEKTART_PD.
      E_UPDATE     = CON_ON.
    WHEN 'CJID'   OR 'CJ72'.              " IM-Projekte EP Anzeige
      E_ITEM_GROUP = CON_ITEM_GROUP-SETTLEMENT.
      E_REP_OBJECT = OBJEKTART_PD.
    WHEN 'CJIE'   OR 'CJ7N'.              " IM-Projekte EP Abgang
      E_ITEM_GROUP = CON_ITEM_GROUP-RETIREMENT.
      E_REP_OBJECT = OBJEKTART_PD.
      E_UPDATE     = CON_ON.
    WHEN 'CJIF'.                         "projects res. anal. line items
      E_ITEM_GROUP = CON_ITEM_GROUP-RESULT_ANALYSIS.
      E_REP_OBJECT = OBJEKTART_PD.
    WHEN 'CJIG'.                         "projects cash documents
      E_ITEM_GROUP = CON_ITEM_GROUP-FINANCE_ACTUAL.
      E_REP_OBJECT = CON_REP_OBJECT-DOCUMENTS.
* real estate objects                                             "TH40C
    WHEN 'FOEP0001'                "real estate actual line items "TH40C
    OR   'FOEPA001'                                               "TH40C
    OR   'FOEPV001'.                                              "TH40C
      E_ITEM_GROUP = CON_ITEM_GROUP-COST_ACTUAL.                  "TH40C
      E_REP_OBJECT = OBJEKTART_IW.                                "TH40C
    WHEN 'FOEP0002'                 "real estate com. line items  "TH40C
    OR   'FOEPA002'                                               "TH40C
    OR   'FOEPV002'.                                              "TH40C
      E_ITEM_GROUP = CON_ITEM_GROUP-COMMITMENTS.                  "TH40C
      E_REP_OBJECT = OBJEKTART_IW.                                "TH40C
    WHEN 'FOEP0003'                 "real estate plan line items  "TH40C
    OR   'FOEPA003'                                               "TH40C
    OR   'FOEPV003'.                                              "TH40C
      E_ITEM_GROUP = CON_ITEM_GROUP-COST_PLAN.                    "TH40C
      E_REP_OBJECT = OBJEKTART_IW.                                "TH40C
    WHEN OTHERS.
      RAISE UNKNOW_TRANSACTION.
  ENDCASE.

ENDFUNCTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Dec 2006 18:20:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804453#M345333</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-12-25T18:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while creating Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804454#M345334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;For creating a custom transaction code using SE 93 u can do it,&lt;/P&gt;&lt;P&gt;go to SE93, and give the name starting with Z or Y and rest of ur,&lt;/P&gt;&lt;P&gt;then the in se38 the standard program also copy with Z or Y, then assign the Z or Y program to the custom Z or Y transaction, I hope it will solve ur issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraju.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Dec 2006 20:05:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804454#M345334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-25T20:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while creating Transaction Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804455#M345335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much Uwe, u solved my problem.&lt;/P&gt;&lt;P&gt;i've awarded u ur points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 09:28:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-creating-transaction-code/m-p/1804455#M345335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T09:28:20Z</dc:date>
    </item>
  </channel>
</rss>

