Visibility formula for checking on two fields for deciding on visibility of row

I have a row that has groups in it where I need to check for Risks and Issues availability and if both are not there, make the row invisible.  If either of them or both are there, go ahead and display.  I have the following expression for one of
them and it works for the risk group but for the life of me I cannot figure out how to check for both risk and issue fields; have tried many different possibilities but it keeps telling me the syntax is invalid.  Any ideas would certainly
be helpful. 
=Iif(IsNothing(Fields!Risk_Title.Value),True,False)
Cletus51

Your statement syntax worked...thanks!  However, due to the way I have two rows structured, for the second row, in order to not display the project name twice, I had to use your statement in the negative (inverse).  Here it is.  Again, statement
worked. 
=IIF (Not IsNothing(Fields!Risk_Title.Value)
and
Not IsNothing(Fields!Issue_Title.Value) ,True,False)
Cletus51

Similar Messages

  • How to group from two fields?

    Afternoon all,
    Any ideas how to group a report by using two fields in one formula?
    I have two fields in a table
    1: Stock_Code
    2: Misc_Code
    I need to group my report by Stock and Misc code combined. How would I be able to do this by using formula?
    Regards
    Jehanzeb

    See I tried that already pandabear however for some reason it doesn't bring the results from both fields. It is only bringing results from one field.
    The report criteria is
    {lab_credits.date_created} in date(2007,01,01) to date(2007,12,31) and
    {lab_reasons.reason_code}={?Reason_Code}
    the formula I used initially was
    {lab_credits2.stock_code}+{lab_credits2.misc_code}
    but then tried
    {lab_credits2.stock_code}+ " " +{lab_credits2.misc_code}
    however both didn't seem to work under the above conditions.
    The output should be
    5-760
    7-240
    7-250
    7-821
    AR
    CARR
    GLAZE
    TINT
    U-113
    U-114
    Where 5-760 and U-113 data is coming from stock_code field and AR to TINT is coming from Misc_code field.
    The output is ignoring the Misc field values under the given criteria.
    Regards
    Jehanzeb

  • Is there a way to have two fields hidden from the user but active for the person receiving the form?

    I have an order form where there are two fields that the original form filler does not fill out. The person who finally receives and processes the completed form needs to fill in those two fields. I'm not sure how to handle this. Any help would be appreciated.
    Thanks,
    MDawn

    My suggestion is a folder level script, that controls the visibility of form objects.
    Only if this script is installed the fields will be visible.
    You need three things for this.
    1. The folder level script that has to be installed in the javascript folder of Acrobat or Reader:
    var ShowMeAll = app.trustedFunction(function(doc)
         app.beginPriv();
         var ShowMe = this.xfa.form.Form1.Master.ShowAllContent;
         ShowMe.rawValue = "Yes";
         app.endPriv();
    2. A hidden textfield in the form (on the masterpage for example).
    Let's say you name it "ShowAllContent".
    Put this script into it's docReady:Event.
    try
         event.target.ShowMeAll(event.target);
    catch(e)
         this.rawValue = "No";
    3. A script in the layoutReady:event of the subforms or form fields you like to show/hide depending on the presence of the folder level script.
    if (xfa.form.Form1.Master.ShowAllContent.rawValue == "Yes")
         this.presence = "visible";
    else
         this.presence = "hidden";

  • F4 help for two fields in screen

    hello,
    I have two fields in my table control which need F4 help in the screen.
    But one F4 search exit is implemented, but it populates only one field.
    but, on clicking f4 for one field, it should populate both the fields together.
    do help me with this issue...
    Can POH in the screen populate up two fields together???

    Hi Krithika ,
    In addition to checking up the export parameters for the Search healp you will have to define the Search Help attachment also. I'll paste the SAP Help Text below but in Simple terms
    You Define a structure with the fields to be returned and define the screen elements based on that structure . So on selection the structure is returned with all values and the screen elements are in referance to structure so all values get posted in screen.
    Here is the SAP HELP part
    "" From SAP HELP
    A search help attachment is an assignment of a search help to a table, structure or data element, causing the corresponding search help to be automatically used to describe the input help process at this field when an ABAP Dictionary field is used in a screen.
    You can attach a search help as follows:
    1. Attach a search help to a structure or table field: The attached search help is available for all screen fields that refer to the table or structure field. There must be an assignment between the interface parameters of the search help and the fields of the table or structure for this type of attachment. In the input help process, this assignment results in a value transport between the corresponding fields (if they are known at least to the module pool of the screen) and the search help parameters. As for the foreign key definition, you can assign nothing, a constant or any other field (which is then sought in the module pool) to indivdiual search help parameters.
    2. Attach a search help to a table: The assigned search help is available for all screen fields for which the table is a check table. There must also be an assignment between the search help parameters and the key fields of the table for this type of assignment.
    3. Attach a search help to a data element: The attached search help is available for all screen fields that refer to the data element. If the search help is attached to a data element, an export parameter of the search help must be assigned to the data element. If the user chooses a row of the hit list in the input help, the contents of this parameter are returned in the corresponding screen field. More than one value is not returned when a search help is attached to a data element.
    The described attachments only take effect if the field was not yet assigned an input help in the screen definition. Such an assignment can be made with the mechanism PROCESS ON VALUE-REQUEST in the flow logic or by attaching a search help to the screen field in the attribute maintenance screen. A F4 help can also be assigned to the field in the flow logic by using VALUES or SELECT. In the latter case, the input help here behaves as if the table specified under SELECT were assigned to the field as check table.
    If more than one of the described mechanisms compete in defining the input help method of a screen field, the first one named will take effect. If none of the described mechanisms is available, the domain fixed values of the field will be used for the input help if necessary. If the domain of the field has no fixed values but has data type DATS or TIMS, the input helps that are assigned to these types are used for the input help. Otherwise there will be no input help available for the field.
    A search help attachment always belongs to the definition of the object to which the attachment is made (structure, table or data element). It is also maintained in the maintenance transaction for this object and transported with this object.
    <b>REWARD IF USEFUL. It Works for me here..get back if any doubts.</b>

  • Two fields for generic delta

    I have to create one data source which will contain two fields for generic delta...extraction of data will be through FM.SAP provides a standard functionality to create a generic delta. This can only be build on one selected field.
    The logic of the functional module is based on two fields: ICRDT (creation date) and IUPDT (change date). The module should look for both day because when a new records is created the change date does not get populated in R3.
    Can anyone pls help me out?

    Hello Siggi,
    i have to create an delta enabled extractor for a database table.
    The database table (=EAUS) contains the fields "ERDAT" and "AEDAT".
    I'm a Newbie in ABAP und so i read some blogs, articles and how to do papers here.
    But my tests haven't work:
    1. I created a structure in SE11 for extraction. The structure contains all the of the database tabel (=EAUS)
    2. Then I created a data element "ZDATE" in SE11. I integrated ZDATE in the structure.
    3. Then I copied function group "RSAX" and function module "RSAX_BIW_GET_DATA_SIMPLE" in our namespace.
    4. I used the copied function module as a template and adapted the coding in the function module.   The coding is from the paper "Functional Module Based Delta Enabled Generic Datasource"   
    But i doesn't work. My deltaenabled generic datasource doesn't get the deltas. In RSA3 with update mode "D" no data records were selected. (I create new records in the database EAUS before I checked the extraction). The update mode "F" and "C" works.
    Can you help me and send me the coding of your function module?
    Many thanks!
    Jan

  • Decode formula for Interactive Compute field

    Hi,
    Need help for decode formula for Interactive Compute field.
    What is wrong with the formula below?
    What I want is...
    If BH field value is 'Y' then get T field value else 'OK'
    If T field value does not begin with 'FY11 OU%' then get AL field value else 'OK'
    If AL field value ends with 'REC' then 'CHECK' else 'OK'
    DECODE(SUBSTR(decode(SUBSTR(decode(BH,'Y',T,'OK'),1,7),not like 'FY11 OU%',AL,'OK'),-3),'REC','CHECK','OK')
    I get error message: Invalid computation expression. not
    Would you please suggest me a correct formula?
    FYI, I'm using Apex 3.0 which does not support CASE WHEN THEN END.
    Thanks,
    Guy

    DECODE(BH || SUBSTR(T,1,7) || SUBSTR(AL,-3),'YFY11 OUREC','OK','CHECK')
    I guess the above code will mark 'YFY11 PRREC' as 'CHECK' because it is different from 'YFY11 OUREC'.
    But according to my second case criteria, it should be marked as 'OK' because...
    BH = 'Y'
    T does not begin with 'FY11 OU'
    AL ends with 'REC'.
    Currently I'm running filtering with your formula. But it is taking too long time. I guess there are too many lines matching with this criteria.
    Thanks,
    Guy

  • Can somebody give me the formula for the balance column in a check register please? I am trying to setup like sample in iWork but am missing something.

    Can somebody give me the formula for the balance column in a check register please? I am setting the register up like the sample in iWork 09 but I seem to be missing something in the formula.

    OM,
    The way the checking account balance column works is to designate one cell for the starting balance, indicate income with positive figures and outgo with negative figures, summing the transactions and adding the sum to the starting figure.
    The formula used, =$F$1+SUM(OFFSET(F3,3-ROW(),-1,ROW()-2)), is not too difficult to understand if you study the syntax for Offset. The author of this template didn't do us any favors because the expression could have been written more clearly, in my opinion. I'll explain how it's done in the template, and then how I would have written it. With the two approaches you may be able to see what it's all about.
    $F$1 is the starting balance.
    SUM requires a Range specification.
    Offset provides the range specification. The syntax for Offset is as follows:
    Base Cell. In this case it is F3, the cell the expression is written in.
    Row Offset. In this case the author takes the current row number and subtracts the starting row from it. For the first balance the offset will be zero since the first balance is in row 3. For all the subsequent balances, the offset will be negative, meaning that the offset will point to a row above the current row.
    Column Offset. In this case the column offset is 0. That means that it is pointing 1 column to the left, Column E.
    Rows. This parameter sets the length of the range, in rows. Subtracting 2 from the current row number means that the range will be 1 for the first balance and will grow by 1 for each entry down the list.
    Taking all this into account, the range for the Sum function will always be Column E from Row 2 to the current Row.
    How I would have written the balance expression:
    =F$1+SUM(OFFSET(E$3,0,0,ROW()-2))
    I believe it's easier to follow.
    The starting balance is still in F1, but only the row needs to be absolute - a fine point, I know.
    In my expression the base cell for the Offset function is the first entry cell of the transactions, E3. The row needs to be absolute, there is no reason for the base cell to move about as it does in the author's version.
    In my approach, both the row and column offsets are zero. We always start at E3.
    In my approach, the number of rows in the range is the current row number minus 2, just as in the author's expression. That means we include all rows from Row 3 to the current row.
    I'd be happy to answer any other questions about the specifics, but you need to be specific about what you don't get.
    Jerry

  • In VB Programming code -- How to access the formula for suppressing a field

    In VB Programming code -- How to access the formula for suppressing a field
    I am using Crystal Reports 2008 v1
    Using VB code, I am attempting to modify a Crystal Report before exporting it into a PDF format and then displaying it on the Web.
    My problem is that I am unable to access the formula used to dynamically suppress a field.
    The following code is working:
    mySections = rd.ReportDefinition.Sections
    For Each mySection As CrystalDecisions.CrystalReports.Engine.Section In mySections
       ' myFieldToChange is a String set to the text of the field I need to adjust the Suppression
       iloop = 0
       For Each RecObj As CrystalDecisions.CrystalReports.Engine.ReportObject In mySection.ReportObjects
               If mySection.ReportObjects.Item(iloop).Name.ToLower = myFieldToChange Then
                   myTextObject = CType(mySection.ReportObjects.Item(iloop), CrystalDecisions.CrystalReports.Engine.TextObject)
                   myTextObject.Text = "new field text goes here"
                   mySection.SectionFormat.EnableSuppress = True
                   '  Here is where I want to change the formula for the Suppression
                End if
                iloop = iloop + 1
        Next
    Next
    I can not find any reference to the actual suppression formula in the SDK help file.
    Note, the EnableSuppress can be set to True for False, but if there is a formula for dynamic suppression, the True or False value is overwritten.  The results of the formula determine the suppression.
    Is there a way to reference this formula.  I know that I can put on in using the Crystal Report Designer software, I need to modify this formula using VB code and the SDK.

    Hello, Mark;
    If you are using the ReportDocument object you do not have access to the Conditional Suppression formula. You can get around it by using a formula field in the report for the supression and then using the FormulaField code to change it at runtime.
    If you want to change the supression condition directly at runtime you need to use RAS and the ReportClientDocument.
    Elaine

  • Error while Creating a formula for field AZNOR (T-Code : OP17)

    Dear Experts,
    i am facing a problem in Transaction OP17 while creating a formula for field AZNOR ( No of indivual capacity in work center) in work center (T-Code : CR02) .
    It shows the error
    The data object "F" has no component called "AZNOR''..
    Please let me know the solution..
    Thanks & Regards
    Birendra Kumar

    Hi,
    I have the same problem.
    Could You tell me witch is the correct origin?
    Thanks a lot!
    Bye
    Laura

  • Dynamic value help for a table field to fill two fields, how to?

    Hi all gurus,
    In SRM 7 I defined a dynamic value help for a single field (ZZ_PROLE_R3) of my header custom table.
    That's the code from WDDOMODIFYVIEW in the webdynpro /SAPSRM/WDC_DODC_CT, view V_DODC_CT:
    DATA: lo_tabnode        TYPE REF TO IF_WD_CONTEXT_NODE.
          DATA: lo_tabnode_info   TYPE REF TO IF_WD_CONTEXT_NODE_INFO.
          DATA: tab_value         TYPE WDR_CONTEXT_ATTR_VALUE_LIST,
                wa_value          TYPE WDR_CONTEXT_ATTR_VALUE.
          lo_tabnode = wd_context->GET_CHILD_NODE( name = 'THCUS' ). "the custom table node
          lo_tabnode_info = lo_tabnode->get_node_info( ).
          wd_this->GET_VALHELP_ZZ_PROLE_R3( EXPORTING iv_guid = lv_guid
                                            IMPORTING ZZ_PROLE_R3_VALHELP = tab_value ). "this method returns the dyn value table
          lo_tabnode_info->set_attribute_value_set( name = 'ZZ_PROLE_R3'
                                                     value_set = tab_value ).
    The method GET_VALHELP_ZZ_PROLE_R3 dynamically builds the value help table tab_value; such table is made up by two fields:
    value : contains the value of the field
    text   : contains a description of the value
    The above solution works; now I'd like to enhance it. The custom table THCUS contains also a field called ZZ_PROLE_R3_DESC, which represents the description of ZZ_PROLE_R3. It is, exactly, the TEXT field in tab_value.
    So I'd like to do as follows:
    - the user clicks on the search help for ZZ_PROLE_R3 field of the table;
    - the above described value help appears;
    - after the selection, both ZZ_PROLE_R3 and ZZ_PROLE_R3_DESC are filled with the selected couple value - text chosen from the value help.
    Could anyone help me achieving such a behaviour?
    Again, a little request... when I open the above value help dialog box, the window itself has a label "Floorplan Manager application for OIF.." that obviously I'd like to redefine (e.g. "Role selection value help"). Is there any way to do that?
    Thanks in advance

    Chris Paine wrote:
    It seems to me - given that your code is in wddomodifyview that you are trying to have different dropdowns per row
    - I'm not sure where you are populating lv_guid - but I'd guess it is an attribute of the row selected? If it isn't then I can't see any reason that you would do this code in wddomodifyview and not wddoinit.
    Hi Chris and thanks for your help,
    lv_guid is the GUID of the document's header; I need to pass it to the method that populates my value help table because the values in it are derived from some fields on the document. (the situation actually is more complex; there's an RFC call on the backend for which the document is intended for to retrieve the data that populate the value help...).
    I'm quite unexperienced on webdynpro and terminology; if dropdown menus are fixed selection option that appears on a field, I guess this is not my case. I did a pair of screenshot to provide an idea of what the solution by now is, and what "I would like to have":
    [Pre-selection (F4 icon on the field in table)|http://imagebin.ca/view/npIsaqF.html]
    [Value Help popup for the field ZZ_PROLE_R3|http://imagebin.ca/view/8fZUh3T.html]
    [Result by now |http://imagebin.ca/view/3PaqdvE.html]
    [Result I'd like to have.|http://imagebin.ca/view/dExR0J.html]
    Chris Paine wrote:
    However - by your comment on the "value help dialog box" I am guessing you are using an input field? If this is the case then I would strongly suggest that you change/enhance the structure of the context node THCUS (btw, better coding practise to refer to it as wd_this->wdctx_thcus when using the get child node construct) so that you refer to an actual SAP ddic search help, if you then associate in the structure the value and text fields then populating the text field should happen automatically. Also you'd have the nice side effect that your value help dialog would be named after the associated ddic search help.
    Thanks for the code suggestion, I'll apply that. For what concerns the context node THCUS... It is, by standard, a node which I can't explictly find in the context for the view V_DODC_CT. The problem is that ZZ_PROLE_R3 and the corresponding description field ZZ_PROLE_R3_DESC of the table must be filled with data retrieved dynamically @ runtime from the backend. So I guess I can't populate a val help referring to a dictionary table/field; I'd rather do as follows:
    - retrieve what's the target backend for the document (to do so, I have to process the document .. that's why the header guid passed to my method);
    - RFC call to a custom method that extracts possible values for the specific backend;
    - bind the ammissible values to the value help.
    Chris Paine wrote:
    I realise that this is rather a lot - so if you have any specific question please do respond - hopefully I or someone else will be able to clarify.
    Thanks again for your help; additional info as well as code examples would be highly appreciated

  • AT NEW command for two fields

    Dear All,
    How to use AT NEW command in internal table for two fields.
    Warm Regards,
    N.Jain

    Hi
      See the following code. It is useful for u.
    DATA: BEGIN OF ty_batest,
            designation TYPE zba_test-designation,
            salary TYPE zba_test-salary,
            empno TYPE zba_test-empno,
            empname TYPE zba_test-empname,
            address TYPE zba_test-address,
          END OF ty_batest,
          it_batest LIKE TABLE OF ty_batest,
          wa_batest LIKE ty_batest.
    SELECT * FROM zba_test INTO CORRESPONDING FIELDS OF TABLE it_batest.
    SORT it_batest BY designation salary.
    LOOP AT it_batest INTO wa_batest.
      AT NEW designation.
        WRITE: / 'Designation  :', wa_batest-designation,
               /(35) sy-uline.
      ENDAT.
      AT NEW salary.
        WRITE: / 'Salary : ', wa_batest-salary,
      ENDAT.
      WRITE: / 'Emp Name    : ', wa_batest-empname,
              / 'Emp Number  : ', wa_batest-empno,
              / 'Designation : ', wa_batest-designation,
              / 'Address     : ', wa_batest-address,
              / 'Salary      : ', wa_batest-salary NO-ZERO .
      SKIP.
    ENDLOOP.
    Regards
    Bhuvana.

  • Name of the table where can get the two fields Valid-From and Valid-to for

    Hi gurus
    I want name of the table where I can get the two fields Valid-From and Valid-To and their relation ship with the header table in BOM
    Regards
    Kaisar

    You can only get the Valid from date from the table STKO.
    To get the valid to date, you have to take one day less than the valid-from date of the next record for the same BOM.
    Alternatively use the Function module:
    CSAP_MAT_BOM_READ
    It will give both valid from and valid to dates in the tables parameter: T_STKO
    Regards,
    Ravi
    Edited by: Ravi Kanth Talagana on Jul 2, 2008 4:37 PM

  • What is needed for sorting on two fields in a table control

    Hi Everybody
    I am going to certification in a couple of days. I need some help and was hopeing that you  guys could help.
    What is needed for sorting on two fields in a table control?
         One sorted table and two processing blocks
         Two standard tables and one processing blocks
         Two standard tables and two processing
    Which one is corret??
    //Script

    Hi Kimallan
    I am not sure what is meant by a "processing block". However, it seems the question wants the original table order to be preserved. If so; as far as I understood the problem we need:
    itab_proxy[] = itab_main[] .
    "two standard tables"
    SORT itab_proxy BY field1 field2 .
    If we have a sorted table, then it is always sorted by its keys. So, the question seems to become obsolete for that option.
    Hope I've understood correct...
    Regards
    *--Serdar
    [email protected]

  • Check G/L field status group for Business area

    Hi, when I set the buiness area, I set field status group to required for BA field, the setting always check the BA field on accouting doc. But some G/L is automatic posted, always show "Business area is a required field for G/L account ...",
    Can you help me to slove, thanks

    Check the following issues
    1)Check the status of the other GL accounts field status for business areas.
    2)Check if there is any validation for GL accounts which can be given without business area.
    Hope this helps.
    Regards

  • Constant Checking in Row Formula for Report Writer

    Dear All,
    Please advice what is the format to check a constant (string) in the row formula for Report Writer.
    Let's say if I want to check the cost center group -->
    If '&1KOSET' = 'ABC' then .... else......
    So, what is the format for ABC? Because if i put 'ABC' it will be treated as cell. But if i do not put the ' ', then i get system error.
    Thanks a million for your advice.
    Best Regards,
    CW

    Hi John Lee,
    The logic that you would want , can be implemented through a column set. That is, as per your logic written in the set, your column values differ.
    First in your set, keep your account number in the first set line. ie. 5000000.
    Then you enter the following formula in the second line of a set defined for a report column:
    IF u2018001u2019 > 5000000 THEN u2018001u2019 ELSE 0
    If the value in the first column (set line 001) is greater than 5000000, then this value displays in the second column; if the value in the first column is less than 1000, the value 0 displays in the second column.
    Revert if you need any additional help.
    Regards,
    Subin John

Maybe you are looking for

  • USB Hard Drive no longer recognized after SW Update

    I just updated Cisco software and my external hard drive is no longer recognized by Cisco.  It is a Seagate drive that is listed on the Cisco tested - passed - approved list.  It worked prior to this update.  I have disconnected the drive.  Reconnect

  • OSX 10.6.3 arrives - some hints on avoiding heartache

    The latest update to OSX Snow Leopard is now available through "Software update", and , as a larger "Combo" version (incorporating all the changes made in 10.6.1 and 10.6.2) at http://support.apple.com/kb/DL1017 It is a large update, and people shoul

  • Alert Configuration / Alert Inbox - "404   Not Found"  in PI 7.0

    Hi , We are trying configure Alert Framework in PI 7.0. When we are opening the Alert Configuration page through the link http://<Hostname>:5<Sys.No>00/rwb/index.jsp -> Alert Configuration we are getting error " 404   Not Found" But when we changed t

  • How to sum in csv format

    How can I do a sum on a column in csv format? I am concatenating all columns in csv, so the resulting field is a string. Even if I convert it to a number, I am not sure how to sum a specific column. Any ideas? Thanks

  • Cannot Start J2EE server... NoSuchMethodError...

    Hi I've installed J2EESDK1.3.1 on my machine that runs on WindowsNT workstation. I've set all the necessary env vars like J2EE_HOME, JAVA_HOME, J2EE_CLASSPATH, PATH, CLASSPATH etc etc. But when I try to run the server, it gives me the following error