on 08-16-2016 9:33 PM
Hi SCN Members.
Based on FM in CU65, with some formula based on characteristics A and characteristics B I will get the values of characteristics C.
* characteristics C, has 600 values in CT05.
1. I am passing characteristics A, in function CUOV_GET_FUNCTION_ARGUMENT to get its value.
2. I am passing characteristics B, in function CUOV_GET_FUNCTION_ARGUMENT to get its value.
3. Then based on a formula, I am getting 10 correct values for characteristics C.
Now I want that only these 10 values should be visible for user when user tries to check the values via F4 for characteristics C while configuring.
Please guide me and other respected members.
Thanking you,
Regards
Ashish Mishra
For the Cstics C u are seeing apprt from 10 other two it means all possible answer of Cstics A & B is already given in Cstics C right?
Now when you F4 the Cstics, you have needs to see only result value not other then that. Right?
If yes then read my below comment.
I just want to say If Cstics "C" is inferring value only base on the A & B Cstics then why we have need to maintain all possible value in C cstics.
If you are not maintaining the possible value for C Cstics and the value only infer base on A & B only. Then you will see only resulting value. Remove all possible value from cstics C. (If needed you can keep additional value tick mark and keep Cstics as not ready for input).
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As far as I know, the option 'Check values with function module', in the Value tab for characteristic C shall be used.
Here, the help details:
quote
In this field, you can enter the name of a function module for checking characteristic values entered by the user. The function module can be created in any function group.
The following restrictions apply:
Interface for Function Module for Checking Values
Import Parameters: | |||
---|---|---|---|
CHARACT_NO | LIKE CABN-ATINN | Internal characteristic number | |
CHARACT | LIKE CABN-ATNAM | Characteristic name | |
VALUE | LIKE CAWN-ATWRT | Value to be checked | |
Exceptions: | |||
NOT_FOUND | Value not found |
Interface for Function Module for Possible Entries
Import Parameters: | |||
---|---|---|---|
CHARACT_NO | LIKE CABN-ATINN | Internal characteristic number | |
CHARACT | LIKE CABN-ATNAM | Characteristic name | |
DISPLAY | Display values only, | ||
if DISPLAY = 'X' | |||
ADDITIONAL_VALUES | LIKE CABN-ATSON | Additional values allowed | |
if ADDITIONAL_VALUES = 'X' | |||
(if you want the possible | |||
entries dialog box to contain an | |||
additional line for entry) | |||
MULTIPLE_VALUES | LIKE RCTMV-ATLIS | Multiple values allowed | |
LANGUAGE | LIKE SY-LANGU | Language indicator | |
DISPLAY_WITH_LANGUAGE | Display value with description | ||
Tables | |||
VALUES | LIKE RCTVALUES | Selected values | |
When you call this table, it | |||
contains existing values. | |||
Deleted values have status 'D' | |||
in the table. | |||
New values have status 'I' | |||
in the table. |
The function module must also let you display and select values using the possible entries pushbutton. To display possible entries, you can use function modules in function group SHL3, such as HELP_VALUES_GET_WITH_TABLE_EXT. The content is described in the function module documentation.
Interface for Function Module for Language-Dependent Value Descriptions
Import parameters | |||
---|---|---|---|
CHARACT_NO | LIKE CABN-ATINN | Internal characteristic number | |
CHARACT | LIKE CABN-ATNAM | Characteristic name | |
VALUE | LIKE CAWN-ATWRT | Value to be checked | |
LANGUAGE | LIKE SY-LANGU | System language | |
Exceptions | |||
NOT_FOUND | Value not found | ||
If you use this function module after the function module for checking values, the language-dependent description of the value is copied to the value assignment screen.
Note
Please note that the program code must be based on the predefined interfaces. If your program is not based on these interfaces, the program may terminate with a short dump.
Please note also that the function module cannot take into account any restrictions on allowed values that are due to inheritance or object dependencies, because the function can only read data that is already saved to database tables. The function cannot read current user entries.
unquote
I do hope this will help. Just come back if anything else is needed.
Thank you and best regards,
Flavio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.