How to change report region fields in read only mode?
How to change report region fields in read only mode?
skud.
add the following javascript fuction to page header(or Javascript function and variables section)
function disableItems(pRegionStaticId,pDisableFlag) {
$('#'+pRegionStaticId).find('[name^=f]').each( function(){ /* matches fxx */
if( $(this).attr('name').match(/f[0-9][0-9]/) ){
return $(this);
}).attr('disabled',pDisableFlag);
pRegionStaticId is the region's static Id+
Note that this code specifically disables only application arrays. Disabled items are not available after submission (and hence are different from readonly) . But any page javascript can modify disabled or readonly items(client side), so you must check at the server side to validate the data.
You can disable items using
disableItems('MY_REGION_ID' ,true);and enable them by passing false
disableItems('MY_REGION_ID' ,false);
Similar Messages
-
How and Where to change ESS payslip property as READ only Mode
Hi,
We are SAP ECC5.0 and using EP6 for ESS payslip. We have a problem
launching ESS payslip for those employees who have Acrobat Editor and
Reader installed. One can actually change the payslip information via
Acrobat Editor when click onto PRINT button.
However, for those without Acrobat Editor installed in the PC, we do
not have such problem. Please advise how to resolve this.
Was told to change ESS payslip property as READ only Mode. Unable to find this in the configuration setting.
Thanks.You may further look at the following help link:
http://help.sap.com/saphelp_nw04/helpdata/en/97/ccfc3f0ac2c642e10000000a1550b0/frameset.htm
If it helps, pl do reward.
Thanks
Narasimha -
Changing not possible; field is read-only
Hello,
I need update Expected Value in Opportunity.
Expected Value is bound Opportunity.SalesForecast.ExpectedRevenueAmount.content.
When I try to update in adsl, "Changing not possible; field is read-only" error appears in frontend to the user.
Thanks!Hi Rodrigo Mathias,Not an answer to your post just to share my problem
Seems Opportunity has a lot of problems. As in my case i am trying to code in BeforeSave method that when ever the opportunity gets create by code i have to poppulate my CUSTOM Invonved Party ( i have created custom party role ).
And i have passed partykey.partyId.content and RoleCode but when i click on save it gives me the error about Role Category!
now when debugged that all Parties ( i debugged and checked whole collection) had the Role category every party from that collection had the Role category associated!
So i tried to add r
ole category by code! but that is also public write access set as FALSE!
So finally i again opened the book for clod , and a line is specificaly written that PartyID node will not be used after 1402 there will be separate node PartyNAme where u can pass partyid , name or email!
but unfortunately that is also not available in the opportunity BO!
So i am also kind of stuck!
Btw one thing i would like to mention is when u try to maintain your custom role in opportunity manually it works and data gets saved!
Regards,
Dhruvin -
How to provide a LINK on normal TEXT field in read only mode
Hi,
I have a TEXT item and that is used for only url purpose.
so a user can enter something like http://www.abc.com in that field.
So when I am in read only mode for that item, I want a link also on that text..
how can I do that.
thanks,
DeepakYou could create a pl/sql expression computation on the TEXT item which will convert the value shown for the field to be a HTML link
'<a href="http:// ' || :PXX_TEXT || '">' || :pXX_TEXT || '</A>';Make the computation conditional using the same condition as is used to render the item as read-only
varad -
Fields in read-only mode for BP transaction in upgrade from 4.72 to ECC6.0
Hello,
This is regarding the query for BP transaction in upgrade from 4.72 to ECC 6.0.
While creating BP / Changing BP system is disabling the fields in compnay code & sales area option. There is a SAP not provided 907860; and specified that the proplem is because of the delta customizing.
All the customization settings are as per the note. And the Synchronization Control is also activated. But still the fields are disabled only.
I have checked the field settings also in Cross-Application-Components & Logistic-Genral.
But these are not working for compnay code & sales area data.
please let me know if anyone has faced this type of problem / found any solution on this.
Best Regards,
ShubhadaSAP IMG -> Cross Application Components -> Master Data Synchronization  Synchronization Control -> Synchronization Control -> Activate Synchronization options
This setting allows you to activate synchronization of BP with R/3. Not maintaining the values may result in certain fields being read-only in BP.
Suggested Values:
Source Object: BP | Target Object: CUSTOMER | Active Indicator : X
Source Object: BP | Target Object: VENDOR | Active Indicator : X
Source Object: CUSTOMER | Target Object: BP | Active Indicator : X
Source Object: VENDOR | Target Object: BP | Active Indicator : X
Have you set all of the above settings??
BHARATH -
How to display the "display values" in READ Only mode for a SHUTTLE
Hi,
I have a form item of type *'Shuttle'* and using the following LOV.
select DEPTNAME d, DEPTNO r
from DEPTIn normal mode..it displays the department name and internally store the Deptno..
Now I converted this item to Read Only mode using Read Only Condition Type
the problem is as soon as it becomes read only...it displays the deptno....not the department name
Department- 10:20:30How can I display the "display values" i.e the actual department name in read only mode..
Department- Department1:Department2:Department3Thanks,
DeepakHi,
It seems feature. Shuttle is span tag when it is read only.
Work around could be that
you compute display as text item with LOV display value according shuttle session state and show shuttle and this item conditionally depend case
Br, JAri -
Open CRMM_ACCOUNT in Read-Only-Mode
hi,
i want to open the application CRMM_ACCOUNT out of a bsp application in a new window. Ok, no problem... (thanks to all the posts before )
BUT: How can i open the Account in read only mode?
yours MichaelHello,
If you look into the standard of MAC CL_BSP_ACC_ACCMOD, you will find in read method of super class CL_BSP_BP_ACCMOD the following coding :
Activity "display": don't allow to change anything
IF gv_activity = gc_activity-display.
CALL METHOD cl_bsp_bp_global_service=>set_field_attr
EXPORTING
iv_object_key = ls_object-object_key
iv_screen_structure_name = iv_screen_structure_name
iv_field_property = gc_no_change
CHANGING
ct_field_attribute = et_field_attribute
ct_dd03p = gt_dd03p.
ENDIF.
So, the only way to put the account application in display is to work on the fields attributes.
Regards,
Fred -
Open pdf files in read-only mode
Hi all,
I want to open a file and I want to have option rewrite the file while it's open in the Reader.
Is there any way how to open the file in the read-only mode and even from cmd in Windows?
Thanks in advance.You can set security in the file to dissallow changesby going to File>Properties>Security in Acrobat. But you can't change anything with Reader.
-
AW attach in Read-only Mode in AWM
Hi,
How can I attach an AW in Read-only mode in AWM, so that multiple developers can open an AW but only one can modify it?
Regards, AnirbanSee the documentation for the AW ATTACH command.
>
RW
Specifies that the workspace is attached in read/write access mode. Only one user can have an analytic workspace open in read/write at a time. The user has to commit either all or none of the changes made to the workspace.
An analytic workspace that is attached read/write non-exclusive can be accessed simultaneously by several sessions. The read/write non-exclusive attach mode is only compatible with the read-only access mode. A user can attach an analytic workspace in read/write mode when other users have the workspace attached in read-only mode; however, a user cannot attach an analytic workspace in read/write mode when another user has it attached in any other mode. Likewise, a user cannot attach an analytic workspace in any mode other than read-only when another user has it attached in read/write non-exclusive mode. When you attach an analytic workspace with read/write access, Oracle OLAP executes a program called PERMIT_WRITE, when it finds one in the workspace.
RWX
Specifies that the workspace is attached in read/write exclusive access mode. Only one user can have an analytic workspace open in read/write exclusive at a time. The user has to commit either all or none of the changes made to the workspace.
An analytic workspace that is attached read/write exclusive cannot be accessed by any other sessions. The read/write exclusive attach mode is not compatible with any other access modes. A user cannot attach an analytic workspace in read/write exclusive mode when another user has it attached in any mode. Likewise, a user cannot attach an analytic workspace in any other mode when another user has it attached in read/write exclusive mode. When you attach an analytic workspace with read/write access, Oracle OLAP executes a program called PERMIT_WRITE, when it finds one in the workspace. -
How to change US region to UAE region and I have balance 0.24 in my account
How to change US region to UAE region and I have balance 0.24 in my account
Click here and ask the iTunes Store staff to zero your account balance.
(112198) -
HT1918 how to change country/region when i have credit balance on account?
how to change country/region when i have credit balance on account?
You need to spend the balance or ask the iTunes Store staff to remove it.
(67937) -
Hi
How can I have a check box that a user checks and populates a field with read only text, then if another check box is checked it will allow user text input into that same field, her is my javascript
var a ="Not Applicable"
if (this.getField("Do").value == "Yes")
a=""
if (this.getField("DoNot").value =="Yes")
a=a + ""
event.value=a
say if the "Do" cb is checked, Not Applicable would populate the text field, and if the "DoNot" cb is checked it would allow user input into the same text field, the javascript I have will not allow user input,
thanks for any help I am new to javascriptAre these fields mutually exclusive?
-
Resource Initial field is read only
Hi,
I'm working with project online/project pro and the (enterprise) user resource initials cannot be changed. It is a read only field for any user in the system. Any idea on how to set custom initials for enterprise resources???
Regards,
WimHi Wim,
Where are you trying to change the user's initials? If you are trying directly in the project resource sheet in MS Project Pro, then it is indeed impossible since it is an enterprise data. It can be changed :
Either editing the user's information from PWA, server settings, manage users,
From the resource center, select the resource(s), open it/them in MS Project Pro and update the initials column.
Note that the second option is more suitable in case you have many users to update.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller | -
How to remove a oracle form from read only format
I need to personalize an Oracle form for one responsibility. But when i open through that responsibility, it is opening in read only format. When i open the same form through super user responsibility, then it is opening up-datable format. I tried different options like 'System Profiles- HR Query only to 'NO'', 'Removing Query-Only'. but still i can open it only in read only format where i need to make some fields up-datable.
Any suggestions please?Hi All,
I have an Standard E-Business Suite screen.
This is the Transaction Overview Screen, which is in Read-Only Mode.
The Value of the unit price is rounded on 2 decimal.
We tried to change this with Perzonilization, but the the error is coming up
"FRM-40602: Cannot insert into or update data in a view"
What are we doing wrong.
Thanks for your support.
Best regards Marcel Snoeck -
Making a field as read-only using Forms Personalization.
Hi All,
I have one requirement.I developed one form which is used to display Customer related Information.Some fields are created under one block and "reason-for-write off amount" field is created under another block.I have created Master-Detail relation for these 2 blocks.If there is any "reason-for-write off amount" is present for queried customers then it shows the "reason-for-write off amount" data.check boxes also created beside customer number field in Master block.If there is no "reason-for-write off amount" for any customer I need to write it and when I click on "submit" button in my form it goes to database.
Now my requirement is :
I need to make "reason-for-write off amount" field as read-only and I need to CHECK corresponding Customer "check_box" and make "SUBMIT" button as disable using personalization.
I wrote code in Personalization as
Trigger-Event:WHEN-NEW-FORM-INSTANCE
Condition: :DUMCUST.REASON_FOR_WRITEOFF IS NOT NULL
Processing mode:BOTH
Actions:
object type: ITEM
Target Object: :DUMCUST.REASON_FOR_WRITEOFF
Property Name: Enterable
Value:false
object type: ITEM
Target Object: :XXMCS_CUSTOMER_DETAILS.CUSTOMER_NUMBER_CBX
Property Name: Value
Value:1
object type: ITEM
Target Object: :XXMCS_CUSTOMER_DETAILS.SUBMIT
Property Name: Enabled
Value:False
But it is not working..the applied changes are not affected in my form.I tried the above actions with WHEN_NEW_BLOCK_INSTANCE trigger also.I didn't write any validation triggers for these items in my FMB also.
Could anyone please help me..
Thanks in Advance.in your iterator declare the inputfield with disabled = true .
p_replacement_bee = cl_htmlb_inputfield=>factory(
id = p_cell_id
disabled = 'true'
value = comments ).
this will generate the html like below
<input type="Text"
class="urEdf2TxtEnbl urEdf2TxtRo urV" autocomplete="off" id="TAB1_1_4" ct="InputField" name="TAB1_1_4" st="r" tp="STRING"
readonly value="some value" onblur="sapUrMapi_InputField_Blur('TAB1_1_4',event)"
onkeydown="sapUrMapi_InputField_keydown('TAB1_1_4',event)"
onkeyup="sapUrMapi_InputField_KeyUp('TAB1_1_4',event)" onfocus="sapUrMapi_InputField_focus('TAB1_1_4',event)">
now you can use js getElementById as this now has a id attached (TAB1_1_4)
Maybe you are looking for
-
Oracle script to extract SQL server data to XML/CSX file format
HI, I have a requirement like- Create an Oracle script to Extract data from SQL Server to XML/CSV file format in File server (Oracle Server and File Server are in different boxes). Create an Oracle script to Retrieve data from the File Server, valida
-
How to create a blank theme with no embedded textures?
Hi, I have created a custom theme based on the "White" theme thinking that it was truly blank. But when I save my new theme, I see that it weighs a hefty 11Mb. After looking in the package contents, I see that there are marble textures remaining from
-
Is it necessary to have both installations, ps cc and ps cc(2014) on my pc, or can I deinstall the older version?
-
Newbie question: I have OEL 5 istalled on vmware and there is a problem with the mouse wheel: at scroll down it works fine, but at scroll up it goes fast at the bottom of the page (web page, pdf, txt, etc...) It seems that the mouse is not configured
-
Difficulty finding bluetooth headset stereo settings - my headset only plays in mono mode
I've been trying to locate the settings specifically for allowing bluetooth output in stereo (not mono). I swear I've seen them before but after cycling through the menu "Open Bluetooth Preferences" from the top right menu bar it is not an available