Assign Authorizatio object to standard tcode
Hi,
I need to assign custom authorization object to standard transaction.
i created the custom authorization object with fields & activity type.
client suggested to assign it in SU24, but i am not sure how can i assign it there?
are there any transactions avaialble to assign?
Giri
Hi Giri,
You could (and probably should) specify the check in SU24, but this won't make the check happen. The values in SU24 are used in transaction PFCG when a role is created that includes this transaction.
To make the authorisation check at runtime you'll need to code a user exit or similar to check your new authorisation object.
Regards,
Nick
Similar Messages
-
Assign authorization object to standard transaction (VA02)
I've success to create an authorization object and assigned to va02. I also use su24 to check indicator for my customize object. There are reported that it is Check. I think it is activated. Then i access va02, but it still can access, I suppose i no have right to access the va02. What's wrong for my setting. Acutally, I no much ideas for the authorization object. Can you give me some advise. Thanks a lot.
Hi Giri,
You could (and probably should) specify the check in SU24, but this won't make the check happen. The values in SU24 are used in transaction PFCG when a role is created that includes this transaction.
To make the authorisation check at runtime you'll need to code a user exit or similar to check your new authorisation object.
Regards,
Nick -
Document type ZD does not allow you to assign to object MARA
hi ppl,
I have created a Z document type.but its not allowing me to assign in mm02.what might be the problem..? its throwing an error message Document type ZD does not allow you to assign to object MARA.You need to enable object linking to mara on your new document type. Go to Tcode DC10, select the document type and then go to the object links area. Create a new object link for your document type.
-
Is there ant standard tcode for list of vendors, suppliers in ECC 6.0
can any body tell me is there ant standard tcode for list of vendors, suppliers in ECC 6.0
Hi
The standard Tcode for list of vendors is S_ALR_87012086 - Vendor List .
Check whether it is helpful to you or not.
Plz assign points if it is helpful.
Regards
Tapan -
Creating Ztcode for standard Tcode - f.13
Hi,
I have created a Ztcode zf.13 for a standard tcode f.13 in FI. As per client requirement I have to make certain changes to it like the document should be posted irrespective of the business area or profit center considering just Assignment & the debit & credit amount mateches.
Regards,
Viraj
Moderator Message: Do not expect the forum to do your work for you.
Edited by: kishan P on Dec 10, 2010 10:35 AMHi Viraj,
please explain your question properly
In case you are trying to modify the code
copy Program SAPF124 (program for f.13) to Z program ... and then make changes as per your requirement.
Attach your Z program to ZF.13 tcode
Regards,
Seema
Edited by: Seemanthini R on Dec 7, 2010 12:44 PM -
Internal number assignment for object AUFTRAG
Hello,
Previously with SAP PM module we had configured the maintenance work order number range for internal assignment to a narrow range of numbers i.e. 12000000 to 12999999.
Following rolling out the functionality to other sites, we required to extend the internal number range (to accomodate the volume to be produced) and have updated this in configuration i.e. 300,000,000,000 to 399,999,999,999.
We are now experiencing an information message each time we Save a new maintenance work order;
Internal number assignment for object AUFTRAG (numbers are in critical area)
Message no. RU 153
When the user clicks Enter to continue a warning message is also displayed on the status bar;
Number XXXXXX for order type XXX within critical area
Message no. CO 395
However, we have investigated this and the work orders are creating normally after this. We have created in the system, the work orders with the prevous number range and also hunders of work orders with the new number range, we do not appear to be experiencing our buffer.
I have check the settings in SNRO config setting. The settings appear as standard with a warning buffer of 5% and the No. of numbers in buffer = 20.
Please can anyone advise how to remove this information message or how to update the system to resolve.
Regards,
HayleyThe message is given by the number range function, according to the configuration of field percentage. You have entered 5% - which means when you reach within 5% of the end of the numbers, you should get the warning. Your range is 300,000,000,000 to 399,999,999,999 My calculation that you should get the warning around 395,000,000,000
I suspect that the issue is linked to buffering of the numbers. Is it resolved?? -
Programmatically assigning Authorization Objects to roles
Hi there,
I have created an authorisation object with eight fields. The fields control which parts of my application are accessible to the user. (Each field is one category, each category has several subcategories).
What I want to do is the following:
There shall be a custom authorization dialog, wherein the system administrator can configure the access of the application for a specific user.
In plain text: I want to develop an interface which makes it possible to assign authorisation objects with specific values to a user or to an already existing role.
Is there any functionality, that allows me to perform this assignment and regenerate the users profile?
I already discovered, that the table UST12 contains the connection between the authorization profile of a role and an authorization object, as well as the assigned values. Anyhow, just to write new values to that table has no affect to the authorization when calling "authority-check object" in an ABAP report.
Does anyone know, whether there are standard functions in the ERP System, that support the changing of authorization objects and the regeneration of roles?
Thank you very much,
Gregor
Edited by: Gregor Bender on Mar 11, 2008 8:41 AM>
Gregor Bender wrote:
> I already discovered, that the table UST12 contains the connection between the authorization profile of a role and an authorization object, as well as the assigned values.
Nope, sorry, it's not the connection but only one of the many.... Roles and profiles are stored in quite a lot of different tables so manipulating one table directly will hardly ever get you the desired situation. It may even lead to problems due to inconsistencies.
For mass regenerating profiles there's transaction SUPC.
For manipulating the contents of roles/profiles have a look at scripting with SECATT or LSMW in combination with PFCG.
If you want to write code to add objects to roles you have to look at least in tables AGR_1250, AG_1251 and AGR_1252. The UST* tables are updated when generating profiles and/or comparing users. -
Standard tcode FBL5N dump in pre production.
I am getting a dump when I execute the standard tcode FBL5N (Customer line item) with one company code. FBL5N tcode is not at all giving dump in production system, however it dumps in pre production.
The dump exists in the function module : fdm_local_get_objects_range while executing the SELECT stmt
*SELECT * FROM fdm_dcobj*
INTO CORRESPONDING FIELDS OF TABLE et_object_data
WHERE logsys LIKE i_logsys
AND obj_type LIKE i_obj_type
AND obj_key IN it_range_obj_key
AND relation LIKE i_relation
AND case_guid_loc IN it_guid
AND is_confirmed LIKE i_confirmed
AND is_voided LIKE i_voided.
Do I need to search for sap note ?
Below is dump analysis
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
in procedure "FDM_LOCAL_GET_OBJECTS_RANGE" "(FUNCTION)", nor was it propagated by
a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The SQL statement generated from the SAP Open SQL statement violates a
restriction imposed by the underlying database system of the ABAP
system.
Possible error causes:
o The maximum size of an SQL statement was exceeded.
o The statement contains too many input variables.
o The input data requires more space than is available.
o ...
You can generally find details in the system log (SM21) and in the
developer trace of the relevant work process (ST11).
In the case of an error, current restrictions are frequently displayed
in the developer trace.
How to correct the error
The SAP Open SQL statement concerned must be divided into several
smaller units.
If the problem occurred due to the use of an excessively large table
in an IN itab construct, you can use FOR ALL ENTRIES instead.
When you use this addition, the statement is split into smaller units
according to the restrictions of the database system used.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:Note Still Valid in Market place.
"SAP Note 1111155 - FSCM-DM: Termination "Open SQL
statement is too large."
Note Language: English Version: 10 Validity: Valid Since 07-28-2010
Summary
Symptom
When you access dispute case using the integration (creating dispute case
using FI transactions (for example, FBL5N), clearing items to which dispute
case have been assigned), the system issues the dump "Open SQL statement is
too large".
The error occurs if there are many (more than 1000) dispute cases for a
customer.
Other terms
FBL5N, FBZ1, F-32, integration
Reason and Prerequisites
This problem is due to a very large dispute case volume.
Solution
Import the relevant Support Package or implement the attached correction
instructions.
Header Data
Release Status: Released for Customer
Released on: 07-28-2010 08:02:45
Master Language: German
Priority: Correction with medium priority
Category: Program error
Primary Component: FIN-FSCM-DM Dispute Management
Valid Releases
Software Component Release From
Release
To
Release
and
Subsequent
SAP_APPL 600 600 600
SAP_APPL 602 602 602
SAP_APPL 603 603 603
SAP_APPL 604 604 604
SAP_APPL 605 605 605
PI 2004.1 2004_1_47" -
How to Configure Workflow with Standard TCODE
Hello Gurus,
I am new in Workflow. I have to trigger the workflow on the transaction MM02 on changing Material Plant Status to 41. I have ZECN object. but I am not aware with how this object is trigger on change of Material Status. Please tell me the process of attaching the workflow to standard tcode. With Important Workflow TCODE.
Thanks,
Sandeep ThakareThere are many ways to trigger workflow.
Example 1) Trigger it from change object.
2) From function module or class.
However, There is no configure to bind the event with transaction code.
In your case, you can use change document object MATERIAL to trigger a business object BUS1001 event.
you can use transaction SWEC to trigger the event and use transaction SWETYPV to bind event with workflow.
for basic workflow go to [SAP Workflow Help|http://help.sap.com/erp2005_ehp_04/helpdata/DE/fd/517b42303e0e53e10000000a155106/frameset.htm].
Good luck,
Chaiphon -
Assign transaction variant to standard transaction.
Hi All,
I want to alter the column nos. in table control for transaction VA41 / VA42.
I created transaction variant ZVA41 using tcode SHD0. I have created new tcode ZVA41_1 using SE93, option 4 - Transaction with variant. I have used transaction - VA41 and transaction variant ZVA41_1 in SE93.
When i am testing this new Tcode ZVA41_1 from SE93 only, its working fine. but when i am executing tcode ZVA41_1 its not displaying screen as per new variant ZVA41. Its displaying standar screen of VA41. Not getting what else i need to do? I also tried to assign this variant as standard transaction but still no positive result. Its working fine when i am testing it but not working when i am executing it independently.
Would appreciate your replies. ThanksHi Patrick,
When you create a transaction variant, I assumed you created a Z transaction that points to PZ03 with a variant. Then in your user profile, you should have this transaction code included. Parameter id tab in SU01 is for the default values of a parameter id when a user logs in. -
Authorization Object for Z Tcodes
Dear SAP Guru's
how to find authorization object for Z tcodes
e.g. in our orgnisation we have created report ZSR( Sales Register) and we want to restrict user for Plant & sales office
so where i can get authorization object.
kindly help
Thanks
ParamanandHi,
Goto T.Code "SUIM".
Click on "Roles".
Click on "By Transaction Assignment".
Enter your T.Code here i.e. "ZSR".
Click on Execute or Press F8.
You will identify the role assigned to it.
Copy that role.
Goto T.Code "PFCG".
Paste that role here.
Click on Display.
Goto "Authorisations" tab.
click on "Display Authorization data".
Goto Utilities-->Technical names on in menu bar.
Here you can see the authorization object assigned for this T.Code.
But in general all the Z transactions will be in S_TCODE authorization object.
Also,goto that T.Code.
Immediately after this enter,"/nSU53" T.Code.
Regards,
Krishna. -
Assigning the object to a Different transport request number.
Hi all,
I have assigned a object to a different transport request number and i now i want to assign it to a new one..can any one tell me some procedure to change it.
Tnx,
Joe.Hi Joe
In SE09 tcode click on display icon and enter the transport number in which the object was already assigned and click on display.
Now delete the object from the task of the main request number.
Now its ready to lock in some other transport request. Just goto the workbench object, try to save or activate, it will automatically ask for transport request afresh. You can now assign the request at this step.
Rgds,
Sripal -
Assign Authorization Object dynamically
Hi,
I just want to know through coding is it possible to assign authorization object to user based on some condition dynamically.
Its related to BP and in CRM 6.0
Pls provide some approach if its possible.
Thanks a lot.
Regards,
ShobhitShobhit,
Displaying authorization details would not be much of a problem. We can add a flag in the customer master and fetch the customers with the flag in the search result. I believe there is BADI to do that.
Once the customers are retrieved navigating to the account details should be standard procedure. It should make use of standard events to go to the BPHeadOverview screen.
But, the concern is whether or not there is authorization failure when we are trying to save the activity created using these flagged customers.
Regards
Prasenjit -
Prob in getting Mail body for the standard tcode F150(Dunning).
Hello all,
I am using F150 for the dunning notice print out.After seeing the display of the dunning notice once we come back it populates a popup window where it asks to send the mail to the particular mailid or not. I have used the BTE --- SAMPLE_PROCEE_00001040 and copied it as z function module and customised according to my requirement in order to get the mail id of the customer in the pop up.My mail is going to the customers mail id properly only but my prob is that we are not able to get any mail body for that particular mail.Where can we add the mail body text to that mail in the standard tcode f150.can any one suggest is it possible or not.
Regards,
Pavani.
Edited by: Pavani Rayappureddi on Aug 11, 2009 11:21 AMsolved my self.
added C_ITCPO-TDTITLE = 'Pending Receivables Statement-XXX GROUP'.
in the bte code. -
Assigning an object a primative value[ compiler magic | documented] ?
I recently discovered something I was doing in code on J2SE (Mac & Sun) which I never recall knowing you could do. That is assigning an Object a primative an integral datatype, like a short. Example:
public class PrimativeTest {
public static void main(String[] args) {
Object sp = getShortPrimative();
Object so = getShortObject();
Object da = (short) 34;
System.out.println("primative version value: " + sp.toString() + " type: " + sp.getClass().toString());
System.out.println("object version value: " + so.toString() + " type: " + so.getClass().toString());
System.out.println("direct assignment version value: " + da.toString() + " type: " + da.getClass().toString());
static short getShortPrimative() { return (short) 75; }
static Short getShortObject() { return new Short((short) 25); }
}Produces:
primative version value: 75 type: class java.lang.Short
object version value: 25 type: class java.lang.Short
direct assignment version value: 34 type: class java.lang.Short
Don't get me wrong, I am using this, like it, and now know I am using it. I, however, cannot find where this is declared as a feature. My concern stems from some of this code is to run on J2ME in the future. How many implementations of that are there?
Can someone please link me up with the on-line doc that say this is legal.
Thank youGood points about compiler settings. Am using Netbeans with CVS. I literally needed a spreadsheet to plan out which project goes to which platform (servlet, desktop, phone) all in advance.
Figuring out how to compile, assemble (obfuscate/sign), & preverify (for J2ME) common code is one of the reasons I said 'in the future' of my orginal post.
Back in the 'old days', I used Visual Sourcesafe doing VB programming, so I keep trying to figure out a way to make CVS solve my problem. With sourcesafe, one project had the source, but you could put an alias to that file in other projects. I do not want branches that drift apart. If that worked, I could just make three actually distributed projects with all the classes each needed, one of which was compiled using the Mobility pack.
Not really a subject for this forum, but thought I would expand on the issue raised.
Maybe you are looking for
-
Will Movies Info Have Subname Fields And Vol. Fields In Get Info
many of you have purchased movies from the apple store, but what about those who use there own movies as an item in itunes. i would like to see an update in ITunes that shows three tiers for the movie name, the main title - the sub name - vol. number
-
HT1339 my daughter forgot her passcode
ipod touch locked out will not connect to itunes
-
Now that Kodak apparently isn't going to update the PCD acquire module for Intel Macs, I wanted to put in a request that the next rev of DNG convert the PhotoYCC image pack into DNG. I think this is possible after a conversation with Thomas awhile ba
-
i want to execute another program through my java program. Now my win98 platform always signals an error when I attempt to do it using Runtime and Process also if i try to compile a java file during my run time through a similar process, it is compil
-
ROW-00060: Internal error: [dainsert,16]
I posted the below question yesterday to the following Microsoft forum and was directed to this Oracle forum. The responder to my post believes it has something to do with the Oracle driver I am using. http://social.msdn.microsoft.com/Forums/en-US/sq