Restriction for transaction PA30

Dears,
          Good Day
          i asked about the possibility to control the view of personnel in screen pa30
          depending on the personnel sub area of logged user
          EX. if the user (HR specialist) belongs to sub area 'X' , all employee apear on pa30 screen must belong to sub area 'X' else (authorization level)
Best Regards,

Hi,
If your question has been answered or whether the problem is solved, please mark the thread as answered.
Thank you,
Liran

Similar Messages

  • LSMW for transaction PA30.

    Hi Experts,
    I want to know the steps to create LSMW for Transaction code PA30 (recording).Please dont send me LSMW for other transactions.....I need the steps only for PA30 transaction. Points will be rewarded.

    Check this site for LSMW document..
    http://www.erpgenie.com/abap/index.htm
    Check this link for Step-by-Step Guide for using BAPI in LSMW with screen shots
    http://www.****************/Tutorials/LSMW/BAPIinLSMW/BL1.htm
    Check these threads.
    Inbound Idoc With LSMW
    LSMW Using IDOC
    Also check this link too
    http://www.abapprogramming.blogspot.com/2007/08/difference-between-conversion-and.html
    regards.

  • Authorization restriction for Transaction PK13N

    Hi @ all
    My colleagues and I are responsible for the authorizations in our system.
    Since few days we test the Kanban functions in SAP.
    In abovementioned transaction are two buttons "To Empty" and "To Full".
    Does anybody know if there is a possibility to restrict some users for these buttons?
    Thanks @ all!!
    Greets Kristin

    Hi Kristin,
    The "Save to Empty" and "Save to Full" buttons are screen elements and can't be restricted with the authorization objects.
    Further, below are the authorization object that are checked with PK13N transaction code:
    C_KANBAN     PP KANBAN Processing
    C_TCLA_BKA     Authorization for Class Types
    CPE_SETTIN     Commodity Pricing Engine: General Settings
    You can imply restriction on any of these.
    If you with to show/remove one of these buttons, you can achieve this with screen variants using SHD0 transaction code.
    Hope this helps.
    Regards,
    Raghu

  • How to revert the data that is loaded using BDC for transaction PA30

    Hi All,
    We had loaded the data in SAP using BDC-Session Unfortunately.
    Now we want to delete all the data which is loaded usong these sessions.
    Please can anyone know the procedure to do so.(May be using LSMW)
    This is the test environment.
    This is the HR Data.
    Transaction we used is PA30.
    Thank you,
    Edited by: Kumar B on Sep 16, 2009 6:55 PM

    Sorry All for the late response.
    Thanks Swathi ..I thought in same manner.
    But we used the LSMW,It deleted the records in the exact fashion we need.
    It was a nice experience.
    Use T-code SE38 run the report RPUDELPN and pass the pernr entire data will delete. as it is a test client then go to NUMKR Feature reset it and upload the correct data again.
    I think that would not have worked for us as it deletes all the employee records.
    Might be dangerous too
    If it is has standard fast entry screen then use pa70 for mass deletion
    Apart from deletion,Also we need to delimit the previous record.
    Thank you All

  • User Exits for Transaction PA30

    Hi Friends,
    My Requirement:
    The changes done to the emplyoee data in PA30, should be reflected in Vendor Master database tables, is there any user exit  or any other way to do that.
    Please help me
    Regards
    Kumar M

    Hi,
    These are the EXITS and BADIs avilable for the t-code PA30
    now see which one full fill your requirment.
    Enhancement
    PBASRP01                                PA: User exit distributed reporting
    PBAS0002                                PA: Enhancements for Personnel Administration - Menu
    PBAS0001                                PA: Pers.Admin./Recruitment: Default values and checks
    PARA0002                                Enhancement for Calculating Annual Salary; IT0008,14,15
    HRPBAS01                                User exit for personnel number validation
    HRPC0001                                HR: PC download authorization
    HRRPAI01                                User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
    PARA0001                                Enhancement for Determining the Number of Periods
    Business Add-in
    HR_FAST_ACTION_CHECK                    Check fields on the fast entry screen
    HR_INDVAL                               HR: Indirect wage type valuation
    HR_SET_PKGAB
    HR_F4_GET_SUBTYPE                       HR: Entry help for subtypes
    HRPAD00_ADRS                            HR: Address formatting
    HRPAD00INFTY                            Update / Infotype maintenance
    HRPAD00AUTH_CHECK                       HR: Authorization Check
    Regards
    Bikas

  • Recording fot transaction pa30

    Hi experts,
    I have created one recording for transaction PA30 to update infotypes 0000, 0001, 0007 and 0019.
    My problem is that when i am executing my BDC report, screen is not taking data from my program.
    please tell me where i am doing.
    and please do not lock the thread this time becausa i very well know how to use debugger.
    but it is not solving my problem because it is taking some default value i do not knw from where.
    and PA40 i can use but my requirement is with PA30.
    Regards,
    Rajesh Kumar

    Hi all,
    Thanks for your replies.
    My problem has been solved.
    i have to set certain parameters in CALL TRANSACTION as shown below.
    DATA: gi_opts     TYPE ctu_params.
      DATA: gc_zmode    TYPE c VALUE 'A',
            gc_zupd     TYPE c VALUE 'S',
            gc_znobinpt TYPE c VALUE 'X'.
      gi_opts-dismode = gc_zmode.
      gi_opts-updmode = gc_zupd.
      gi_opts-defsize = 'X'.
      gi_opts-nobinpt = gc_znobinpt.
      CALL TRANSACTION 'PA30' USING gi_bdcdata
                         OPTIONS FROM gi_opts
                         MESSAGES INTO gi_messtab.
    Regards,
    Rajesh Kumar

  • Authorization restriction for BP transaction

    Hi,
    We need to restrict the BP transaction access to user in the below mentioned way in our SRM system.
    1. Restricting BP access to all the users with display access.
    2. Restricting BP access to security users with create, change and display access.
    What is the main object for BP transaction for restricting access in the above mentioned scenarios?
    Here, we have observed one more issue like....
    Let say object-B_BUPR_BZT(not sure) is a main object for transaction-BP. If we restrict activity to 03 in that object, it will give display access when we are executing transaction-BP.
    Some of other transactions(like PPOMA_BBP) are there in SRM, those are also maintaining same object with all activities(create,change,Display).
    In this scenarios, how the above mentioned restriction is going to help the user.
    Please check and advice in this.
    Thanks & Regards,
    KKRao.

    > Let say object-B_BUPR_BZT(not sure) is a main object for transaction-BP.
    It may be a "main object" for BP, but that doesn't tell you much at all about the security aspects or where in the logic of the transaction it is used. This object is for example not a part of the business logic of transaction SE80, or that I am sure.
    If you have no clue, then start in SU21 and read the application help documentation on the transaction (to understand it's context) and the use-cases of the object - also to find the other transactions. Then you will become more sure.
    You also need to understand that in the same way the transactions, reports and the "real checks" are layers in the security, objects themselves can also be selective and layered in a conceptually consistent way, or (to make it more interesting...) transaction dependently.
    There are lots of shortcuts (even out-of-the-box roles which someone might try to sell you...) but ultimately if you use a SAP system to "build" your business processes, then you need a concept to secure your build. SAP owns the authority-checks in standard programs to enable the process to comply with legal requirements and some common sense.
    => So, you need to choose your transaction (or other entry point) carefully and understand the objects which they use.
    Cheers,
    Julius

  • How to find another BAdi for Transaction CCM2

    I have written an Authorisation Check for transaction CCM2, but there are two select buttons.
    load and load extended.
    i added the Auth Check to BADI_CCM_EXPLOSION - Restrict Structure Explosion for Actual Configuration, which works okay when i click the "load" button, but this is not called on the "load Extended" button
    I checked the BAdi - BADI_CCM_EXPL_ALWD - Restrict Structure Explosion of Allowed and Actual Config and BADI_CCM_CHK_STATUS Adjust the CCM2 Check Result by Technical Object but these are not called from the Transaction either.
    is there another way for me to try and work what may be called within this transaction?
    when i run through the debugger it always short dumps before i get anywhere as it does not like debug mode... any suggestions??? please?

    Please skip if you already did this!
    Place a break point in method of CL_EXITHANDLER->GET_INSTANCE at line 28, CASE sy-subrc (According to ECC 6.0).
    Code looks like:
    CALL METHOD cl_exithandler=>get_class_name_by_interface
    EXPORTING
    instance = instance
    IMPORTING
    class_name = class_name
    CHANGING
    exit_name = exit_name
    EXCEPTIONS
    no_reference = 1
    no_interface_reference = 2
    no_exit_interface = 3
    data_incons_in_exit_managem = 4
    class_not_implement_interface = 5
    OTHERS = 6.
    CASE sy-subrc.--> (Right here)
    This METHOD will be called before triggering any BADI in SAP. After you place a break-point just process your transaction for which you are trying a find a BADI. Before triggering every BADI, code will stop right there and you could get to know your BADI Class and Method name through variables CLASS_NAME & EXIT_NAME respectively.
    Reddy

  • How to Restrict Business Transaction Types in Cash Journal

    Dear All
    I need to Restrict Business Transaction Types in Cash Journal based on Exp/Revenue Types . Is there nay solution of this problem and one more thing i need to disable/hide Cash Hournal Tabs for specific User.
    Full point will be awarded.
    Thanks

    hi
    the follwoing links may helpful to you for cash journal configs.
    http://help.sap.com/bp_bblibrary/500/documentation/N70_BPP_04_EN_DE.doc
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/e9d13973da1f60e10000000a114084/content.htm
    http://www30.sap.com/japan/businessmaps/690A1366EABD4B029F9F9CB727553B61.htm
    nagesh

  • Authorization objects for  transaction, one to view, and one to maintain

    Hi all,
    My requrement is to create two authorization objects for  transaction, one to view, and one to maintain.
    I know how to create objetcs vai sm21, but i donot know how to crate objects with activity codes.
    Please suggest how to create object where i can asign activity codes.
    regards
    manish

    The Authorization Concept
    R/3 uses authorization objects to assign authorizations to users. An authorization object is a template for an authorization. For example, authorization object F_SKA1_BUK - G/L Account: Authorization for company codes requires the specification of two field values: Company Code and Activity. To allow a General Ledger supervisor to create a general ledger master record, he/she must be assigned an authorization to create (Activity 1) accounts for a specific company code (eg. Company Code 2000). Such an authorization is created using the object F_SKA1_BUK by assigning these field values and naming the authorization following an appropriate convention (eg. Z_SCC20001).
    Authorizations may be classified as general authorizations, organizational authorizations or functional authorizations. General authorizations specify the functions a user may perform. Authorization object F_SKA1_BUK has been assigned to the function for creating general ledger master records. The system checks for the useru2019s authorization to create general ledger accounts (Activity 1) in at least one company code. The system then checks whether the user is permitted to create accounts for the specified organizational unit (company code) and has the required functional authorizations. Authorizations in this case may restrict the user to certain Charts of Accounts. In addition, an authorization group may be defined in certain authorization objects to protect individual master records.
    Profiles relating to an organizational role (eg. General Ledger Supervisor) are defined consisting of a list of authorizations and other profiles. Such profiles are then assigned to users with that role and stored in their user master record along with other data (eg. password).
    Do check this link as well.
    http://articles.techrepublic.com.com/5100-10878_11-5110893.html

  • BAPI for Transaction VA01?

    How to Develope an interface program to upload the sales order data from legacy system to SAP using BAPI for Transaction VA01.Explain me clearly?

    VA01:
    BAPI_SALESORDER_CREATEFROMDAT1
    BAPI_SALESORDER_CREATEFROMDAT2
    steps for bapi creation
    STEP 1 - Define a structures for the BAPI
    In this step a structures for the parameters and tables of the function module used for the BAPI are defined.
    Use Data type -> Structure
    Define the following structures:
    ZBAPI_ORDER_STATUS_IMPORT which contains the following fields:
    ORDERID Order number (Keyfield)
    SPRAS Language
    ExcludeInactive - Checkbox - Exclude inactive status
    ZBAPISTAT:
    STEP 2 - Write Function Module
    Important notes:
    Each BAPI must have its own function group.
    Under the attributes tab remember to select Processing Type Remote Enabled module, otherwise the function module cannot be invoked via RFC and used as a BAPI
    Import/Export parameters can only be BY VALUE for an RFC enabled function module
    We are only creating one BAPI in this example, but you can create related BAPIs in the same function pool, so they will be able to share global data.
    Code
    Notes:
    The subroutine SET_RETURN_MESSAGE is a standard routine used for BAPIs that use the BAPIRETURN structure
    In form Z_BAPI_GET_ORDER_SYSTEM_STATUS there is a test IF 1 = 2. If the test is true a message is displayed. The condition will obviously never be true, and we will never want to display a message in a BAPI. The reason why it is included is, that it create a reference for the message, so that the WHERE USED functionality can be used for the message. This is the SAP standard way to handle it, copied from the Company Code GetList BAPI.
    INCLUDE LZBAPISTATUSUXX
      THIS FILE IS GENERATED BY THE FUNCTION LIBRARY.             *
      NEVER CHANGE IT MANUALLY, PLEASE!                           *
    INCLUDE LZBAPISTATUSU02.
                        "Z_BAPI_GET_ORDER_SYSTEM_STATUS
    INCLUDE LZBAPISTATUSTOP - Global data
    FUNCTION-POOL ZBAPISTATUS.                  "MESSAGE-ID Z3
    Types:
      begin of Type_tj02t,
        istat  like tj02t-istat,
        txt04  like tj02t-txt04,
        txt30  like tj02t-txt30,
      end of type_tj02t.
    DATA:
    Declarations for TABLE parameter
      T_BAPISTAT like ZBAPISTAT occurs 0,
      G_BAPISTAT like ZBAPISTAT,
    Table for object texts
      t_tj02t    type type_tj02t occurs 0,
      g_tj02t    type type_tj02t.
    Structure for return messages
    DATA:
      BEGIN OF MESSAGE,
        MSGTY LIKE SY-MSGTY,
        MSGID LIKE SY-MSGID,
        MSGNO LIKE SY-MSGNO,
        MSGV1 LIKE SY-MSGV1,
        MSGV2 LIKE SY-MSGV2,
        MSGV3 LIKE SY-MSGV3,
        MSGV4 LIKE SY-MSGV4,
      END OF MESSAGE.
    INCLUDE LZBAPISTATUSF01 - Subroutines
    ***INCLUDE LZBAPISTATUSF01 .
    *&      Form  SET_RETURN_MESSAGE
    This routine is used for setting the BAPI return message.
    The routine is a standard routine for BAPIs that handles the message
    structure for the BAPIRETURN structure. It has been copied from the
    BAPI Company Code Getlist
         -->P_MESSAGE  text
         <--P_RETURN  text
    form SET_RETURN_MESSAGE USING    VALUE(P_MESSAGE)   LIKE MESSAGE
                            CHANGING P_RETURN  LIKE BAPIRETURN.
      CHECK NOT MESSAGE IS INITIAL.
      CALL FUNCTION 'BALW_BAPIRETURN_GET'
           EXPORTING
                TYPE       = P_MESSAGE-MSGTY
                CL         = P_MESSAGE-MSGID
                NUMBER     = P_MESSAGE-MSGNO
                PAR1       = P_MESSAGE-MSGV1
                PAR2       = P_MESSAGE-MSGV2
                PAR3       = P_MESSAGE-MSGV3
                PAR4       = P_MESSAGE-MSGV4
             LOG_NO     = ' '
             LOG_MSG_NO = ' '
           IMPORTING
                BAPIRETURN = P_RETURN
           EXCEPTIONS
                OTHERS     = 1.
    endform.                    " SET_RETURN_MESSAGE
    FUNCTION Z_BAPI_GET_ORDER_STATUS
    FUNCTION z_bapi_get_order_system_status.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(I_AUFNR) TYPE  AUFNR
    *"     VALUE(I_SPRAS) TYPE  SPRAS DEFAULT SY-LANGU
    *"     VALUE(I_EXCLUDEINACTIVE) TYPE  CHAR1 OPTIONAL
    *"  EXPORTING
    *"     VALUE(RETURN) TYPE  BAPIRETURN
    *"  TABLES
    *"      T_BAPISTAT STRUCTURE  ZBAPISTAT
    DATA:
       l_aufnr LIKE afko-aufnr,
       l_objnr LIKE jest-objnr.
    Check if order exists
    SELECT SINGLE aufnr
        FROM afko
        INTO  l_aufnr
        WHERE aufnr = BAPI_ORDER_STATUS_IMPORT-orderid.
      IF sy-subrc NE 0.
        CLEAR message.
        message-msgty = 'E'.
        message-msgid = 'Z3'.
        message-msgno = '000'.
        message-msgv1 = BAPI_ORDER_STATUS_IMPORT-orderid.
        PERFORM set_return_message USING    message
                                   CHANGING return.
        IF 1 = 2.
        The only reason to include this statement, that will obviously
        never execute, is that it will create a referecence so that you
        can find out where a particular message is being used. This
        functionality is used by the BAPIs programmed by SAP
          MESSAGE e000(z3).
        ENDIF.
      ENDIF.
      CHECK return IS INITIAL.
    Read order status
    CONCATENATE 'OR' BAPI_ORDER_STATUS_IMPORT-orderid INTO l_objnr.
      IF BAPI_ORDER_STATUS_IMPORT-i_excludeinactive = 'X'.
        SELECT objnr stat inact
          FROM  jest
          INTO  TABLE t_bapistat
          WHERE objnr = l_objnr AND
                inact  'X'.
      ELSE.
        SELECT objnr stat inact
          FROM  jest
          INTO  TABLE t_bapistat
          WHERE objnr = l_objnr.
      ENDIF.
      IF sy-subrc  0.
      No object status found
        CLEAR message.
        message-msgty = 'E'.
        message-msgid = 'Z3'.
        message-msgno = '001'.
        message-msgv1 = BAPI_ORDER_STATUS_IMPORT-orderid.
        PERFORM set_return_message USING    message
                                   CHANGING return.
        IF 1 = 2.
          MESSAGE e001(z3).
        ENDIF.
      ENDIF.
      CHECK return IS INITIAL.
    Read order status texts
      SELECT istat txt04 txt30
        FROM tj02t
        INTO TABLE t_tj02t
        FOR ALL ENTRIES IN t_bapistat
        WHERE istat = t_bapistat-stat AND
              spras = BAPI_ORDER_STATUS_IMPORT-i_spras.
      SORT t_tj02t BY istat.
      LOOP AT t_bapistat INTO g_bapistat.
        READ TABLE t_tj02t
          WITH KEY istat = g_bapistat-stat BINARY SEARCH
         INTO g_tj02t.
        IF sy-subrc = 0.
          MOVE:
            g_tj02t-txt04 TO g_bapistat-txt04,
            g_tj02t-txt30 TO g_bapistat-txt30.
          MODIFY t_bapistat FROM g_bapistat TRANSPORTING txt04 txt30.
        ENDIF.
    ENDLOOP.
    ENDFUNCTION.
    OBJNR like JEST-OBJNR
    STAT like JEST-STAT
    INACT like JEST-INACT
    TXT04 like TJ02T-TXT04
    TXT30 likeTJ02T-TXT30
    Important note:
    You will have to define a structure for every parameter in the BAPI. You cannot use the same structures used in existing applications because BAPI structures are frozen when BAPIs are released and then there are restrictions on changing them.
    STEP 3 - Create the API Method Using the BAPI WIZARD
    The BAPI wizard is used toTo expose the remote function module as a BAPI. The wizard will generate some additional code, so the function module is a valid method of the BOR. This allows the BAPi to be called as a workflow method in addition to be called by an outside program.
    Note: Each function module corresponds to a method in the BOR
    Go to the Business Object Builder SWO1.
    You can either create the new Object type as a subtype of an existing business object or create a new business object from scratch. In this example it would be obvious to create the Object type as a subtype of BUS2005 Production order. However, to illustrate how to create a new Object type from scratch, we will do this.
    In the Object/Interface type field write the name of the new Business Object: ZORDERSTAT. Press enter and fill in the additional fields necessary to create the object type.
    Supertype: Not relevant because we are creating our object from scratch
    Program. This is the name of the program where the wizard generates code for the Object type, NOT the function module we created earlier. The program name must not be the name of an existing program.
    Press enter and create the new business object. Note that when you create the business object a standard interface, an attribute ObjectType and the methods ExistenceCheck and Display are automatically generated. These cannot be changed !
    The next step is to add the Z_BAPI_GET_ORDER_STATUS method to the business object. Select Utilities -> API methods -> Add method and write the name of the function module in the dialog box. Next the dialog ox show below will be shown. This is the start screen of the BAPI wizard. Proceed with wizard by pressing the button.
    After you have finished the wizard, you will notice that the ZGetOrderStatus has been added to the business object:
    You can double-click on the method to see its properties. To use the business object you must change the Object type status to Implemented. Use menu Edit->Change releases status->Object type->To implemented. No you can test the object (Press F8).
    Note that the BAPI wizard has added a wrapper class for the function module so it can be sued as method in the business object. Choose menu Goto->Program to display the program:
              Implementation of object type ZORDERSTAT           *****
    INCLUDE <OBJECT>.
    BEGIN_DATA OBJECT. " Do not change.. DATA is generated
    only private members may be inserted into structure private
    DATA:
    " begin of private,
    "   to declare private attributes remove comments and
    "   insert private attributes here ...
    " end of private,
          KEY LIKE SWOTOBJID-OBJKEY.
    END_DATA OBJECT. " Do not change.. DATA is generated
    BEGIN_METHOD ZGETORDERSTATUS CHANGING CONTAINER.
    DATA:
          BAPIORDERSTATUSIMPORT LIKE ZBAPI_ORDER_STATUS_IMPORT,
          RETURN LIKE BAPIRETURN,
          TBAPISTAT LIKE ZBAPISTAT OCCURS 0.
      SWC_GET_ELEMENT CONTAINER 'BapiOrderStatusImport'
           BAPIORDERSTATUSIMPORT.
      SWC_GET_TABLE CONTAINER 'TBapistat' TBAPISTAT.
      CALL FUNCTION 'Z_BAPI_GET_ORDER_STATUS'
        EXPORTING
          BAPI_ORDER_STATUS_IMPORT = BAPIORDERSTATUSIMPORT
        IMPORTING
          RETURN = RETURN
        TABLES
          T_BAPISTAT = TBAPISTAT
        EXCEPTIONS
          OTHERS = 01.
      CASE SY-SUBRC.
        WHEN 0.            " OK
        WHEN OTHERS.       " to be implemented
      ENDCASE.
      SWC_SET_ELEMENT CONTAINER 'Return' RETURN.
      SWC_SET_TABLE CONTAINER 'TBapistat' TBAPISTAT.
    END_METHOD.
    STEP 4 - Final stepsWhen the Business object has been checked and the documentation created, the following steps must be carried out:
    Release the BAPI function module (in the Function Builder).
    Release the business object type (in the BOR ObjectType -> Change release status to -> Implemented ).
    Release the BAPI as a method in the BOR (Release the methods you has created - Set the cursor on the method then
    Edit -> Change release status -> Object type component -> To released )
    For potential write BAPIs: Release the IDoc and its segments
    You can now display the BAPI in the BAPI Explorer:
    for detailed expalnation
    http://www.erpgenie.com/abap/bapi/example.htm
    do reward if helpful

  • Field restriction for ME22N using BADI

    Dear All,
    i had a requirement in which i had to restrict ME22N transaction for a particular user for a particular document type
    so i used BADI ME_PROCESS_PO_CUST now the requirement has changed and the user wants the restriction only on three fields rather than entire transaction.
    is there any provision in BADi by which i can prevent changes made to a  particular fields the fields are QUANTITY,RATE PER UNIT & PAYMENT TERMS fields,by throwing error message if changes are done and  for other fields changes should be allowed .
    my code is as below
    method IF_EX_ME_PROCESS_PO_CUST~CHECK.
    IF SY-TCODE = 'ME22N'.
      DATA: IT_MEPOHEADER  TYPE MEPOHEADER.
        IT_MEPOHEADER = IM_HEADER->GET_DATA( ).
         IF IT_MEPOHEADER-BSART = 'ZLNB' OR IT_MEPOHEADER-BSART = 'ZLUB' OR IT_MEPOHEADER-BSART = 'ZLS'
            OR IT_MEPOHEADER-BSART = 'ZLC' OR IT_MEPOHEADER-BSART = 'ZLFO' OR IT_MEPOHEADER-BSART = 'ZLLN'
              OR IT_MEPOHEADER-BSART = 'ZLDB'.
           IF SY-SUBRC = 0.
                IF SY-UNAME = 'ABAP05'  .
                        Message 'You are not authorized to use ME22N for the given  document type' type 'E'.
                 ENDIF.
             ENDIF.
          ENDIF.
         ENDIF.
    endmethod.
    can anyone plz help me
    Thanks in advance,
    Ronak

    Dear All,
    plz let me know if there is any other alternative (other than BADI) to restrict based on filteration for user , document type , and the three fields i have mentioned..
    Regards Ronak

  • Authorizations for transactions MIR6/MIR4/MIR7

    Dear Reader
    Need help to setup a security rights for transactions mir6/mir4/mir7.  
    Here is the situation:                                                 
    We have setup an AP user profiles which allow the users to access      
    transaction mir6 (provide a list of outstanding PARK document)which will
    lead into transaction MIR4, but we only want this group of users have  
    the ability to park/view the document NO POSTING RIGHTS. I have set the
    security on object M_RECH_WRK to 3 (display only) than it will cause the
    the other problem which is the user can not access transaction MIR7, BUT
    if I grant access 77 (pre-enter) to object M_RECH_WRK than the users can
    access transaction MIR7 AND HE HAS RIGHTS TO POST IN TRANSACTION MIR4. 
    Please advice on how to go around with this security problem.
    Thanks in advance.
    Regards
    Tony

    Have you got answer to this question, can you try to restrict the user based on authority object "F_BKPF_KOA", Its being checked while trying to post.

  • Prerequisites for transaction COHV to close settled orders automately

    Dear friends,
         What are prerequisites for transaction COHV to close settled orders automately?
         I really want to know these prerequisites because I came accross a problem: After finacial dept. settles production orders, it is usually for them to close production orders by using Transction COHV. But, Last month, They closed several orders that should be closed this month by using COHV.
         Preliminary reason: I found that these orders' variances were 0 and the stutus was DLV because these orders are produced completely at beginning of this month. And,  the time to close orders after settled is behind these activities. So, I have a question before. Is there any settings to restrict the period? I think restrict to the period can solve this problem.
    best regards

    Close the question. thanks.

  • Restrict this transaction code only to create sets starting with 'ZMR'

    Hello,
    I need to create custom transaction code for 'GS01' and restrict this transaction code only to create sets starting with 'ZMR' No other sets should be allowed to be created.
    If anyone have done before with the same scenario. Please give me clear documentation on this .
    Reagdrs
    Kiran

    YOu cannot find the call to the badi's by searching the main program.
    The badi is called a t run time.
    To find a badi attached to a main program, goto se38,
    GIve the program name.
    Goto->Object Directory Entry. Find the package.
    Go to se18 transaction, Press f4.
    give the package name in the popup.
    you can get the badis associated with the main program.
    Regards,
    Ravi

Maybe you are looking for