JS to check for Anchored Object in a textFrame
Hi, any knows of JS to check for anchored objects in a textFrame.
Thank you.
if (myTextFrame.textFrames.length > 0)
// then there are anchors in myTextFrame
Peter
Similar Messages
-
Duplicate check for Connection Objects in CRM
Hi,
I want to implement a duplicate check for connection objects in CRM. The duplicate check shall use the address of the connection object and perhaps additonal attributes. I have found a duplicate check for business partners using the basis address service and TREX as index pool. However, I couldn't find a similar functionality for connection objects. Does somebody know:
1) How to implement a duplicate check for connection objects which is based on the address of the connection object?
2) Is there a way to use the TREX-based duplicate check which is integrated into the basis address service for connection objects?
Thanks in advance!
Best regards,
FrankI also have a requirement to check for duplicate address at connection object level and we are using SAP data servies to validate the address. Can anyone share their experience.
-
How to do the Unicode Check for Business Objects ?
Hi all,
How to do the Unicode Check for Business Objects ?
Note: All business Objects are stored in BOR (Business Objects Repositary)
Thanks in advance
Sri..Hi..
i have used the UCCHECK transaction for some business Objects
For some business objects it is showing that No Unicode Errors found Ex: Z00MARA
and for Business Objects it showing the message like : There is no program corresponding to this selection.
Why system is showing like this ?
Thanks in advance
Sri.. -
How to turn off the authorization checks for a object in infoproviders?
Hi - how can I turn off the authorization check for an object (ex: 0orgunit) in infoproviders?
I have 0orgunit as an authorization-relevant object and is used in one of the cubes. When reports are run for this cube, this is causing authorization issues. The object is present in other cubes also but I have to remove or turn off the authorization check of this cube alone. How to do this? Please help.
Thanks,
Raj.Hi Raj,
Srinivas, is right , however in BI7 the correct transaction is RSECADMIN and not RSADMIN.
In BW3.5, use RSSM transaction to do thins.
OR
Go to transaction RSECAUTH ---> Choose the authorization object that has been created for org unit(and has been assigned to the user). Go to change mode. Remove the cube from the dimension 0TCAIPROV
If you are using old authorization concept in 3.5 or in 7.0
Go to RSSM. In the checks for infoprovider, enter your infoprovider name. Choose change.Here you will see a checkbox to switch off the authorization.
Hope this helps you,
Best regards,
Sunmit. -
Check for Authorization object
Hi All,
I have a report which will authorize the person running the report.
I have been given a requirement which is to not accept some users and accept some users.
Now I know this is possible with authorization object but as I never worked with it so I exactly kind of getting in confusion as to how to go about it.
Could some one let me know how to go about it. I have few questions.
1. what is the exact use of authorization object.
2. I can build in the logic but what all should one start with before going for before implementing authorization object for the report.
3. I know there is some basis work involved in this but what is that ?
Thanks,
MahenHi,
In general different users will be given different authorizations based on their role in the orgn.
We create ROLES and assign the Authorization and TCODES for that role, so only that user can have access to those T Codes.
USe SUIM and SU21 T codes for this.
Much of the data in an R/3 system has to be protected so that unauthorized users cannot access it. Therefore the appropriate authorization is required before a user can carry out certain actions in the system. When you log on to the R/3 system, the system checks in the user master record to see which transactions you are authorized to use. An authorization check is implemented for every sensitive transaction.
If you wish to protect a transaction that you have programmed yourself, then you must implement an authorization check.
This means you have to allocate an authorization object in the definition of the transaction.
For example:
program an AUTHORITY-CHECK.
AUTHORITY-CHECK OBJECT <authorization object>
ID <authority field 1> FIELD <field value 1>.
ID <authority field 2> FIELD <field value 2>.
ID <authority-field n> FIELD <field value n>.
The OBJECT parameter specifies the authorization object.
The ID parameter specifies an authorization field (in the authorization object).
The FIELD parameter specifies a value for the authorization field.
The authorization object and its fields have to be suitable for the transaction. In most cases you will be able to use the existing authorization objects to protect your data. But new developments may require that you define new authorization objects and fields.
http://help.sap.com/saphelp_nw04s/helpdata/en/52/67167f439b11d1896f0000e8322d00/content.htm
To ensure that a user has the appropriate authorizations when he or she performs an action, users are subject to authorization checks.
Authorization : An authorization enables you to perform a particular activity in the SAP System, based on a set of authorization object field values.
You program the authorization check using the ABAP statement AUTHORITY-CHECK.
AUTHORITY-CHECK OBJECT 'S_TRVL_BKS'
ID 'ACTVT' FIELD '02'
ID 'CUSTTYPE' FIELD 'B'.
IF SY-SUBRC <> 0.
MESSAGE E...
ENDIF.
'S_TRVL_BKS' is a auth. object
ID 'ACTVT' FIELD '02' in place 2 you can put 1,2, 3 for change create or display.
The AUTHORITY-CHECK checks whether a user has the appropriate authorization to execute a particular activity.
This Authorization concept is somewhat linked with BASIS people.
As a developer you may not have access to access to SU21 Transaction where you have to define, authorizations, Objects and for nthat object you assign fields and values. Another Tcode is PFCG where you can assign these authrization objects and TCodes for a profile and that profile in turn attached to a particular user.
Take the help of the basis Guy and create and use.
Reward points if useful
Regards
Anji -
Checking for released objects.
I'm trying to release some objects, but the code crashes on the release, because I suspect the object has been released already. I tried to check for nil, but this doesn't seem to work
eg:
- (void)f1 {
object = [[Object alloc] init];
- (void)f2 {
[object release];
// object= nil; /* I shouldn't need to do this? */
- (void)f3 {
if (object) // sometimes this still points to a memory address, though the contents of the memory is a bit funny
[object release]; /* code crashes here sometimes because f2() was run
is there a better way to check if an object has been fully released?
BTW: this is all the on iPhone 2.1, so I know the memory management is a little diffferent.Deallocation does nothing but mark that space as free for subsequent allocations. Uncomment the second line of f2.
-
Creating anchored objects underneath a textframe?
Hi,
I'd like to make a box underneath a textframe and anchor it so that it will move along with a special section of the text. When I anchor the box it is automaticly placed on top of the text wich is not my intension. Also if I place the box in the back befor anchoring. Can you help me:)?
Best,
SaraHi,
In some contexts (eg., black text on white background), you can easily use anchored objects with "Incrustation" effect (in French). -
SE14 - mass check for Database objects
Dear Gurus
We have a lot of tables, that have error/problems in check DB14->Check->Database object
How can I find all problematic tables in single report?
Regards
Vladimiryou can use report RUTDBCHK. It does the se14 functionality. Maybe debugg some and you will find the corresponding FM related, which would in turn return an error / information about the status
-
Page height not changing and yes, I've checked for hidden objects
Hi
has anyone got any advice? I'm tearing my hair out!
I cant seem to change all my websites page heights despite checking that there are no hidden items
best wishes HelenHello,
Please go in the page in design mode. Select "Show all on Page" and "Unlock all on Page" from Object Menu.
You may find some unwanted elements near the footer of the page. Deleting them will fix the problem. If it do help then please share the muse file with us so that we can take a look at it.
Regards
Vivek -
Su01 - authority check for the object s_user_grp
Dear Basis Gurus,
requirement:
Decentralisation of user administration. Local site admins should only be able to administrate users belonging to special user groups.
What I have done:
Generated a new role via pfcg for transaction su01 and object s_user_grp. Activity for s_user_grp = 02. Up to this point this works without any problems.
But trying to limit the role to a certain user group (s_user_grp => class), this doesn't have any effect for the local site admins. They are still able to change all user data, nevertheless if the users are member of another group or not (group membership via sugr).
Please advice.
thanks and regards..,
svenHi Lakshmi,
thanks! That solved my problem.
regards..,
sven -
How to make "check for Objects" YES
Hi I am trying to create installation scripts for supporting objects.
When i click on app builder- app- supporting objects. I see check for supporting objects is "NO" i need to make it "YES" Please let me know how it should be done
ThanksYou would have to enforce this at the application level. You can get the IP address of the current client from the framework - IF_WD_APPLICATION method GET_REMOTE_ADDRESS.
You could write an entry with the IP address into a temporary table during WDDOINIT. You could clear the entry in the WDDOEXIT. Also during the WDDOINIT, check to see if there is already an entry for this IP address. If so, then fire an exit nagivation plug to a static MIME object or BSP page that explains why the user can only be logged in once. -
Authorisation check for Object F_BL_BANK using transaction F110
Hi
Can you help me with transaction F110. The object F_BL_BANK has been linked on SU24 to transaction F110. It has also been set for Check/maintain.
There is no authorisation check for this object using F110.
How can we resolve the issue.Hi
We are on 4.6
I linked the object but the program is not doing an authority check The F_BL_BANK object has the following linked to it
. . . Check F_BKPF_BUP Accounting Document: Authorization for Posting Periods
. . . Check/maintain F_BL_BANK Authorization for House Banks and Payment Methods
. . . Check F_KNA1_APP Customer: Application Authorization
. . . Check F_KNA1_BED Customer: Account Authorization
. . . Check F_KNA1_BUK Customer: Authorization for Company Codes
. . . Check F_KNA1_GEN Customer: Central Data
. . . Check F_KNA1_GRP Customer: Account Group Authorization
. . . Check F_LFA1_APP Vendor: Application Authorization
. . . Check F_LFA1_BEK Vendor: Account Authorization
. . . Check F_LFA1_BUK Vendor: Authorization for Company Codes
. . . Check F_LFA1_GEN Vendor: Central Data
. . . Check F_LFA1_GRP Vendor: Account Group Authorization
. . . Check F_PAYR_BUK Check Management: Action Authorization for Company Codes
. . . Check/maintain F_REGU_BUK Automatic Payment: Activity Authorization for Company Code
. . . Check/maintain F_REGU_KOA Automatic Payment: Activity Authorization for Account Type
. . . Check PLOG Personnel Planning
. . . Check P_ABAP HR: Reporting
Ther are more objects but these are the key ones The object also has a custom object in that was build by SAP called ZLSCH Payment method We want the system to do a check on the payment method -
SAP security - changing check maintain setting for security objects
I am trying to change the check maintain indicator for a couple of transactions
to alow me to manage access based on security objects that are not currently defined as check maintain. Specifically, I have updated the check indicator
(using SU24) to check maintain for object c_stue_ber on transactions MD11 and MD12 (planned order create/change). The transactions still do not check this object as expected. Does anything else need to be done to enable checking an
object that is not set up as check maintain originally?
Any help is appreciated.
Thanks,
Doug ScottHello Kerstin,
I also wrote a message to SAP and got the following response. Looks like there are no security checks for this object in these transactions.
Regards,
Doug
Response from SAP
03.04.2007 - 12:48:38 CET SAP Reply
Dear Doug,
An authority check on C_STUE_BER is not possible for the transactions
CO02, CO03, MD11, MD12, CO26, CO27, CO28, COOIS, COHV, CO05, CO05N,
CO04N, COMAC or CO46.
In CO01 we check if the user has the authority to resolve the BOM
(C_STUE_BER). After resolving the BOM we don't check any longer with
C_STUE_BER since we don't work with the BOM but with a component list
in the order (which is actually a copy or the BOM).
For this component list there is no authority check.
The component list is visible in CO02, CO03, CO26, CO27, CO28, COOIS,
COHV, CO05N, CO04N, COMAC, CO46.
For production orders we use authority C_AFKO_AWA. With this
authority you can limit the access to CO02, CO03 and the change of
production orders by other transactions.
But please note that there are still transactions
that will display the orders and its components without authority
checks. For example infosystem transactions (COOIS, COHV, CO26, CO27,
...) and other processing transactions (COGI, ...). For those
transactions you would have to limit access.
For the creation of planned orders MD11, the authority check C_STUE_BER
is not used. Here you can use M_MTDI_ORG to check on a MRP controller.
So you should enter the same MRP controller in the material master
of the troublesome products and only this MRP controller will be able
to create a planned order for this material.
I am sorry not to be able to offer you any better solution for this
problem.
Kind Regards
Eoin Donnelly
SAP Support Consultant (SCM)
SAP GSC Ireland -
Anchored Objects Default Settings
Hello,
I'm having a problem with the default settings for anchored objects in InDesign CS5. I changed the default settings (to custom) while nothing was selected, but every time I try to anchor an object it autimatically reverts back to the original default settings (inline). I even closed all of my open documents and changed the default settings again (to custom). However, InDesign still places anchored objects as inline graphics and it's starting to cost me a lot of time, not to mention hair. Is this a bug or am I doing something wrong.
Any insights on this issue would be greatly appreciated.
Thank you,
JenniferJennifer :•) wrote:
That didn't change the defaults either. More importantly, how did you know that I'm working with gun photos?
If you set the defaults in the Place Gun Frame (note that the object style name is case sensitive and must be spelled correctly), they should be applied to all images you place. You won't see anchored object options until the object is anchored, though, either by cut/paste or putting your cursor inthe text flow before placing.
Do you mean photos of guns? If so, I had no idea. "Place Gun" is the official name for waht we normally refer to as the "loaded cursor" that you see whn you are placing an object. -
Scrollable frame is text: anchored object in text can not be button?
Following example: A textframe. With an anchored object (group). Paste textframe in other frame to make scrollable frame (pan only). Select anchored frame in already pasted into textframe, make button for anchored object (go to state).
Does not work, button does nothing (and yes a converted it to a button after the paste into other frame as last step).
Not possible?
DPS v18If you want the button in the scrollable frame to control an MSO state, the button/scrollable frame needs to be part of the MSO. It is an InDesign limitation that buttons cannot control videos, audio clips, or MSOs unless they're on the same "level" in the document.
Maybe you are looking for
-
As additional info, my internet is working just fine but had an opportunity to try to get my grandson's DS on the wifi and things went downhill from there.
-
I have been meaning to change my battery on my computer as it is completely dead and wont charge when plugged in. So this might be a problem but it is plugged into the adapter and it has been working fine the last few weeks, but all of a sudden this
-
How do I move elements 9 from my old xp computer to my new windows 8 computer?
How do I move element 9 from my old xp computer to my new windows 8 computer?
-
How to Map XML Summary comments/tags from OpenScript into OTM through Java
Hi, I would like to know if there is a possibility of copying the XML Summary comments/tags of a test case method in Openscript as test action and expected results of a test case in OTM The goal/reason is have to all the test case steps/actions and e
-
URL address is not showing in the address bar
Since few days I have noticed in the address bar where it show such as https://yahoo.com is not showing but it says "search or enter address". However it open the desired web as in this case yahoo.com. So far, some time address appears and some time