Q: what is NAFO and how to create it?

Dear;
Please to help me to answer the following:
What is NAFO group?
How to create it?
Because i have two nodes cluster (sc3.0 and Solaris8) system and one node generates and alarm about nafo
Feb 22 09:37:22 SMCP01 SC[SUNW.LogicalHostname,scp_rg,scpshare_ip,hafoip_stop]: Failed to validate NAFO group name <nafo0> nafo errorcode <4>.
Feb 22 09:37:22 SMCP01 Cluster.RGM.rgmd: Method <hafoip_stop> failed on resource <scpshare_ip> in resource group <scp_rg>, exit code <1>
Feb 22 09:37:22 SMCP01 Cluster.RGM.rgmd: fatal: Aborting this node because method <hafoip_stop> failed on resource <scpshare_ip> and Failover_mode is set to HARD
rebooting...
Thanks in advance

I hope you have a good reason to still use Sun Cluster 3.0. Since you run Solaris 8, you could consider upgrading at least to Sun Cluster 3.1 08/05. NAFO groups got replaced by IPMP on SC 3.1.
The procedure on how to configure a NAFO group is described at http://docs.sun.com/app/docs/doc/816-2022/6m8db9hcl?a=view#cbhgdjfc
Greets
Thorsten

Similar Messages

  • 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 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

  • What Virtual Characterstic and How to Create it.

    Hi Experts,
    My Requirment is to calculacte age based on DOB at run time.
    One expert in this forum gave me an idea and required code how to achieve it.
    Could you please specifie me on how to
    1) Create Virtual Characterstic
    And he asked me to in SMOD .....how can i do it...please explain me in a bit detail
    Thanks

    Hi,
    Virtual key figures: Will not be stored in the cube. Will be computed at run time when he query is executed. The are virtual in nature and not physical. When you view the cube's contents in listcube, you will not see it there. This is not the same as calc key figures. example: to store sales in your cube and this has o be allocated to all the group companies with a business logic, in this scenario you can code the logic in an exit and derive these virtual key figures. Another example is, when you report on no of days outstanding of your debtors. This will vary depending on when you the run the report. So, a exit can be coded to compute this run time. This is classical example of virtual key figure.
    Virtual characteristics: Same as above. Here you will derive the characteristics while report is run.
    Depending on the requirements, you must decide when to code for a virtual kf or cha and when to store them in the cube physically.
    Virtual characteristics and Key figures are useful if you want to dynamically pouplate data from the fact table to the field.
    Virtual key figures are key figures within an InfoProvider that are not filled with data. Instead the key figure value is determined at runtime of the query using custom ABAP coding
    Check "how to" doc for virtual characteristic/key figure details.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20use%20variable%20time%20references%20in%20currency%20conversion
    Virtual key figures and charecteristcs are populated at query execution time.
    These virtual objects should be included in the modelling level itself,so that it can be used in the query while using exit in that.
    check this step by step doc:
    https://websmp106.sap-ag.de/~sapdownload/011000358700009299362001E/HOWTOIDENTIFYCOMPRESULTS.DOC
    Regards,

  • Backgrounds.swf, what is it and how to create?

    It had been a while since I played with Flex Style Explorer
    app, so I was messing around with the backgrounds and it inserts
    the code
    Application {
    backgroundImage:
    Embed(source="assets/backgrounds.swf#retroFifties");
    If I wish to use this, how do I obtain the backgrounds.swf
    file? Is this something I have to create on my own, or is there a
    place that has pre-created background-swf's?

    It had been a while since I played with Flex Style Explorer
    app, so I was messing around with the backgrounds and it inserts
    the code
    Application {
    backgroundImage:
    Embed(source="assets/backgrounds.swf#retroFifties");
    If I wish to use this, how do I obtain the backgrounds.swf
    file? Is this something I have to create on my own, or is there a
    place that has pre-created background-swf's?

  • What is node and how to create a node in logical database in reports.

    What is the purpose of this nodes. Show me one example program using these nodes.Clearly show me an example with explanation. If this is taking any table means.Plz give me a clear example with my ztable.
    Tables : zptable1
    fields in this table are f1,
                                    f2,
                                    f3.

    hi,
    The sole effect of the NODES statement is to copy data from logical databases to executable programs. It defines an interface work area and is allowed only in the global declaration section of executable programs that are linked to a logical database, and in the database program of logical databases. node must be the name of a node of the logical database. NODES declares a table work area node for the respective node. The data type of the table work area is either predefined in the node of the logical database or can be chosen from a list using addition TYPE.
    The nodes of the structure of a logical database are maintained in transaction SE36
    for more go to transaction ABAPHELP and write Nodes you will get examples there and explanation
    thanks
    Sachin

  • HT5625 I'm trying to create a new Apple ID but when I was putting on my information, there's a box asking for an ITunes gift code. What's this and how can I get one?

    I'm trying to create a new Apple ID but when I was putting on my information, there's a box asking for an ITunes gift code. What's this and how can I get one?

    You're not obligated to insert a gift code. But you can purchase gift codes on the Apple online store (gift cards or certificates) or Apple Retail store
    Gift codes are pre paid cards so you can use credit on the iTunes Store to purchase content
    To create apple ID without payment method:
    http://support.apple.com/kb/HT2534?viewlocale=pt_PT

  • 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.

  • I just started using a new version of Illustrator and the text I am creating has a pink box behind, looks to be about the depth of the normal linespace, it is not visible in outline view, only in preview. What is it and how do I get rid of it?

    I just started using a new version of Illustrator and the text I am creating has a pink box behind, looks to be about the depth of the normal linespace, it is not visible in outline view, only in preview. What is it and how do I get rid of it?

    Hi Larry. I see. It is a file I have worked on previously, and the font is Myriad which I though came with the system. I just changed to Myriad Pro and the pink box disappeared. Thanks for the assistance, I know a new thing!

  • I just reinstalled iTunes, and it will not open, as it says iTunes library itl. was created from an earlier version. Any idea what this means, and how I can get itunes to open?

    I just reinstalled iTunes, and it will not open, as it says iTunes library itl. was created from an earlier version. Any idea what this means, and how I can get itunes to open?

    Many thanks.
    That suggests that another application has stashed old QuickTime componentry in your system files.
    So just in case we'll go looking for older QuickTime componentry in the most common locations for it to be stashed.
    First we'll need to change some view settings.
    In your Start menu, open Computer.
    In your Organise menu, select Folder Options.
    In the View tab, make sure that "Show hidden files and folders" is selected, and Hide extensions for known file types is unchecked.
    Click OK.
    Now in Computer, open your C:\ drive (or whichever drive you have your operating system installed on).
    Open the "Windows" folder.
    If you have a 32-bit version of Windows, open the "System32" folder.
    If you have a 64-bit version of Windows, open the "SysWOW64" folder.
    What files and folders can you see in there with QuickTime in the title? (In a standard installation of Quicktime you should be seeing precisely two files... QuickTime.qts and QuickTimeVR.qtx ... and no QuickTime folders whatsoever.)

  • Screen Message"File iTines Library.itl cannot be read because it was created by a newer version of iTunes" What is this and how can it be fixed?

    Screen Message on P.C. "File "iTunes Library.itl" cannot be read because it was created by a newer version of iTunes.
    What is this and how can it be fixed, please?

    Problem solved by doing the following:
    Open PC/Mac and search for iTunes Library.
    From the list, select the most recent version of iTunes Library. Save this to a folder.
    Delete iTunes from your computer.
    Install latest version of iTunes.
    When I opened the new version of iTunes, everything was there as before.
    I didn't need to import the saved version of iTunes Library. Maybe this happens automatically?????

  • 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

  • HT4539 "this device is no longer eligible for creating a free icloud account" what that mean and how to resolve this problem

    "this device is no longer eligible for creating a free icloud account" what that mean and how to resolve this problem

    Guess we're stucked and live with it. I hate this policy of limiting accounts to use on a device but the good thing is I just logged in using my account and asked my daughter what are the apps and music she wanted to download on the device. After we load everything she needs, I just deleted my account in the device and disassociated it from my iCloud account. It's still works as intended but the only caveat is she cannot use the find my ipad application.

  • 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

  • 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^

Maybe you are looking for