About lock object and how to create it

Hi ABAP gurus,
Can any one explain about the Lock Objects and How to create Lock object step by step.
Rgds,

Hi Rangamma,
Check this info.
Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
SAP Provide three type of Lock objects.
- Read Lock(Shared Locked)
protects read access to an object. The read lock allows other transactions read access but not write access to
the locked area of the table
- Write Lock(exclusive lock)
protects write access to an object. The write lock allows other transactions neither read nor write access to
the locked area of the table.
- Enhanced write lock (exclusive lock without cumulating)
works like a write lock except that the enhanced write lock also protects from further accesses from the
same transaction.
You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
Technicaly:
When you create a lock object System automatically creat two function module.
1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
SAP Provide three type of Lock objects.
- Read Lock(Shared Locked)
protects read access to an object. The read lock allows other transactions read access but not write access to
the locked area of the table
- Write Lock(exclusive lock)
protects write access to an object. The write lock allows other transactions neither read nor write access to
the locked area of the table.
- Enhanced write lock (exclusive lock without cumulating)
works like a write lock except that the enhanced write lock also protects from further accesses from the
same transaction.
You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
Technically:
When you create a lock object System automatically creat two function module.
1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
GO TO SE11
Select the radio button "Lock object"..
Give the name starts with EZ or EY..
Example: EYTEST
Press Create button..
Give the short description..
Example: Lock object for table ZTABLE..
In the tables tab..Give the table name..
Example: ZTABLE
Save and generate..
Your lock object is now created..You can see the LOCK MODULES..
In the menu ..GOTO -> LOCK MODULES..There you can see the ENQUEUE and DEQUEUE function
Lock objects:
http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
Match Code Objects:
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
http://searchsap.techtarget.com/tip/0,289483,sid21_gci553386,00.html
See this link:
http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
Hope this resolves your query.
<b>Reward all the helpful answers.</b>
Regards

