How to set a field as mandatory when another field contains specific values
Hi SAP Experts,
Is it possible to set the Plant Specific Material Status field as mandatory when the DChain-spec. status field contains a specific set of values? Thanks.
Regards,
Kim Yong
Hi Kim,
I think you can achieve this using the validation tab in the field.Add a new rule for validation select the condition as test and in the value you have use formula according to your senario.Select the 'Stop execution'.This will make the field mandatory.
I hope this helps...
Naga
Similar Messages
-
How to set Custom screen in ME21N when Payment Terms as particular value ?
Dear ABAP Experts,
I created one Custom Tab under Header level in me21n using screen exit MM06E005.
It's working fine. but My requirement is, whenever user will select Payment term as '0001' in Delivery / Invoice Tab then my Custom tab will open in ME21N t-code . My Custom tab will have different input fields which are entered manually, those values will store in Custom table(Z-table) when the user press save button.
So, How to do this?Hi,
The ME2xN transactions reads the user settings from table ESDUS using function module ES_READ_USER_SETTINGS, and save them at the end of the transaction using function module ES_APPEND_USER_SETTINGS.
You need to overwrite the displayed header tab number using ES_APPEND_USER_SETTINGS just at the beginning of the transaction. I think that a godd point to do this is in the subroutine INIT_TRANSACTION of report RM_MEPO_GUI. You can do this using the enhacement framework. I have tested it and it works for me. This is the code you should insert:
FORM init_transaction CHANGING ch_document TYPE mepo_document
ch_exit TYPE mmpur_bool
ch_requisitions TYPE mereq_t_eban_mem
ch_requisition_acc TYPE mereq_t_ebkn.
"""""""""""""""""""""""""""""$"$\SE:(1 ) Forma INIT_TRANSACTION, Inicio D
*$*$-Start: (1 )-----------------------------$*$*
ENHANCEMENT 1 ZTEST. "active version
*Expand header------
CALL FUNCTION 'ES_APPEND_USER_SETTINGS'
EXPORTING
iaction = 'PurchaseOrder'
ielement = 'DYN_4000-BUTTON TOGGLE_STATE'
iactive = '2'.
*Move to 2nd tab ----
CALL FUNCTION 'ES_APPEND_USER_SETTINGS'
EXPORTING
iaction = 'PurchaseOrder'
ielement = 'HEADER-TABSTRIP SUBVIEW_INDEX'
iactive = '2'.
ENDENHANCEMENT.
*$*$-End: (1 )-----------------------------$*$*
DATA: l_ebeln TYPE ekko-ebeln,
l_ebelp TYPE ekpo-ebelp, -
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 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. -
How to set the POV in WebAnalysis when data source is HFM?
Hi Every one..
Could any one tell how to set pov in web analysis when data base is HFM. And hoe to make the report Dynamicall (Current Pov Member like in FR). for this if use Essbase Ican get it it easiliy by using Subtitutional variable but is ti possible fo rHFM.
Thnaks in advance
Raoyeas agree with sanakar,
this field which shankar is talking about must be entry date (if u delta timestamp is date, u will also have to mention this table field name in definition of delta), this means that this field will catch last change to the record, so that it will be delta enabled based on the latest change date. This is very important becuase if u use date like posting date to the delta then back dated posting will not captured in to the delta, as delta for this back date is already been done.
Hope u understand this. -
How to set a rescue email address when I already have an Apple ID. Actually I forgot my security questions.
You won't be able to add one until you can answer your questions, you will need to contact iTunes Support / Apple to get the questions reset.
Contacting Apple about account security : http://support.apple.com/kb/HT5699
When they've been reset you can then use the steps half-way down the HT5312 page that you posted from to add a rescue email address for potential future use -
How to set Character field's Format Mask?
dear all,
how to set Character field's Format Mask?
i searched the forum and found the following, where can i use this code and how to change and set its format mask.
SRW.SET_FORMAT_MASK('mask');
Thanks
Muhammad NadeemNadeem,
If you have database 10g, look into function REGEXP_REPLACE. Otherwise you can also try this (you might already know).
SELECT SUBSTR('CHHOCMIPO07020001', 1,2)||'-'||SUBSTR('CHHOCMIPO07020001' ,3,2)||'-'||
SUBSTR('CHHOCMIPO07020001' , 5,2)||'-'||SUBSTR('CHHOCMIPO07020001' , 7,3)||'-'||
SUBSTR('CHHOCMIPO07020001' , 10,2)||'-'||SUBSTR('CHHOCMIPO07020001' , 12,2)||'-'||
SUBSTR('CHHOCMIPO07020001' , 14,4)
FROM dual
CH-HO-CM-IPO-07-02-0001
If you have to use this at many places, create a function, pass the raw value, manipulate the string and return.
FS -
How to set my own gui status when i use selection-screen
how to set my own gui status when i use selection-screen command
and
how to set the names in the application tool bar when function keys are createdMake sure that you do this in event "AT SELECTION-SCREEN OUTPUT".
Run Txn ABAPDOCU and check 'DEMO_SEL_SCREEN_STATUS' for sample.
Also check out following discussion -
Selection Screen PF-STATUS
Cheers,
Sanjeev -
How to set the field SKB1-FDLEV as requestred-entry in G/L Master data?
Hi All,
Could anyone tell me how to set the field SKB1-FDLEV as requestred-entry in G/L Master data?
Thanks
Gandalfhi
Go to OB26
select Your criteria ( create, change or display)
double click on it
again double click on Bank/financial details
there you will find the Planning level make it require entry
save
with regards
ramanuja chary -
How to set change number is prerequisite when change BOM?
Dear SAP Experts,
I have actived EC management in BOM control data in IMG. But when i changed
BOM ( the code CS02 ) with change number blank, system had not given an error message. SO,how to set change number is prerequisite when change BOMs?
Thanks...
Regards,
Joey.Just a guess: Transaction os27 and change the number range to external.
Matthias -
Does anyone know how to set up the wireless router when y...
does anyone know how to set up the wireless router when you have a Vonage modem and a cable modem? HELP!
You mean u got 2 modems ?
C | EH
linksyshelp.blogspot.com -
How to set the default selection to "Select All" in a Multi valued parameter in SSRS 2008?
Hello Everyone,
How to set the default selection to "Select All" in a Multi valued parameter in SSRS 2008?
Regards
Gautam S
RegardsYou need to specify "Default Values" in the report parameter property. Choose similar option used in the "Available Values" option, this will allow the parameter to check "Select All".
Regards, RSingh -
How to stop the prodution order creating when the product is not valued?
Hi guyes:
How to stop the prodution order creating when the product is not valued using CO01?
I hope that when i create the production order,the system will check the product is valued or not,if not
the system will show an error or warning message!
How to config for this?
Thank you!Dear Zhao Gang,
Check with this user Exits mentioned in this link,
Prevent Production Order from "Release" if there is no Cost Estimate
Re: User Exit at Production Order Release
Check and revert back.
Regards
Mangalraj.S -
How to set up e mail account on 5C? be specific on what to place where
How to set up e mail account on 5C? be specific on what to place where
be specific on what to place where
Is that a request or instruction ?
http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
User guide
and
http://www.apple.com/uk/support/iphone/mail/ -
how can i do with labview program,when i have 20 different values,and 1 want to add it with constant value.and how to get the results?
Why do the 20 values have to be different? The same code should work even if some are equal.
What do you mean by "get the result"? The result is available at the output terminal and all you need is a wire to get it where you need it. That could be an indicator, another operation, or even a hardware device.
What is the data type of the 20 values? An array? A cluster? A bunch of scalars? A waveform? Dynamic data?
LabVIEW Champion . Do more with less code and in less time .
Maybe you are looking for
-
Login error in 11.5.10.2
Hi: We have 11.5.10.2 on unix with 10g db. I can access all instances but not this one. After login click on any form, I got or this time when I enter my login infor got error as below: Error Page You have encountered an unexpected error. Please cont
-
MIRO Equivalent of MIGO exit_saplie01_007 (FG XQSM Inc ZXQSMU06)
In MIGO, there is an exit (exit_saplie01_007) that lets you pop custom screens, etc. after the user hits POST and before the MIGO update task is called. IOW, this exit fires "within" the dialog process of MIGO, not the update task. Does any one know
-
Lightroom 3.6 and Nikon D5200 Compatibility
I have been using Lightroom 3.6 for a few years.I recently bought a Nikon D5200. I shoot exclusively in RAW. When I tried to import my RAW images, a message says it does not recognize the Nikon D5200. I tried converting my setting to import as DNG an
-
Hello everybody, I have a problem while trying to align small pictures in the text. Id like to insert small buttons in the text, as if they were text characters (see http://img25.imageshack.us/img25/4169/correctalignment.jpg ) Now the text overwrites
-
Every time I try to apply a filter of liquify etc program crashes why?
whenever I try to apply a filter ps6 just closes