Dependency, Characteristic open depending on another field
Hi All,
We are working with a scenario where we willl use some characteristics and dependencies.
We have been able to fill out values in one characteristic depending on another value.
But we would also like to switch a characterstic from Display to Open if a specific value is given to another characteristic.
Does anyone know how this should be written or where i can find documentation about how to this.
Thanks in Advance!
BR
Mikael
Mikael ,
I am not agree with Bramhaji ,
its seems with this syntex,
$Self.REF_CHAR = 'CHAR2' if CHAR1 in ('A','B','D'),
$Self.REF_CHAR = 'CHAR3' if CHAR1 in ('A','B','D')
value from CHAR 2and 3 will be copied to Rferance characretrstic as values , but it will not hide them.
forgive me if i am wrong,
I think using precondtion can also help you out.
create a dependency with type precondition
syntax could be $self.CHAR1 = "c"
so now , CHAR 2 qand CHAR 3 will be visible only when CHAR1 have value C
when CHAR1 will haver value A , B or D this CHAR 2 and CHAR 3 will be not visible and user cant assign value to it.
and assign this dependency to charactertsic CHAR 2 and CHAR 3 in class of type 300.
you can also check sap help for same.
http://help.sap.com/saphelp_erp60_sp/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm
Thanks
Ritesh
Similar Messages
-
PO Form with Terms & Conditions that Change Depending on a Value in Another Field
Hi - I have read through the relevant topics in this forum and have attempted several of them without luck. I am currently working on a form in which there is an empty JFMain (I do not want to populate fields on this page since I don't want things in this page my "static" header - logos, title, etc. since the Terms and Conditions pages should not show any of this.) On my page 2, I have subforms for all my fields except my Terms and Conditions. (These fields are controlled by a data file.) On my remaining pages I have 3 sets of Terms and Conditions - all about a page long - hard-coded as text and placed in subforms with a dummy field off page to ensure they print. What I want to do is print the subforms from page 2 and then the applicable terms from page 3, 4, or 5 depending on the value in a field located in one of the subforms on page 2. What I currently get is my subforms and then ALL my terms printing. Any thoughts?
My preamble overrides look like this:
^define group:D_HEADER \field$POSITION\reserve".11",in\subformHEADER.
^define group:G_HEADER @group:D_HEADER.
^define group:dummy!FldNotAvail \groupG_Terms_Private_Commodity
^define group:dummy2!FldNotAvail \groupG_Terms_Private_Services
^define group:dummy3!FldNotAvail \groupG_Terms_Public
^define group:JfEndData!EndData @group:D_end.
I had to place the JFEndData! statement into the Preamble since the last subform with fields called before the Terms subforms has a global field from another subform above it. For whatever reason, it was duplicating this subform after printing the Terms and Conditions.
I tried adding a nested if statement into field that will control when I want each subform to print but it was ignored. I also tried hardcoding a group call into the preamble with the logic as well with no results. If someone has example code they can share, this would be great.I receive Adobe help forum posts via email and I've been saving a few for the pointers they contain. I have some saved that might help you out a bit...
A reply to the "Please can some one help me out......." post by Mr BoJangles on 10/29/2007 gives some information about forcing a subfield to be displayed.
A reply to the "Conditional logic" post by Marco Degl'Innocenti on 8/2/2006 gives information on initiating a subform based on the value of a field in the data stream.
A reply to the logic post by Marco DeglInnocenti on 2/22/07 also gives information on initiating a subform based on the value of a field.
I hope these can be of help. If you can't access them on the forum I can repost them. -
Render link depending on calculated value of another field
I am using jdeveloper 11.1.2
I have table with many columns, and the last column contains commandLink
I want to render this command link depending on calculated function (FileExport.getTranslateFileName) using another fields in the table (row.SciId) as parameters
<af:column>
<af:commandLink" rendered="#{FileExport.hasTranslateFile}">
</af:commandLink>
</af:column>
how can I implement that without adding transient field?yes FileExport is managed bean
DCIteratorBinding iterator = getBindings().findIteratorBinding("UpdateRequestDCIterator");
Row row = iterator.getCurrentRow();
Object sciIdObject = row.getAttribute("SciId");
but I don't know how to get the correct value of (row.SciId) for each row in my table
my code always return the same value for the first row -
Activate input for a field depending on the input in another field
Hy gurus,
A have a report with select option.
In the select option I'd like to have the following:
I have a checkbox ,if it is flagged the input for another field should be made possible.
The problem is,to activate it right after I flag the checkbox (without having to press ENTER)
Do you have suggestions?
Thanks,ChristianHi Christian
It's the same, check my sample in the last my answer.
If you want to protect a SELECT-OPTION or more than one parameter it should use the group.
SELECT-OPTIONS: S1 FOR SY-DATUM MODIF ID AAA,
S2 FOR SY-UNAME MODIF ID BBB
PARAMETERS: p1 MODIF ID AAA,
p2 MODIF ID BBB.
PARAMETERS: p_ck AS CHECKBOX USER-COMMAND aaa.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF p_ck = 'X'.
IF screen-group1 = 'AAA'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ELSE.
IF screen-group1 = 'BBB'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
Max -
How do you output a field column depending on another fields value?
when selecting a field in a query, how do you output it on its own column depending on another fields value?
For example
Select
a.gross_vol as Gas_vol when a.Object_code = "GAS"
a.gross_vol as Wat_Vol when a.object_code = "water"how do you output it on its own column depending on another fields value?Scalar subquery maybe?:
michaels> select (select ename from emp where empno = 7788) scott_ename,
(select ename from emp where empno = 7839) king_ename
from dual
SCOTT_ENAM KING_ENAME
SCOTT KING -
Dependent Characteristic specs in routing
Hello all,
Some of our materials are subjected for in-process inspection.
The lower, upper and target values differs for the different customers.
I know the procedure of dependent characteristic specs and I am using that in inspection plan already.
But in case of routing while material ssignment I am not getting customer field which usually I get in inspection plan.
Now without that I can't go for dependent characteristic specs.
How to overcome this?
MimiriRoutings do not support customer specific values in QM.
If you create different specs for the same material, you need to create multiple routings. There are no fields to indicate the customer in routings.
I don't know what business you are in. Have you considered variant config?
FF -
Dependent characteristic specifications
We maintain dependent characteristic specifications based on material, plant, and vendor for an inspection plan. Each time a new entry is created, the SAP assigned dependent characteristic specs. number (PLMW-ZUORDNR) is incremented by 10. So the first entry was assigned 10, second entry assigned 20 & so on. We are currently at 6810.
The PLMW-ZUORDNR field length = 4, so I am wondering if there is a limit on the number of dep. char. entries we can create? If so, how do other companies handle this?
I have tried to find a setting in configuration to change the increment from 10 to 1, but was unsuccessful.
Regards,
A. ScottAngela,
I've worked with Multiple specs before and implemented them at one client but I haven't had a chance to talk with anyone else that has. I'd be interested in finding out more about the issues you ran into and the problems you have had to resolve. I'd like to know if they were similar to mine or not. Right now I'm not the biggest fan of multiple specs the way SAP implemented them. I'm wondering about other peoples thoughts on the subject. With over 680 specs in a plan you must have some experience with them!!!!
Would you be willing to discuss them with me some time?
Thanks,
Craig -
Hi,
In our query we have time dependent characteristic "Employee last name".
Our user wants to generate query on the employee list who was changed their last names. Here different employees has been changed their last name in different times.
Please specify in detail that how to define the query.
Regards
Sunilif its a one time query then open the master data view in se16 and download employee / from date / to date / last name
download it to excel and analyze it.
If this is not a one time query.. then you have to build a way to save this in a ODS and make a query on it.
its not possible to go across time in a regular report as the key date takes only 1 date at a time.
Award points if you find it useful.
Thanks
Sharan -
Dependent characteristic Updation using QP02
Hi ,
Could you please help me regarding updation of dependent characteristics in the transaction QP02.
My requirement is i will give the plant and group and material no in the first screen and i select the first entry and i will click inspection characteristics in the appl tool bar and then i will select master inspection characteristics and i have to press dependent characteristics update
to update
diameter,unit of measurment.... based on material assignment. CAn i use any BAPI for this?
I am using 'bapi_inspectionplan_create ' but it is not update.
If i am using BDC program I am facing problem with selection of line item in inspection charcterisitic based Material Inspection characteristic and
In the Dependent characteristic i am updating based on Customer Number .But how i can select the particular line item based on customer number.
If you anybody know the solution please help to me .
Regards
Nandan.Hi,
We have more than 10000 entires its not possible using this Transaction .
Can anybody help me regarding solving my problem.
Regards
Nandan.N -
How to create a time dependent characteristic
Hi,
Can someone give me steps to create time dependent characteristic? there is a tab for attributes to make them time dependent. I don't know whether we can make the characteristic as time dependent or only the attribute.
Thanks,
SamWhat makes a IO a time dependent char?
The attribute values of the IO change according to the time. meaning atleast one attribute value has to(supposed to) change during the course. So to make a IO time dependent, atleast one of ur attribute values should be time dependent.
IO - change _ attributes - 4th column - time dependent - check that box. that would generate - MasDataTab. timDep - SIDTab timeDepAttr(tables)
simple saying in real time - cost center ABC's manager is XYZ from 06/19/2007 to 06/19/2008. So the manager (attribute of costcenter) has to be time dependent.
Hope that makes it understandable. In essence the costcenter itself never changes but the attribute values do change. -
Exsistance of a node depends on a value of source field.
I need to do graphical mapping such that the exsistance of a node in target side depends upon the value of a field in sorce side. Can some one tel me how to proceed?
Hi Pooja,
use can use"createIf" function.Ur problem will be solved
check here how to use createIF function...
/people/stefan.grube/blog/2006/01/09/the-use-of-suppress-in-the-xi-30-graphical-mapping-tool
Read this http://help.sap.com/saphelp_nw04/helpdata/en/d9/3033f96c79674f90e3ab8d101a595b/content.htm
And check these threads
Createif node function
Regards
BILL
<b>**reward with points if it helps u!!</b> -
Function to update dependent characteristic in QP02
Hello,
Is there any function or BAPI which updates dependent characteristic in QP02. I looked for some BAPIs but those are called for QP01 not for QP02.
I think this functionality is not possible through BDC also (Please correct if i am wrong).
Any help will be appreciated.
Regards,
Sunil JoyousHello Everyone,
I have found the new transcation for mass change of inspection plan. The transaction is CWBQM. This solves my problem.
Regards,
Sunil Joyous -
Formula to populate one Person or Group column depending on the value of another Person Group column
I am looking for a way to popluate the Account information of a Person based on another column where there name in another column. I have Two Columns "Name" which is a Person or Group information type and User Account which
is also a Person or Group Information type. When an Invidividuals name is entered into the Name column, I what the User Account column to prepolulate.Hi,
For your issue, you can automatically populate User Information depending on the value of another Person or Group column by connectting with User Information List or connectting with User Profile Web Service:
http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=172
http://blogs.technet.com/b/anneste/archive/2011/11/02/how-to-create-an-infopath-form-to-auto-populate-data-in-sharepoint-2010.aspx
Best Regards,
Eric
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
F4 Help on one field should populate data on another field
Dear All....
I am using the FM - F4IF_INT_TABLE_VALUE_REQUEST for F4 help on one field of the selection screen. Based on the selected value, a values corresponding to it should appear on another field.
My Code -
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_svn.
SELECT qmnum serialnr
INTO TABLE t_qmel
FROM qmel
WHERE qmart = 'ZD'.
SORT t_qmel BY qmnum.
Display the f4 Help Values for SVN
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'QMNUM'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'P_SVN'
window_title = text-015
value_org = 'S'
TABLES
value_tab = t_qmel
return_tab = t_retval.
READ TABLE t_retval INTO w_retval_wa INDEX 1.
IF sy-subrc = 0.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = w_retval_wa-fieldval
IMPORTING
output = w_qmel_wa-qmnum.
w_retval_wa-fieldval = w_qmel_wa-qmnum.
READ TABLE t_qmel INTO w_qmel_wa WITH KEY qmnum = w_retval_wa-fieldval
BINARY SEARCH.
IF sy-subrc = 0.
p_esn = w_qmel_wa-serialnr.
ENDIF.
ENDIF.
But this is however not working.
Please let me know where I am going wrong.
I have serached SDN thoroghly but could not get my solution.
Please guide me....
Regards,
Pankaj Agarwal.*& AT SELECTION SCREEN ON VALUE-REQUEST FOR FIELD
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_ebeln.
PERFORM f4_hlp_ebeln.
*& Form F4_HLP_EBELN
text
--> p1 text
<-- p2 text
FORM f4_hlp_ebeln .
TYPES: BEGIN OF ty_ebeln,
ebeln TYPE ebeln ,
END OF ty_ebeln.
DATA: lt_ebeln TYPE TABLE OF ty_ebeln.
CLEAR: lt_ebeln[].
SELECT ebeln
FROM zmt_po_mic_ded
INTO TABLE lt_ebeln.
IF sy-subrc = 0.
SORT lt_ebeln[] BY ebeln.
DELETE ADJACENT DUPLICATES FROM lt_ebeln COMPARING ALL FIELDS.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'EBELN'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'P_EBELN'
value_org = 'S'
callback_program = sy-repid
TABLES
value_tab = lt_ebeln[]
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.
ENDIF.
ENDFORM. " F4_HLP_EBELN
DATA: t_dynfields TYPE TABLE OF dynpread,
t_valhlp TYPE TABLE OF ty_valhlp.
DATA: w_dynfields TYPE dynpread.
CLEAR: t_dynfields[], t_valhlp[].
DATA: l_ebeln TYPE ebeln.
w_dynfields-fieldname = 'P_EBELN'.
w_dynfields-fieldvalue = p_ebeln.
APPEND w_dynfields TO t_dynfields.
CLEAR w_dynfields.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
translate_to_upper = c_x
TABLES
dynpfields = t_dynfields
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
stepl_not_found = 10
OTHERS = 11.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
READ TABLE t_dynfields INTO w_dynfields INDEX 1.
IF sy-subrc = 0.
l_ebeln = w_dynfields-fieldvalue.
SELECT ebeln
ebelp
FROM ekpo
INTO TABLE t_valhlp
WHERE ebeln = l_ebeln.
IF sy-subrc = 0.
SORT t_valhlp[] BY ebeln ebelp.
here we get the value of ebelp depending on the selection of EBELN ***
endif.
ENDIF. -
Using Javascript to show/unshow a field based on input in another field
I want to display/not display a field in a JSP depending on what is selected in another field.
I am using <div></div> element currently which is displayed/not displayed using a Javascript invoked by the first field.
the problem with div is that I have to put it inside a <tr><td> otherwise it doesn't work. This makes the field look aloof from the rest of the page, and is also not aligned with the other fields.
Is there anything other than <div> that can be used? or is there a way to correct the look of the field inside a div?
ThanksYou shouldn't have to put it inside a <tr><td> to get it to work. I've done what you are trying to do with <span></span> and it worked fine. I haven't tried it with a <div> but I can't image why that wouldn't work. Maybe you could post your code.
Maybe you are looking for
-
Hi, My name is Bheki Yende I'm experiencing a problem with an app I've just purchased from iTunes, I have tried every piece of advice from the "iOS: Troubleshooting applications purchased from the App Store" and still nothing is working. I would like
-
BPM: incoming messages disappear during send step
Hi, I want to implement a message aggregation with the bpm tool. For this reason incoming asynchronous messages should be collected and at the expiration of a time limit bundled and send synchronous. This synchronous phase takes ~40 sec. Incoming (as
-
I would like to know how to implement an static routing in Solarios 10. In solaris 8 I usually write the route in the file /etc/rc2.d/S98inetsvc. But this file does not exists in Solaris 10. helpme please
-
Problems with the system decimal point with german regional settings
I have a Labview 6 app that needs deploying to Germany. My app sends strings over VISA RS232 and GPIB instruments with floating point numbers. When changing from English to German regional settings, in Windows XP, periods are now interpreted as comma
-
Hi, I own 2 apple's computer and I have pictures in IPHOTO on each computers. How can I combine all of my pictures on a single machine in IPHOTO. I want to merge my 2 IPHOTO together on 1 machine and keeping the folder, album, rating of both. Regards