Field exits for non-editable field
Hi All,
can I write field exit for non-editable field?
Thanks in advance...
bye.
hi,
i think you can, just try it.
But when you have to change it, because of a certain exception in the fieldexit, it is impossible to change the field.
Hans
Similar Messages
-
hi
i want to process the non-editable fields in a transaction (ME32) from the program itself. but when i am doing this it is showing error saying '........field is not input field'.
how to process this. pls check this.Hi Jay,
The noneditable fields cannot be modified by BDC.
But in one of our tasks,
We followed this techinique..
Actually 2 of the fields in second screen are not open for input if certain variable is X in 1st screen.
Then we started that screen with Y and in this case those fields are open for input,now in second screen we modified the field as X back and saved the record..
I am not sure whether this might help you -
HI Experts,
I want to implement the Field Exit for Changing the Field discription for Standard sap field for XD01 and MK01.
could any one tell me what are the ( Exits )Field Exits for above T Codes.
Thanks in Advance.
sudeer.hi,
cherck this link.
http://www.****************/Tutorials/ABAP/XD01/XD01.htm
these r exits available in xd01.
Transaction Code - XD01 Create Customer (Centrally)
Enhancement/ Business Add-in Description
Enhancement
SAPMF02D User exits: Customer master data
Business Add-in
CUSTOMER_ADDRSCR_CHG Change Address Screen in the Master Data Maintenance
CUSTOMER_ADD_DATA Additional Data at Customers
CUSTOMER_ADD_DATA_BI Additional Data at Customers (Batch Input and ALE)
CUSTOMER_ADD_DATA_CS Additional Data at Customers (Subscreen Container 4000) -
(non)Editable field on Myspace & Firefox 3.5/6
Symptom: flash app has an editable field that becomes non-editable on Myspace, but only when accessing it with Firefox 3.5 or 3.6;
What's more, it actually can be edited, as long as one right-clicks into the field.
The app is made with Flash Pro CS5 and embedded on Myspace using AddThis, if that makes any difference.
The same app behaves just fine in Chrome or IE8. All of these are on WinXP, in case that's at play.
My skills with flash are limited, so I'm at a loss as to where things would go wrong.
As these apps are also working just fine on other sites, I'm guessing this is very Myspace limited issue, but what?
thanks,
karoyI had the same problem. Called HP support and that was useless. They tried to help me restore to before the problem but the restore wouldn't work! In the end they wanted me to restoer to factory settings. All because they haven't bothered to test their update with some pretty standard software (firefox). I always get the same response from their service folks - "you are using software that is not from HP so we can't really help you". Well, yeah - uh, I occassionally do use software on my laptop that is not made by HP.
I had high hopes for moving from Dell to HP, but am just disappointed over and over again. Perhaps my expectations were too high, but never the less, I will not buy an HP laptop again. -
Update non-editable field Start date which is calculated from other context
I had created some custom date fields(model, bol entity) in component ICCMP_BTSHEAD. We are calculating Start date based on the new input value into receiving date in the other context node.
so, for this i get the value on controller class(_IMPL). and pass the same value in the GET method of Start date.
But, Problem is Start date is the non-editable field so SET method will not be trigger as expected. so the same i used the DO_PREPARE_OUTPUT method but it's called and update the value when we press the enter. IF directly we click on the "SAVE" button then it' trigger but value is not updating in the database.
Please, find the below piece of code for the same. can u please anybody help me that how can i achieve this requirement.
DATA: l_recieve_date TYPE crmt_date_timestamp_from,
lr_current TYPE REF TO cl_bsp_wd_mixed_node,
lr_col TYPE REF TO cl_bsp_wd_collection_wrapper.
DATA: lv_date TYPE d,
lv_time TYPE t,
lv_date_temp TYPE sydatum.
IF iv_first_time EQ abap_false. "avoid for first tile load
Read the value of btreceivedate-TIMESTAMP_FROM.
lr_col = me->ztyped_context->btreceivedate->get_collection_wrapper( ).
IF lr_col IS BOUND.
lr_current ?= lr_col->get_current( ).
IF lr_current IS BOUND.
lr_current->if_bol_bo_property_access~get_property_as_value( EXPORTING iv_attr_name = 'TIMESTAMP_FROM'
IMPORTING ev_result = l_recieve_date ).
ENDIF.
ENDIF.
IF l_recieve_date IS NOT INITIAL.
CONVERT TIME STAMP l_recieve_date TIME ZONE sy-zonlo
INTO DATE lv_date TIME lv_time.
Check day is working day - if not, correct to previous working day
IF lv_date IS NOT INITIAL.
lv_date_temp = lv_date.
CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
EXPORTING
correct_option = '-'
date = lv_date
factory_calendar_id = 'GB'
IMPORTING
date = lv_date_temp
EXCEPTIONS
date_after_range = 1
date_before_range = 2.
IF sy-subrc IS INITIAL.
lv_date = lv_date_temp.
ENDIF.
ENDIF.
CONVERT DATE lv_date TIME lv_time
INTO TIME STAMP l_recieve_date TIME ZONE sy-zonlo.
ENDIF.
lr_col = me->ztyped_context->btstart->get_collection_wrapper( ).
IF lr_col IS BOUND.
lr_current ?= lr_col->get_current( ).
IF lr_current IS BOUND.
lr_current->if_bol_bo_property_access~set_property(
iv_attr_name = 'APPT_TYPE' "#EC NOTEXT
iv_value = 'ZSTWTIME0001' ).
lr_current->if_bol_bo_property_access~set_property(
iv_attr_name = 'TIMESTAMP_FROM' "#EC NOTEXT
iv_value = l_recieve_date ).
ENDIF.
ENDIF.
ENDIF.
could you please help me?Hi,
Thanks for your reply,
yes, i checked the same thing also. But DO_HANDLE_DATA is called before the SET method of receiving date and in that case we are getting the old value in DO_HANDLE _DATA and source and Target fields both are not updating.
I checked, if, i'll change the input field then set method of input field and then EH_ON_SAVE is called directly.
i think, if i'll do the same modification in the EH_ON_SAVE method as i did in the DO_PREPARE_OUTPUT then it can be updated but i don't want to change the EH_ON_SAVE at this moment.
is there any other way to update the START DATE(Display mode in the screen) which is calculate from the other context node field receiving date. -
The note field is in non-editable mode in appraisal document
Hi all,
In appraisal document,
the reviewer can give his comment in the status u201CIn Processu201D and in the Sub Status u201CAnnual Review by Addl Managers/Reviewersu201D in an appraisal document. It is editable when I am trying via web but when I try to upload the comment from backend GUI ( using phap_admin) the note field is in non-editable mode. My client requires it in editable mode at the back end.
Can any one help me on thisu2026Hello Girish,
Can you please check the appraisal template, Proper access has been given to use the note column. If still faces problem can look for the BADI HRHAP00_COL_ACCESS.
You can look for the following notes also :
1554467 column access does not work
Best Regards,
Deepak.. -
How to find user exits for a specific field
hi,
How can we find a user exit for a specific fields .
as i know Three ways to search user-exits
1. SE80 look includes in a packages with name user-exits
2. by zreport which will fetch user-exit in a T-CODE
3. SMOD
but what if we have to find a user-exit for particular field for e.g bupla(bussiness place) in MIRO.
Please suggest me.
Thanks and Regards ,
Rahul Singh.Hi Rahul,
Here is the procedure to create field exits.
Step by step procedure for creating Field Exits
There are eight steps to creating a field exit:
Step 1: Determine Data Element
Step 2: Go To Field Exit Transaction
Step 3: Create Field Exit
Step 4: Create Function Module
Step 5: Code Function Module
Step 6: Activate Function Module
Step 7: Assign Program/Screen
Step 8: Activate Field Exit
Step 1: Determine Data Element
u2022 Before you can begin adding the functionality for a field exit, you must know the corresponding data element.
Step 2: Go To Field Exit Transaction
u2022 The transaction to create field exits is CMOD.
u2022 You can use the menu path Tools -> ABAP/4 Workbench -> Utilities -> Enhancements -> Project management.
u2022 From the initial screen of transaction CMOD, choose the Text enhancements -> Field exits menu path.
u2022 After choosing this menu path, you will be taken to the field exits screen. From here, you can create a field exit.
NOTE : Even though you use transaction CMOD to maintain field exits, you do not need to create a project to activate field exits.
Step 3: Create Field Exit
u2022 From the field exit screen of transaction CMOD, choose the Field exit -> Create menu path.
u2022 After choosing this menu path, a dialog box will prompt you for the appropriate data element .
u2022 Enter the data element name and click the u2018Continueu2019 pushbutton.
u2022 Now, you will be able to create the function module associated to the data elementu2019s field exit.
Step 4: Create Function Module
u2022 You will automatically be taken to the Function Library (SE37) after entering a data element name and clicking the u2018Continueu2019 pushbutton.
u2022 In the u2018Function moduleu2019 field, a function module name will be defaulted by the system based on the data element specified. This name will have the following convention:
FIELD_EXIT_<data element>
u2022 You can add an identifier (an underscore followed by a single character ).
u2022 The first function module for a data elementu2019s field exit must be created without an identifier.
u2022 To create the function module, click on the u2018Createu2019 pushbutton, choose menu path Function module -> Create, or press u2018F5u2019.
u2022 After choosing to create the function module, you will get the warning: "Function module name is reserved for SAP". This message is just a warning so a developer does not accidentally create a function module in the field exit name range. By pressing u2018Enteru2019, you will be able to go ahead and create the function module.
u2022 Before coding the function module, you will have to specify the function modules attributes -- function group, application, and short text.
Step 5: Code Function Module
u2022 From the function moduleu2019s attributes screen, click on the u2018Source codeu2019 pushbutton or choose the Goto -> Function module menu path to the code of the function module.
u2022 Here you will add your desired functionality for the field exit.
u2022 Remember that field exitu2019s function module will have two parameters -- one importing parameter called "INPUT" and one exporting parameter called "OUTPUT". These parameters will be set up automatically by the system.
u2022 You must remember to assign a value to the OUTPUT field. Even if the value does not change, it must be moved from the INPUT field to the OUTPUT field.
Step 6: Activate Function Module
u2022 After coding the function module, you must remember to activate it.
u2022 Use the Function module -> Activate menu path to activate the function module.
u2022 At this point, you can return to the field exit transaction.
u2022 You should be able to 'green arrow' back to this transaction.
u2022 When you return to the field exit transaction, you will see an entry for the newly created field exit.
u2022 At this point, the field exit is global. That is, it applies to all screens that use a particular data element. On any screen that uses the data element, the corresponding field exit function module will be triggered, once it is active.
u2022 Also, the field exit will not be triggered yet because it is inactive.
Step 7: Assign Program/Screen
u2022 This step is only needed if you want to make a field exit local.
u2022 To make a field exit local, select the field exit and click on the u2018Assign prog./screenu2019 pushbutton.
u2022 In the dialog box , indicate the appropriate program name and screen number.
This information indicates that the field exit is local to the specified screen in the specified program.
u2022 In the dialog box, you determine which function module gets executed for the field exit by specifying the identifier in the u2018Fld. Exitu2019 field.
u2022 If this field is left blank, the function module triggered will be 'FIELD_EXIT_<data element>'.
u2022 If a single-character identifier is entered into the field, the function module triggered will be 'FIELD_EXIT_<data element>_<identifier>'.
Step 8: Activate Field Exit
u2022 The field exit must be active for it to be triggered by the system.
u2022 Activate the field exit by choosing the Field exit -> Activate menu path.
u2022 After assigning the field exit to a change request, its status will change to u2018Activeu2019 and it will be triggered automatically on the appropriate screen(s).
NOTE : In order to activate the field exit the profile parameter abap/fieldexit = YES must be set on all application servers
Execute the transaction SE38 with PROGRAM NAME - RSMODPRF
Then give the Data Element Name for which field you want to create the exit(Just cross check with your field data element) and execute.
then it takes you to SE37 with the function module name FIELD_EXIT_<DATA ELEMENT NAME> and then create the same function module.
and in the coding part, You can write your logic to display the output of that field. and activate it.
once you complete the above,
Again execute SE38 transaction with program RSMODPRF and again click on Execute button without any Data Element Name. Now you select the data element which you have created and click on Assign prog/ Screen button and assign the program name and screen number of the filed and click on the menu Field Exit and Activate.
Hope it helps.
Regards
Radhika
Edited by: Radhika Pande on Nov 26, 2009 7:58 AM -
Non editable field in POP_GET_VALUES
Hello,
I am using the POP_GET_VALUES function to request two values from the user. I have to ask for a provider and a price. The provider field works fine (mach code included), but the price field appears in grey (non editable) and then the user cannot inform the value. How can I avoid this behaviour?
Thanks in advance,
Ricard.
Edited by: Oscar Barrabes on Jul 3, 2008 3:27 PMDATA: TITOL type string.
DATA: VALORS LIKE SVAL OCCURS 0 WITH HEADER LINE.
CLEAR VALORS.
REFRESH VALORS.
VALORS-TABNAME = 'EKPO'.
VALORS-FIELDNAME = 'NETPR'.
APPEND VALORS.
VALORS-TABNAME = 'AFVC'.
VALORS-FIELDNAME = 'LIFNR'.
APPEND VALORS.
CLEAR TITOL.
CONCATENATE ITAB-CODCON ITAB-CODCLI ITAB-NOMSRV INTO TITOL
separated by '-'.
CALL FUNCTION 'POPUP_GET_VALUES'
EXPORTING
NO_VALUE_CHECK = ' '
POPUP_TITLE = TITOL
START_COLUMN = '5'
START_ROW = '5'
IMPORTING
RETURNCODE =
TABLES
FIELDS = VALORS
EXCEPTIONS
ERROR_IN_FIELDS = 1
OTHERS = 2
I have tried it using the field netpr from other tables and the result has been the same. If I run the function at se37 the price field appears as non editable too. -
FIELD BSEG - ZUONR NON EDITABLE IN FB02
Hi guys,
I went to "Document Change Rules, Line Item" in SPRO inserting BSEG-ZUONR as Field Name and put a tick on "Field can be Changed".
Unfortunatly nothing happened in FB02 and the field is still non-editable.
Could you suggest me a solution?
Thanks a lotHI,
As mentioned in note 827413 there is a golden rule regarding the changeability of fields in FI documents:
When the field is used in Special Ledger field movement then it is not possible to change this field in FI using transaction FB02.
The reason is that Special Ledger is only updated when the document is created. For other components like profit center accounting or special ledger a subsequent change in an FI document is only local. Special Ledger does not get the information about the change. Thus, in order to avoid inconsistencies between SL and FI those fields are not changeable.
Please check the follwong field movements for Special Ledger which contain the field ZUONR in the field movement (tr. GCL3).
Regards
Ravinagh Boni -
Procurement type non editable field
Dear experts,
I have an issue please guide me, For one material i am not able to change procurement type, that field is graout (non editable) material type is Raw Material.
in material stock also exists, what could be the reason, how to change
please guide me
Regards
Chandu.>
chandu wrote:
> Dear experts,
>
> I have an issue please guide me, For one material i am not able to change procurement type, that field is graout (non editable) material type is Raw Material.
>
> in material stock also exists, what could be the reason, how to change
>
>
> please guide me
> Regards
> Chandu.
This procurement type is in material master right. You need to get it editable in spro. -
Field Exit or User Exit for Maintenance Order field.
Dear All,
we need an field exit or an user exit for order(AUFNR)field in PM module.
The Client wants that the value of this field should be validated and for certaion condition an error message should be given while saving an invoice for this order.
Kindly provide the user exit ..
Its urgent.
Thansk in advance ..
regards
Ajay.Implement Field Exit within program
For this example I am using dta element 'EBELN' from table EKKO.
Step 1: Execute program 'RSMODPRF', entering the data element of the field
Step 2:Create function module when prompted, and add you code to the source section using the parameter 'INPUT' as the field value you are checking
Step 3: Save and activate Function and execute transaction 'CMOD'.
Step 4: Choose option: Goto-> Text Enhancements->Data elements->New DE cust docu.
Step 3: Save and activate Function and execute transaction 'CMOD'.
Step 4: Choose option: Goto-> Text Enhancements->Data elements->New DE cust docu.
Step 5: Enter data element
Step 6: Save and activate
Step 7: Execute program 'RSMODPRF' again but this time leave data element field blank. Step 8: Select the checkbox for the data element you have just created and choose option: Field exit->Activate This will now be active for all instances of this data element, but you can assign specific program and screen combinations by pressing the 'Assign prog./screen' button. You can also change the code you entered in the field exit function module by pressing the 'Edit FM' button.
regards
vinod -
How to make non editable field after requestor created the shoping cart
Hi,
i need to make non editable field (Price field) after requester created the shooping cart.The field should be non editable only for requster .
this i need to make when workflow triggers when the buyer sends back the shopping cart to requester.
one solution which i found:depend on the status of the shoping cart
but i dont know whether it is correct way.
if not please suggest me the solution.Hi,
You can implement the BADI" BBP_UI_CONTROL_BADI".
You can check for the role of the user who has logged in(e.g. for user REQUESTER,there will be a distinct role to idnetify that the user is a requester) and then acc set the display properties for the field PRICE.
For sample code pls refer the foll links:
Sample code for BBP_UI_CONTROL_BADI
Re: Hiding Shopping Cart Fields in SRM 3.0
Re: How to Hide the attributes from template BBPSC01?
Re: How to validating total value in shopping cart
Re: Price filed in Shopping cart should be in display mode
BR,
Disha. -
Enabling the non editable fields
Hello Friends..
How to enable a non editable field. For example...how to make Personnel area field in IT0001 into a editable field. For some reason..we need this. Is there a way...?
Kindly help..
Thank youHi,
Assignmwnt which you hav don in info typ 0000 (Prsonnl area) will be as non editbl fild in info typ 1
i would like suggstest. instead of doing personnel area field editible, met ur requitmet with prsonnel subarea on same info type 1.
If it is, there will be no problems
Friends correct me if i am wrong.
Edited by: MVRmvr on Aug 19, 2010 1:14 PM -
BADI / USER-EXIT FOR DEFAULTING THE FIELD VTTK-TNDR_ACTC IN TCODE VT01N
Hi,
I require a BADI / USER-EXIT for defaulting the field VTTK-TNDR_ACTC(Currency of Actual Shipment costs) to 'EUR' in transaction VT01N(Shipment Transaction) .
Please could anyone help me with this .
Regards,
Sushanth H.S.Hi!
User Exits in Transportation
In Transportation, there are enhancements that you can use with transaction CMOD.
For a detailed description of the individual enhancements, see the documentation on the individual enhancements or function modules in transaction SMOD.
You can display all enhancements that are available for the area of transportation by choosing F4 in the Enhancement field. Enter V56* in the Enhancement field and choose Execute. Enter V54* to get a list of all enhancements for the area of shipment cost processing.
Business Add-Ins in the transports
Business add-ins (BADIs) are predefined user exits. They enable businesses, partners, and customers to add additional softward to the SAP source code. The linkup of SAP's New Dimension Products, such as APO and BW, to the standard system is thus possible.
Customer-specific functions can be executed before the save time and after the database update.
The following methods are available for the BADI with the definition name 'BADI_LE_SHIPMENT':
AT_SAVE: BADI is called up at the time of the save. Checks and return to dialog are possible.
BEFORE:_UPDATE: BADI is called up right before the data is saved to the database, that is, when all the data is available (for example, internal ly assigned shipment number).
IN_UPDATE: BADI is called up after the database update.
Standard Settings
Creating a BADI method:
Call up transaction SE19. Enter a name of your choice. Choose "create" and in the dialog box enter the definition name 'BADI_LE_SHIPMENT'. Afterwards, enter a short text for implementation. Save the BADI.
On the tab page 'Interface', choose the method for implementation by double-clicking on it. Now you can enter your customer-specific program code. Save and activate the code. You can acess the transmission parameters entered in the BADI definition. With the method ***_AT_SAVE you can initiate the exception ERROR_WITH_MESSAGE (description 'An error message has occurred' ) if you wish to return to the dialog.
Afterwards, go to the heading and activate the interface.
Regards
Tamá -
Purchase order Field LIke Material , Non editable by using Trax code Me22n
Guru
How to make Purchase order Field LIke Material , Non editable by using Trax code Me22n
ThanksHi
Check this in SPRO- SAP IMG- Material Management - Purchasing- Purchase order- Define screen lay out at document level
In this select the particular field selection key and change the material field to display.
Hope it will do
Regards,
Raman
Maybe you are looking for
-
I need baby steps to understand where to go and what to do. I can't figure out how to do a diagnostic report. Seems like Windows would have links to click and open? Do I type the information in the address bar or what? Then, how do I submit the r
-
I have typos in my podcast description. Updating the RSS does not correct this. How can I get iTunes to re-read my RSS???
-
What are the differences between the models 6502, 6503 and 6543??
The frequency Brazilian 4G is 2600Mhz, which model should I buy and what is the difference between them??
-
Customer classification data from ECC to CRM
Dear Friends, We have the middleware active between ECC and CRM for customers. Now we have the requirement to download customer classification data (XD03->Extras->Classification) from ECC to CRM. Please suggest me how we can map this data in CRM and
-
Screen sharing preferences problem
When I upgraded to Yosemite, it seems to have changed my sharing preferences. I want to restrict sharing to certain users. I have 2 sharing only users set up. They work as they always have for file sharing. But they no longer appear in my users list