How to set the field non-editable in the classical report..
Hi..
How to set the field non-editable in the classical report..
Hi experts,
For the component 'ICCMP_EMP_SRCH' there is a view 'BUPAEMPSEARCH' , which has 2 context nodes 'CUSTOMER' AND 'SEARCHEMPLOYEE' , i need to add the field 'NICKNAME' which is part of the 'CUSTOMER' context node on the search screen. Currrently all the fields on the screen screen are from the 'SEARCHEMPLOYEE' context node. when i did the configuration , the 'NICKNAME' field is greyed out . I have already generated the Getter ,Setter , GET_I, GET_M methods for the 'NICKNAME' field and the context node and controller class and context class are all active .
on debugging the GET_I method, i see that rv_disabled = 'TRUE' and the current = collection_wrapper->get_current( ) is returning empty value .
for this rv_disabled to be set false , the code below is not triggered since there is no value in current.
IF current->is_property_readonly(
'NICKNAME' ) = abap_false. "#EC NOTEXT
rv_disabled = 'FALSE'.
ENDIF.
when i check for other search fields of context node 'SEARCHEMPLOYEE' , all the fields are set to rv_disabled = 'FALSE'.
can anyone suggest how to approch this. iam i missing any binding between context nodes or any activations ?
The field properties are set as Input field and the display checkbox is not checked.
Similar Messages
-
How to make a field non-Editable in Web UI
Hello Experts,
I am new to Web UI CRM 7.2. Could anyone pls guide me in making a field non-editable on Web UI.I have the field in one of the custom assignment block. Could you pls guide me with some sample code how to achieve this ?
Thanks in advance.Hi experts,
For the component 'ICCMP_EMP_SRCH' there is a view 'BUPAEMPSEARCH' , which has 2 context nodes 'CUSTOMER' AND 'SEARCHEMPLOYEE' , i need to add the field 'NICKNAME' which is part of the 'CUSTOMER' context node on the search screen. Currrently all the fields on the screen screen are from the 'SEARCHEMPLOYEE' context node. when i did the configuration , the 'NICKNAME' field is greyed out . I have already generated the Getter ,Setter , GET_I, GET_M methods for the 'NICKNAME' field and the context node and controller class and context class are all active .
on debugging the GET_I method, i see that rv_disabled = 'TRUE' and the current = collection_wrapper->get_current( ) is returning empty value .
for this rv_disabled to be set false , the code below is not triggered since there is no value in current.
IF current->is_property_readonly(
'NICKNAME' ) = abap_false. "#EC NOTEXT
rv_disabled = 'FALSE'.
ENDIF.
when i check for other search fields of context node 'SEARCHEMPLOYEE' , all the fields are set to rv_disabled = 'FALSE'.
can anyone suggest how to approch this. iam i missing any binding between context nodes or any activations ?
The field properties are set as Input field and the display checkbox is not checked. -
Making the ALV Non Editable on the Fly
Dear All ,
I have a one requirement inwhich i want to make the ALV grid Editable or non editable depending on a value of a perticular field in the Internal table.
Eg. I have one internal table as IT_DATA with fields Customer number , Order NUmber Comments and Status.
There are 10 records in this internal table out of which 5 has a status as 1 and 5 has a status as 0.
Now i want to make the field Comments non editable if the value in the status is 1. If it is 0, i want to keep it as Editable.
Please Suggest ,
Regards,
Nikhil JoshiHi
Try like this
DATA : it_fieldcat TYPE TABLE OF slis_fieldcat_alv,
wa_fieldcat TYPE slis_fieldcat_alv.
if status = 0.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'FLD1'.
wa_fieldcat-coltext = 'Field1.
wa_fieldcat-edit = 'X'.
APPEND wa_fieldcat TO it_fieldcat.
elseif status = 1.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'FLD2'.
wa_fieldcat-coltext = 'Field2.
APPEND wa_fieldcat TO it_fieldcat.
then call function module 'REUSE_ALV_GRID_DISPLAY;.
Thanks & Regards,
Anagha Deshmukh -
How to make fields Non Editable in Web ADI
Hi All,
Can you please let me know how we can make fields Non Editable in Web ADI?
Thanks,
AnilHi,
Are you trying to make required parameters readonly and does this variable have different values for each row. If not then I would suggest you use a wrapper for the API and get only parameters that you need from the excel sheet and the use the wrapper to send the other read only values.
Thanks -
How to make Resource Forms fields non editable (OIM)
Hi all!
I would like to know if there's any way to make some resource fileds non editable.
I have one resource which is getting 3 fileds from the oim user profile. When i change the oim user profile, these values are updated on the resource form associated.
But i want to prevent the situation in which those fields are directly updated on the resouce form.
I now i can propagate those changes back to oim profile but it will be much appropiate for what we want if we just could prevent anyone from changing those values on the resource form.
Is it possible to make those fields non editable? How?
OIM version is 9.1.0.1.
Thanks in advance.Hi, thanks.
Finally i found this: http://kr.forums.oracle.com/forums/thread.jspa?threadID=591683
and after setting the fields to required=false, it worked without any errors ("The Resource has not been configured properly" because of the prepopulate adapters)
Bye -
How to maintain fields non-editable in MIGO
Hi all.
how to make fields as non editable in the transaction MIGO .
for ex: in MIGO screen there is field serial number. when we click this one it is displaying some serial numbers. For this field need maintain only display (non editable) mode.
if anybody know this pls..reply.
thanq.
skskHi,
I have not come across any transaction as such. I think you need the field VBELN to be in display mode.
You may try the following code in the enhancements;
loop at screen.
if screen-name = 'VBELN'. (or the field of your requirement)
screen-input = 0.
endif.
Modify screen.
endloop.
Make necessary additions according to your requirement.
Regards,
Renjith Michael. -
How to create a secure & non editable PDF? So that it cannot be modified by any of the secondary tools available online for security breaks and editing of PDF document
I put all the security options but still there are tools to break the security (even password) leading to editing of document
Need to avoid any such situationIf the document is important, and there is something to be gained by modifying it - then someone will just make a new copy of it (e.g. print and scan, screen capture), and make a new document, then change it.
If protecting the integrity of the document - proving it is unchanged - is the thing, look at digital signatures. Forget security, the signed file can be freely edited, but the signature will always show it is changed. -
When recently synchronising my iphone it suggested to uograde to latest software. Now none of my sounds can be changed. Have gone to setting and tried to edit but the only sound I get is Marimba despite a different ringtone being selected?
I also lost my ringtones. I have spent about $100 dollars on ringtones to apply different songs to different callers...and now i can't find them.
-
How to set key fields in a Database view
Hi guru's
iam balaji,plz guide me with how to set key fields in a view.......that field is a non key field in the base table....
thanks in advance,
Balaji.Stake a look at this:
Diagnosis
In the view, not all of the mandatory fields were included as key
fields. The key of the view therefore is not unique.
System Response
All the fields are regarded as key fields in order to guarantee that th
key lengths are unique.
Procedure
For views with a large number of fields, this could have a negative
effect on the performance for the language construction described below
In this case, all the mandatory key fields should be included in the
view.
regards -
How to make the text_field to editable in the adobe document?
Hi, expert,
I meet a problem when I develop a WDA. I hope to get your help. Thanks a lot. The following is my action:
Action:
1. I am using "Text Field" control rather "Text" Control in the pfd form by transfer code "sfp". I make sure in Object Palette under value tab type is : user entered - optional in the layout tab in the pfd form. The textfield is editable in the PDF preview.
2. Add the pdf forms to webdynpro application and set "sss" to the inputfield("Text Field") through context in the WDA.
3. Run the WDA. In the IE, I found the textfield in the PDF is not editable. How can I make the textfield to editable?
Whether I need change the code or others to make text_field to editable?
Do you give me some hints? Thank you very much.
The following is my code in the WDA:
method WDDOMODIFYVIEW .
********Make INTERACTIVE_FORM to editable。******
data:
lr_interactive_form type ref to cl_wd_interactive_form,
lr_method_handler type ref to if_wd_iactive_form_method_hndl.
lr_interactive_form ?= view->get_element( 'INTERACTIVE_FORM' ).
lr_method_handler ?= lr_interactive_form->_method_handler.
lr_method_handler->set_legacy_editing_enabled( abap_true ).
data:
Node_Zz_00_Test_Form_000 type ref to If_Wd_Context_Node,
Elem_Zz_00_Test_Form_000 type ref to If_Wd_Context_Element,
Stru_Zz_00_Test_Form_000 type Wd_This->Element_Zz_00_Test_Form_000 ,
Item_TEST1 like Stru_Zz_00_Test_Form_000-TEST1.
navigate from <CONTEXT> to <ZZ_00_TEST_FORM_000> via lead selection
Node_Zz_00_Test_Form_000 = wd_Context->get_Child_Node( Name = wd_This->wdctx_Zz_00_Test_Form_000 ).
get element via lead selection
Elem_Zz_00_Test_Form_000 = Node_Zz_00_Test_Form_000->get_Element( ).
get single attribute
Elem_Zz_00_Test_Form_000->set_Attribute(
exporting
Name = `TEST1`
Value = 'sss' ).
endmethod.
Best regards,
taoHi Volker,
Thanks a lot for your help.:)
When I compile the WDA, the WDA don't occur any error. The WDA occurs error when I run the WDA.
1. In the st22 transcation code, I found the following code:
method RAISE .
DATA: error TYPE STRING.
error = MSG_STRING( msg = msg a = a b = b c = c i = i j = j k = k ).
************************begin of error************************************
RAISE EXCEPTION TYPE CX_WD_GENERAL EXPORTING msg = error.
************************end of error*********************************
endmethod.
I think the method RAISE is invoked by CREATE_ADOBE method at the point:
if sy-subrc ne 0.
--- there was an error; check, if it was an ADS related problem
call function 'FP_GET_LAST_ADS_ERRSTR'
importing
e_adserrstr = lv_adserrstr.
cx_wd_general=>raise( msg = lv_adserrstr ).
endif.
--- close spool job
The following is the code of the CREATE_PDF method:
method CREATE_PDF.
data:
data_source_info type ref to if_wd_context_node_info,
data_source_attributes type wdr_context_attr_info_map,
interface_type type fpinterfacetype,
name type string,
value type string,
fm_name type rs38l_fnam,
fp_docparams type sfpdocparams,
fp_outputparams type sfpoutputparams,
fp_output type fpformoutput,
pdf_ref type ref to fpformoutput,
output type fpformoutput,
rest type string,
lv_adserrstr type string. "#EC NEEDED
field-symbols:
<source> type wdr_context_attribute_info.
data_source_info = data_source->get_node_info( ).
data_source_attributes = data_source_info->get_attributes( ).
--- now build pdf content using the form api
try.
--- get name and type of the generated function module
call function 'FP_FUNCTION_MODULE_NAME'
exporting
i_name = form_name
importing
e_funcname = fm_name
e_interface_type = interface_type.
----- what about error handling
catch cx_fp_api_usage. "#EC NO_HANDLER
catch cx_fp_api_repository. "#EC NO_HANDLER
catch cx_fp_api_internal. "#EC NO_HANDLER
endtry.
--- set output parameters and open spool job
fp_outputparams-nodialog = 'X'.
fp_outputparams-getpdf = 'X'.
--- workaround ADS drop 8c
fp_outputparams-connection = 'ADS_PWDF2036'.
call function 'FP_JOB_OPEN'
changing
ie_outputparams = fp_outputparams.
--- set form language and country (->form locale)
fp_docparams-langu = sy-langu.
call function 'WP_USER_COUNTRY_GET'
exporting
user_name = sy-uname
importing
country = fp_docparams-country
exceptions
no_country_assigned = 1
others = 2.
if sy-subrc <> 0.
fp_docparams-country = 'DE'.
endif.
--- this flag indicates that we want to generate an interactive(!) form
fp_docparams-fillable = enabled.
--- interface type: SMART FORMS => raise error
--- interface type: DDIC => use DDIC interface and render display only form
--- interface type: XML Schema => use XML interface and render interactive form if enabled is true
case interface_type.
Smart Forms -> not allowed
when if_fp_interface=>c_interface_type_sf.
message x000(00).
Good old DDIC
when if_fp_interface=>c_interface_type_new.
no interactivity for DDIC stuff allowed, but it can be overwritten
if enabled = abap_true.
fp_docparams-fillable = legacy_editing_enabled.
else.
fp_docparams-fillable = abap_false.
endif.
data:
exception_list type table of rsexc,
export_parameters type table of rsexp,
import_parameters type table of rsimp,
tables_parameters type table of rstbl.
--- get the interface of the generated function module
call function 'FUNCTION_IMPORT_INTERFACE'
exporting
funcname = fm_name
tables
exception_list = exception_list
export_parameter = export_parameters
import_parameter = import_parameters
changing_parameter =
tables_parameter = tables_parameters.
data:
ptab type abap_func_parmbind_tab,
ptab_line type abap_func_parmbind,
etab type abap_func_excpbind_tab,
etab_line type abap_func_excpbind.
field-symbols:
<import> type rsimp.
--- dynamical filling of the interface of the generated function module
loop at import_parameters assigning <import>.
ptab_line-name = <import>-parameter.
ptab_line-kind = abap_func_exporting.
if ptab_line-name cs '/1bcdwb/docparams'.
get reference of fp_docparams into ptab_line-value.
else.
--- is this an attribute?
data dref type ref to data.
create data dref type (<import>-typ).
read table data_source_attributes with key name = <import>-parameter assigning <source>.
if sy-subrc = 0.
data: node_name type string.
node_name = <import>-parameter.
try.
field-symbols <statatt> type any.
assign dref->* to <statatt>.
data_source->get_attribute( exporting name = node_name importing value = <statatt> ).
get reference of <statatt> into ptab_line-value.
catch cx_root. "#EC CATCH_ALL
ptab_line-value = dref.
endtry.
else.
ptab_line-value = dref.
endif.
endif.
insert ptab_line into table ptab.
endloop.
ptab_line-name = '/1BCDWB/FORMOUTPUT'.
ptab_line-kind = abap_func_importing.
get reference of fp_output into ptab_line-value.
insert ptab_line into table ptab.
--- error handling
etab_line-name = 'OTHERS'.
etab_line-value = 10.
insert etab_line into table etab.
--- dynamic call of the generated function module
--- this is "smart forms style"
call function fm_name
parameter-table
ptab
exception-table
etab.
if sy-subrc ne 0.
--- there was an error; check, if it was an ADS related problem
call function 'FP_GET_LAST_ADS_ERRSTR'
importing
e_adserrstr = lv_adserrstr.
cx_wd_general=>raise( msg = lv_adserrstr ).
endif.
--- close spool job
call function 'FP_JOB_CLOSE'.
--- check the result
read table ptab with key name = '/1BCDWB/FORMOUTPUT' into ptab_line.
pdf_ref ?= ptab_line-value.
pdf = pdf_ref->pdf.
XML Schema based interface
when if_fp_interface=>c_interface_type_xsd.
data: xml type string.
xml = data_source->to_xml( ).
data:
context_node type string.
context_node = data_source_info->get_name( ).
data: x_xml type xstring.
if not data_xml is supplied.
call transformation wdr_interactive_from_in
parameters datasource = context_node
source xml xml
result xml x_xml.
else.
x_xml = data_xml.
endif.
call function fm_name
exporting
/1bcdwb/docparams = fp_docparams
/1bcdwb/docxml = x_xml
importing
/1bcdwb/formoutput = output
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
if sy-subrc ne 0.
--- there was an error; check, if it was an ADS related problem
call function 'FP_GET_LAST_ADS_ERRSTR'
importing
e_adserrstr = lv_adserrstr.
cx_wd_general=>raise( msg = lv_adserrstr ).
endif.
--- close spool job
call function 'FP_JOB_CLOSE'.
pdf = output-pdf.
when others.
message x000(00).
endcase.
endmethod.
2. I found the defaultTrace.0.trc in the $sap_home$\DEV\DVEBMGS00\j2ee\cluster\server0\log\:
#1.5#001485BBC8ED0076000000140000044000043973130FA533#1189066310671#com.adobe.AdobeDocumentServicesWorker#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServicesWorker#ADSUSER#228#SAP J2EE Engine JTA Transaction : [018ffffff826002ffffffcc]#devserver_DEV_1606150#Guest#d1f02e705c5011dcb0f5001485bbc8ed#SAPEngine_Application_Thread[impl:3]_22##0#0#Error#1#/System/Server#Plain###Processing exception during a "UsageRights" operation.
Request start time: Thu Sep 06 16:11:50 CST 2007
com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights:
java.lang.Exception: Could not retrieve a password for credential: ReaderRights
Exception Stack Trace:
com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights:
java.lang.Exception: Could not retrieve a password for credential: ReaderRights
at com.adobe.ads.request.UsageRights.execute(Unknown Source)
at com.adobe.BaseADSRequest.doWork(Unknown Source)
at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
#1.5#001485BBC8ED0076000000150000044000043973130FAAAC#1189066310671#com.adobe.AdobeDocumentServices#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServices#ADSUSER#228#SAP J2EE Engine JTA Transaction : [018ffffff826002ffffffcc]#devserver_DEV_1606150#Guest#d1f02e705c5011dcb0f5001485bbc8ed#SAPEngine_Application_Thread[impl:3]_22##0#0#Error##Plain###Client: 800 SystemId: DEV AppName: SAFP
Processing exception during a "UsageRights" operation.
Request start time: Thu Sep 06 16:11:50 CST 2007
com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights:
java.lang.Exception: Could not retrieve a password for credential: ReaderRights
at com.adobe.ads.request.UsageRights.execute(Unknown Source)
at com.adobe.BaseADSRequest.doWork(Unknown Source)
at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
According the exception in the defaultTrace.0.trc:" Could not retrieve a password for credential: ReaderRights ", beacause Adobe reader8 don't get the credential in my machine, the error is occured when run the WDA.
My question is how can I to get credential for Adobe Reader8 ?
Thanks a billion for your support and help.:-)
Best regards,
Tao -
Make Item level field Non-Editable in VA01
Dear Experts,
I have a requirment to make ITEM Category field in item level of VA01
make Non-editable based on the value of Sale order Type in the main screen
i am using Program MV45AFZZ to make necessary changes i am able change any thing on the header level but i am not geting the control of item level Please suggest me how to change or make fields non-editable in Item level.Hi,
Try writing code in FORM userexit_field_modification.
*** Lock field pricing date in SO if delivery occured
IF screen-name = 'VBAP-PSTYV' AND
sy-tcode NE 'VA01' AND l VBAK-AUART EQ 'your document type'.
screen-input = 0.
ENDIF.
ENDFORM. "USEREXIT_FIELD_MODIFICATION
KR Jaideep, -
Sales order field Non Editable
Dear All,
how to make sales order field -payment terms non editable to the end users
we do not want the endusers to change the payment terms proposed from the customer master
With regards
Mohammed RaeesHi,
To make a filed entry enabled or grey (non-entry allowed):
User exits in the program MV45AFZZ-USEREXIT_FIELD_MODIFICATION
This user exit can be used to modify the attributes of the screen fields.
To do this, the screen fields are allocated to so-called modification groups 1 - 4 and can be edited together during a modification in ABAP.
If a field has no field name, it cannot be allocated to a group. The usage of the field groups (modification group 1-4) is as follows:
Modification group 1: Automatic modification with transaction MFAW
Modification group 2: It contains 'LOO' for step loop fields
Modification group 3: For modifications which depend on check tables or on other fixed information
Modification group 4: is not used
The FORM routine is called up for every field of a screen. If you require changes to be made, you must make them in this user exit. This FORM routine is called up by the module FELDAUSWAHL. -
How to get JTextPane partially non-editable?
Hi,
I am trying to get parts of the JTextPane (that have clearly different styles than regular text) to be non-editable. So far I cannot make a partial setting like this. Netbeans (FFJ) source file editor has a feature like this, but I have not been able to locate their implementation in the source files. Once can move the caret inside the non-editable part, and even select text, but no editing is allowed.
Does anybody know how to set this up?Here's the answer I found in 10 minutes, after having the time to take a look into it:
The non-editable text (section headers) are blue and bold. So here's the event handler for KeyEvent:
private void textAreaCommandKeyTyped(java.awt.event.KeyEvent evt) {
AttributeSet aSet = textAreaCommand.getCharacterAttributes() ;
boolean bold = StyleConstants.isBold( aSet ) ;
if ( bold ) {
Toolkit.getDefaultToolkit().beep();
evt.consume() ;
} -
PO ITEM CUSTOM TAB - FIELDS (non editable)
Hi,
I have created a custom tab in the PO item level using the badi "ME_GUI_PO_CUST". My custom fields in the custom tab are editable in the creation and change mode, while non-editable in the display mode as per my desire.
The problem is when I am saving some changes in the PO, after this all standard fields were becoming non-editable but my custom fields in the custom tab were in the editable mode. I want custom fields also to be in non-editable, once I saved from ME22N tcode.
Please help me out.
Best Regards,
Gopi
Edited by: Gopi Ramasamy on Sep 30, 2008 3:36 PMIn method
IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_HEADER
call method is_changeable from data model
DATA: xv_changeable TYPE mmpur_bool.
xv_changeable = im_header->is_changeable( ).
based on value of xv_changeable i.e. 'X' or space.
set
ch_fieldselection-fieldstatus = '+ . * -'
'-' -> Hide / Inactive
'*' -> Display only
'+' -> Change -
HOW TO MAKE TABLE CONTROL NON EDITABLE
hi all
how to make table control non editable
Thanks & Regards
harshaHi,
Try this code in the PBO inside the module in the LOOP...ENDLOOP.
IF SY-TCODE EQ 'ZEMPLDISPLAY'.
LOOP AT SCREEN.
if screen-name eq 'column1' or screen-name eq 'column2'. "Give the names of the columns in the table control
SCREEN-INPUT = '0'.
MODIFY SCREEN.
endif.
ENDLOOP.
ENDIF.
Or you can go the Layout of the table control in Change mode and for every column's attributes, make it 'Output' only field. Check 'Output only' field.
Maybe you are looking for
-
Item Text in Purchase Order Transfer to GR (Material Document)
Hi, Is there a way tro transfer the Item text in the PO to the GR or Material Document. Thanks, jograd
-
how to protect a jar file so that no one can de -jar the class files from it please suggest.. thanks..
-
Resolve trouble between Parallels and Windows under Boot Camp
After seeing several threads relating to this issue, I decided to make this it's own thread instead of trying to reply to each. hopkinsvscloudlivestream.blogspot.com/2013/03/watch-hopkins-vs-cloud-live-stream-2013.html This article NOW resolves all i
-
Question when i am in web dynpro interface method trying to find code
Hello guys, I am in an event handler and i see this logic wd_this->mo_dodm_srchbidder_c->add_selected_bidder(). When i double click on the add selected bidder it takes me to the method inside interface /sapsrm/IF_CLL_DODM_BIDDER. So when i double
-
IPOD Music Library deleted itself :(
hi everyone....i'm having some very sad ipod problems i'm using win xp on an asus a7v333 motherboard. up to now i've been using the usb 1.0 socket built into the motherboard to transfer files onto my ipod but i found a usb 2.0 card installed on the s