Authorization for a Transaction code

Hi,
In ECC 5.0, how can we get an authorization for a transaction code by debugging the code?
Actually in 4.6C, we used to debug the code & change SY-SUBRC code to '0' & get the authorization for a perticular transaction code.
Similarly how can we do this in ECC 5.0?
I tried, but I am not getting where to change the sy-subrc code to '0'.
Any help or clue is greatly appreciated.
Thanks,
Sarika.

Hi Sarika,
You can try out this workaround. In function module 'RS_TRANSACTION_TEST' put a breakpoint at statement ' call function 'AUTHORITY_CHECK_TCODE''. Execute the required transaction using tcode SE93.If you don't have the authorization then sy-subrc will be 4 after the above statement. In debugging mode change it to 0. Hope this helps.
Thanks,
Roshan Gujaran.

Similar Messages

  • Forcing Authorization for a transaction code without authorization check in

    Transaction code 'PP02' has an authorization object P_TCODE. So when a user who does not have authorization to transaction 'PP02' tries to execute it from command prompt, the SAP system appropriately restricts user saying "You have no authorization".
    However, If Ia program has  "Call transaction" verb calling this transaction and if the restricted user runs this report or module program, it does not restrict the user to access the transaction.
    Is there any way to restrict user to access the transaction from program without explicitly doing authorization check from within the program?
    Jitendra Mehta

    Hi Florin:
    S_TCODE restricts the user only at command prompt level, not if you run the transaction for program using "CALL TRANSACTION" verb.
    If we assign auth.object P_TCODE with some other transaction values (not one for which we want to restrict), then the authority check works for the above.
    But say, if I have no other transaction code values to be assigned to auth. object P_TCODE for the restricted user ( therefore, obviously I don't assign auth. object P_TCODE to any auth. profile for the restricted user) then again, I am out of luck.
    The only way, I have seen this working is to assign value space ( ' '  ) to auth. object P_TCODE and then assign this auth.object to one of the auth. profiles of the restricted user, BINGO!, then it works.
    But our Authorization team has an objection saying "We assign the transactions ( to auth. object ) which the user should have access. It is not  proper to assign a no value to auth. object ( assigning space value ) "
    I do not know how much merit their argument has, however, I was wondering if there is another way I could achieve it without relying on tens of hundred of programs doing auth. checks whenever they call the restricted transaction.
    Please let me know your thoughts.
    Thanks.
    Jitendra Mehta

  • No authorization for this transaction with movement type 601

    Dear All,
    This is chandra i am getting this error in delivery level " No authorization for this transaction with movement type 601. If give the authorization for SAP ALL its working fine. If give the authorization for SAP SD T.Codes i am getting this error. Plz help me.
    Thanks and regards
    Chandra

    Dear Chandra,
    Check with -
    T. Code: OMJJ
    Select Movement Type: 601 and Double-Click: "Allowed Transaction" (From Left-hand side) .
    Check whether the Transaction is allowed for Movement Type 601 or not
    Note: if Transaction is not listed (i.e. not allowed) and you wanna allow this Transaction with Movement type 601, then -
    Up-there, Tab: New Entry. Click on it.
    Maintain entry as:
    MovTy: 601
    TCode: As reqd.
    and Save.
    Best Regards,
    Amit

  • You have no authorization for this transaction in plant: M7120

    Hi guys.
    I am getting the error message(M7120) "You have no authorization for this transaction in plant XXXX" when performing 101 movement for production order using MIGO.
    /nsu53 doesn't return any object. Why?

    Hello Arun,
    It is a standard message. SU53 should show the exact authorization object which has been blocked. Or you can also try to check this with T code ST01.
    Refer the below threads & seek help from your basis consultant to get this resolved.
    Authorisation missing
    authorization error in mbbs transaction | SCN
    Regards
    Mangesh S

  • No authorization for this transaction with movement type

    Hi gurus,
      My sd consultant is authorized to execute VLO2N Tcode. But it is giving the error as follows
      "No authorization for this transaction(vlo2n) with movement type 643" ...
    When i try to do the same thing through BASIS ,it gives no error..
    Thanks in Advance,
    Vaibhav Gore.

    Hi Vaibhav,
    T. Code PFCG --> Give particular Role Name then click Change Button -->
    Then Click Autherization Button --> then Click Change Autherisation(pencil)
    Go and Click or Drill down the Material Management : Inventry Management
    1.This is --> Goods Movement  : Storage Location Type :
       Click -->  Movement type (Inventry Management) Press F4 --> u can choose ur valid type
        Like -->  623        GI iss:cust.ret.pack
    Regards
    kesav

  • Authorizations for which transactions are required in BW?

    Hi,
    Can any ony please give some information regarding
    Authorizations for which transactions are required in BW Production Support?
    Regards,
    Aryan

    Hi Aryan,
    Authorizations for the following transactions are required in BW
    1. RSA1
    2. SM37
    3. ST22
    4. ST04
    5. SE38
    6. SE37
    7. SM12
    8. RSKC
    9. SM51
    10. RSRV
    11.RSPC
    13.RSMON
    The Process Chain Maintenance (transaction RSPC) is used to define, change and view process chains.
    Upload Monitor (transaction RSMO or RSRQ (if the request is known)
    The Workload Monitor (transaction ST03) shows important overall key performance indicators (KPIs) for the system performance
    The OS Monitor (transaction ST06) gives you an overview on the current CPU, memory, I/O and network load on an application server instance.
    The database monitor (transaction ST04) checks important performance indicators in the database, such as database size, database buffer quality and database indices.
    The SQL trace (transaction ST05) records all activities on the database and enables you to check long runtimes on a DB table or several similar accesses to the same data.
    The ABAP runtime analysis (transaction SE30)
    The Cache Monitor (accessible with transaction RSRCACHE or from RSRT) shows among other things the cache size and the currently cached queries. The Export/Import Shared buffer determines the cache size; it should be at least 40MB.
    ****Assign Points If Helpful****
    Regards,
    Ravikanth

  • Reg : Enhacement for the transaction code MD04

    Hi experts,
    I have implemented an user exit for the transaction code MD04 where in the stock/requirement list I am supposed to add a new column for the exception number which displays the exception description for the corresponding exception number.
      The coding part for fetching the exception description for the corresponding exception number is done in the include 'ZXM61U03'.
      The problem is in the importing parameter IMDEZEXIT in which all the screen data will be present basing on which the data fetching is done .The AUSKT(Exception number) value is not getting populated . All the other data in the row is getting populated.
    Please suggest e a solution for this.
    Regards,
    Ramkishore.

    Hi
    Hope it will help you.
    reward if help.
    Please use FM MD_STOCK_REQUIREMENTS_LIST_API to get all information for transaction MD04/MD05.
    You might also want to check out the function module API.
    MD_MRP_LIST_API
    and also
    check this link for extracting data from MRP tables:
    http://www.sap-img.com/pp001.htm

  • Find active user exit for a transaction code

    Hi All,
    Please help to find the active user exit for a transaction code.
    for Ex. below is the list of user exits for package VA ( for creation of sales order and changing sales order). Let me know which user exit is active and which is not active.
      Exit name    Short text
      SDTRM001  Reschedule schedule lines without a new ATP check
      V45A0001  Determine alternative materials for product selection
      V45A0002  Predefine sold-to party in sales document
      V45A0003  Collector for customer function modulpool MV45A
      V45A0004  Copy packing proposal
      V45E0001  Update the purchase order from the sales order
      V45E0002  Data transfer in procurement elements (PRreq., assembly)
      V45L0001  SD component supplier processing (customer enhancements)
      V45P0001  SD customer function for cross-company code sales
      V45S0001  Update sales document from configuration
      V45S0003  MRP-relevance for incomplete configuration
      V45S0004  Effectivity type in sales order
      V45W0001  SD Service Management: Forward Contract Data to Item
      V46H0001  SD Customer functions for resource-related billing
      V60F0001  SD Billing plan (customer enhancement) diff. to billing plan
    Thanks & Regards,
    Sabu

    Goto TADIR table give program id as R3TR ,Objec type as CMOD and execute.
    You will get all active exits in system.
    Exits related to SD may be in ZSD package.

  • Link authorization object to transaction code

    Hi to all
    how to link authorization object to transaction code?
    i think we can do by using SU24, i am not getting how to do ?
    can any one help me on this Immediately
    Regards
    raadha

    In SU24
    In the Application tab
    Type of Application: 'Transaction'
    Transaction Code:  'Tcode'
    In the Authorization Object tab
    Authorization Object: 'Authorisation object name'
    Type of Application: 'Transaction'
    Then Execute or Press F8...

  • FI-STANDARD SCRIPT FOR FBCJ TRANSACTION CODE

    Hi All,
    I need to change the standard script for FBCJ transaction code, Can some one help to get the standard Script name.
    Actually i need to remove IDES and place logo.Where to configure the Custom Script.
    Thanks in Advance.

    this is the path to assign customized Sapscript for cash journal
    Financial Accounting Bank accounting Business transaction  Bill of exchange transaction Bill of exchange receivable Bill of exchange receivable Failed payment transactionMake and check settings for correspondence Define form name for cores pending Printing
    please try this i hope that this will be useful to All.
    assign Customized Sapscript in place of the standard one for CASH JOURNAL
    Edited by: NareshBD on May 12, 2011 3:13 PM

  • Restrict the badi for particular transaction code

    hi, i have implemented BADI_FDCB_SUBBAS01 and in the subscreen area 10 i attatched my own module pool program and screen number. my requirement is for FB60 only. and it is working for FB60 fine. the problem is also working for FV60.
    Is there any possibility to restrict for particular transaction code say for FB60.
    Please reply me soon....

    Hi Praveen,
    Since this is a single use badi you have the option to create a new filetr of your own. You can create a filter of type sy-tcode and in your implementation assign it a value of your transaction. Thus if someone else also wants to use it for some other transaction can have a implementation of his own for some other transaction.
    The other way which is though not the recommended way buy easy to use is to put a check before your code on SY_TCODE = your transaction.
    revert for more clarifications if required.
    <b>Always reward points to useful suggestions.</b>
    regards,
    Vikas
    Message was edited by:
            Vikas Taneja

  • No authorization for this transaction with mvt type 101

    Has anyone seen this error:
    RFC BAPI Wrapper call:You have no authorization for this transaction inplant 1120      
    RFC BAPI Wrapper call:You have no authorization for this transaction with mvt. type 101
    RFC BAPI Wrapper call:You have no authorization for this transaction inplant 1120      
    The strange thing is that when I assign user with a different Personnel Number and it works just fine.  But when I switched back to his Personnel Number, then I get above error.
    Even though I don't get any order list but I got all notifications and technical objects.
    Also, this user has same roles with everyone else.  While everyone is working fine this user is the only one that getting the error and no order download to PDA.
    Regards,
    Dai Ly

    Hi,
    please run ther getlist and getdetail handler in the backend directly for that user - most likely you will get a better failure message there.
    Nevertheless - what Application  yre you using? Is it MAM? If yes, check the SPRO setup for this particular user,
    Regards,
    Oliver

  • For my user id, I have the authorization for the transaction, but still iam getting the error that, you don't have authorization, plz suggest?

    Hello ,
    For my user id, I have the authorization for the transaction, but still iam getting the error that, you don’t have authorization, plz suggest?????
    Thnks

    Hello Sampath,
    after you have received the error message about the no authorization, run transaction SU53.
    This transaction shows which authorization has failed last time.
    Best regards,
    Laszlo

  • Report to view user nm, authorization objects, activity, transaction code.

    Hi All,
    I want to view a user-wise report that displays the transaction code, authorization objects and activities for which the user has authorization.
    Is there any standard report to view all this at a glance?
    Can anybody help me on this?
    Thanks.

    u can try SUIM tcode
    its really helps u
    regards,
    Abhilash

  • Delete authorization for specific Company Code

    All,
    For a specific transactions, our users may only run the transaction for a specific company code. Transaction is TPM55A
    What authorization object do I need to add to my role, so the users have only authorization for let's say Company code range 1000 - 1050.
    Many thanx for help
    kr,
    Stef

    Hi Stef,
    Please try to add this authorisation object manually F_BKPF_BUK- Authorisation object for company code.
    In the filed BUKRS you can maintain the company code as you required for the users.
    I hope this may help you in resolving the issue.
    Thanks
    Karthick

Maybe you are looking for

  • OracleDBConsole service does not start

    I am running Oracle 10.2.0 on windows xp. For some reason, my OracleDBConsole no longer starts up. I look in the Event Viewer and it just says the process exited during initialization. I try running nmesrvc.exe on the command prompt and get a StartSe

  • TDS on foreign payments

    Hi All The scenario is given below: 1. Down payment of EUR 1000 done to a foreign vendor in Jan07 and TDS is deducted (say 22.44EUR inclusive of surcharge and ed cess.Amount in local curr-Rs 1122).Exchange rate on date of trans is-Rs50               

  • Displaing BINARY_DOUBLEs in a SQL Report

    I am trying to display BINARY_DOUBLEs in a SQL report and the vales display with scientific notation: 1.0495999999999999E+002 I would like to display them like this: 1.04

  • Connecting two R3 systems to BW

    <i><b>Current State:</b></i> We currently have two R3 test systems defined as source systems  to our BW test system.   All the infosources, infopackages and process chains are connected to only one of those R3 test systems. <i><b>Desired State</b></i

  • Where did lion go?

    Ive downloaded and installed Lion. I wanted to burn it to a disk but it seems to be gone now and with no option to download. Where did it go?