Transaction code not defined - Reg

Hi ,
I have copied the program  RKAEP000 ( of transaction KSB1) into ZRKAEP000. I have assigned to new transaction to the program ZRKAEP000 and screen no :0100 .
When I try to exicute the tranction system  is throwing below message .
                                 'Transaction code not defined'
Can you please let me know if i miss any process.
I am getting the same error when i try to exicute the program RKAEP000 from se38 .
Thanks in advace,
Regards,
Jagadeshwar.G

Hi Jagadeshwar ,
Program RKAEP000 uses a function module , K_LINE_ITEM_LOGICAL_KEY_GET.
This fm has input as tcode name... and you are getting error in your program because this FM is fixed for only few tcodes....that is few T codes are hard coded in this FM
the code for that FM is as follows:
  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'..........................................
and so on.----
So when u give ur tcode.... it is goin to give error.
you need to copy this FM and make modification for your req.
Edited by: brijesh soni on Sep 1, 2009 8:31 AM

Similar Messages

  • Transaction code not defined

    HI Guru's,
    I have a little problem, when I do a
    SUBMIT rkaep000
        WITH SELECTION-TABLE i_tab
         TO SAP-SPOOL
    I receive the following error message : "Transaction code not defined"
    When I try also to run alone the program "rkaep000" se38, I receive the same error.
    Anybody have a solution?
    Regards,
    MohameD.

    Use call transaction method. Call the program by using following relevent t-code.
    T-Code      program                                                                                Description
    CJIG     RKAEP000     800          80          Display PS Cash Documents
    CPB1     RKAEP000     120          80          Business Processes: Act. Line Items
    CPBP     RKAEP000     220          80          Business Processes: Plan Line Items
    KABP     RKAEP000     400          80          Controlling Documents: Plan
    KKAA     RKAEP000     740          80          Sales Document Line Items Res.Anal.
    KKCA     RKAEP000     630          80          Cost Objects: Variance Line Items
    KKCP     RKAEP000     230          80          Cost Object Line Items - Plan
    KKCS     RKAEP000     130          80          Cost Objects: Line Items - Actual
    KKFB     RKAEP000     650          80          RS Header: Line Items Variance
    KOB1     RKAEP000     110          80          Orders: Actual Line Items
    KOB2     RKAEP000     310          80          Orders: Commitment Line Items
    KOB3     RKAEP000     610          80          Orders: Variance Line Items
    KOB4     RKAEP000     910          80          Orders: Budget Line Items
    KOB5     RKAEP000     510          80          Orders: Maint. Line Item Settlement
    KOB6     RKAEP000     510          80          Orders: Settlement Line Items
    KOB7     RKAEP000     510          80          Orders: Line Item Settlement Retirem
    KOB8     RKAEP000     710          80          Orders: WIP/Results Anal. Line Items
    KOBP     RKAEP000     210          80          Orders: Plan Line Items
    KRMI     RKAEP000     150          80          Run Sched. Header: Line Items Actual
    KSB1     RKAEP000     100          80          Cost Centers: Actual Line Items
    KSB2     RKAEP000     300          80          Cost Centers: Commitment Line Items
    KSB5     RKAEP000     400          80          Controlling Documents: Actual
    KSBP     RKAEP000     200          80          Cost Centers: Plan Line Items
    KVBI     RKAEP000     140          80          Sales Documents: Line Items Actual
    KVBO     RKAEP000     320          80          Sales Documents: Commit. Line Items
    Thank You,
    Ganesh

  • Company code not defined in MIRO

    Hi,
    My PO price is 100$.When i try to give the amount 101 in MIRO.It is giving the error"Company code not defined"
    Please help me in resolving this issue.
    Thanks
    Srini

    Hi,
    1st check entry of your company code in table T169P.
    Now maintain the  tolerance limits for your Company code in OMR6 t.code for the tolerance key DQ {Exceed amount: quantity variance} and PP {Price variance } and save.
    Try your transaction MIRO now.
    Regards,
    Biju K

  • AA821 - Company code  not defined in Asset Accounting

    Dear Experts,
    We are trying to Settle AUC using AIBU. Wherein we found error "AA871 - Company code  not defined in Asset Accounting" in the last fiscal year
    When we try to settle in current date, it is not giving any error.
    We found one sap note "SAP Note 459719 - AIBU: Message AA821,AW521 for settlmt rule with "To" period". The note mentions that we need to remove the to period and to fiscal year from the settlement rule in transaction AIAB. However, there is not settlement rule in AIAB, instead there are documents posted to AUC asset.
    Can any one assist in where to update the settlement rule or any alternative solution to the error mentioned above.
    Thanks in advance.
    Regards,
    Nirav

    Dear Ravi,
    Thanks for your reply.
    Even I encountered the same note.
    However, it is not the solution.
    The solution was to detach the existing Settlement Rule and create a new one.
    Thanks anyways.
    Regards,
    Nirav Shah

  • Compny code not defined

    Dear All,
    Compny code not defined issue is coming in VL02N Tcode
    Message No F5165.
    This is Inter company related transactions. Since is company codes are wrking from last 2 years.
    Please revert if any

    Basically, you can assume from the error message that Customizing is incomplete concerning company code (field BUKRS in table T001K) or valuation area (field BWKEY in table T001W).
    Or field WERKS may not be maintained in the preceding document (order) for the corresponding delivery item. As a result, the system does not find a valuation area in table T001W as well.
    Refer Note 509033 - Goods issue: Error F5165 when posting goods movements

  • Tax Jurisdiction Code not defined for procedure TAXSE

    Hello,
    We are facing any issue with the error "Tax Jurisdiction Code not defined for procedure TAXSE"
    We are in mid of production bill run and this is getting very critical. Any pointers would be highly appreciated.
    The company code country is SE (Sweden)
    We have 2 BPs with address in California, US.
    The Billing is successful for both the BPs.
    While invoicing, one BP is successful.
    The other is going in error "Tax Jurisdiction Code not defined for procedure TAXSE".
    Error Details
    Jurisdiction code not defined for procedure TAXSE
    Message no. FF748
    Diagnosis
    You have entered a jurisdiction code in a country whose calculation procedure
    does not allow the entry of jurisdiction codes.
    System Response
    Procedure
    Check and, if necessary, correct the entry.
    Procedure for System Administration
    If it is not an input error, check and possibly change the system
    settings.
    To do this, choose Maintain entries (F5).
    Change your calculation procedure so that tax calculation is carried out
    using the jurisdiction code.
    The BP and the CA setup is exact for both the cases.
    Thanks

    Hi
    Go to the following SPRO config-
    SAP Customizing Implementation Guide-->Financial Accounting-->Contract Accounts Receivable and Payable--->Basic Functions--->Contract Accounts--->Field Modifications--->Configure Field Attributes per Activity
    Select Change and double-click on field grouping Jurisdiction code.
    You will get the following screen.
    You have to tick the option Changes plannable and then you will be able to remove jurisdiction code from CAA2
    Hope it helps..
    Thanks,
    Amlan

  • Company Code not defined in T001

    Hi Friends,
    This the error, when we try to upload the GL Entries into SAP via BDC Program.
    "Company Code not defined in T001"
    I have checked the table T001 - Company Code is their
    I have created the GL Account too for that particular company code.
    Possiblities of Error.
    Regards,
    vivek

    HI,
    I have already checked everything is fine.
    My dought is in BDC Program.
    When i tested in Testing it is working fine?
    Can you help me out?
    I need to check
    Parameters, Validations, Mapping Else

  • In MB1B - Error " AC519 - Company code not defined"

    Dear All,
    I tried posting in T-code MB1B & ME2O for Sub contracting (Item category L in PO).
    After assigning Purchase Order in MB1B or ME2O, system is giving Error Msg
    " Company code not defined" Message no. AC519
    AC519 is related to Asset Accounting.
    I have checked OBY6 all the settings is in place.
    All answers/suggestion will be rewarded with point.
    Thanks in Advance.
    Velu Mudaliar

    Hello Velu,
    This may help:
    You have to check the content of tables T093C, T093U, T093B, T093D.
    There might be entries with value '    ' (initial).
    If you cannot use SE16N to delete these entries, or you may create a
    a self made abap to delete the entries.
    cheers,
    Jon

  • Company Code not defined

    Hi,
    I have copied the standard program behind FB60 and created a new transaction named ZFB60. There is no change in the code except that I have added a field on the main screen.
    Now the problem is when I run my transaction, it pops a dialog box and asks me
    for the Company code. After entering that, it takes me to the main screen where when I enter fields 'Vendor' , 'Invoice date' and 'Reference', it gives me an error "Company code  is not defined". But if with the same set of data I execute the original transaction FB60, it gives me no error.
    My problem is that can any one tell me, why this error is coming, when I have made no changes to the original code. The only change that I have made is adding a field in the tablecontrol that comes on the main screen.
    Can anyone help me?
    Points assured for helpful answers.

    Hi
    Probably the program does some controls using the value of SY-TCODE, so u should find and replace them.
    So if you have : IF TCODE = 'FB60', you should replace it with IF TCODE = 'ZFB60'.
    It's not easy to create a copy of FB60, because the main program (SAPMF05A) of FB60 is called by many transactions, so it has a different behavior for every trx.
    Max

  • Tax code not defined in ERS

    Hi,
    When i create PO and check the ERS invoice expected check box,I get the error messgae as below:
    Enter Tax Code for ERS settlement.
    Pls advise.

    Hi
    First of all check the vendor mater and in that Purchasing data for ERS setelements and after that check the tax procedure. If the tax procdure is not define for the ERS then you need to define in the system.
    REgards
    sAtsih

  • ABAP Query Execution via Custom Transaction Code - Not working

    We have created an ABAP Query in our DEV client and we then created a transaction code to run that query. We have done this because the customer does not want anyone to have access to SQ01, SQ02 in production. This works great in DEV but we can not get it to work in production.
    The ABAP Query was exported to our Prod client successfully.  I say exported because you do not do direct transports with queries.
    We then transported the new transaction code to run the query to production and it was successful.
    However, when we run the transaction is production we get a sys dump stating it can not find the query.
    We believe the problem is the TRDIR table is missing an entry for the program in production (it has an entry in DEV).
    I would have thought that the export on the query would have brought in this entry -but obviously not.
    Any suggestions on how we can get this entry into the production client?  Did we miss a step on the export that would do this?  We want to only bring over this entry - not the entire TRDIR table for obvious reasons (size (1.5 million entries, programs not ready for production, etc.).
    Please help!
    Thanks.
    Scott

    Hi,
    The above solution will work if you assign the transaction in one server, If you want this will not work in quality/production boxes when transported the query..the program name will not be the same in all the servers...
    For this. Do the below:
    In SE93, Create a Paramter Transaction
    -> Transaction = Start_report
    -> In default values, give the below details:
         D_SREPOVARI-REPORTTYPE = AQ
         D_SREPOVARI-EXTDREPORT = Name of the Query
         D_SREPOVARI-REPORT = User Group
    Save the transaction..Now if the program is generated with different names in the quality/proudction, this will still work..
    Regards
    Vijay Hebbal

  • Co.code not defined to country or country to the calculation procedure erro

    Hai All,
      Iam facing an error while creating the PO i.e., co.code not assigned to country or country to the calculation procedure error.
    Actually, Iam working in 800 client and there is no TAXINN so how is it possible to assign the country India to the calculation procedure?
    Please help me out.
    Regards
    ANU

    Hi Friend,
    I think you are working with SAP 4.7EE version. In 4.7EE version TAXINN procedure not created in 800 Client. If you have authorization to view 000 Client, You can find  TAXINN procedure in 000 Client.
    For your problem, I will suggest 2 solutions:
    Ist solution: Open simultaneously 000 and 800 clients in your system (4.7EE), then you can replicate the TAXINN procedure in 800 client.
    Second solution: You can use any other available/existing Tax procedure in your client to resolve your said problem.
    If you are using 4.6C version, you have to install CIN add-on.
    From ECC6.0 Version you can find  TAXINN procedure in 800 client also. Please let me know if you have any clarifications.
    Thanks
    Chandra

  • Transaction code for Define Basic material

    Can any one give the Trannsaction code for the path
    SPROLogistics generalMaterial masterSettings for key fieldsDefine basic material

    Hi,
    OMT6
    Regards,
    Biju K

  • FBVB error msg "Transaction not defined for direct call-up"

    Dear Gurus,
    Pls help me on issues below:-
    1.)What is the diff between FBV0 and FBVB?
    2.)When i try to initialize FBVB. I received an error "Transaction FBVB not defined for direct call-up. Can u teach me how to fix it up coz one of my end-user requested this T-code.
    Thanks.

    Nothing needs to be fixed - the transaction is called behind the scenes when the user uses FBV0 to post a parked document.  Users should never call FBVB directly.
    Andrew

  • How to lock transaction codes in ABAP report

    Hello all,
    I'm now planning to lock several transaction codes as a batch job to prevent end users from using locked tr-cds while processing batch jobs during online service period.
    I found out tr-cd: SM01 to lock tr-cds, but I don't get what I can do with this tr-cd when you want to execute this as a background job.
    I suppose I can make it by using transaction recorder or call transaction.
    But I want to do this in smarter manner (like executing certain report PGM with a variant containing tr-cds to be locked).
    I rather prefer using FM or BAPI to using transaction recorder etc if possible...
    If you know anything on this issue, please please help me..
    Hozy

    Hi,
    Not quite correct - this is the FM that posts a record about the lock/unlock to the audit log (SM01 calls it), but ir doesn't change the transaction lock itself.
    Here is a sample report that does do the trick. You may want to change it to your needs, e.g. allow changing multiple transactions in one run:
    REPORT  ZTXLOCK.
    parameters:
      p_tcode      type tcode obligatory,
      p_mode       type char1 obligatory.   "L=lock, U=unlock
    tables: tstc.
    at selection-screen on p_tcode.
      select single * from tstc where tcode = p_tcode.
      if sy-subrc <> 0.
        message e002(sy) with 'Transaction code not found'.
      endif.
    at selection-screen on p_mode.
      if p_mode na 'LU'.
        message e002(sy) with 'Invalid mode, use L (lock), U (unlock)'.
      endif.
    start-of-selection.
      case p_mode.
        when 'L'.
          perform bit-set(sapmtstc) using tstc-cinfo 6.
        when 'U'.
          perform bit-reset(sapmtstc) using tstc-cinfo 6.
      endcase.
      update tstc.
      if sy-dbcnt = 0.
        message e002(sy) with 'TSTC update failed'.
      endif.
    Regards,
    Mark

Maybe you are looking for

  • After updating my MBP to firmware 1.1 my internet does not work anymore

    Please help, A couple of days ago my MBP asked me if I wanted to update to Firmware 1.1 and I did. I followed the steps like it said and when I restarted it my internet was not working anymore. I called my internet provider and they tried helping me

  • De-registering my old iPod mini

    As my collection of digital music is expanding, I'm going to replace my iPod mini with a fifth generation iPod with a larger memory. My mini is only nine months old, and as it's in prime condition it will make a nice gift for someone else. How do I "

  • Can I set individual alerts (tones) for each calendar events/ reminders

    Can I set individual alerts (tones) for each calendar events/ reminders

  • CS2 Interactive frames

    Not getting much response at the InDesign Forum so I thought I would take a shot here...... CS2 4.0.5 OSX 10.4.11 Power PC G5 I am building a catalog for pdf output web & CD, a page has 4 book publications on it. Each has a picture/button of the cove

  • Normal to have "Final Cut Studio - Audio Content 1" disc in package?

    Hello All, I am trying to install a newly purchased Logic Studio 9 and the installation is not going well; it is asking me for an "Additional Content" disc...but I don't have such a disk in the box...I do have a Final Cut Studio Audio Content 1 disk