Similar Messages

  • What is the use for lock object and how to use the lock objects

    Hi Guru's,
    I am new to ABAP .Can you please clarify the that what is the use of lock object and how to use the loct object .what is use of the Deque & Enque  function modules .

    hi ,
    below are some minfo about lock objects :
      Lock Objects
    These types of objects are used for locking the access to database records in table. This mechanism is used to enforce data integrity that is two users cannot update the same data at the same time. With lock objects you can lock table-field or whole table.
    In a system where many users can access the same data, it becomes necessary to control the access to the data. In R/3 system this access control is built-in on database tables. Developers can also lock objects over table records.
    To lock an object you need to call standard functions, which are automatically generated while defining the lock object in ABAP/4 dictionary. This locking system is independent of the locking mechanism used by the R/3 system. This mechanism also defines LUW i.e. Logical Unit of Work. Whenever an object is locked, either by in built locking mechanism or by function modules, it creates corresponding entry in global system table i.e. table is locked. The system automatically releases the lock at the end of transaction. The LUW starts when a lock entry is created in the system table and ends when the lock is released.
    Creating Lock Objects
    Lock object is an aggregated dictionary object and can be defined by using the following steps:
    o From initial data dictionary screen, enter the name for the object, Click Lock object radiobutton and then click on Create. The system displays a dialog box for Maintain Lock Objects screen
    o Enter short text as usual and the name for primary table.
    -Save
    -Select Tables option
    From this screen you can:
    Select secondary tables, if any, linked by foreign key relationship.
    Fields for the lock objects. This option allows you to select fields for objects (R/3 system allows locking up to record level). Lock object argument are not selected by user but are imposed by the system and includes all the primary keys for the table.
    1) Exclusive lock: The locked data can only be displayed or edited by a single user. A request for another exclusive lock or for a shared lock is rejected.
    2) Shared lock: More than one user can access the locked data at the same time in display mode. A request for another shared lock is accepted, even if it comes from another user. An exclusive lock is rejected.
    3) Exclusive but not cumulative: Exclusive locks can be requested several times from the same transaction and are processed successively. In contrast, exclusive but not cumulative locks can be called only once from the same transaction. All other lock requests are rejected.
    Also, last but not the least, locking the object is logical (locking with any enqueue ) .so, you have to use the lock object while trying to access from second program .
    reward if helpful ,
    Regards,
    Ranjita

  • What is authorization object and how to create it for a table

    Hi All,
    What is authorization object and how to create it for a table?
    Thanks

    Hi
    Authorization
    For authorization checks, there are many ways of linking authorization objects with user actions in an SAP system. The following discusses three possibilities in the context of ABAP programming.
    Authorization Check for Transactions
    You can directly link authorization objects with transaction codes. You can enter values for the fields of an authorization object in the transaction maintenance. Before the transaction is executed, the system compares these values with the values in the user master record and only starts the transaction if the appropriate authorization exists.
    Authorization Check for ABAP Programs
    For ABAP programs, the two objects S_DEVELOP (program development and program execution) and S_PROGRAM (program maintenance) exist. They contains a field P_GROUP that is connected with the program attribute authorization group. Thus, you can assign users program-specific authorizations for individual ABAP programs.
    Authorization Check in ABAP Programs
    A more sophisticated, user-programmed authorization check is possible using the Authority-Check statement. It allows you to check the entries in the user master record for specific authorization objects against any other values. Therefore, if a transaction or program is not sufficiently protected or not every user that is authorized to use the program can also execute all the actions, this statement must be used.
    AUTHORITY-CHECK OBJECT object
                            ID name1 FIELD f1
                            ID name2 FIELD f2
                            ID namen FIELD fn.
    object is the name of an authorization object. With name1, name2 ... , and so on, you must list all fields of the authorization object object. With  f1, f2 ... , and so on, you must specify the values that the system is to check against the entries in the relevant authorization of the user master record. The AUTHORITY-CHECK statement searches for the specified object in the user profile and checks the useru2019s authorizations for all values of f1, f2 ... . You can avoid checking a field name1, name2 ... by replacing FIELD f1  FIELD f2 with DUMMY.
    After the FIELD addition, you can only specify an elementary field, not a selection table. However, there are function modules available that execute the AUTHORITY-CHECK statement for all values of selection tables. The AUTHORITY-CHECK statement is supported by a statement pattern.
    Only if the user has all authorizations, is the return value sy-subrc of the AUTHORITY-CHECK statement set to 0. The most important return values are:
    ·        0: The user has an authorization for all specified values.
    ·        4: The user does not have the authorization.
    ·        8: The number of specified fields is incorrect.
    ·        12: The specified authorization object does not exist.
    A list of all possible return values is available in the ABAP keyword documentation. The content of sy-subrc has to be closely examined to ascertain the result of the authorization check and react accordingly.
    REPORT demo_authorithy_check.
    PARAMETERS pa_carr LIKE sflight-carrid.
    DATA wa_flights LIKE demo_focc.
    AT SELECTION-SCREEN.
      AUTHORITY-CHECK OBJECT 'S_CARRID'
                      ID 'CARRID' FIELD pa_carr
                      ID 'ACTVT' FIELD '03'.
      IF sy-subrc = 4.
        MESSAGE e045(sabapdocu) WITH pa_carr.
      ELSEIF sy-subrc <> 0.
        MESSAGE e184(sabapdocu) WITH text-010.
      ENDIF.
    START-OF-SELECTION.
      SELECT  carrid connid fldate seatsmax seatsocc
        FROM  sflight
        INTO  CORRESPONDING FIELDS OF wa_flights
        WHERE carrid = pa_carr.
        WRITE: / wa_flights-carrid,
                 wa_flights-connid,
                 wa_flights-fldate,
                 wa_flights-seatsmax,
                 wa_flights-seatsocc.
      ENDSELECT.
    Regards
    Hitesh

  • With regard to lock object and authority check

    hi all
    i would like to know about lock object and authority check specifically in reports. there is a coding in sap library with regard to authority check, but there is no coding to restrict user (i mean there is no user names that the object is restricting for a particular user or any user has got permission to change or display object). 
    further, the code mentions that you need an authorization in your user master record for the object, could any of u explain where is user master record.
    below is the code for authority check.
    *&      Module  USER_COMMAND_0100  INPUT
    MODULE USER_COMMAND_0100 INPUT.
      CASE OK_CODE.
        WHEN 'SHOW'.
       AUTHORITY-CHECK OBJECT 'S_CARRID'
    ID 'CARRID' FIELD '*'
    ID 'ACTVT'  FIELD '03'.
       IF SY-SUBRC NE 0. MESSAGE E009. ENDIF.
       MODE = CON_SHOW.
       SELECT SINGLE * FROM  SPFLI
        WHERE  CARRID      = SPFLI-CARRID
        AND    CONNID      = SPFLI-CONNID.
       IF SY-SUBRC NE 0.
    MESSAGE E005 WITH SPFLI-CARRID SPFLI-CONNID.
       ENDIF.
       CLEAR OK_CODE.
       SET SCREEN 200.
        WHEN 'CHNG'.
       AUTHORITY-CHECK OBJECT 'S_CARRID'
    ID 'CARRID' FIELD '*'
    ID 'ACTVT'  FIELD '02'.
       IF SY-SUBRC NE 0. MESSAGE E010. ENDIF.
       MODE = CON_CHANGE.
       SELECT SINGLE * FROM  SPFLI
        WHERE  CARRID      = SPFLI-CARRID
        AND    CONNID      = SPFLI-CONNID.
       IF SY-SUBRC NE 0.
         MESSAGE E005 WITH SPFLI-CARRID SPFLI-CONNID.
       ENDIF.
       OLD_SPFLI = SPFLI.
       CLEAR OK_CODE.
       SET SCREEN 200.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    i thank u all for the help in advance.

    hi
    this might help
    REPORT YUSRLOCK NO STANDARD PAGE HEADING.
    TABLES: TRDIR, USR02.
    DATA: MARK,CNTR TYPE I,
          ACCNT LIKE USR02-ACCNT, ERDAT LIKE USR02-ERDAT,
          ANAME LIKE USR02-ANAME, CLI(3) VALUE 'AAA', SZIN TYPE I,
          SYDATUM LIKE SY-DATUM, FLAG(3).
    TABLES: UINFO.
    DATA: OPCODE TYPE X VALUE 2.
    DATA: BEGIN OF USR_TABL OCCURS 10.
            INCLUDE STRUCTURE UINFO.
    DATA: END OF USR_TABL.
    START-OF-SELECTION.
      CALL 'ThUsrInfo' ID 'OPCODE' FIELD OPCODE
        ID 'TAB' FIELD USR_TABL-SYS.
      SELECT * FROM USR02 CLIENT SPECIFIED ORDER BY MANDT BNAME.
        IF USR02-MANDT <> CLI.
          SZIN = SZIN + 1. SZIN = SZIN MOD 2.
          CLI = USR02-MANDT.
        ENDIF.
        IF USR02-UFLAG = 0.
          MARK = ' '.
        ELSE.
          MARK = 'X'.
        ENDIF.
        CLEAR FLAG.
        LOOP AT USR_TABL.
          IF USR_TABL-BNAME = USR02-BNAME AND USR_TABL-MANDT = USR02-MANDT.
            FLAG = '!!!'.
          ENDIF.
        ENDLOOP.
        SYDATUM = SY-DATUM - 30.
        IF SYDATUM < USR02-TRDAT.
          IF SZIN = 0.
            WRITE:/ ' ', MARK AS CHECKBOX,' ', USR02-BNAME COLOR 2,
                  ' ',USR02-MANDT COLOR 2,
                  '   ',USR02-USTYP COLOR 2,
                  ' ',USR02-TRDAT COLOR 2, USR02-LTIME COLOR 2,
                  ' ',FLAG COLOR 6.
          ELSE.
            WRITE:/ ' ', MARK AS CHECKBOX,' ', USR02-BNAME COLOR 3,
                  ' ',USR02-MANDT COLOR 2,
                  '   ',USR02-USTYP COLOR 2,
                  ' ',USR02-TRDAT COLOR 2, USR02-LTIME COLOR 2,
                  ' ',FLAG COLOR 6.
          ENDIF.
        ELSE.
          IF SZIN = 0.
            WRITE:/ ' ', MARK AS CHECKBOX,' ', USR02-BNAME COLOR 2,
                  ' ',USR02-MANDT COLOR 2,
                  '   ',USR02-USTYP COLOR 2,
                  ' ',USR02-TRDAT COLOR 4, USR02-LTIME COLOR 4,
                  ' ',FLAG COLOR 6.
          ELSE.
            WRITE:/ ' ', MARK AS CHECKBOX,' ', USR02-BNAME COLOR 3,
                  ' ',USR02-MANDT COLOR 2,
                  '   ',USR02-USTYP COLOR 2,
                  ' ',USR02-TRDAT COLOR 4, USR02-LTIME COLOR 4,
                  ' ',FLAG COLOR 6.
          ENDIF.
        ENDIF.
        HIDE: USR02-BNAME, USR02-MANDT.
      ENDSELECT.
      CLEAR USR02.
    TOP-OF-PAGE.
    WRITE:/ 'LOCK   USER         CLIENT  TYPE     LAST lOGIN     ' COLOR 6.
      SKIP.
    AT USER-COMMAND.
      IF SY-UCOMM = 'SEL'.
        DO.
          CLEAR MARK.
          READ LINE SY-INDEX FIELD VALUE MARK.
          IF SY-SUBRC NE 0.  EXIT. ENDIF.
          IF USR02-BNAME IS INITIAL.CONTINUE.ENDIF.
          SELECT SINGLE * FROM USR02 CLIENT SPECIFIED WHERE
          MANDT = USR02-MANDT AND BNAME = USR02-BNAME.
          IF MARK = 'X' AND USR02-UFLAG = 0.
            USR02-UFLAG = 64.
            UPDATE USR02 CLIENT SPECIFIED SET: UFLAG = 64 WHERE
            MANDT = USR02-MANDT AND
            BNAME = USR02-BNAME.
            COMMIT WORK.
          ENDIF.
          IF MARK = ' ' AND USR02-UFLAG = 64.
            USR02-UFLAG = 0.
            UPDATE USR02 CLIENT SPECIFIED SET: UFLAG = 0 WHERE
            MANDT = USR02-MANDT AND
            BNAME = USR02-BNAME.
            COMMIT WORK.
          ENDIF.
        ENDDO.
        CLEAR USR02.
      ENDIF.
    regards
    Arun

  • Plz tell me how to create authority check objects and how to usein prg

    dear sir,
    plz tell me how to create authority check objects and how to usein prg

    http://help.sap.com/saphelp_46c/helpdata/en/5c/deaa74d3d411d3970a0000e82de14a/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/52/6716a6439b11d1896f0000e8322d00/content.ht
    Create custom authorization – Customer specific object
    If you have requirements that cannot be met using the P_ORGIN and P_ORGXX authorization objects (for example, because you want to build your authorization checks on additional fields of the Organizational Assignment infotype (0001) that are customer-specific), you can include an authorization object in the authorization checks yourself.
    Create the authorization object using transaction SU21. Make sure you keep to the customer name range (Z/Y). To be able to use the new authorization object you have created in the master data authorization check, the object must contain the INFTY, SUBTY, and AUTHC fields. You can use any of the fields of the Organizational Assignment infotype (0001) for the other fields. You can also use customer-specific additional fields provided they are CHAR or NUMC type fields.
    After you have created the object, you must start the RPUACG00 report. This report overwrites the MPPAUTZZ standard include with the code that is needed to evaluate the authorization object you created. Note: Technically speaking, this involves a modification. However, SAP fully supports this procedure. And you should not have more maintenance work as a result of this modification.
              Note: that if you use customer-specific authorization objects, you must maintain these objects in transaction SU24 (Maintain Assignment of Authorization Objects to Transactions) in the same way as you maintain the authorization objects P_ORGIN, P_ORGXX, and P_PERNR
    AUTHORITY CHECK OBJECT Object_name
                ID fieldname1 FIELD fieldvalue1
                ID fieldname2 FIELD fieldvalue2
                ID fieldname3 FIELD fieldvalue3.
                 If sy-subrc eq 0.   "Authorization exists
                 Endif.
    http://articles.techrepublic.com.com/5100-6329_11-5110893.html
    Edited by: JackandJay on Jan 16, 2008 10:21 AM

  • What is matchcode objects and how can we create tthem

    hai to all.
         what is matchcode objects .
         and how can we create matchcode objects
         and how will it works

    Hi
    In which version of SAP are you working?
    Matchcodes are replaced by SEARCH HELPs in latest versions
    see the doc
    1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
    2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    3)An elementary search help defines the standard flow of an input help.
    4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
    5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
    6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
    CREATION:
    Go to SE11 Tcode
    select search help
    give the 'z' search help name and create
    select the selection method ur table name eg : 'mara'
    dialog module 'display value immediately'.
    add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
    where left position when displaying and spos = search position
    and then save and activate ..
    See the links:
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
    https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=2176485
    https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=3601619
    pls go through this for search help creation
    http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
    Search Help Exits:
    Re: dynamic values for search help
    Re: Dynamic search  help
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm
    https://forums.sdn.sap.com/click.jspa?searchID=4390517&messageID=1712818
    Collective search help Combine several elementary search helps. A collective search help thus can offer several alternative search paths.
    A Collective search help provides alternative search
    Paths by combining elementary search helps.
    Only one search help can be attached to a field, table or data element. Several search paths are therefore attached with a collective search help.
    A collective search help also has interface parameters like
    an elementary search help.
    Like an elementary search help, a collective search help has an interface of IMPORT and EXPORT parameters with which the search help exchanges data. Using this interface, the collective search help can be attached to fields, tables and data elements exactly like an elementary search help.
    Parameter assignment needs to be done for each of the
    Included search helps.
    When you define a collective search help, there are no components for describing the dialog behavior and data selection; instead the included search helps are listed here. You must assign the parameters of the collective search help to the interface parameters of the included search help for each inclusion.
    User may choose the tab and thus the elementary
    search maethod.
    When we execute the search help SCUSTOM, we are confronted with a dialog which gives us an option of either restricting
    By 1)Search for customer according to booking
    2)Search for customer according to name.
    These are effectively the elementary search helps (SCUSTOM_BOOK and SCUSTOM_NAME) which have been included in the collective search help SCUSTOM.
    HOT KEY
    The hot key is used to select the elementary search help from the collective search help and to enter the restrictions in the dialog box for restricting values directly from the entry field. If the user often searches for values using the same search help, this procedure can save time.
    Steps to create a Collective Search Help
    1)Enter the search help name and click on create.
    2)Choose Collective search help radio button option as the search help type.
    3)Enter the search help parameters.
    4)Instead of the selection method, we enter the included
    search helps for the collective search help.
    5)We need to assign parameters for each of the included
    search helps.
    6)Complete the parameter assignment by clicking on the push button
    7)Collective search help offers the user to obtain F4 help
    using any of the included search helps.

  • What is Infoset and How to create

    HI Experts
    Can any one please explain me what is the purpose of INFOSET in BW
    and how to create a info Set between A Info Object and Cube
    Thanks

    Dear bw user,
    Check the below link
    http://help.sap.com/saphelp_nw04s/helpdata/en/ed/084e3ce0f9fe3fe10000000a114084/content.htm
    Purpose is,
    1.To join required data from basic InfoProviders
    2.This allows building a relational BI data model with unified views for reporting (seeveral InfoProviders,but only one view). Therefore, we recommend keeping data in smaller, basic InfoProviders that can be flexibly joined for reporting purposes.
    3. To allow BEx Reporting on a DataStore object without turning the BEx Reporting indicator on
    4. To evaluate time dependencies (for example, join time dependent master data InfoObjects)
    5. To be able to create self joins and left outer joins
    Creatind in simple steps
    Infoset is a Virtual Infoprovider.
    Click on InfoProvider under modeling in RSA1 > Select InfoArea > right click Create Infoset > give name and description.
    Select the ODS / Master Data Object or more than one ODS and maintain the link.
    Infoset works on Join operation.
    you can include Infocube if it is BI 7.
    chk this link...
    http://help.sap.com/saphelp_nw70/helpdata/en/a3/96663bd194a978e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2f5aa43f-0c01-0010-a990-9641d3d4eef7
    Aslo see this link contents
    Creating InfoSets
    Prerequisites
    Make sure that the objects for which you want to define the InfoSet are active. Create any required InfoObjects that do not
    exist already and activate them.
    Instead of creating a new InfoSet, you can transfer one of the InfoSets that are delivered with SAP Business Content.
    Procedure
    1. You are in the InfoProvider tree of the Modeling function area in the Administrator Workbench.
    Choose the Create InfoSet function from the context menu (right mouse-click) of the InfoArea in which you want to create an
    InfoSet. You get to the Create InfoSet dialog box.
    2. Type in the following information for your new InfoSet:
    ¡ technical name
    ¡ long description
    ¡ short description
    3. In the Start with InfoProvider section, you determine which InfoProvider you want to use to start defining the InfoSet.
    ¡ Select one of the object types that the system offers you:
    ODS Object
    InfoObject
    Choose an object.
    If you want to choose an InfoObject, it must be a characteristic with master data. The system provides you with the
    corresponding input help.
    4. Choose Continue. You get to the Change InfoSet screen. For more information on editing InfoSets see Editing InfoSets.
    When you create an InfoSet, the system generates a corresponding entry for this InfoSet in the subtree of the InfoArea. The
    following functions are available from the context menu (right mouse-click) of this entry:
    • Change
    • Delete
    • Object overview
    Editing InfoSets
    Prerequisites
    Before you can get to the screen where you edit InfoSets, the following prerequisites have to be met:
    • You have created a new InfoSet.
    • You have selected the Change function from the context menu of an InfoSet entry in the InfoProvider tree of the Modeling
    function area in the Administrator Workbench.
    • You have called the InfoSet Builder transaction, and selected the Change function. You can find additional information
    under Additional Functions in the InfoSet Builder .
    Procedure
    1. You are in the Change InfoSet screen.
    Choose a layout for the InfoProvider tree:
    InfoArea
    InfoProviders Used
    All ODS Objects
    All InfoObjects
    For more information on the screen layout, particularly the layout of the InfoProvider tree, see Screen Layout: Changing
    InfoSets.
    2. Use the function Where-Used List via AWB to determine which BW objects use the InfoSet that you have selected. You get to
    the Administrator Workbench: Where-Used List screen. You are able to work out what would happen in the system if you made
    changes to the InfoSet. This helps you to decide whether or not it is sensible to make these changes at this particular point
    in time.
    3. You define the InfoSet by inserting one or more InfoProviders into the join.
    There are several ways of inserting an InfoProvider into the join control:
    ¡ From the InfoProvider tree:
    § In the InfoProvider tree, double-click on the entry that corresponds to the InfoProvider that you want to add to the join
    control.
    § Use the drag-and-drop function to move the InfoProvider into position.
    ¡ Choose the Add InfoProvider function, to add a particular ODS object or a particular InfoObject independently of the
    current layout of the InfoProvider tree. You get to the dialog box of the same name. Enter the data that the system asks you
    for.
    If you know the technical name of the InfoProvider that you want to add, this method is quicker than switching the layout of
    the InfoProvider tree.
    When this function is complete, the InfoProvider that you selected is displayed in the join control. For more information on
    the structure of the join control, see Join Control.
    4. Define the join conditions. For more information see Defining Join Conditions.
    5. You can get general information such as object version, date created and date changed via Goto ® Global Settings. You can
    also set the indicator Most recent Reporting for InfoObjects from here. You can find additional information under Most recent
    Reporting for InfoObjects.
    6. Via the button Documents, which appears on the pushbutton bar, you can access document editing for this InfoSet.
    7. You can use Check to check the correctness of the InfoSet definition. The log display is shown in the screen area under
    the join control.
    8. Save the InfoSet. The log display is shown in the screen area under the join control.
    9. Activate the InfoSet. After activation, the system executes the checks. The result of the activation is displayed in the
    log in the screen area under the join control.
    Additional Functions in the InfoSet Builder
    You can also use transaction RSISET to call up the InfoSet Builder when you want to edit an InfoSet. Select the InfoSet that
    you want to edit. Value help is available for this. Additional functions are also available to help you edit and manage your
    InfoSet.
    Compare
    You use this function from the main menu to check if the InfoProviders used in the InfoSet have been changed and the InfoSet
    needs to be adjusted as a result. For more information, see Matching InfoSets.
    Jump to object maintenance
    You use the InfoObjects and ODS Objects functions to jump to the maintenance screen for the InfoProviders included in the
    InfoSet definition.
    Info functions
    There are various info functions on the status of the InfoSets:
    • The Object Catalog Entry
    • The log display for the save, activate, and delete runs of the InfoSet.
    Display in tree
    You use this function to display in a tree structure all the properties of the A version (active) of the selected InfoSet.
    • Header data
    • InfoProvider and its fields
    • On condition
    • Wherecondition
    The display is empty, if no active version is available.
    Version comparison
    You use this function to compare the following InfoSet versions:
    • The active (A version) and modified (M version) versions of an InfoSet
    • The active (A version) and content (D version) versions of an InfoSet
    • The modified (M version) and content (D version) versions of an InfoSet
    The Display InfoSet screen appears. Depending on which option you choose, the system displays either all of the differences
    between the two versions of the selected InfoSet or all of the properties of both versions in a tree structure.
    Transport connection using AWB
    You use this function to transport an InfoSet into another system.
    The Administrator Workbench: Transport Connection screen appears.
    The system has already collected all the BW objects that are needed to guarantee the consistency of the target system.
    InfoSet data display
    You use this function to access the data target browser. If you have already loaded data into the InfoProviders included in
    the InfoSet, you can display this data.
    Delete
    You use this function to delete an existing InfoSet.
    Copy
    You use this function to copy an existing InfoSet and, if necessary, edit it further.
    Show/hide technical names
    You can use this function to show alias names for fields. These alias names are necessary in InfoSets, for example to be able
    to map self joins. Field alias names start with F, followed by a five-digit number.
    Defining Join Conditions
    Use
    A join condition determines the combination of records from the individual objects that are included in the resulting set.
    Before an InfoSet can be activated, the join conditions have to be defined in such a way (as equal join condition) that all
    the available objects are connected to one another either directly or indirectly.
    Usually, however, only rows containing a common InfoObject or rows containing InfoObjects that share the same basic
    characteristic are connected to one another.
    Connect tables T1 and T2 using a join and set as a join condition that the F1 field from T1 must have the same value as F2
    from T2. For a record from table T1, the system determines all records from T2 for which F2(T2) = F1(T1) is true. In
    principle, as many records from T2 can be found as required. If one or more records are found, the corresponding number of
    records is included in the result set, whereby the fields from T1 contain the values from the record from T1 under
    consideration, and the fields from T2 contain the values of the records found from T2.
    Procedure
    There are various ways of defining join conditions:
    Using a mouse-click
    Position the cursor over a row in an InfoObject. Press the left mouse-button and, keeping the left mouse-button pressed down,
    trace a line between this row and a row in another object. Providing that the join condition between the two rows that you
    have indicated is a valid join condition, the system confirms the join condition by displaying a connecting line between the
    two rows.
    Using the Link Maintenance pushbutton
    You get to the Link Maintenance dialog box.
    In a tree structure on the left-hand side of the screen, all of the InfoProviders that are already included in the join are
    displayed along with their fields or attributes. If you double-click on one of these fields or attributes, the system
    displays on the right-hand side of the screen all of the fields or attributes with which you are able to create a join
    condition.
    In the Selection column, set one or more of the indicators for the fields or attributes for which you want to create a join
    condition. The system generates valid join conditions between the fields or attributes that you specify.
    You use the Delete Links pushbutton to undo all of the join conditions.
    You use the All Characteristics or the Basic Characteristics Only pushbutton to choose between the corresponding display
    variants.
    We recommend that you use the Basic Characteristics Only option. The All Characteristics setting displays all of the
    technical options involved in a join. If you are not able to find a join condition on the basic characteristic level, then
    the All Characteristics setting is useful, but this is an exceptional case.
    When you have finished making your settings, click on the Continue icon.
    We recommend this method, because the system searches for all the possible join conditions for any field or attribute that
    the user specifies, ensuring that the join conditions are defined without errors.
    Using the Context Menu Left Outer Join – Inner Join
    Usually inner-join operators connect all the objects in a join to one another. You can also connect each object with any of
    the many other objects by using a left outer join operator.
    You can find additional information about usage and special features under Left Outer Join.
    If you want to use a left-outer join operator to connect an object, select the object and choose the corresponding function
    from the context menu.
    The system displays all of the valid join conditions that originate from this object. The connecting lines that represent
    these join conditions are labeled as Left Outer Join . InfoProviders, on which a left outer join condition is affixed, are
    differentiated by color from the InfoProviders that are connected using an inner join operator.
    If you used a left outer join operator to connect two objects, you have to make sure that all on conditions are linked except
    for these two objects with the formulation of join conditions.
    Note that you cannot add an object, which you have already connected by using the left outer join operator, to another
    object.
    If you want to use an inner-join operator instead of the left-outer join operator, select the object that you want to
    connect, and choose the Inner Join option from the context menu. Again the system displays all the valid join conditions that
    originate from this object, and labels the connecting lines accordingly.
    Result
    Once the join conditions have been defined in such a way as to connect all the available objects to one another, either
    directly or indirectly, the InfoSet is ready to be activated.
    You click on the Check pushbutton in the pushbutton toolbar to find out if these preconditions for the activation have been
    met.
    For objects that are joined by a left-outer join operator, there is one extra condition that has to be met, namely that all
    the other objects have to be connected to one another either directly or indirectly.
    http://help.sap.com/saphelp_erp2004/helpdata/en/ed/084e3ce0f9fe3fe10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ed/084e3ce0f9fe3fe10000000a114084/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/a3/96663bd194a978e10000000a11402f/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2f5aa43f-0c01-0010-a990-9641d3d4eef7
    Hope itr helps
    Regards
    Bala
    Also

  • How to do Enhancements in Reporting & What is Role and How to create Roles

    Hi All,
    Can any one tell How to do Enhancements in Reporting, and also What is Role and How to create Roles in Reporting?
    Plz reply back me on [email protected]
    Regards,
    Kiran

    Reporting Enhancement - RSR00001 - BW: Enhancements for global variables in reporting
    And using the SAP Exit - EXIT_SAPLRRS0_001
    RSR00001- With this enhancement to global variables in reporting you have the option of determining your default values for variables. You can use this enhancement for variables, for which 'Processing by Customer-Exit' has been selected in the variable maintenance. This is valid for all variable types (characteristic value, node, hierarchy, formula and text variables). You use the Exit EXIT_SAPLRRS0_001 for this.
    The Enhancement component (RSR00001) must be assigned to a Project Created using the Transaction CMOD. On activating the Project, the Exit would become active and in turn the logic written inside the Exit.
    To ensure that the data warehousing soultion reflects your company's structure and business needs it is critical that you establish who is authorized to access the data.With SAP BW, Authorizations can be defined and maintained by object and can also be applied to hierarchies and these authorizations can be inserted into roles that are used to determine what type of content is available to specific users or user groups.
    T-code for Role maintainence -PFCG.
    Please assign points if it is useful.
    Regards
    Pavan Prakhya

  • What is this effect called, and how to create it?

    Hello,
    I' m just curious about this gradation effect's name, and how to create it in Photoshop.

    Hi,
    Chuck is on the right path. You can construct this with the Filter> Pixelate> Color Halftone..., but then you have to go further.
    The pattern is made of two sections of the same halftone channel, one rotated 180 degrees and horizontally offset.
    Basic outline:
    1. create a linear gradient (you can work in color or black/white)
    2. Filter> Pixelate> Color Halftone... use a large radius value for bigger circles, and set the channels to 0 or 90
    3. after the filter has run, go to the Channels panel and find a transition in one of the channels that you like
    4. Cmd/Ctrl click on the thumbnail of the channel to make a selection
    5. go back to the Layer panel and turn off the background layer with the full haltone filter effert.
    5. create a new layer, and fill it with a color (you want the dots to fill so invert the selection if needed)
    6. create another layer and fill it with a second color
    7. rotate the layer from step 6 180 degrees, and move it so the same size circles in the middle of you doc overlap. Now offset horizontally so the center point of circles lies halfway between the layer created in step 5.
    8. now marquee a selction that goes approximately half of the doc and create masks for both layers.
    9. Invert one fo the masks so that what you see is small dots of one color increasing to the center, and the second color decreasing back t the edge
    10 create a third layer and fill it with one of the color and drag copy the mask from the dot pattern layer of the opposite color. Drag this layer in stack order to just above the background layer.
    11. create a fourth layer filled with the opposite color of the step 11 layer. Drag this layer in stack order just below the layer you created in step 10.
    12. Now (there's surely some math that makes this more accurate but I was just eyeballing it), move the top layer with the mask linked down so it is below the other offset centers by ~60-70 %. Unlink the mask and move it back so more of the dot is exposed and starts to show when it will intersect with the other layer.
    13. Do the same mask movement with the second color dot layer so more of that layer's circle shows, until each dots tangents match up.
    Here's my layer panel for reference.
    regards,
    steve

  • HOW DB POOLING WORK AND HOW TO CREATA A DB POOLING IN JSP

    HI! I'm new in programming JSP and in web programming. I would like to learn how does the DB pooling work and how to create a DB Pooling. THANKS....

    Thanks for the idea but i need a more detail one...
    Hi,
    Db connections are one of the most expensive
    operations in an application.So at applicatin launch
    only multiple connections to the dbase are opened and
    used and returned/closed after usage.
    You can have a loop running 10 times creating a
    connection every time and putting those in a
    Collection object (say hashtable) marked with a key.
    Then in the application code , take an available
    connection from the hashtable and use it . After use
    return /close the connection (your pool can be
    incremental..creating 5 connections evey 10-15
    minutes).

  • Different _scope parameter of Enqueue_ lock object and Dequeue_ lock objec

    Hi, all.
    When we create lock object and generate enqueue_<lock object> and
    dequeue_<lock object>, the default value of _scope is
    enqueue : _scope = 2(update owner only)
    dequeue : _scope = 3(for both dialog owner and update owner).
    Does anyone tell me the reason of this different default values?
    i read help.sap.com - lock related help but i couldn't get the idea
    of these different default values between enqueue and dequeue.
    Best Regards.
    Sejoon

    Hi,
    When you use ENQUEUE, the owner is going to lock that record. So at that time, the only person who can modify the record in the one who has locked it using ENQUEUE. So only he needs to be informed.
    Whereas when you use DEQUEUE, the owner who has locked the record and processed it + the 2nd user who wants to lock it needs to be informed. Hence it is to update the 1st User(who has done the update and planning to release the lock) + 2nd User(who wants to do the update and planning to lock the record ).
    Best regards,
    Prashant

  • What is an Instance in application server and how to create an Instance?

    Hi All,
    What is an Instance in application server and how to create an Instance? What is the procedure to get file path from an Instance?
    What is the significance of Instance in ABAP?

    hi
    good
    go through these links,this will gives you complee idea about the creating instances in application serverl.
    http://www.erpgenie.com/sap/basis/
    http://www.sapdevelopment.co.uk/file/file_disall.htm
    thanks
    mrutyun^

  • What are the uses of MVC, Extension and how to create it for begineers pls

    what are the uses of MVC, Extension and how to create it for begineers pls
    dont give link for tutorials please explain ,
    thank you,
    Regards,
    Jagrut BahratKumar Shukla

    Hi,
    Check out this link :
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/0f/ab3a3c9ca75402e10000000a114084/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/0f/ab3a3c9ca75402e10000000a114084/content.htm</a>
    It is the best possible explanation and documentation that you'll get.
    Thanks,
    Tatvagna.

  • Differeence between Lock object and enqueue_e_table

    Hi  ,
    what is diff between Lock object and enque_e_table.  Where to use enqueue_e_table and where to use lock object.
    I think with a lock object i can lock more than one table (passing tables  in secondary table). Please correct me.

    A lock object does not really "lock a table" though most of lock objects refer to a database table.
    I explain:
    The principle is that when 2 programs lock at the same time with the same lock object, only the first will succeed.
    If you have a program which does not use the lock, it may update the database table without any problem.
    All programs which update a table have to use the same lock object. Note that users are always able to update this table via SM30 as they don't know the lock object to be used.
    enqueue_xxxx is the name of the generated function module used to lock the xxxx lock object. E_TABLE lock is ONLY used by SM30 if I remember well, so that to prevent one table from being updated via SM30 by 2 persons at the same time. But it is not related at all with programs which would also update this table.
    Edited by: Sandra Rossi on Mar 14, 2010 9:53 PM

  • Where and how to create business rules?

    Hi All,
    1) Where and how to create business rules?
    2) How to configure Rule Engines (Ex: JRULE Engine or any other Rule Engines)?
    3) Whar products are available for Rule Engines?
    Thanks in advance

    Hi,
    You have some options on business rules.
    If you just want to create business rules that are easy for business owners to edit without a lot of training, Oracle BPM has a simple business rules creation and end user edit capability. The benefits to using the rules that come with Oracle BPM are:
    <li> they are simple and easy to edit
    <li> end users can get up to speed quickly to edit them
    <li> when changed, the business process is immediately impacted
    <li> they can use the Oracle BPM business parameters that also come with the product
    Drawbacks are:
    <li> you can only use Project variables as the variable content inside of them
    <li> if a company already has a business rules engine, they are different that the company's standard
    Business rules engines have been used with Oracle BPM. If you are a consultant, first ask if there is a standard business rules engine that the company already has purchased that they use (e.g. iLog from IBM, Corticon...). If this is the case, you typically integrate to the rules using a web service interface that the business rules engine exposes.
    If they do not already have a business rules engine, consider Jrules. The benefits are:
    <li> it is a part of the Oracle BPM Suite that they might have purchased
    <li> version 11g of the Jrules is coming out soon with a friendly front end
    Hope this helps,
    Dan

Maybe you are looking for

  • Iphone won't send or reply to emails

    iphone (iOS 7.0.4) can receive, but can't send email (either new or a reply) Message: "Unable to send ... Copy placed in outbox ... sender address .... rejected by server". No problem on iPad (iOS 7.0.4). Have tried switching off iPhone, deleted emai

  • Using AudioClips in a Frame

    Hi, when I run my porgram through the main, the AudioClips do not work and they are vital to my program. Does anyone know how to fix this?

  • Layout is messed up!

    I made a bunch of windows disappear from premiere pro such as the preview window and the ability to resize and adjust position I saved my work then tried closed and reopened premiere pro. when it opened it was the same as how it was when I closed it.

  • Password protect a Numbers file

    Hello friends, I was wondering how to password protect a numbers file. I'm creating a financial report and only some eyes can see it. Anyway to force a user to enter a password before it opens is the goal. I appreciate your assistance. Gary

  • Integrating Java Compiler into a Text Editor

    Hello I have developed a Text Editor with Java. I would like to make it as a IDE. Could anybody tell me how to integrate a JAVA or C++ compiler into Text Editor. Please let me know Thanks Prashanth