Grey Out a Field only when Creating a New Campaign
Hi ,
I Have a requirement to Grey out the Language Field when Creating a new Campaign.
The same field should be in editable mode when we go and edit an existing Campaign.
Method GET_I_LANGU.
if parent_entity->is_changeable( ) = abap_true.
rv_disabled = 'FALSE'.
else.
rv_disabled = 'TRUE'.
endif.
endmethod.
I tried changing the rv_disabled = 'TRUE'.
But it will grey out the field even when editing an existing Campaign also.
Any Suggestions.
Regards,
sijo
Hi,
At the Left handside there will be Runtime Repository tree u can see the Campaign in the Root Nodes , under go to the relations and u will get the CPGDescriptionRel (Description) as the relation . Get the attribute EXTERNAL_ID from the parent_entity variable in the GET_I_LANGU method.
data lv_campaign type CRM_MKTPL_CAMPAIGNID.
CALL METHOD PARENT_ENTITY->IF_BOL_BO_PROPERTY_ACCESS~GET_PROPERTY_AS_VALUE
EXPORTING
IV_ATTR_NAME = 'EXTERNAL_ID'
IMPORTING
EV_RESULT = lv_campaign.
now make use of the lv_campaign .
Similar Messages
-
Fields missing when creating a new contact
Hi, since upgrading to the latest iPhone OS, I've noticed that when I add a new contact, the only phone number field that shows is the mobile number. Where is the office number and home number fields?
They appear in existing contacts that have entries in those field, but not for new contacts.
Cheers,
PeteContacts>Click on Edit>Click on the phone label field to change the label>click on number field to change number.
-
How do you grey out/disable fields under a radio button if another radio button is selected in Adobe Acrobat XI Pro?
I’m creating a form where the user has three options to make a payment.
1. charge to my credit card
2. charge associated costs to bank account
3. By cheque or money order
My Problem is, under each option, there are required fields that has to be filled out. So if the user picks the first option, charge to my credit card, they would fill out the required fields (credit card number, expiration date etc.). But when they click submit button to submit the form, it won’t let them, because there are required fields under the second option. Also, I have the radio buttons for the three options setup so that if the user holds the shift key and clicks a radio button, it unchecks it. So what I'm trying to do is this: If the user selects the radio button for option 1, the other two options are greyed out/disabled. And if the user holds down the shift key and clicks radio button for option one again, it unchecks the radio button and the other two options are available again. Is there a way to grey out or disable the two other payment options when the other one is picked. I’m assuming I will have to use javascript, but what would the coding be and which field do I write it under?
Thanks in advance guysYou will have to use custom JavaScript to access the various properties of the field object.
The radio button group has a value. When no button is selected that value is "Off". When an individual button has been selected the value for the group will be the option or export value for that individual button.
Once you have determined the button selected, then you will know the form fields that need to be made required. You use JavaScript to access those fields and change the "read only" property to false, and set the "required" property to true. For the fields associated with the other options, those fields should be reset, made read only, and have the "required" property set to false.
Disabling (graying-out) Form Fields
>> Also, I have the radio buttons for the three options setup so that if the user holds the shift key and clicks a radio button, it unchecks it.
Radio button in a PDF do not work that way. Only check boxes can be unchecked by clicking on one that has been checked.
If you plan the coding for the Mouse UP action to test for all possible options and code for each of those options you should have what you want.
If you want actual code you need to provide a lot more details.
It is even possible to perform some credit card and bank routing number validations with JavaScript and some check digit formulas. -
How to make metadata fields required when creating folders
Hello all....
Related issue with SR 3-6472229431 and SR 3-6471130611.
We're using DIS 11.1.6 64-bits (2011_11_29 (rev 9756) 11.1.6.97) in a Windows 7 64-bits workstation (with UCM 11.1.1.5 in a Linux machine). The check-in of images to UCM goes fine.
I'm trying to make some metadata fields required when creating a folder. These fields are required when making a check-in, but not when creating folders.
Folders_g is enabled. DesktopTag too.
EDIT: Patch: 14695303 - WCC 11.1.1.5.0 BUNDLE ( MLR 16 ) NOV 6 2012 applied.
Is it possible?
Thanks for all.
Edited by: fgomes on 22/11/2012 03:24After reading your response and rereading the original question a bit closer, the metadata prompting feature does not apply to creating new folders, only content.
Again, though, I think the focus here is in the wrong place. The metadata applied to a folder is intended to be ultimately applied to the content. You can build global rules that fire on submission of content to check if a field has a value, and throw an error if the value is empty.
If you expect users to create folders (and actually apply any metadata to the actual folder itself), you will be disappointed. Experience shows that users are not interested in that level of detail when creating content, let alone folders. Letting typical users create folders is a bad idea anyway, as they tend to create the same inefficient folder structures they previously created in file shares within Content Server.
If you need to tightly control folder attributes, you'll be better served by locking down the ability to create new folders. Otherwise you're looking at some type of customization. Keep in mind that you won't be able to customize the right click behavior of DIS. Any changes to DIS would have to be an enhancement request. -
Getting correct field length when creating formats for delimited flat files
Using Data Services 3.2 to pull in tsv and Excel source files.
When creating a new format for each file, DS tries to intelligently set the field size for each column. However, it seems to sample only a portion of the file. The end result is that it often determines too short a length for a field.
Is there a way to force it to scan an entire file before it sets the field length? Or alternatively, how to get it to at least throw an error instead of silently truncating my data?I am not aware of any way to force DS to scan the whole file, or to log a warning when it truncates. The field sizes DS sets by using a sample of the data is only really to give you a starting point, you need to try and determine the maximum possible lengths preferably from someone who understands the source of the data or through profiling. But the profiling method will obviously only be based on the data you have at the time of profiling, new data added to the source later could exceed the field lengths. The way I prefer to handle this is to set all the field lengths to longer than expected, eg. varchar(999) and then use a validation transform immediately after reading the file to check for any fields that exceed the maximum allowed for the target system and send these to an error file/table.
-
Photoshop CS4 shuts down only when creating new project.
I've had CS4 web premium since nov. 08 and everything worked fine until the most recent update from adobe.
I ONLY have this problem with Photoshop cs4: when creating a new project after selecting the aspects (name, width, hight, etc.) when you press ok it shuts down and no error is given as to why it shut down, it just does.
opening documents that had been created prior to the last update isn't a problem, I'm able to do everything Photoshop cs4 has to offer.
I can also open a file started in another program and edit them in PS CS4 (ie: fireworks , or AI).
but for some reason if I want to start a project in photoshop it just shuts down, never used to happen. any clues? any one else have a similar problem and know how to fix this?
running on windows XPI think you mean a new docuement - Photoshop doesn't have "projects".
Photoshop shouldn't "shut down" - there should be some message about a crash.
And the most likely causes at that point are OpenGL (try turning it off in prefs) and your default printer driver (try changing default printers). -
When creating a new window in safari, using command T, the marker have not activated the search field. It means you have to click there every time. Changed after upgrading to Mavericks. Anyone knows how to change this?
Yes, you can do something like that. What you would do is create a button for each image and then hide them. When I do this type of thing I place all of the buttons on a template page and then hide the template.
You can then use JavaScript to copy the icon from any of the hidden buttons to the main button that you've set up to display the image. For example, suppose you set up 10 buttons named b1, b2, b3, ...b10. The code to copy the icon from one of them to the button used to display the image (b0) would be something like this:
// Get the icon from the b3 button
var oIcon = getField("b3").buttonGetIcon();
// Get reference to the b0 button
var f = getField("b0");
// Set the icon of the b0 button to the icon retrieved from the hidden button
f.buttonSetIcon(oIcon);
// Show the b0 button
f.display = display.visible;
This code would go in the Mouse Up event of the smaller button. -
After installing mavericks apple id is greyed out in app store when trying to update iPhoto
after installing mavericks apple id is greyed out in app store when trying to update iPhoto. How to update iphoto?
You installed a hacked app, originally from the Mac App Store. It contains the receipt for a different app, downloaded using an account that you don't control. You need to identify and remove the hacked app.
Important: The app you need to remove is not necessarily the one named in the App Store alert. For example, the App Store may prompt you to update "Angry Birds" or "Twitter," but the hacked app may be something else entirely. Don't make any assumptions about which app you're looking for. To find it, you must carry out a systematic search with Spotlight.
1. Triple-click anywhere in the line of text below on this page to select it:
kMDItemAppStoreHasReceipt=1
Copy the selected text to the Clipboard by pressing the key combination command-C.
2. In the Finder, press command-F to open a search window, or select
File ▹ Find
from the menu bar. In the search window, select
Search: This Mac
from the row of tokens below the toolbar. Below that is a popup menu of search criteria, initially showing Kind. From that menu, select
Other...
A sheet will drop down. In that sheet, select
Raw Query
as the criterion, then click OK or press return.
Now there will be a text box to the right of the menu of search criteria. That's where you enter the raw search query. Click in that box and paste the text you copied earlier by pressing command-V.
4. The search window will now show all the App Store products that are installed. Compare those search results with the list of your purchases from the App Store. To see the complete list, you may need to unhide hidden purchases. If any apps were download from the App Store using other Apple ID accounts that you control, sign in to the store under each of those ID's and check the purchases.
At least one of the apps in the Spotlight search results is not among your purchases in the App Store. Move each such item to the Trash, after quitting it if it's running. You may be prompted for your administrator password. Empty the Trash.
Quit and relaunch the App Store. Test.
If you find these instructions confusing, ask for an alternative method. -
Suppress/Grey out Currency Field in all FI Transactions
Hello Gurus, My client has all transactions in INR. I need to default INR and suppress/grey out Currency field and translation rate field for all users? I can go to 'Editing Options' and then click 'Documents in Local currency' but then I have to all 900 users which is tedious. Any ideas are welcome
YkcHi,
Hide Currecy field in all FSGs.
Srinivasa Chary -
Default value in field when creating a new vendor (Transaction: XK01)
Hi, everybody!
Is it possible to set a default value to a field when creating a new vendor (transaction: XK01)?
We need the field "Payment terms" in "Payment transactions accounting" tab and field "Terms of payment" in "Purchasing data" tab to be filled with a default value when creating a new vendor.
Thanks in advance
Best regards,
J MadariagaYou can try creating a transaction varient fron SHD0 for this which will default the requiredd values .
-Hari. -
Stylized type out of indesign disapers when creating pdf
stylized type out of indesign disappears when creating pdf
You need to be more specific.
Are you viewing in Overprint Preview (you should) in InDesign.
A screenshot would help this. -
Can't adjust the default time scale when creating a new appointment in Outlook 2010
Good Afternoon, I have found a question on these community boards that propose an issue that I am currently experiencing. The answer; however, was not the solution for me. I used the same name as the original post and will add the original text as it is
exactly what I am experiencing.
"When creating a new appointment in the month view Outlook 2010, the default time scale or duration is 2 days. I tried resetting the view, adjusting the time scale, and creating a new profile. It only seems to happen when creating the appointment
in the Month view. ??? Day and week view work fine and appointment can be created w the standard 30 minute time scale. But the time scale in the month view although says 30 mins, it creates appointments in 2 day durations."
This is exactly what happens to the user I am assisting. When in "month view" double clicking the day will bring up a new appointment with the times within the same day. If you click the "new appointment" button in the ribbon it
sets the end time to the following day. This only happens in the month view every other view works as it normally should. I have tried it several times being sure multiple days are not selected. It still gives me an end time for the following day. I have reset
the view, changed the time scale but nothing seems to bring it back to the default same day appointment. Any ideas?
Thanks for any assistance you can provide.It is a default in Outlook 2010 in month view. The "time scale" selection is greyed out. Very frustrating. Everytime I select "New Appointment," a duration of 1 day is automatically selected; midnight to midnight. I end up doing
most appointments twice because I forget to change to end date back to the day of the appointment. "New meeting Request" works fine. So does "New All Day Event" when you deselect "All Day Event." I can't see how this default behavior
provides optimal results under any circumstances. Very frustrating. -
How to fill the tables faglflexa and faglflext when creating a new document
Hello all,
I need to modify the field faglflexa-RMVCT when creating a new FI document , actually i'm using the transaction ABUMN,
i tried to use manu user-exit to change this table unfortunately , I have not changed this entry .
Could you please help me to find a solution for this problem?
Thank you in advance,When you are defining the elements of the datatype there are columns where you can do what you need:
<b>column type</b>: here you choose the type of data of the element
it can be a standard type or a user defined one (if you click one time only it should appear an icon in the right for input help: click there and choose the type you need)
<b>column occurence </b>: in a similar way of column type here you define the cardinality of the element (min occurence and max occurence)
setting min occurrence: 1, max occurrence 1 or unbounded --> required
mmin occurrence 0, max occurrence 0, 1 or unbounded --> optional
about the attributes there are directly the choice between required or optional.
<b> column details </b>: here you define the length of the element if it is a string or a lot of other things if the type is a different one.
I hope this will help you -
How to display all authentication providers when creating a new user?
I have configured active Directory with weblogic 10.3.1. Users and groups display correctly under the users and groups tab. When creating a new user only the defaultauthenticator provider is displayed in the drop-down selection. How do I get my active directory authenticator to display here also for selection?
I'm confident that the Active Directory provider is read-only. You could write your own Authentication Provider for AD that supports create/update/delete functionality, but it is not included in the out of the box AD Authentication Provider to my knowledge.
I know both the Default Authenticator and the database authenticator are read/write. -
how do you shuffle the image order when creating a new slideshow in apterture 3? i would like to do this automatically when creating a new slideshow. i see how you do it with presets when you just play a slideshow, but i don't see an option to randomly shuffle the slide order when you create a new slideshow. i know you can sort it by different fields, but i want it to be random. thanks.
If you want to rearrange images in random order you can try an AppleScript:
retrieve a list of selected images from Aperture
shuffe the list properly
create an album in Aperture and add the images from the list to the album (make sure that the album set to be orederd manually)
Here is a sample script that shuffles the selected images and displays them in random order in Full Screen Mode:
on removeItem(ims, i)
-- remove the item at position "i" from a list ims
if ims is {} then return {}
if (length of ims is 1) then return {}
if i < 2 then return rest of ims
if (i = length of ims) then return (items 1 thru (i - 1) of ims)
if i > (length of ims) then return ims -- should be error?
return (items 1 thru (i - 1) of ims) & (items (i + 1) thru (length of ims) of ims)
end removeItem
on shuffle_items(ims)
-- shuffle the items of the list "ims" randomly
local numitems, ims_shuffled, nextrest, nextpick, i
set numitems to length of ims
if length of ims < 2 then return ims
set ims_shuffled to {}
set nextrest to ims
repeat until nextrest is {}
set i to (random number (numitems - 1)) + 1
set nextpick to item i of nextrest
set beginning of ims_shuffled to nextpick
set numitems to numitems - 1
set nextrest to removeItem(nextrest, i)
end repeat
return ims_shuffled
end shuffle_items
on shuffleIms()
-- retrieve the selected images from Aperture
-- and display them in random order in full screen mode
local imageSel, shuffled, i
tell application "Aperture"
activate
set imageSel to (get selection)
set shuffled to my shuffle_items(imageSel)
set fullscreen to true
if imageSel is {} then error "Please select some images."
repeat with i from 1 to count of shuffled
reveal {item i of shuffled}
delay 3 -- chnage that to the time you want
end repeat
set fullscreen to false
return shuffled
end tell
end shuffleIms
shuffleIms()
Some more code snippets to go from here:
To create an album:
tell library 1
if not (exists album "shuffledAlbum") then
make new album with properties {name:"shuffledAlbum", image version:shuffled}
end if
end tell
And to add the images from the shuffled list to the album:
repeat with i from 1 to count of shuffled
duplicate item i of shuffled to album "shuffledAlbum"
end repeat
Regards
Léonie
Maybe you are looking for
-
CRM 7.0 Unable to open/view PDF Attachments in Email (Intermittent issue)
Hi, Unable to open an attachment (PDF format) sent from exchange server(Lotus) to SAP CRM,Actually its an intermittent issue When i try to open email in UI ,getting an error message "File is damaged and couldnot be repaired". I understand that PDF at
-
The symptoms is: The flash videos are only display with a full red bar and nothing happen, no video no sound nothing. The Flash player was upgrade with 11.2.202.235. before safari 5.1.7. I have an iMac with SL, and a Macbook with SL too. However afte
-
Why did you purchase a G5?
Hi All, I'm about to make the switch from the PC to a Mac soon! And I was wondering should I get a Power Mac or a lesser model. There is no specific reason why I want a Power Mac... Just general use. I'm attracted to the Power Mac because of it's ama
-
SCCM 2012 SP1 - R2 Upgrade Incl Windows ADK for Windows 8.1 Update
Hi All I Need some advice We are preparing for the upgrade SCCM 2012 SP1 -> SCCM 2012 R2 Quick steps: 1 Uninstall ADK 8.0 2 Install ADK 8.1 3 Upgrade SCCM 2012 SP1 -> SCCM 2012 R2 4 Install CU1 SCCM 2012 R2 5 Upgrade Clients to SCCM 2012 R2 6 Upgrad
-
Unzip file using operating system command in file/ftp receiver adapter
Hi, I'm wonderdering how to unzip a zip-file in the receiver file/ftp adapter. I know it is possible to do it using the 'Operating system command' feature, but somehow the command I use seems to be ignored! (I'm using SP14, unix). The command I enter