Create organis'l level field for auth. field that occurs in multiple object
Hello,
When trying out PFCG_ORGFIELD_CREATE I ran into a problem:
I want to have an organisational level field for BEGRU in C_STUE_BER (Auth.grp in BOM-header);
there are other auth.objects that also have a field called BEGRU (eg M_MATE_MAR, M_MATE_MAT, F_BKKA_BPG);
we have roles that have several of these objects.
Running PFCG_ORGFIELD_CREATE leads to problems in those roles that have several of the objects with a field BEGRU. In general the values to be assigned to BEGRU in different objects is not the same.
The only solution i can think of is to have per role only one object with field BEGRU.
This would mean a serious redesign of our roles :-(.
Is there another option?
Thanks for your contributions.
John Hermans
Another option is to create transactions for the BEGRU and maintain SU24 for them.
But that is not scalable for large BEGRU values and has an implication for menus and number of transactions, in addition to the number of roles...
But BEGRU fields should be used with caution, as the objects which use them are mostly not intended to be scalable (like P_PERNR is scalable....) so Su24 or well documentented "Maintained" authorizations might be an option to switch to.
Cheers,
Julius
Similar Messages
-
Is it possible to create a form text field that needs to be filled out in Korean
I have created a flyer for a client in InDesign. It's in Korean. The font I use is Apple SD Gothic. But when I create pdf with form fields from it I can't select that font for the field attribute. Is there a way to embed the font in the pdf for the fields?
Not at this time.
-
Unable to create a First level menus for OAF pages:urgent
Hi All,
I am facing the problemin creating the first level menus in the Oracle app. following are the steps that i followed:
Step 1)Created HTML Tab Menu with following properties:-
Menu=XXWRP_PRT_SEARCH_TAB
User Menu Name =XXWRP PRT APPLICATION Search Tab
Menu Type=HTML Tab
Function=OA Framework ToolBox Sample Browser
Step 2)Created HTML Tab Menu with following properties:-
Menu=XXWRP_PRT_GOODS_TAB
User Menu Name =XXWRP PRT APPLICATION Goods Tab
Menu Type=HTML Tab
Function=OA Framework ToolBox Supplier Search
Step 3)Created Home Page Menu with following properties:-
Menu=XXWRP_PRT_APP_HOME_PAGE
User Menu Name=XXWRP PRT APP HOME PAGE
Menu Type=Home Page
and having following entries:-
prompt=Search, Submenu=XXWRP PRT APPLICATION Search Tab
prompt=Goods,Submenu=XXWRP PRT APPLICATION Goods Tab
Step 4)Created Another Home Page Menu with following properties:-
Menu=XXWRP_ PRT_NAVIGATION
User Menu Name=XXWRP PRT NAVIGATION
Menu Type=Home Page
and having following entries:-
prompt=Search, function=OA Framework ToolBox Sample Browser
prompt=Goods,function=OA Framework ToolBox Supplier Search
Stpe 5) Created Standard Home page menu with following properties:-
Menu=XXWRP_PRT_APLLICATION.
User Menu Name=XXWRP PRT Application
Menu Type=Standard.
and having following detail entries:-
Submenu=XXWRP PRT NAVIGATION
submenu=XXWRP PRT APP HOME PAGE.
Step 6)
Created a responsibility with Available Form=Oracle Self service web Application
and with menu=XXWRP PRT Application
Step 7)
And after that i assigned the above created responsibility to the login user.,
But i am unable to get the tabs. Where I am commiting a mistake,i cann't undertand.Plz help..........
Regards,
VikramTry to compare the menu that you have created with Functional Administartor menu structure. It may help to debug your problem.
Thanks,
Mitiksha -
JMF Challenge - Create audio volume level meter for rtp Audio Transmitter
Based on the following code at: http://java.sun.com/products/java-media/jmf/2.1.1/solutions/RTPConnector.html
The challenge is to build an Audio level meter, you know the lights that go up and down to your voice like on a stereo Hi-Fi system.
If we can start with ideas, give it time the challenge will be complete for all to use.Heres the finished codec code, it just spits out System.out's with the peak level.
import javax.media.*;
import javax.media.protocol.*;
import javax.media.protocol.DataSource;
import javax.media.format.*;
import javax.media.control.TrackControl;
import javax.media.control.QualityControl;
import javax.media.control.SilenceSuppressionControl;//###### delete if no silence.
import javax.media.rtp.*;
import javax.media.rtp.rtcp.*;
import com.sun.media.rtp.*;
public class AudioLevelMeterCodec implements Effect {
/** The effect name **/
private static String EffectName="AudioLevelMeterCodec";
/** chosen input Format **/
protected AudioFormat inputFormat;
/** chosen output Format **/
protected AudioFormat outputFormat;
/** supported input Formats **/
protected Format[] supportedInputFormats=new Format[0];
/** supported output Formats **/
protected Format[] supportedOutputFormats=new Format[0];
/** selected Gain **/
protected float gain = 2.0F;
/** initialize the formats **/
public AudioLevelMeterCodec() {
supportedInputFormats = new Format[] {
new AudioFormat(
AudioFormat.LINEAR,
Format.NOT_SPECIFIED,
8,
Format.NOT_SPECIFIED,
AudioFormat.LITTLE_ENDIAN,
AudioFormat.SIGNED,
8,
Format.NOT_SPECIFIED,
Format.byteArray
supportedOutputFormats = new Format[] {
new AudioFormat(
AudioFormat.LINEAR,
Format.NOT_SPECIFIED,
8,
Format.NOT_SPECIFIED,
AudioFormat.LITTLE_ENDIAN,
AudioFormat.SIGNED,
8,
Format.NOT_SPECIFIED,
Format.byteArray
/** get the resources needed by this effect **/
public void open() throws ResourceUnavailableException {
/** free the resources allocated by this codec **/
public void close() {
/** reset the codec **/
public void reset() {
/** no controls for this simple effect **/
public Object[] getControls() {
return (Object[]) new Control[0];
* Return the control based on a control type for the effect.
public Object getControl(String controlType) {
try {
Class cls = Class.forName(controlType);
Object cs[] = getControls();
for (int i = 0; i < cs.length; i++) {
if (cls.isInstance(cs))
return cs[i];
return null;
} catch (Exception e) { // no such controlType or such control
return null;
/************** format methods *************/
/** set the input format **/
public Format setInputFormat(Format input) {
// the following code assumes valid Format
inputFormat = (AudioFormat)input;
return (Format)inputFormat;
/** set the output format **/
public Format setOutputFormat(Format output) {
// the following code assumes valid Format
outputFormat = (AudioFormat)output;
return (Format)outputFormat;
/** get the input format **/
protected Format getInputFormat() {
return inputFormat;
/** get the output format **/
protected Format getOutputFormat() {
return outputFormat;
/** supported input formats **/
public Format [] getSupportedInputFormats() {
return supportedInputFormats;
/** output Formats for the selected input format **/
public Format [] getSupportedOutputFormats(Format in) {
if (! (in instanceof AudioFormat) )
return new Format[0];
AudioFormat iaf=(AudioFormat) in;
if (!iaf.matches(supportedInputFormats[0]))
return new Format[0];
AudioFormat oaf= new AudioFormat(
AudioFormat.LINEAR,
iaf.getSampleRate(),
8,
iaf.getChannels(),
AudioFormat.LITTLE_ENDIAN,
AudioFormat.SIGNED,
8,
Format.NOT_SPECIFIED,
Format.byteArray
return new Format[] {oaf};
/** gain accessor method **/
public void setGain(float newGain){
gain=newGain;
/** return effect name **/
public String getName() {
return EffectName;
/** do the processing **/
public int process(Buffer inputBuffer, Buffer outputBuffer){
// == prolog
byte[] inData = (byte[])inputBuffer.getData();
int inLength = inputBuffer.getLength();
int inOffset = inputBuffer.getOffset();
byte[] outData = validateByteArraySize(outputBuffer, inLength);
int outOffset = outputBuffer.getOffset();
int samplesNumber = inLength / 2 ;
int valueMin = 255;
int valueMax = 0;
for (int i=0; i< samplesNumber;i++) {
int tempL = inData[inOffset ++];
int tempH = inData[inOffset ++];
int sample = tempH | (tempL & 255);
if (sample > valueMax) {
valueMax = sample;
if (sample < valueMin) {
valueMin = sample;
System.out.println((valueMax - valueMin) - 256);
System.arraycopy(inData,0,outData,0,inData.length);
// == epilog
updateOutput(outputBuffer,outputFormat, inData.length, 0);
return BUFFER_PROCESSED_OK;
* Utility: validate that the Buffer object's data size is at least
* newSize bytes.
* @return array with sufficient capacity
protected byte[] validateByteArraySize(Buffer buffer,int newSize) {
Object objectArray=buffer.getData();
byte[] typedArray;
if (objectArray instanceof byte[]) { // is correct type AND not null
typedArray=(byte[])objectArray;
if (typedArray.length >= newSize ) { // is sufficient capacity
return typedArray;
System.out.println(getClass().getName()+
" : allocating byte["+newSize+"] ");
typedArray = new byte[newSize];
buffer.setData(typedArray);
return typedArray;
/** utility: update the output buffer fields **/
protected void updateOutput(Buffer outputBuffer,
Format format,int length, int offset) {
outputBuffer.setFormat(format);
outputBuffer.setLength(length);
outputBuffer.setOffset(offset); -
To create a Universe Level filter for calculating one month's data
Post Author: roy999
CA Forum: Deployment
Hi Everbody, I am creating a Monthly report using Deski XI R2. My requirement is :At
the report prompt the user will enter only the Start Date (which will
be the first day of previous month) and the End Date will be
automatically taken as the last day of the previous month. Is there any way to implement this, if yes please resond ASAP... ThanksRoyPost Author: amr_foci
CA Forum: Deployment
if you use oracle connection u can make it easy and use the oracle's functions like
CALENDAR.MY_DATE BETWEEN @Prompt('ENTER DATE','D',,MONO,FREE) AND LAST_DAY(CALENDAR.MY_DATE)
if u dont use oracle as a target database connection u can either look for the similar function in ur DBMS for "LAST_DAY" ,, i think its available for any DBMS
good luck -
I have had an apple id account for a few years that is shared by myself and my family. It includes 3 ipod touches, 1 ipod nano, and 1 ipad. All of the devices are synced to each other and settings keep getting changed around between them, which is becoming an annoyance. I would like to create 2 separate apple id accounts, and keep my existing one, is this possible? Will I and my family be able to sync the devices to new accounts without having to reset each product? any advice and/or suggestions would be much appreciated, thanks.
Couldn't agree more... the folks who are getting penalized for this are the early adopters of .Mac/iCloud dating from the days when the only way to implement a "family" account was to use aliases. Now all my kids' / my wife's name aliases sit in my account, unable to move. I guess the good news is that if I delete them nobody else will get them, but this seems a pretty poor consolation.
Would it really be so difficult to implement a "move this alias to another iCloud account" option that requires the "sender" and "receiver" to exchange some sort of code to implement the transation in order to prevent fraud? -
hello guys,
I want to create a vi such dat when I press a button on the frontpanel of the vi it opens the same vi in another window..and I should be able to work on this new window also able to work on the previous window without closing it...Just like opening a new window when using the internet explorer....
I try to make my vi a reetrant vi but when I click the new window button on my vi..a new clone windows open up that I can control but the previous windows is not accessible not I close the current window...I want a way that I can acces both vi window and d operation of one will not affect the other like when the indicators are updating in one window the other window will not update...
Thank you...
Solved!
Go to Solution.The picture attached shows what i want to achieve as a vi or executable...The new window button opens a clone of the vi, but the previous window can not be operated on until i close the clone window...i want to be able to work on both window at any time without closing one of them....The vi was design in labview 2010
Attachments:
ni.jpg 66 KB
window vi.vi 8 KB -
Manage security for a report that lives in multiple folders
Post Author: EricE
CA Forum: General
I am using Crystal Enterprise 10. (we are about to upgrade to BO XI if
it matters in the answer)
As we consider the migration to XI we are thinking about problems with our
existing system that we have never solved adequately.
The problem is how to manage
security of a given report that shows up in multiple places in the tree.
Example:
I have a report lives in the Sales folder but also needs to be in a folder at
the same level called Marketing.
I want the report to
exist only once so that if I update it, it gets updated both places.
To solve that I could put the real report in a folder called u201Call reportsu201D and
then create short cuts to it in both of the other folders.
The problem with that method is that
the users who have rights to the u201CSalesu201D folder donu2019t get rights to the
shortcut (because the rights don't seem to work on shortcuts). The rights
would have to be granted to the real report objectu2026which quickly becomes a mess
trying to manage rights to each individual report object.
So I want to manage rights/security
at the folder level but I also want a given report to live in more than one
location (but have one real report object) and have its rights administered by the folder it is in.
Is there any way to do that?Post Author: EricE
CA Forum: General
yangster:When you set permissions at the folder level all reports within the folder and any subfolder that exist should inherit the parent folders rights.So putting in your report into the sales folder and creating a shortcut to the marketing folder should be fine as long as you have not set any specific right on the actual report itself.Please clarify per my post above this one. I tried doing exactly what you said to do. What happened is that the user could SEE the report but could not execute it. User had "view on demand" rights to the folder via a group. -
Looking for calendar app that can sync multiple calendar colours in outlook
I Have multiple colour categories in my calendar but need a calendar app that can sync with outlook. Do NOT want to sync with google calendar. Any suggestions? Thanks
Hi ron1098,
Try my application Dates to iCal. it runs on the Mac, but you can sync the calendar to your iOS device.
See more about Dates to iCal here. It is £4 shareware with a 2 week demo.
Best wishes
John M
As I sell software on my site and ask for donations, the Apple Support Communities Use Agreement requires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link. -
How to create a Date or time field that automatically saves current date or time?
hello,
i want to know that how to create a Date/Time field that automatically shows current Date/Time when .pdf form is opened.
also want to how to stop user to give input in Date/Time field
currently im putting a Date field but it is accepting user input.
hoping for quick response
Thanks in advance!You can place the below code in the initialize event of the field to display the current date and time.
Set the language to FormCalc.
You can play around the formats to get the desired format of date and time.
if($.rawValue eq null or $.rawValue eq "") then
$.rawValue = Concat(Num2Date(Date(), "MM/DD/YYYY")," ", Num2Time(Time(), "h:MM:SS A"));
endif
You can not restrict the input area in Date time field instead you can validate the input while existing the field.
(OR) set the field to either readOnly or protected mode.
Thanks
Srini -
Creating a modifiable form field
Hi,
I would like to create a modifiable form field that maps onto a directory server multi-valued field. This field should have the ability to add a value or remove a value as well as displaying the contents of the list. I've spent time reviewing the Workflows, Forms and Views (v8) document but it's not clear how to achieve this sort of field. Is it possible?
Regds
CKThe ListEditor component is what you are looking for.
Check out this code snippet directly from the documentation:
<Field name='accounts[Sim1].Group'>
<Display class='ListEditor' action='true'>
<Property name='listTitle' value='stuff'/>
<Property name='allowTextEntry'>
<Boolean>true</Boolean>
</Property>
<Property name='ordered'>
<Boolean>true</Boolean>
</Property>
</Display>
<Expansion>
<ref>accounts[Sim1].Group</ref>
</Expansion>
</Field>The important stuff in this case is the field name, in this case accounts[Sim1].Group. This means you are displaying/modifying the contents of an attribute "Group" on resource "Sim1". Change this to suit your needs. -
Only multiple entries in BP when creating a new table/field with EEW
Hi,
I am creating new tables/fields for BP in CRM 4.0 using transaction EEWB.
This is working quite well but the fields that appear allows multiple entries per BP. I just want one single entry per BP.
The wizard talks about multiple options but I cannot see how I define that if it should be a single entry or multiple.
Any idea how to achieve that?
Thanks,
//andersHi
As i know the fields will be multiple only, u can try for 'default'
and also try in the wizard in step 2
The Process of EEW will be like this
1. To add new fields to the business partner, use the business object Business Partner (BUPA) and create an enhancement of the type "Add New Fields". A wizard helps you define the individual enhancements and provides you with the necessary information for each step.
2 For each field, you must define the field name, data type and, if necessary, the field length.
3 For each field, define whether a check table should be available.
4 For each field, you must also determine whether it should be transferred to SAP BI or to CRM Field Applications.
5 In the last wizard screen, the system shows you an overview of the fields you defined, together with their associated attributes.
6 To start generation, choose Complete.
I hope u can solve ur prob in Step 2 data type
cheers
Manohar -
User defined field that looks up a system table?
I want to create a user defined field that looks up parts in the items table (i.e. OITM).
I know I can use a formatted search and that works, but I don't want users to be able to edit the field after the item has been looked up and pasted into the field.
In the user defined field menu, there doesn't seem to be a solution to this. The only solution I can think of is to create a user defined table and then move over the items, and then periodically have the table be updated from the master item table (OITM).
Thoughts?Here is the stored procedure I wrote, but it doesn't seem to work:
IF @transaction_type IN ('A', 'U') AND @Object_type = '97'
BEGIN
IF NOT EXISTS (SELECT T0.ItemCode, T1.U_Part FROM [dbo].[OITM] T0, [dbo].[OOPR] T1
WHERE T0.ItemCode = T1.U_Part AND T1.DocEntry = @list_of_cols_val_tab_del)
BEGIN
SELECT @error = 1, @error_message = 'Testing'
END
END
So basically, I have a UDF called U_Part in the Sales Opportunity form, which will have a formatted search to look up parts, but if a user changes the text to something else (which is possible because it's a basic text field), then this should look up what is in that UDF and check it against the Item Master and give an error if it doesn't exist. However it isn't doing anything.
Any ideas?
Edited by: Gary Rey on Jan 21, 2009 4:56 PM -
How to get content of custom fields that were created via the EEWB for CIC?
Hi
Can anyone tell me how to get the content of custom fields that were created via the EEWB for CIC? This is required at a time when the data has not been written to the database.
I would like to know how to read this data in the CRM_APPOINTMENT_MERGE method of CRM_APPOINTMENT_BADI.
ThanksHi Michael,
I have a requirement to replicate custom setype data created for CRM sales order to R/3 sales order.These fields have been created at item level.
Do you know the set of steps to achieve the same.
Any help would be appreciated.
Thanks,
Chamu -
We need to give field-level authorization for some fields
The schenario is as follows :
1. There are various storage locations within a plant.
2. There is one or more people incharge of creating PO and receiving
stocks for every storage location.
3. We dont want to authorise the person incharge of one storage
location to receive stock in another storage location or even view the
other storage locations at the time of creating the PO or any other
transaction. The user incharge of one storage location should not be
able to view any other storage location in any storage location field's
drop down.
regards
Manish
+91 9811647727Hi Umesh,
Please see the documentations for authorization profile P_ABAP in the R/3 library and the following:
SU03 -> HR Human resources -> position your cursor to P_ABAP HR: Reporting -> choose button "Docu." -> the pop-up "help - P_ABAP" appears.
There is an example, which describes a similar issue regarding RPTIME00 and the Basic pay infotype (0008).
The standard reports of personnel administration are based on logical database PNP I would recommend to set your authorization as follows:
Object HR: Master data (P_ORGIN) (two authorizations)
Infotype 0002 ' '
Subtype * ' '
Authorization level R ' '
Organizational key ' ' 0001YYYYXXX
Object HR: Reporting (P_ABAP)
Report name SAPDBPNP
Degree of simplification 1
Please note, that if a user has authorization for e.g. the birthday list , (s)he will be able to view the birth date through thisquery, although (s)he cannot access to IT0002 through PA20.
Another possibility would be using Customer-Specific Authorization Object P_NNNNN. I have attached a file with a very comprehensive documentation regarding HR authorizations. P_NNNNN is documented on pages 40 ff.
Hope this help
Sarah
Maybe you are looking for
-
Photoshop CS5 "Could not complete your request because of a program error." on Save As
Hello all, We just got a new iMac with 10.9 on it. Photoshop CS5 is having a major problem. About 80% of the time we get an error on Save As, "Could not complete your request because of a program error." It appears like it might be related to savin
-
Is there a Bug in Oracle Eclipse Plugin for OSB11gR1PS2
i have been using the Eclipse plugin for Oracle Service bus, and while desiginng the WSDL in ther design view i faced the following problem If you create a skeleton and then add operations, they are not mapped to WSDL:binding also if one changes the
-
Black out on information regarding artwork
I have seen a number of threads on the issue of artwork suddenly not sticking to iTunes files, unless it is artwork that can automatically be found online through the get artwork function. In all the threads there are many people complaining that the
-
Podcasts missing from Music Playlists
Front Row playlists used to show the same tracks as iTunes playlists, but in Leopard, Front Row fails to show podcast episodes in playlists. I just installed iTunes 8.0 and Front Row 2.1.6 on OSX 10.5.5, and the problem persists. What is the best wor
-
Serial Numbers with the licence
Hello, I just purchased a licence to use all services from Adobe for students. But when I'm trying to open PhotoShop, Illustrator ans InDesign, it doesn't work and ask me some serial numbers.. But when I'm using it with Adobe Muse, it works very well