Grey out Costcenter field in ML81N Transaction
Hi All,
Is there any way to greyout the Cost center field in ML81N Transaction in change mode?(either with configuration or with ABAP).
I want this in "Account Assignment of Service line" which will get from Account Assignment.
thanks in Advance
closing as no replies
Similar Messages
-
Grey out / Display fields in BBPIV02 transaction
Hi,
What is best option to grey out/display some fields on Invoice BBPIV02 ?
Some of fields are from
1. Header level
2. Item overview
3. Item details
4. Search criteria screen etc
Any suggestions???
Regards,
Rahul MandaleHi,
This is the sample code for Bid invitation screen fields:
*To make the TYPE OF PUBLICATION field under BASIC DATA tab in BI screen as display only
IF iv_fieldname = 'BBPS_BID_UI_HEADER-BID_TYPE'.
cv_input_ready = c_space.
ENDIF.
*To make the responsible Purchasing organisation field display only
IF iv_fieldname = 'BBPS_BID_UI_HEADER-PROC_ORG'.
cv_input_ready = c_space.
ENDIF.
*To make the responsible Purchasing Group field display only
IF iv_fieldname = 'BBPS_BID_UI_HEADER-PROC_GROUP'.
cv_input_ready = c_space.
ENDIF.
*To hide the links for WEIGHTING and ANALYSES
IF iv_fieldname = 'SB_HWEIGHT'.
cv_invisible = c_mark.
ENDIF.
HTH.
You can debug at runtime and see the structures and names for the fields/buttons as per the INVOICE screen.
BR,
Disha.
Pls reward points for useful answers. -
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 -
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. -
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,
sijoHi,
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 . -
Greyed out screen field in transaction but modifiable by batch input
Hi Gurus,
I have a requirement where a custom screen field in a transaction (FK01/FK02/XK01/XK02) has to be greyed out when a user access these transactions. However, these fields will have to be modifiable when LSMW/batch input is being done.
I hope someone can advise how I can do this.
I'll definitely reward points for helpful answers.
Thanks so much.
Rgds,
JoyieDeclare on your layout input is 0. Or the field cannot be filled by value.
After you have done that, create some code like this:
Loop at screen.
IF sy-batch is not initial or sy-binpt is not initial.
if screen-group1 = 'ANL'
screen-input = '1'.
endif.
endif.
endloop.
Hope it helps solve your problem. -
How to Grey out the field "tracking number" during change mode in the order
HI Expert,
How to grey out the Tracking number (AFVGD-BEDNR) at Order -> Operation tab -> external tab ->tracking number.
during creation IW31 = not grey out and allow entry.
for change mode IW32 = grey out
if i set grey out at config OIOPD, it will grey out even during creation mode.
Please advise
Thanks
RegardsHi
I think Using field selection it is not possible to make as display ,kindly check with screen or transaction variant -SHD0
regards
thyagarajan -
Select option greyed out for fields of custom DataSource (rso2, rsa6)
Hi
Why are several fields, in my custom DataSource (created in rso2) not available for select?
I do not think this is a permission issue, since several fields are selectable, but not all fields.
It is not the data type, since I see other custom DataSources that have the same data type, and it is selectable as a select option.
This is not a DataSource that was provided by SAP, it is completely custom, and uses a custom data definition (defined as a structure via se11), and a custom function.
I have read the responses to similar questions, but have not found an answer that explains how to make the field selectable for select.
What determines which fields can be selected for selection, and which fields have this option greyed out (not selectable)?
I have come across multiple answers, for similar questions, that suggest an abap program to directly update table roosfield.
Is this safe?
IF I choose this route will I need to run the update program on production, or will the change it makes to my dataSource transport with my transport?
(I can test this).
What I most need to know is If this suggestion is safe, or if it has side effects?
Thank youHi Eileen,
In Least case to enable the selection for the fields with the below program:
Below code is for your reference which will use to unhide objects in RSO2 or RSA6 for Data source( in code for BELNR, KUNNR, VBELN, BUDAT fields are unhiding for 0fi_ar_4 data source selection option) . Still need any clarifications let me know.
SE38: Create a program for ref below code.
REPORT ZNP_SELE_DS.
tables: ROOSFIELD.
UPDATE ROOSFIELD SET SELECTION = 'P'
WHERE OLTPSOURCE = '0FI_AR_4' AND OBJVERS = 'A' AND FIELD = 'BELNR'.
UPDATE ROOSFIELD SET SELECTION = 'P'
WHERE OLTPSOURCE = '0FI_AR_4' AND OBJVERS = 'A' AND FIELD = 'KUNNR'.
UPDATE ROOSFIELD SET SELECTION = 'P'
WHERE OLTPSOURCE = '0FI_AR_4' AND OBJVERS = 'A' AND FIELD = 'VBELN'.
UPDATE ROOSFIELD SET SELECTION = 'P'
WHERE OLTPSOURCE = '0FI_AR_4' AND OBJVERS = 'A' AND FIELD = 'BUDAT'.
Thanks & Regards,
Srinu.Rapolu -
Grey out custom field in VA02 line item
Hi,
We have this custom field in sales line item which we want to grey out after billing is done. I tried many things but it didn't wrk. I wrote simple code w/o checking any billing condition like
if screen-name = 'VBAP-ZZFIELD'.
screen-input = 0.
endif.
modify screen.
but even this didn't wrk. Is there anything due to which the dynamic chging of screen fields attr has no effect ? Like if we set some attribute on screen field or ny thing else.
Thx.You did put the code in MV45AFZZ include, form USEREXIT_FIELD_MODIFICATION?
For example...
if sy-tcode eq 'VA01' or
sy-tcode eq 'VA02'.
if sy-dynnr = my_screen_no. "four digit screen no.
loop at screen.
case screen-name.
when 'TABLE-FIELDNAME' "exactly as it appears on that screen
screen-input = '0'.
modify screen.
endcase.
endloop.
endif.
endif. -
Dear All,
Is there a way to grey out (disable) the language field in SAPGUI?
I don't want users to choose there language. I want them to connect whith the language I have set by default for them.
Many thanks for your help.
Best Regards
Edited by: David BROSSEAU on Apr 6, 2010 10:26 AMHi David,
Sorry, I can´t solve your problem, but maybe you can help me:
I am looking for a possibility to change exactly this language of the SAP-Gui. We are using the NetWeaver SAPSetup Deployment Tool. Do you have a hint how to set this language?
kind regards from Austria,
Andreas Tösch -
Locking / grey out long text data in transaction IW32
Hi, I read in Locking/grey out long text data (From Coding point of view ) that there is a way to block the long text description via configuration.
Well. Could you tell me how to do this, please???
Thanks a lot!I set a breakpoint there and the program never stop there.
I'll try to describe my problem.
I go to IW32 transaction, at the components tab I click on the Long Text button of each component of the order and I can modify it. Well, the client doesn't want that.For a type of order, the user cannot modify that text.
The more strange thing is that I tried to get the text with READ_TEXT function with the same parameters as the standard and it tells me that the text doesn't exists.
I'm starting to hate this module.... -
Grey out screen Fields after entering input using F4 help without an enter code
Hi Experts,
We have a requirement where we want the Input field on a dialog box screen to be greyed Out as soon as the user enters an
input in the respective field using F4 help without processing an ok code in PAI .
Hence we want to achieve a secured input feature that prevents user from altering the values coming from check table.
Regards
KunalHello Kunal,
Try below code, it works for me.
TABLES : MARA.
DATA: BEGIN OF IT_MARA OCCURS 0,
MATNR LIKE MARA-MATNR,
END OF IT_MARA.
DATA : IT_RETURN TYPE STANDARD TABLE OF DDSHRETVAL WITH HEADER LINE.
PARAMETERS: p_matnr LIKE mara-matnr.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
SELECT MATNR FROM MARA UP TO 10 ROWS INTO TABLE IT_MARA.
SORT IT_MARA BY MATNR.
DELETE ADJACENT DUPLICATES FROM IT_MARA COMPARING MATNR.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'MATNR'
DYNPPROG = SY-REPID
DYNPNR = '1000'
DYNPROFIELD = 'P_MATNR'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = IT_MARA
RETURN_TAB = IT_RETURN
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT SCREEN.
IF SCREEN-NAME EQ 'P_MATNR'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Regards,
Thanga -
Hello Experts,
I need help and its not urjent,
i am working on dilog programming i have one screen and on that screen one table cotrol is there and when ever the user scan article all description show on another screen , user scan so may articels in one day but some time it happend user over write on same articel so perviuos article has not showing the details it means it is overwritting prob in screen which user do not want ,
so pls help me how to grey that field when ever user enter articel number s .
Thanx in advence.
Edited by: Rob Burbank on Oct 31, 2009 3:28 PMHi,
You can Grey out like below.
<li>Define Columns table based on table control
CONTROLS TABC TYPE TABLEVIEW USING SCREEN 100.
DATA: COLS LIKE LINE OF TABC-COLS.
<li>Write the below code in the PBO of the screen to hide certain fields
"At runtime as TABC is deep structure which has COLS table
"inside we have to do the following.
"Write condition when the articel number should be Grey out.
IF ITAB-ART_NO = 'S'.
LOOP AT TABC-COLS INTO COLS.
IF COLS-SCREEN-NAME = 'ITAB-ART_NO'. "Which is to be hidden
COLS-SCREEN-INPUT = '0'.
MODIFY TABC-COLS FROM COLS INDEX SY-TABIX.
ENDIF.
ENDLOOP.
ENDIF.
<li>Write the above LOOP-ENDLOOP in the pbo of the screen flow.
Thanks
Venkat.O -
I need to grey out the field at 2 locations?
Hello
I have page1 and page3 in my_form. Page1 has field with caption 'COUNTRY', Page3 also has the same field (Caption is COUNTRY's NAME), and BINDed with same data source, and the NAME is same in BINDING tab, in both fields NAME is UR_COUNTRY in BINDING tab, fine.
Requirement is to make it grey out (at 2 locations, its Page 1 and Page 3) and ReadOnly as well, so, i am wring the below Java Script in my_form's docReady event
my_form.Page1.Address.COUNTRY.access = "readOnly"
xfa.resolveNode("my_form.Page1.Address.COUNTRY.ui.#textEdit.border.fill.color").value = "192,192,192";
Its greying out in Page1's COUNTRY field, but NOT greyinh out the Page'3 COUNTRY's NAME field!! not sure why?
Pls. let me know How can i do it WITH OUT code redenncy (code redenency is not accepting against standards here)? I do not want to repeate the code again in Page3's COUNTRY's NAME field initialization event
Thank youHi,
In your script you are only referencing the object on Page1. If you also want to change the appearance of the object on Page3, then you will need to duplicate the lines and reference that object specifically.
Also, you can make the fill color script a bit leaner/generic:
COUNTRY.ui.oneOfChild.border.fill.color.value = "192,192,192";
Hope that helps,
Niall -
CS5 Greyed out input fields in InDesign
I've run into a similiar problem as stated here: http://forums.adobe.com/message/5212634
Recently, InDesign stopped displaying the menu fields for any sort of input within the application. For example, when creating a document, I can't input a width or height or page numbers. Inside a document, I can't change the font size or type. Even when exporting as a PDF, the prompt box's won't allow me to change any of the fields.
I've restarted InDesign and my computer, and after that didn't work, I reinstalled the application, but the problem still remains. I don't know what to fix or what is even broken. I've never heard of this problem happening to anyone, and from searching around on the web, it seems pretty rare.
Any help or suggestions would be very much appreciated.
I'm on OS 10.6. I've followed the discussion thread of the previous post and I was at the step of creating a different user to see if the problem persisted in a new account. In my case the same problem persisted. Can anyone advise how to proceed?
I have accidentally deleted system fonts but I have used Pacifist to replace the default fonts.Thanks for all your help guys, I had our IT guy at work take a look at it and even he couldn't figure out the problem. We uninstalled all the adobe programs, wiped all traces of adobe off the hard drive then further probed and cleaned all the files that weren't necessary then reinstalled it and had no luck.
What I ended up doing was upgrading to OS 10.8 and when I finished updating from the upgrade, I got this message when I tried to test the adobe programs by opening Illustrator (I had issues with illustrator first then somehow indesign started crashing as well):
Once I ran the install they were asking for Illustrator was fine and my indesign greyed output boxes were fine too. I'm not sure if it was a Java issue or fonts issue. Perhaps a combination of both? Anyway it's all fixed now. Thanks again for your help!
Maybe you are looking for
-
Hello everybody, I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ? I share one I
-
Starting some time late last night (Eastern time), it appears that email notifications started getting sent with HTML markup (i.e. carriage returns are being replaced with < br />). The MIME type of the message, though, still indicates that the messa
-
Trying to connect mac laptop to pa to record ?
How do you connect and set up garage band when trying to record off pa music system direct to mac?
-
Hi, I've downloaded Zip files "CD1" and "10.1.3.5.0 patch" (x86) from [Application Server 10g Release 3 (10.1.3.x) Downloads|http://www.oracle.com/technology/software/products/ias/htdocs/101310.html] . After installing the former, the latter won't in
-
When does the RMI Client socket be created?
Hi, I have created my own RMIClientSocketFactory and RMIServerSocketFactory, it was just a normal socket with some print statements. Example: ============================================================ public class MyRMIClientSocketFactory implement