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
Similar Messages
-
How to create authority check object and assign to ztcode which is of modu
Dear ,
how to create authority check object and assign to ztcode which is of custom module pool program.its urgent kindly help points rewarded.Manoj,
You can check with your Basis team to create authorisation object and assigining tcodes to the user profiles.
K.Kiran. -
How to create Authority check object
Hello Gurus,
How to create Authority-check object 'ZABC'
ID 'TABLE' FIELD 'ZTABLE'.
Please tell me detailed procedure.
Thanks in advance.
Best Regards,
zuberaDear Zubera,
Creating Authorization Fields
In authorization objects, authorization fields represent the values to be tested during authorization checks.
To create authorization fields, choose Tools --> ABAP Workbench --> Development --> Other tools --> Authorization objects ® Fields.
To create a authorization field:
1. Choose Create authorization field.
2. On the next screen, enter the name of the field. Field names must be unique and must begin with the letter Y or Z.
3. Assign a data element from the ABAP Dictionary to the field.
4. If desired, enter a check table for the possible entries. For more information about check tables.
For more information about AUTHORITY-CHECK, see the keyword documentation of the ABAP Editor.
You can often use the fields defined by SAP in your own authorization objects. If you create a new authorization object, you do not need to define your own fields. For example, you can use the SAP field ACTVT in your own authorization objects to represent a wide variety of actions in the system.
Assigning an Authorization Object to an Object Class
Each authorization object must be assigned to an object class when it is created.
Choose Tools --> ABAP Workbench --> Development --> Other tools --> Authorization objects --> Objects.
You can also create authorization objects in the Object Navigator (SE80).
Creating / Choosing Object Classes
The system displays a list of existing object classes.
Object classes are organized according to the components of the system.
Before you can create a new object, you must define the object class for the component in which you are working. The objects are not overwritten when you install new releases.
You can also define your own object classes. If you do so, select class names that begin with Y or Z to avoid conflicts with SAP names.
Creating an Object
Enter a unique object name and the fields that belong to the object. Object names must begin with the letter Y or Z in accordance with the naming convention for customer-specific objects.
You can enter up to ten authorization fields in an object definition. You must also enter a description of the object and create documentation for it.
Ensure that the object definition matches the AUTHORITY-CHECK calls that refer to the object.
Do not change or delete authorization objects defined by SAP. This disables SAP programs that use the objects.
You can regenerate the profile SAP_ALL after creating an authorization object.
Best Regards,
Rajesh
Please reward points if found helpful. -
how to create authority check and how to apply for kunnr field near at selection-screen for validating this field, i mean is there any tcode for it becoz when i click on pattern button it ask authority check objectname (der r some inbuilt object already existing like s_carrid for airlines)
You can find out the authority objects from transaction SU21.
E.g. you can use the object V_KNA1_VKO to check the authority for given Sales Organizations.
You can find this object under the category SD.
Regards,
Naimesh Patel -
How to create a job card and how to add waranty card in sales order
I have one scenario for CS.the scenario is realted to automotive industry. Basically its a trading industry of HCV,MCV,LCV apart from that they will do servicing also. First the customer comes for a service.he is having free services. he will have waranty for spare parts of the vehicle. once he comes for servicing first the executive will take complains from the customer after that a Job card will be issued to the customer. there his chasis no ,engine no and registration no will be there. once enter the chasis no entire customer details has to come. how many free services he is having for how many kilo meters.then job card will go to the spare parts dept.that dept will issue the spare parts.then they will invoice the customer. he will pay the payment.and finally the gate pass will be given to the customer to deliver the vehicle.
painful area is how to create a job card and how to add waranty in sales order.
Regards,
VenkatHi,
Have u resolved it then Please let me know !!! It is a very interesting problem and owuld like to know the solution...
Regards
Krishna -
How to create a Custom UIView and How to instantiate that ?
How to create a Custom UIView and How to instantiate that ?
In Flash, all we need to do is create a MovieClip and assign it a class name in the library.
Instantiation is a simple matter of:
var newclass:CustomClass = new CustomClass({initialization_data:1652});
addChild(newclass);
At this current point in time, my understanding of creating custom UIView in xcode is limited to the understanding that you have to:
1: Forward declare the class in the header.
2:
]newclass *CustomClass in @interface's {}
and THEN
@property (nonatomic, retain) newclass *CustomClass;
in the header file also.
3: Nib initialization in the implementation file in viewDidLoad and do "addSubview".
==============================
Based on my limited understanding at this point, I find the need to
@property (nonatomic, retain) newclass *CustomClass;
at the header somewhat limiting...as it denotes you must know how many instance you will create in the application before hand.
I believe I am wrong here, hence, my question is, how do I add custom UIViews with initialization codes in real time ?hi,
one workaround i could think of is using the CM views to search for content that belongs to a category and display it in a custom way.
http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc904/wwsbr_api_view.html
this only allows you to search for the meta-data available in the CM views but not the content of an item that is available when doing a search.
in the next major portal release we will have a publich search API that can be used for these type of requirements. you can execute your search and format the results in the way you want.
regards,
christian -
How to create the Check box and Text Area inside the Assignment block
Dear all,
I am new to web UI development. my requirement is to create the Check box and Text box in the Assignment block. Can anyone help me to do this requirement.
Thanks & Regards,
Ashok.Hi,
Please place the below code in the GET_P methods of the fields.
For Text Area
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_textarea.
ENDCASE.
For Check Box
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_checkbox.
ENDCASE.
Regards,
Lakshmi.Y -
How to create a view object and attach with extended AM
Hi,
I tried to create new vo and attach this vo with the extended AM. But it is throwing error like 'PC.NAME : invalid identifier' (Actually this PC.NAME is exiting one).
Now i want to know how to create a view object similar like seeded one but with one additional condition in the where clause.
It is possible though extension, but i want to create two view object similar like seeded one, one with some other condition in the where clause
and another one with some other condition.
So for my requirement, i'll extend one VO and i'll add my condition but how to do it for second condition.
But i want same seeded VO with two different condition.
Any suggestions please,
SANSAN,
There is no need to attach the newly created VO with extended AM. You need to attach the same with the standard AM.
Regards,
Gyan -
How to create RFC function module and how to call this function module
Hi,
i want to know step for creating RFC function module and then How to use this function module from some other sap system.
Thnaks,
jigarJigar,
To implement a remote function module in ABAP, perform the following steps:
Register the module as remotely callable in the RFC server system.
In the function module Administration screen (transaction code SE37), set the field Can be called via REMOTE CALL. Registering a module as remote causes an RFC stub to be generated for it.
Write the code for the function module.
Create the destinations.....................
Displaying, Maintaining and Testing Destinations
To display, create or modify destinations, choose Tools ® Administration ® Administration ® Network ® RFC destinations or enter transaction code SM59.
Remote Destinations are stored in table RFCDES. The RFCDES table describes logical destinations for remote function calls.
It is not possible to maintain the RFCDES table directly.
You can also access logical destinations via the Implementation Guide (IMG) by choosing Tools ® AcceleratedSAP ® Customizing ® Execute Project ® SAP Reference IMG.
In the Implementation Guide, expand the following hierarchy structure:
Basis
Application Link Enabling (ALE)
Sending and Receiving Systems
Systems in Network
Define Target Systems for RFC Calls
Displaying Destinations
The initial screen for this transaction displays a tree:
Different connection types (i.e. partner systems or programs) are possible. For further information, see Types of Destinations.
To display all information for a given destination, double-click it, or place the cursor on it and press F2 .
To search for a destination, press the Find button and specify your selection. You get a list of all entries matching your selection. Place the cursor on the one you want, and press F2 or simply double-click the destination. All information for the given entry appears.
Creating Destinations
On the destinations overview screen (transaction code SM59), the connection types and all existing destinations are displayed in a tree structure.
All available connection types are explained in Types of Destinations.
To create a new RFC destination, press the Create button. A new screen is displayed with empty fields for you to fill in.
If you want to create a new destination
As you create a remote destination, you can specify a particular application server or a group of servers for a balanced distribution of system load.
For details of the destination parameters, see Entering Destination Parameters.
Changing Existing Destinations
On the destinations overview screen (transaction code SM59), the connection types and all existing destinations are displayed in a tree structure.
You can display all information for a given destination by double-clicking it or pressing F2 on it.
To change an existing destination, double-click it, or place the cursor on it and press the Change button.
For details of the destination parameters, see Entering Destination Parameters.
Testing Destinations
To test a destination, choose the appropriate function from the Test menu.
Connection (also available via the Test connection pushbutton)
Authorization (checks logon data)
Local network (provides a list of application servers)
You can use the CALL FUNCTION statement to call remote functions, just as you would call local function modules. However, you must include an additional DESTINATION clause to define where the function should run:
CALL FUNCTION RemoteFunction
DESTINATION Dest
EXPORTING
f1 =...
f2 =...
IMPORTING
f3 =...
TABLES
t1 =...
EXCEPTIONS......
The field Dest can be either a literal or a variable: its value is a logical destination (for example, "hw1071_53") known to the local SAP System. Logical destinations are defined in the RFCDES table (or the TRFCD table in R/2 Systems) via transaction sm59 or the following menu path: Tools ® Administration, Administration ® Network ® RFC destinations. You can also access logical destinations via the Implementation Guide (IMG) by choosing Tools ® Customizing ® Enterprise IMG. In the Implementation Guide, you can then choose Cross-application components ® ALE ® Communication ® Define RFC destination.
The remote function call concept, for example, allows you to access a function module in an R/2 System from an ABAP program in an R/3 System. If you want to read a customer record from your R/2 Systems database, create a remotely callable function module in the R/2 environment which retrieves customer records. Call this function from your R/3 System using a remote function call and listing the destination for the target R/2 System:
Pls. reward if useful -
How to:Create a blank document, and how to make a font available for editin
Two questions:
1: How do I create a new PDF document? All I see is to create from an existing document or scanner. If I'm creating something from scratch, do I really have to load an existing PDF, delete everything and then start my new document? That's the way it seems, which is nuts!
2: I have tried to edit the text in a document. I did not not create it, but it is open to editing. The font used in the document is "Arial", a very common font that comes with windows. The font is installed and I use it all the time in other Adobe apps. However when I try to edit a ducument using that font, I get a message that "the font is unavailable for editing" and it substitutes some random font. So why is it not available, and how do I make it available?
Thanks!
I'm using Adobe Acrobat XI Pro v.11.0.10 with Adobe Creative Cloud 2014 and Windows 7, all shown as up to date.For the first item...
Here is a sample from the Acrobat SDK - JavaScript section:
trustedNewDoc = app.trustedFunction( function (nWidth, nHeight)
app.beginPriv();
switch( arguments.length ) {
case 2:
app.newDoc( nWidth, nHeight );
break;
case 1:
app.newDoc( nWidth );
break;
default:
app.newDoc();
app.endPriv();
app.addSubMenu({ cName: "New", cParent: "File", nPos: 0 })
app.addMenuItem({ cName: "Letter", cParent: "New", cExec:
"trustedNewDoc();"});
app.addMenuItem({ cName: "A4", cParent: "New", cExec:
"trustedNewDoc(420,595)"});
app.addMenuItem({ cName: "Custom...", cParent: "New", cExec:
"var nWidth = app.response({ cQuestion:'Enter Width in Points',\
cTitle: 'Custom Page Size'});"
+"if (nWidth == null) nWidth = 612;"
+"var nHeight = app.response({ cQuestion:'Enter Height in Points',\
cTitle: 'Custom Page Size'});"
+"if (nHeight == null) nHeight = 792;"
+"trustedNewDoc(nWidth, nHeight) "});
Copy it into a text file and give it a name with a "*.js" file extension.
Place the JS file in the JavaScripts folder: C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Javascripts\
Relaunch Acrobat and you should have a new menu item named "New" -
How to create cookies in webdynpro and How to read from cookies
Hi all
Please let us know how to create cookies and how to store and retrieve the data from cookies in webdynpro.
we have the following requirement in each and every webdynpro form we have dropdownbox UI element , when ever a user logins into portal then he will select his state from the dropdownbox UI element then when even again the same user logs into portal and select the state field then the previously existing value which ever used in cookies that should be selected as dropdownbox.
can you please send sample codes how to create and read the data from cookies in webdynpro?
if you have any useful links or documents on this cookies in webdynpro then it would be great help to us.
Thanks in advance.
Regards
Kalki reddyHi,
Have a look at the following thread:
Re: How to use Cookies in Web DynPro?
This may help you.
Regards.
Rajat -
How to create a flat files and how i used this
hi Guys and gals,
I am david. I want to know how to create a flat files. I don't know about it also. pls explain it and also pls help me to create a flat files. If u have any program for creating pls send me.
I want to know about retrive the datas from flat files and also insert a record into it.
pls guide me
i need this immediately
davidvoid newMethod() throws Exception {
// Reading from a flat file
String data;
BufferedReader br = new BufferedReader(new FileReader("c:\filename1.txt"));
while ((data = br.readLine()) != null) {
System.out.println(data);
// Writing to a flat file
BufferedWriter bw = new BufferedWriter(new FileWriter("c:\filename2.txt"));
bw.write("sample data");
// After writing the data close the file
bw.close();
} -
How to create dynamic View Object and Dynamic Table
Dear ll
I want to create a dynamic view object and display the output in a dynamic table on the page.
I am using Jdeveloper 12c "Studio Edition Version 12.1.2.0.0"
This what I did:
1- I created a read only view object with this query "Select sysdate from dual"
2- I added this View object to the application module
3- I created a new method that change the query of this View object at runtime
public void changeVoQuery(String dbViewName) {
String sqlstm = "Select * From " + dbViewName;
ViewObject dynamicVo = this.findViewObject("DynamicVo");
if (dynamicVo != null) {
dynamicVo.remove();
dynamicVo = this.createViewObjectFromQueryStmt("DynamicVo", sqlstm);
dynamicVo.executeQuery();
4- I run the application module for testing the method and I passed "Scott.Emp" as a parameter and the result was Success
5- Now I want to show the result of the view on the page, so I draged and dropped the method from the data control as a parameter form
6- I dragged and dropped the view Object "DynamicVo" as a table and I choose "generate Column Dynamically at runtime". This is the page source
<af:panelHeader text="#{viewcontrollerBundle.SELECT_DOCUMTN_TYPE}" id="ph1">
<af:panelFormLayout id="pfl1">
<af:inputText value="#{bindings.dbViewName.inputValue}" label="#{bindings.dbViewName.hints.label}"
required="#{bindings.dbViewName.hints.mandatory}"
columns="#{bindings.dbViewName.hints.displayWidth}"
maximumLength="#{bindings.dbViewName.hints.precision}"
shortDesc="#{bindings.dbViewName.hints.tooltip}" id="it1">
<f:validator binding="#{bindings.dbViewName.validator}"/>
</af:inputText>
<af:button actionListener="#{bindings.changeVoQuery.execute}" text="changeVoQuery"
disabled="#{!bindings.changeVoQuery.enabled}" id="b1"/>
</af:panelFormLayout>
</af:panelHeader>
<af:table value="#{bindings.DynamicVo.collectionModel}" var="row" rows="#{bindings.DynamicVo.rangeSize}"
emptyText="#{bindings.DynamicVo.viewable ? 'No data to display.' : 'Access Denied.'}"
rowBandingInterval="0" selectedRowKeys="#{bindings.DynamicVo.collectionModel.selectedRow}"
selectionListener="#{bindings.DynamicVo.collectionModel.makeCurrent}" rowSelection="single"
fetchSize="#{bindings.DynamicVo.rangeSize}" filterModel="#{bindings.DynamicVoQuery.queryDescriptor}"
queryListener="#{bindings.DynamicVoQuery.processQuery}" filterVisible="true" varStatus="vs" id="t1"
partialTriggers="::b1">
<af:iterator id="i1" value="#{bindings.DynamicVo.attributesModel.attributes}" var="column">
<af:column headerText="#{column.label}" sortProperty="#{column.name}" sortable="true" filterable="true"
id="c1">
<af:dynamicComponent id="d1" attributeModel="#{column}"
value="#{row.bindings[column.name].inputValue}"/>
</af:column>
</af:iterator>
</af:table>
when I run the page this error is occured
<Nov 13, 2013 2:51:58 PM AST> <Error> <oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter> <BEA-000000> <ADF_FACES-60096:Server Exception during PPR, #1
javax.el.ELException: java.lang.NullPointerException
Caused By: java.lang.NullPointerException
Can any body help me please
thanksHave you seen Shay's video https://blogs.oracle.com/shay/entry/adf_faces_dynamic_tags_-_for_a
All you have to do is to use the dynamic table to get your result.
Timo -
How to create Package( development class) and how to assign the program
Hi,
Can any body give me the steps to create the package (developement class) and also please give me the steps to assign the local object ( program) to that development class.
thanks in advance
KPHi,
This document will help you to create package and move local package name to your package.
Package Creation:
1.T-code=SE80.
2. give the option 'PACKAGE' in text field, give 'PACKAGE NAME' then enter.
3. The next screen will open in that screen you shoul give short text and Software Component-'HOME'. then enter.
4. Next screen will open here you should give create request then next page will open
5.In the next page give short description this is your package identification,then click 'SAVE ' button now one unique number will open then give 'YES' button, now your package is created.
HOW TO MOVE LOCAL PACKAGE DATA TO YOUR PACKAGE
1.IN the same screen you should give program option, then open your local program ,
2.'WRITE CLICK YOUR PROGRAM NAME', then give 'COPY' option
3.Next window will open here you should give 'TARGET PROGRAM NAME'.
4. THEN you should give you 'PACKAGE NAME'.
now you can store local package program's to your package.
IF HELPFULL GIVE REWARD POINTS -
How to create a Regional Structure and how to use it
Hi can anyone help me in creating the postal and political regional structures with T-CODES if u have any documents or screen shots
THANK YOU IN ADVANCE**Postal Code **
SR30 Create
SR31 Change
SR32 Display
**City **
SR10 Create
SR11 Change
SR12 Display
**Street **
SR20 Create
SR21 Change
SR22 Display
**Political **
ER30 Maintain Hierarchy
ER3D Display Hierarchy
ER31 Maintain Elements
ER32 Display Elements
Regards,
Siva Bontha
Edited by: Siva Bontha on Sep 4, 2009 12:38 PM
Maybe you are looking for
-
so my old laptop was a HP pavilion Vista. And my new laptop is a samsung windows 7. I pluged my ipod in as usual, transfered all purchases, yet all that got moved into my library was just what was stored on my ipod at the time, I had authorised my ne
-
Mass change of pricing date and billing date in credit memo request
Hi, Can i change the billing date pricing date on credit memo request docs using MASS transaction? If i enter the regular sales order number it prompts me to change the value but if i enter the credit memo request doc number,the message "No data meet
-
Hi, I just changed an existing report to have a filter on one of my groups. I used the select expert and filtered using the "is not equal to" criteria. Everything works as it should when I view the report in crystal, my filtered objects do not sh
-
Prob in extended idoc - ORDER05
Hi, I have extended basic type orders05. when i run the FM, EXIT_SAPLVEDC_003, inside where i have written code for populating the z segments, i am unable to see the segments at all. i mean, i can NOT see edidd-segnam EQ extended segment names. i hav
-
Mouse/keyboard non-responsive, system locks up
I have a Touchsmart IQ816. At times the wireless keyboard and mouse become unresponsive and the system seems to lock up. I can see the blue light that comes one when I type or move the mouse is on solid and does not turn off. The touchscreen beeps