Query field requirement

Hello All,
I have the following requirement in the report, I wonder whether this can be done by Formula variable(Customer exit) or do it in any other way.
The customer wants the report as shown below.
Date (PRDT)    New Boolean Customer exit variable
01-Jun-2011                      1
02-Jun-2011                      1
03-Jun-2011                      1
04-Jun-2011                      0     
05-Jun-2011                      0
06-Jun-2011                      1
07-Jun-2011                      1
Condition to display 1 or 0
based on the Date column the second column should populate the value 1 or 0.
If it is a working day then it must return True (1) or else 0 based on factory cal
If I create a Formula variable(Customer exit) I can pass only 2 values ie low and high but how to acheive this.
Any Inputs on this is appreciated....
Regards..
Balaji

Hi,
If you don't want to extract data from source system then go for Virtual Key figure. You will be able to get the dynamically calculated value in BEX output.
Refer the following document,
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d0293505-d14a-2d10-dabd-c2a6ffe964a7]
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/90b2babc-15ad-2d10-c4b2-bd3af67d86b1]
Regards,
Durgesh.
Edited by: Durgesh Gandewar on Jul 13, 2011 5:52 PM

Similar Messages

  • Marketing Calender Query field is not populating

    Hi Experts,
    I'm using CRM5.0 and EP7.0 .
    I've a problem with marketing calener. I've added it to portal but I'm not getting data from the backend in the query field(Show label). I'm getting all the views in view field but not the query field. I got some idea that the backend role to be assigned to portal roles in 'Assign portal role to single role' but it is not working.I think I'm missing some steps or entering incorrect values. Please send me detail steps of what I've to do in ''Assign portal role to single role' .
    Thanks in advance
    Koustav

    Hello ,
    Create requirement class and Requirement type relevalnt for your order type.
    Path to create this is:
    SPRO-> Proect systems->Material->Control of Sales-Order-Related Production->Check Requirements Classes
    Check Requirements type also.
    Create stretegy in view V_T461S.
    assign req class &type to stgy.
    then assign this req class and type in material master
    create Project or WBS elemt in transaction CJ20N.
    then follow the same process steps to create sales order that WBS elemt pop will come.
    regards,
    Nisha
    @award pts is helpful.

  • SPEL? make REASON field required if user has changed the value in SALARY

    I have a requirement to make REASON field required if user has changed the value in SALARY field. Is it possible using spel? what are my options?

    Karan,
    You can change the Rendered Property through personalization.
    But in your requirement you need to attach the Spell through personalization & extend the existing CO to set the value of the SPELL based upon the condition.
    Note - Refer this thread http://forums.oracle.com/forums/thread.jspa?threadID=2176729&tstart=0. If you have worked on SSHRParams kindly help the user.
    Regards,
    Gyan

  • How to make metadata fields required when creating folders

    Hello all....
    Related issue with SR 3-6472229431 and SR 3-6471130611.
    We're using DIS 11.1.6 64-bits (2011_11_29 (rev 9756) 11.1.6.97) in a Windows 7 64-bits workstation (with UCM 11.1.1.5 in a Linux machine). The check-in of images to UCM goes fine.
    I'm trying to make some metadata fields required when creating a folder. These fields are required when making a check-in, but not when creating folders.
    Folders_g is enabled. DesktopTag too.
    EDIT: Patch: 14695303 - WCC 11.1.1.5.0 BUNDLE ( MLR 16 ) NOV 6 2012 applied.
    Is it possible?
    Thanks for all.
    Edited by: fgomes on 22/11/2012 03:24

    After reading your response and rereading the original question a bit closer, the metadata prompting feature does not apply to creating new folders, only content.
    Again, though, I think the focus here is in the wrong place. The metadata applied to a folder is intended to be ultimately applied to the content. You can build global rules that fire on submission of content to check if a field has a value, and throw an error if the value is empty.
    If you expect users to create folders (and actually apply any metadata to the actual folder itself), you will be disappointed. Experience shows that users are not interested in that level of detail when creating content, let alone folders. Letting typical users create folders is a bad idea anyway, as they tend to create the same inefficient folder structures they previously created in file shares within Content Server.
    If you need to tightly control folder attributes, you'll be better served by locking down the ability to create new folders. Otherwise you're looking at some type of customization. Keep in mind that you won't be able to customize the right click behavior of DIS. Any changes to DIS would have to be an enhancement request.

  • How to make a field required in OAFramework

    How to make a field required in OAFramework at runtime?? Please explain in detail if possible.
    Thanks
    Kumar

    Get the handle of the bean using the following Code
    <BeanType> bean = <BeanType>webBean.findIndexedChildRecursive("<Id of bean>");
    if(bean!=null && <condition>)
    bean.setRequired(true);
    }

  • System and Query field disable in Data Manager for Netweaver BI

    Dear All.
    i have installed Xcelsius Engage Server 2008, when i try to add connection for SAP Netweaver BI from the Data Manager the dialog appears correctly but in Defination TAB only the Name field is enable both System and Query field is disable.
    without that how can i configure the connection please let me know how to fix this issue.
    Kind regards,

    Hi,
    You give the name of the connection and then click on "Browse".  It will then prompt you to connect to the desired system.  Log in and then select the appropriate query you want to build a dashboard on.
    Hope this helps.
    Regards,
    RashmiG

  • Make a field required on record creation, read only after that

    Hello,
    Does anyone know of a way to make a pick-list field required on record creation, but read-only after that? The other twist to this is that we need to allow this field to also be read-write for all the integration edits, since this field's value could change in the enterprise database.
    Thanks,
    Neal G.

    Hi !
    I think you can add a validation rule for that. Something like :
    IIf(PRE('&lt;YOURFIELD&gt;') IS NULL, &lt;&gt; '', = PRE('&lt;YOURFIELD&gt;'))
    This means that if the previous value of your field is null (it's a creation), so the value must be different than blank. Else, it must be equal to the previous value, so not modified.
    I didn't tested it, but I let you get back to me if it works... or not !
    You'll just have to add a message saying that this field is required on creation and readonly after...
    Hope this will help, feel free to ask more !
    Max

  • Making the comments field Required in the Workitem

    Hello,
    I have a GP Application wherein the initiator fills out a form which goes to the Approver using Visual Approval Callable Object.........now when the approver opens the workitem he sees the information entered by the initiator and a comments field at the bottom......we want to make this field required for them.......how can we achieve this.....while creation of the Visual Approval Callable Object i see the comments as a output parameter with the 'Is Required' checkbox option....but it is disabled and does not allow you to select it......Please help...
    Any help would be highly appreciated...
    Regards,
    Anil

    Hi Anil,
    Standard Visual Approval CO doesnt work like that.
    Either you can create your own CO.
    OR
    i can suggest you as follows, but it is making little complicated process.
    1. Create one Action with Business Logic callable object, which will check for Comment EQ space or not and have 2 different states.
    a. If Comments is blank, Go back to Approval Action
    b. If Comments is entered, Proceed for further actions.
    2. Set this action as target for Approval Action.
    Hope this helps you.
    Thanks,
    Tejaswini

  • Making fields required based on other field input

    I am creating a form in adobe acrobat pro that employees need to fill in to show the clients they have worked for in a week. The form has 10 lines for them to fill in the date, client name, address etc for 10 clients. I want to make the client name and address fields required only if the date has been filled in in the first column. I can't make every row required fields as they may not have 10 clients that they have worked for. I have a send button set up so that all required fields are completed before the form can be sent. Can someone help me with the script I would need. I have worked out how to make the fields required if a check box is ticked but can't find any scripting for fields to be required if text has been entered in a specific field.

    You can use the custom validation script of the date fields. Let's say you
    want to make Name1 and Address1 required if Date1 is not empty.
    Use this code to do it:
    this.getField("Name1").required = event.value!="";
    this.getField("Address1").required = event.value!="";

  • Make a field required based on input in another field

    So I have researched the forum to answer the question of how to make certain fields in a form required if a value is entered in another designated field, and not required if no value is entered in the designated field.
    For example:
    There is a field titled QTY_paper, and if a value is entered into QTY_paper, then the field PROGRow1 should become required.
    If no value is entered into QTY_paper, then PROGRow1 is not required.
    I've tried both FormCalc and Javascript, but with no results. In FormCalc I added this script as a mouseExit event on QTY_paper:
    if ($.isNull == 0) then
         //Make the budget field Required
         PROGRow1.validate.nullTest = "error";
    endif
    and then I added this script in FormCalc to the mouseExit event on PROGRow1:
    if ($.isNull == 0) then
    $.validate.nullTest = "disabled"
    endif
    This came almost verbatim from another post on the forum, so I'm thinking I'm missing something obvious here... which isn't too odd as I'm still pretty new at adding the scripts. Please help if you can!

    You'd want to combine both scripts on the first field with an if/else statement. And I'd use the Exit event instead of Mouse Exit (not sure if Mouse Exit handles tabbing in and out of fields).
    The first script should have worked, but with the second script you were asking if PROGRow1 was null, not QTY_paper.
    FormCalc:
    if ($.isNull) then
         PROGRow1.validate.nullTest = "error"
    else
         PROGRow1.validate.nullTest = "disabled"
    endif

  • Fields required based on a value in another field

    Hi,
    I am looking to have fields required (Annual Revenues and # of Employees) based on the value of another field (Ownership). Basically, if the value is Public the user is required to enter the Annual Revenue and Employees fields. I thought about using dynamic layouts but the only key field for Accounts is Account Type.
    Thanks,
    Caryn

    Hi Caryn!
    I think it is not possible for making #Employees and Revenues required depending on Ownership(as it is a look up field).. it should be possible if you want to do it on any other criteria other than ownership by just renaming the Account Type, Disable all the values of Account Tyope add new values to Pick List and make it driving picklist upon your requirements..
    If you require Account Type, create a custom picklist "Account-Type" and add the values.

  • IC Webclient - making a field required

    On the BupaSearch View, I want to make some other fields required before you can successfully create an account.  Right now Country is the only one.  Country does not use the tag REQUIRED = "TRUE".  Even if I do used this tag, it really doesn't have any affect except to put an * or outline the box in red.  So I was trying to copy the logic that the field country uses, but I have no idea where this is done.  I've been searching and I need your help.  Does anyone know?
    Thanks.

    Hi Cathy,
    You can try to have a method R-Getter (required) as follows -
    METHOD get_r_brand .
      IF get_brand( attribute_path = '' ) IS INITIAL.
        rv_required = 'TRUE'.
      ELSE.
        rv_required = 'FALSE'.
      ENDIF.
    ENDMETHOD.
    And in the view:
            <crmic:label design   = "label"
                         required = "<%= ApplianceData->get_r_brand( ) %>"
                         for      = "//ApplianceData/Brand" />
    But this code will also add a star against the label and the star will go off only after some value is input to the field.
    See if it is still helpful.
    Regards,
    Abhishek !

  • Error "field required" in master-detail form with FORMS 10G!!

    I have a Master-Detail Form.
    When the cursor stay in detail block and i chage the master record with the mouse, clicking in scroll bar, i get error "field required".
    In Forms 6i, works fine!!

    Master block has more than one record displayed. When I click on any item in detail (except first one) and then click on different master record (return navigation to master block, but not current record) I have FRM-40202: Field must be entered on first item in detail block.
    I found that reason is this part of clear_all_master_details procedure (automatically created by Oracle Forms):
    IF :System.Cursor_Item <> startitm THEN
    Go_Item(startitm);
    Check_Package_Failure;
    END IF;
    Does any have same experience?
    Is it Oracle bug or I am missing something?

  • CR on BW Query : Query fields not displayed properly

    Hi Experts,
    I am using Crystal reports 2008 with SAP Integration Kit for BO Enterprise XI 3.0
    I want to create a CR based on SAP BI 7.0 Query. But I add BI query as a datasource from SAP BW Query, it doesn't bring in all the fields correctly.
    All the Characteristics are displayed as D~ [0sold-to]~ K or D~ [0Material] ~K
    All KFs are displayed as M~ [Measures].[D4NXLFXS1ULO50FAO05ZCM9DN] ~ M or M ~ [Measures].[D4NXLFXS1ULO50FAO05ZCM9DN] ~ U
    Please help me how to see the proper description of Char or KF?
    Thanks,
    Smruti
    Edited by: Smruti Pattani on Dec 11, 2008 8:12 PM

    Hi,
    I built a Crystal Report on BI query using SAP BW MDX Query.I have Crystal Reports 2008 and BO Integration kit for sap XI 3.1. I am able to bring in all the query fields into report but when i try to see preview, system fails to retrieve data and it gives me error
    Database Connector Error: "BAPI Error # :0"
    Error occurred when starting the parser: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
    Please help me how to resolve this issue.
    Thanks,
    Smruti

  • How to: Make Shipping Condition field required in Tx. VT01N

    Hi everyone. I need to make the Shipping Condition field required in the transsaction VT01N Create Shipment.
    I don't know how to do this, can somebody help me with this issue???
    Thanks for your help!

    Hi Chemo,
    As far i undestand, you want to calculate freigth cost using transportation.
    To do this, you need to do some settings at that point to achieve that, please follow the link to configuration guide:
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LETRA/SDTRA.pdf
    On functional side (after configuration), you´ll need to create the shippment cost document on VI01 transaction, there you can see all the cost associated to Shipping.
    After that transfer it to MM using T-code VI02, its needed.
    I Hope this help you,
    Regards,
    RP

Maybe you are looking for