Grey out 'Overall Limit' field in ME23N/ME23
In ME23N (ME23), the 'Overall Limit' value of (Limit) Purchase Orders within the Limit tab can be amended even though the Purchase Order has been created and released. Once the Purchase Order has been released the 'Overall Limit' value needs to be locked unless the Purchase Order has been un-released.
Can someone tell me how this can be done?
John
Hi John,
please check also the note 672719 question 2 related to this issue. The system behavies the same in case of PO's. Unfortunately the field selection settings in transaction ML90 do not have an effect on this behaviour.
Additional information:
If you are working with the release (approval) procedure for purchasing
documents, the expected value serves as the basis for a release strategy applied
to this document, not the overall limit field.
Best regards,
Edit
Similar Messages
-
How to make 'Overall Limit' field as display only in ME22/ME22N
Hi,
I want to make the 'Overall Limit' field as display only in transation ME22/ME22N (only for Service Items).
I can make the field display only for ALL Service Items by going to:
SPRO u2013 IMG - Material Management - External Services Management - Define Screen Layout
and making the 'Overall Limit' display only for PT1 (Blanket Items). But this also stops any entry into this field even for creation of Purchase Orders! When I try the same thing for ME22 (Change Purchase Order) it does not work.Hi
You can make it greyed out like this:
Go to materials management -> external service management -> define screen layout -> copy field selection key ME22 -> enter new key as ME22N -> choose category of field selection to 2 -> click on value limit -> make overall limit as display.
Then for Tcode ME22N, this field will be greyed out.
Thanks -
User Exit for validating overall limit field and expected limit field-ME2xN
Dear Gurus,
Can you please suggest me any user exit or BAdi to validate the overall limit field and expected limit field in transaction ME2xN.
Or any other way to to achieve this functionality in ME2xN.
Our Requirement is while raising a service PO in the Limits tab the 'Overall limit' should be same as 'Expected Value', at present the user can enter overall limit greater than 'Expected Value'.
Regards,
Priyank Joshithis will not work. you cannot add another structure (AUFK) on top of CEBAN. all characteristics have to be of one structure and since you want to release a PR it has to be CEBAN. before attempting to program something around that why do you not go to tx. OLME -> PR -> Release Strategy -> With Classfication -> Release Strategie and run it in a simulation mode. you will then see how it reacts.
there's a white-paper on service.sap.com explaning in detail release-strategies. it's a good one and a good read too! -
By default one field should be greyed out( not input field)
hi all,
My requirement is
By default one field should be greyed out( not input field)
when i click on a check box and press enter this field should be open to put input values.
can some somebody please give me sample code for both PBO and PAIHi Ram
In flow logic.
PBO
module screen_modify.
IN main program
module screen_modify.
loop at screen.
if p_cb = space.
if screen-name = <Name of your screen field>.
screen-input = 0.
screen-output = 0.
modify screen.
endif.
endif.
endloop.
endmodule.
P_cb is the checkbox. -
Greying out the particular field of active group
hi guru's
we have requirement of greying out a particular field of active screen group
say for eg:
LOOP AT SCREEN.
if screen-group1 EQ 'PUR' OR screen-group1 EQ 'SAL' OR screen-group1 EQ 'FIN'.
screen-input = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
AT SELECTION-SCREEN OUTPUT.
if rb_md EQ 'X'.
LOOP AT SCREEN.
if screen-group1 EQ 'PUR' OR screen-group1 EQ 'SAL' OR screen-group1 EQ 'FIN'.
screen-input = 0.
ELSEIF screen-group1 EQ 'MAS'.
screen-input = 1.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ELSEIF rb_td EQ 'X'.
LOOP AT SCREEN.
If screen-group1 EQ 'MAS'.
screen-input = 0.
Endif.
MODIFY SCREEN.
ENDLOOP.
if rb_pur EQ 'X'.
LOOP AT SCREEN.
if screen-group1 EQ 'SAL' OR screen-group1 EQ 'FIN'.
screen-input = 0.
ELSEIF screen-group1 EQ 'PUR'.
screen-input = 1.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ELSEif rb_sal EQ 'X'.
LOOP AT SCREEN.
if screen-group1 EQ 'PUR' OR screen-group1 EQ 'FIN'.
screen-input = 0.
ELSEIF screen-group1 EQ 'SAL'.
screen-input = 1.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ELSEif rb_fin EQ 'X'.
LOOP AT SCREEN.
if screen-group1 EQ 'SAL' OR screen-group1 EQ 'PUR'.
screen-input = 0.
ELSEIF screen-group1 EQ 'FIN'.
screen-input = 1.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
ENDIF.
in the above code
say for eg: the active group is 'SAL' in which i want to grey out one field say as parameter p_doc as invisible always
what i need to do
with regards
s.janagarhi
may be this code can help you:
selection-screen begin of block b1 with frame title text-001.
parameters : p1 radiobutton group r1 default 'X' user-command ac,
p2 radiobutton group r1,
selection-screen end of block b1 .
selection-screen begin of block b2 with frame title text-002.
select-options : p_eg for mara-matnr modif id SAL
parameters : p_doc like mara-matnr modif id PUR.
selection-screen end of block b2.
at selection-screen output.
if p1 = 'X'.
loop at screen.
if screen-group1 = 'SAL'.
screen-input = '0'.
screen-invisible = '1'.
modify screen.
endif.
endloop.
elseif p2 = 'X'.
loop at screen.
if screen-group1 = 'PUR.
screen-input = '0'.
screen-invisible = '1'.
modify screen.
endif.
endloop.
endif. -
Overall limit field is to be display or supressed in case of service PO
dear sir,
i making service purchase order using the service master record number .In item details limit tab is there , in this overall limit is there , i want to supressed or display this field.Whether it is possible, if yes where i can do setting so that in case of particular purchase order document type , with service no entered and in limit tab , overall limit is only in displayed form or either gets supressed.
thanks & regards
shailendradear sir ,
i am working in SAP 4.7 version , according to your reply i follow the path describe in mail
spro-mm- external servicesmanagement - define scree layout following sccreen come
Field sel. key ME21 Description Create purchase order Cat. of field sel. 2
Fld.sel.1 ......................................................................
Fld.sel.2 ...................................................................... -
Version to be invoked only for overall limit field in service PO
Hello,
I have service PO where we get the Limits tab in Item Level.
In the Limits tab we have
Overall limit and Expected value
Normally , release statergy is based on the expected value But the client requirement is to change based on the Overall limit. I have found the enhancment and added the required code and now Release statergy works based on the overall limit.
But what i face issue here is Version is invoked for Both the fields. I just want version to be trigered only if there is a change to Overall limit
How can we acheive this in ?
SenthilHi Senthil,
You should check Transaction SWEC and if there is a condition defined there for object EINKBELEG and BUS2012. If it is there remove it and your release strategy will work based on your enhancement on overall limit. Also could you please share the code what to did in the enhancement.
Thanks
Ramki -
Grey out the input field as soon as check box checks on selection screen!
HI Experts,
In my report selection screen I have input_field1, input_field2, check_box1. Both input fields are mandatory fileds.
My requireemnt is: If user as soon as checks the check_box1, the first input_field1 must go grey out (not allow allow to enter)!
So I have assigned a user command to check box and assigned a modif-ID to the input_field1
and wrote a LOOP AT SCREEN code as below,
PARAMETERS show_all AS CHECKBOX USER-COMMAND flag.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS: p1 TYPE c LENGTH 10,
p2 TYPE c LENGTH 10,
p3 TYPE c LENGTH 10.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
PARAMETERS: p4 TYPE c LENGTH 10 MODIF ID bl2,
p5 TYPE c LENGTH 10 MODIF ID bl2,
p6 TYPE c LENGTH 10 MODIF ID bl2.
SELECTION-SCREEN END OF BLOCK b2.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF show_all <> 'X' AND
screen-group1 = 'BL2'.
screen-active = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
But,am getting an error message saying "Enter all required fields"
Pls. let me know how to fix this?
Thank youI assume P1, P2 and P3 are marked as obligatory.
You cannot achieve that. But here is an alternative to achieve a similar functionality.
AT SELECTION-SCREEN.
CHECK sy-ucomm EQ 'ONLI' OR sy-ucomm = 'SJOB' OR sy-ucomm = 'PRIN'.
IF p1 is INITIAL or P2 is INITIAL or P3 is INITIAL.
MESSAGE 'Enter all required fields' TYPE 'E'.
ENDIF.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF show_all = 'X' AND
screen-group1 = 'BL2'.
screen-input = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP. -
Want to grey out (Non-editable) field in Additional Tab in Header of ME21N
Hi all,
i've got a requirement to grey out the field(Non Editable) of header tab in ME21N.
Can anybody tel me the solutions.
Rgds,
SpandanQuestion asked again, and again, and again, and again. Search for "grey out" (and please read forum rules as it seems you didn't)
-
Grey out the Time field in date assignment block
Hi All,
In my project we need to create a date profile in which i need a date rule to get today date and the time should be greyed out. i tried all day event but not working out for Zdate type. I tried different date types but Time field is not greyed out ( changing time to 00:00 is possible but client needs time to be empty)
With regards,
Selvam THi Selvam,
as far I understand you want to define a certain date type as read only. There are several different ways to achieve your requirement:
date profile customizing: you can set the date as read only
I did not get your requirement of the time field, you can however play around with the following display customizing:
use BAdI CRM_APPOINTMENT_BADI to influence the appointment set
enhance the UI component, using the I-getter you can change a field to read only on UI level
I hope this helps.
best regards,
Johannes -
ME21N - 'Overall limit' field validation
Hi,
I have a problem to validate field "overall limit" in Limits tab. I can't find that field either in user exit or Badi for ME21N. Can anyone help me?
ThanksCan u tell the exact location of that field...
its in header level or item level...
then i will be able to help u... -
BADI/user exit for me22n - disable/grey out field quantity (MEPO1211-MENGE)
Dear all SAP gurus,
When changing PO (ME22N), I need to disable (grey out) the quantity field on item (MEPO1211-MENGE), when all scheduled quantity is already received (EKET-MENGE = EKET-WEMNG).
Have tried using LMEIGICJI and Handle_event method in CL_SCREEN_VIEW_MM. But still doesn't go to the screen that wants to be disabled.
Tried using BADI ME_PROCESS_PO_CUST, but couldn't find how to disable the quantity field.
(IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM only works for custom field).
Please kindly advise
thanks in advanceHi Ahmad,
No need of ABAP, follow this IMG Path.
Material Management -> Purchasing - Purchase Order -> Define Screen Layout at Document Level
After Executing it . Choose ME22 from list and then choose display icon.
than double click Quantity and Price here uncheck opt. Entry and check display.
save your work.
Hope this works.
Regards
Ahsan -
Grey out fields in selection screen
experts help needed
i want to display in the selection screen like this
sales org k918
doc type zior
divison 10
distribution channel 20
file name /info/ordersinfo/india/incomming/order/order.txt
1) i want all the sales org ,doc type ,division,dis channel to be greyed out in the selection screen
2)file name : the path i have mentioned is the application server path where my text file
order.txt will be there.
this i want the user to type this text and also i need to display this as default value.
i tried like this
parameters : p_file type string default /info/ordersinfo/india/incomming/order/order.txt.
it is giving error. Please help me how to do thisHi,
Try like below:parameters : p_file type string default '/info/ordersinfo/india/incomming/order/order.txt.' obligatory.
and then in order to grey out your other fields
at selection-screen output.
Loop at screen.
if screen-name = 'SALES ORG'. <<<Name of the parameter that you have declared
screen-input = 0.
modify screen.
endloop.
Similarly you can do for other fields too.
Regards,
Himanshu -
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 . -
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.
Maybe you are looking for
-
Trouble installing older version of Photoshop Elements on Windows 8.1
I'm having trouble installing an old version of Photoshop Elements (I have no need to upgrade) on Windows 8.1 - it keeps saying I need Internet Explorer 4.0 or above, though I have IE 11. I've tried the regedit fix mentioned here: Elements needs vers
-
I can't install Acrobat 9 on a new computer; it says my serial number is wrong
I de-authorized my subscription from an older computer & want to set up Adobe Acrobat 9 Pro on a new, windows 7 computer. I believe I downloaded the correct software, but when I go to enter the serial number it tells me I have the wrong number. Help
-
Issue with changing ZeroViewForNonAdj and ZeroViewForAdj
Hi, We have an issue with ZeroViewForNonAdj and ZeroViewForAdj settings. Our goal is to load every third month from Planning to the forecast scenario. We started with April and had the ZeroViewForNonAdj and ZeroViewForAdj settings as YTD. When we loa
-
Ios7 I want to include an image in my email signature. How?
I have been trying to add an image to my signature on either my iPhone or iPad. Settings/mail/signature does show what I want, but only the text shows on an email aging with a very small square. I have tried many image sizes and formats. Any ideas?
-
Do I have to re-calibrate my compass every time I open it?
I just noticed that when I go into multitasking in iOS 7 on my iPhone 4S and close the compass app, the next time I open it again I have to re-calibrate it by rotating the little red ball around the compas rose. Is this normal?