Value Check in PM01
Hi,
I have implemented a check table for a custom data type. The check table is working as intended when implementing a report:
PARAMETERS: ?
I have assigned a foreign key to the component but the check is not executed. Is it possible to make it work?
Thanks.
/ Björn
Hi,
here is how you do it:
1) <b>PM01</b> choose 3rd tab
2) Write the infotype number
3) Select <b>include screen</b> and press <b>edit</b>
4) Under <b>subobjects</b> selection <b>Element list</b> and press <b>Display</b>
5) Select <b>Special attr.</b> tab
6) Check <b>Foreign key</b>
/Elvez
Similar Messages
-
Checkbox item: How to get all values checked?
See http://htmldb.oracle.com/pls/otn/f?p=24317:46
The report query is simply
select
'One' one,
'Two' two,
'Three' three,
'Four' four
from dualThe checkbox item is a named static LOV with STATIC2:ONE,TWO,THREE,FOUR and a Source value of ONE:TWO:THREE:FOUR so that all boxes appear checked when the page is first rendered.
All the 4 columns have a column condition like
instr(':'||:P46_COLS||':',':ONE:') > 0to ensure that column is rendered only if the corresponding checkbox is checked.
The report has Dynamic column headings with the following PL/SQL function body
return 'ONE:TWO:THREE:FOUR';To my (pleasant) surprise, this works very nicely. When column TWO is conditionally not rendered, its corresponding column heading is also skipped with no effort on my part. Nice.
Question:
Instead of "hard-coding" that string ONE:TWO:THREE:FOUR in the 2 places I mentioned above (checkbox item source and report heading), is there a way to access the "all values checked" version of that LOV item so that it will dynamically pick up the latest LOV changes? The way I have done it currently, if I change the named LOV, I need to also change those 2 places where I have hardcoded the values.
Any ideas? ThanksScott:
I thought about that but the LOV has dozens of values, each with a verbose display value and a return value of the column name (upto 30 characters) and the display values are still being "worked on" by the users.
So, the "all columns" string would be a big, unweildy string that would be hard to edit.
It is much easier to edit, resequence and generally work with a Shared Component LOV defined as a Static LOV because you get that nice page (4000:4111) where you can read everything nicely formatted instead of a STATIC2:<big long string>!
Can I have my cake and eat it too?!
Thanks -
Other value check button disabled on Values of batch char
The other values check button gets disabled after batch char. is
created. We have many batch chars which have been created already and
we need to link them to Master inspection characteristics. We can't
link the qualitative characterisitcs to MIC unless selected set is
assigned to batch char. This requirment is not for quantitative char's.
So those are working fine. But qualitative characteristics are not
working because of this issue. Please let us know what is the
fix/workaround.The qualitative general characteristic has already been used and has values recorded in batches from what you are indicating. You will not be able to change this characteristic unless you delete all the characteristic values from the batches, then delete the characteristic from all classes it is used in. Once added, you'd have to go back to each batch and select the right value for each batch that had a value prior to the change. This is usually not practical in a live system.
You will need to make a new general characteristic from scratch and link it with your MIC's. Then add the new characteristic to the classes. I suggest you change the old general characteristic to 'hidden' in all the classes so users don't use it anymore.
You will need to update any COA profiles using the characteristic and any batch search strategies as well. For COA's, you can include both the old and new characteristic and make them both optional. One or the other should then print. At some point in the future, go back to the COA profiles and delete the old characteristic and make the new one required.
There is no 'easy' fix for this. It is time consuming in a live system. You might be able to set up a couple of LSMW's to help ease the pain depending on how many you have to change.
Craig -
Apex 4.0: Change the Search Field to a Multi Value Check Box IR
I am new here, but hoping to be active :)
Well, now I am focusing on Apex 4 and I find really new things here. And even new order to develope needs time to get used.
Still, I am trying to change the Search Field to a Multi Value Check Box in IR. I have found how to make it in Apex version 3, but not at 4 any more.
Tutorials for apex v.3 write:
1.Click Edit Page 1 on the Developer toolbar.
The Page Definition for page 1 appears.
2. Under Items, click P1_REPORT_SEARCH.
3. From Display As, select Checkbox ans so on...
But I do not find any word "Items" in IR and especially P1_REPORT_SEARCH (I assume this should be by default). Under "Report Atributes" I find "Search bar" region, just there is no option for that. Is here any way to make search with checkboxes in v4?Hi,
Tutorial you have check for APEX 3.x probably works still in APEX 4.x if you use classic report.
As I understand you have now create interactive report that provide out of box search features.
There is no option to change IR search text field to multi select item.
What you can do with IR, is hide/disable search field.
Then you create multi select item and use it in report query where clause.
Regards,
Jari
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai -
CT04 - Changing characteristic Value Check procedure
Hi,
I want to change the value check validation for a an existing material characteristic from from the allowed values list to a chaeck table. I intende on on using the 'Other Value Check' button in the Values tab of CT04, but unfortunately this button is greyed out.
I would like to know if it is possible to start using a check table for an existing material characteriestic, and if so how?
Thanks,
RoyHi Roy,
The only way I've managed to do this was to delete and re-create the characteristic. It gets complicated as SAP wants you to remove all entries for the characteristic before deleting it which means you need someone able to do the LSMWs to remove then re-load the data once you've re-created the characteristic.
Regards,
John -
How to cancel rounding value check when convert pr to po use me59n or me59
hello every one,
I have a requisition that,customer want to cancel rounding value check when converting purchase requisition to purchase order use me59n or me59,but they want keep the function of check rounding value when create purchase requisition as mrp run.
does anyone happen to meet samiler question?Is there any way to solve it?
thanks
Edited by: p y on Aug 3, 2010 5:14 AM
Edited by: p y on Aug 3, 2010 10:07 AM
Edited by: p y on Aug 3, 2010 10:56 AM
Edited by: p y on Aug 3, 2010 10:57 AMwhat do you think based on what SAP should know whether it has to do rounding or not?
Why should SAP not round if a rounding rule is entered?
when a human is converting the PR to a PO, then a warning message is issued, if the user then enters the old quantity again, SAP accepts it.
A background program cannot do such decisions, it has to rely on given master data. -
Use of initial values check box in tables
Hi,
what is of use of initial values check box(after the primary key check box) in tables.
Regards,
SureshThe flag indicates whether field inserted in the database is to be filled with initial values. The initial value used depends on the data type of the field. I.e. type n(2) is '00'.
When you create a table, all fields of the table can be defined as NOT NULL and filled with an initial value. The same applies when converting the table. Only when new fields are added or inserted, are these filled with initial values. An exception is key fields. These are always filled automatically with initial values. -
Internal Order value check upon CM request entry
Hi,
We would like to receive an error message when the amount input in the sales order exceeds the available value of the assigned Internal Order (in the account assignment tab). Is this possible?
Currently, this happens only when we do the billing, where an FI document is generated.
Pls advise any user exit if any..Hi Kailash ,
What kind of value check are you talking about... Are you concerned wether budget is exceeding limit or not...
For doing that.. you can use SAP standard functionality using tolerance limit for avialibility control...
Check the SAP IBM Guide -> Internal Order -> Order Master Data -> Budgetary Control..
Kindly revert back for any further clarifications
Regards
Sarada -
How to cancel rounding value check when convert pr to po use me59n
dear all,
I have a requisition that,customer want to cancel rounding value check when converts pruchase requisition to purchase order use
t-code me59n,but they want keep the rounding value check when create purchase requisition when mrp running.i look up enhancement for this function,but didn't find any.so has any one can tell me a way to solve this question?
thanks a lot!
Edited by: p y on Aug 3, 2010 10:08 AM
Edited by: p y on Aug 3, 2010 10:10 AM
Edited by: p y on Aug 3, 2010 10:57 AMdoes anyone know it?
-
Other value check in characteristic
Hi,
I have character without 'other value check'.
now i have to change it - to add other value check - i want to add function .
how can i do it ?Hi Ida,
I am afraid I cannot help out here.
If you are referring to the change management in general, I suggest to post directly in a forum related to the corresponding SAP solution (e.g. Product Lifecycle Management (SAP PLM) is probably a suitable forum).
If your question is related to a UA case study / UA course, the best way to solve this is to post into the collaboration workspace that is the private workspace for UA lecturers.
Best regards
Sonja -
Value check in Default.LGF
Hi BPC People,
I'm a newby in BPC, so I have a lot of questions....but first one:-)
I want to calculate variable costs like "Rabat" or "Provision" and this should be progessive increase.
I tried the following, but e.g. if the GRINCOME-Value is "150" then the second REC-Statement overwites the first account-result(15) with zero.
So, I need something that do nothing if the result of the value check is zero.
*WHEN P_ACCT
*IS GRINCOME
REC(FACTOR=((%VALUE%>99)0.1), P_ACCT=DISCONINVOICE)
REC(FACTOR=((%VALUE%>999)0.6), P_ACCT=DISCONINVOICE)
*ENDWHEN
*COMMIT
I think is a very common process, so I'm hopful that you guys can help me.
Thank you,
juHi Kranthi,
I paste in default.lgf:
*WHEN P_ACCT
*IS GRINCOME
*WHEN %VALUE%
*IS > 99
*REC(Factor=0.1,P_ACCT=DISCOFFINVOICE)
*IS > 999
*REC(Factor=0.2,P_ACCT=DISCOFFINVOICE)
*ENDWHEN // Value
*ENDWHEN // P_ACCT
But I still get the following message (Complete version):
Application : PLANNING
Status : Failed
Submitted Count : 1
Accepted Count : 1
Rejected Count : 0
- Error Message -
Error running default logic (Unknown Dimension Name in Keyword: "%VALUE%:)
- Rejected record list -
Error converting records: The root element is missing.
I don't know, what's going wrong.
What's about the "Unknown Dimension Name"? Any ideas?
ju -
Hi,
I have implemented a F4-Help with OVS for a slecet-option with spezial values in e.g. (1,3,5,7). But if the user don't use the F4 he can write also 2 in the select-option.
Is there a possibility to use a value check automaticly with the values from the F4 help.
Best regards
MarcusHi,
you could add a value set to the context attribute,
which will throw error when filling something else
you can fill it like in this Web Dynpro ABAP
grtz,
Koen
[url=https://www.sdn.sap.com/irj/sdn/crphelp#posted]Wiki[/url] -
Value Check for Parameters does not work
Hi Experts,
Iam trying to use the Value Check addition for a paramter,but it does not do any validation.
Parameters : p_bukrs type t001-bukrs obligatory value check.
It allows me to enter any wrong values
Is there any thing that i need to do in addition to this.
Regards,
RatnaHi
Use T001D Instead of T001
Parameters bukrs type t001d-bukrs obligatory value check
"Since t001 bukrs doesnot have foreign key established it will not do value check
"in case of T001d-bukrs foreign key is with table T001-BUKRS so it works for you
Ratna wrote
This has already the Value table.
Please note Having a Value table doesnt mean that there is a Foreign key provided it only proposes
Cheerz
Ram -
Hi all,
I want to implement a generic value check. I have a table of name/value pairs (all chars) and I know, of which DDIC type the field is. So during runtime I do the following:
assign value to <value> casting type (rollname).
The thing is, that the assign doesn't throw any error, though the value is illegal for the DDIC type. I tested it with a date like '200612ab'.
So, the question is, is there any way to perform a value check, or do I have to implement that one of my own?
(I searched for cl_abap* classes, but couldn't find any proper).
Thx!
NickHello Nicolas,
ABAP isn't type safe to domain value references if the data type referres to CHAR. Only a dynpro with user interaction will throw an error message on an illegal input.
There are function modules to retrieve the allowed values, e.g. DOMAIN_VALUES_GET. You have to implemented such restriction by yourself.
Best wishes,
Florin -
Need help on Null value check function
Hey guys,
I need to create a function that will accept two values and perform a comparison on them and based on whether or not they're different, return true or false.
Initially I had no idea about the problems of comparing when a value was null, hence the need for a function, as I need to compare many fields of rows of a table in order to find what has changed.
Now, I think I have the NULL check logic in place :
IF R1.X IS NULL THEN
IF R2.X IS NULL THEN
RETURN FALSE; -- both R1 and R2 are null so no diffs
ELSE
RETURN TRUE; -- R1 is null but R2 is not, so it's a diff
END IF;
ELSE
IF R2.X IS NULL THEN
RETURN TRUE; -- R1 is not null but R2 is so a diff
ELSE
IF R1.X != R2.X THEN
RETURN TRUE; -- both not null but different
ELSE
RETURN FALSE; -- both not null but equal
END IF;
END IF;
END IF;My problem is that I don't know how, or if i can, create function that can simply accept two column values without defining their datatypes in the function sig. Reason being that while I will always be comparing like-for-like datatypes, I won't always be comparing the "same" like-for-like datatypes; so as I loop through 100 table rows (differentiated by a date), I'll physically compare all the fields in the rows one by one, and in one instance i'm comapring two NUMBERs and then two VARCHARs and then two DATEs, etc.
What i didn't want was duplicate func's that are all the same apart from the sig's.
Is there an easy(ier) way to accomplish this? Is there a more "generic" value type I could use? basically i just want to have a function like :
CREATE OR REPLACE FUNCTION(val1 VALUE, val2 VALUE)
And not multiple like :
CREATE OR REPLACE FUNCTION(val1 NUMBER, val2 NUMBER)
CREATE OR REPLACE FUNCTION(val1 DATE, val2 DATE)
and so on.
Edited by: user11258962 on 28-Jun-2010 09:02You can use function overloading. So, although three function will exist, they will all be called the same name, so your code will always call a single function
create or replace package pkg_compare as
function is_Alike (p1 in number
,p2 in number) return boolean ;
function is_Alike (p1 in varchar2
,p2 in varchar2) return boolean;
function is_Alike (p1 in date
,p2 in date) return boolean;
end pkg_Compare;
create or replace package body pkg_compare as
function is_Alike (p1 in number
,p2 in number) return boolean as
begin
return ( nvl(p1,0) = nvl(p2,-1) );
end is_Alike;
function is_Alike (p1 in varchar2
,p2 in varchar2) return boolean as
begin
return ( nvl(p1,'X') = nvl(p2,'Z') );
end is_Alike;
function is_Alike (p1 in date
,p2 in date) return boolean as
begin
return ( nvl(p1,sysdate) = nvl(p2,sysdate-1) );
end is_Alike;
end pkg_Compare;
/
Maybe you are looking for
-
TS1059 why wont imovie recognize my isight webcam after installing mavericks?
imovie hasn't recognized my isight camera ever since I installed Mavericks
-
INFORECORD VALIDITY EXPIRES TO BE CONTROLED IN PO
Sir, ply help me if the validity of inforecord expires in a po.i want to control in a po. the issue is i have already made all fields grey in a po so price will automatically willbe taken from inforecord but in case validity expires without intimatio
-
Hello to all. I am looking forward to implement Logical standby database for one of my clients. I want to know about licensing implications for the same. Does creation of logical standby database in Oracle 10g require a License?? If if it does then w
-
Unique discount codes / gift vouchers
I have a client who is wants to be able to send a customer a gift voucher / discount code with their receipt that is valid for one week and only redeemable once. Basically to encourage them to buy again that week or to pass it onto a friend if they a
-
How can I get colors closed to the Nikon 5100 defaults?
Hi! I noticed a big difference between CaptureNX and Lightroom colors for Nikon D5100 RAW. How can I make it look closer? Thank you. Lori http://www.seniorsoftware.ro http://www.seniorerp.ro