Create Custom Status Field in Webi

Hi everyone,
I have to apply a Business Rule in my report and don't know how exactly go about it.
(I'll be using Webi on top of Bex Query.)
I have the filed called Material Availability Date, so based on this fields I need to create the status that would be recalculated every date for the same and new Sales Orders
The rules is the following
If Material Availability Date is LESSER THEN today's date THEN status is "In Future"
If Material Availability Date is EQUAL today's date THEN status is "Today"
If Material Availability Date is GREATER THEN today's date THEN status is "Outstanding"
I don know how to compare the dates in Bex Designer, but how can I create this new column where the text "In Future" or "Today" or  "Outstanding" would appear?  Any Ideas.
I thought on creating the Dates Variance Formula, so I'd compare the  Material Availability Date to System Date and I'd have positive or negative numbers or 0, but how to create the status text based on this values??
Is it possible to do it in Webi?
Thanks!

Hi Kuatroka,
you can create a variable in Webi where you compare the dates and output the required text. Then you can just add the column to the table and drag the variable to it.
Or you can do the date comparisation in the query and provide the text as a field from the query.
let me know if this helps,
Rainer

Similar Messages

  • Create Custom Status Field in Bex

    Hi everyone,
    I need a good advise on the following topic.
    I have to apply a Business Rule in my report and don't know how exactly go about it.
    I have the filed called Material Availability Date, so based on this fields I need to create the status that would be recalculated every date for the same and new Sales Orders
    The rules is the following
    If Material Availability Date is LESSER THEN today's date THEN status is "In Future"
    If Material Availability Date is EQUAL today's date THEN status is "Today"
    If Material Availability Date is GREATER THEN today's date THEN status is "Outstanding"
    I don know how to compare the dates in Bex Designer, but how can I create this new column where the text "In Future" or "Today" or  "Outstanding" would appear?  Any Ideas.
    I thought on creating the Dates Variance Formula, so I'd compare the  Material Availability Date to System Date and I'd have positive or negative numbers or 0, but how to create the status text based on this values??
    Is it possible to do it in Webi?
    Thanks!

    Hi,
    Bex cannot handle text.You can surely do the comparison and get result in numbers like 1 or 2 or 3
    Suppose if mat ava. dt is greater then system date then 1 or 2 like this.
    To do the same first thing you need to do is if you material availability date is char then convert into keyfigure using formula variable with replacement path .
    For system date you can use standard formula variable is available 0F_ADAY.This will be available under formula variable if in case its not there then you can install the same from business content.
    After that you can make a new formula and do the comparison between the two dates with the help of Boolean operators.
    As far as webi is concerned i cant say about it may be may not be not sure.
    Hope it helps.
    Regards,
    AL

  • Getting error while creating Customer Invoice Request via Web Service

    Hello,
    I am trying to create customer invoice request via web service.
    But I am getting the error message "No scheme configuration found for scheme '&CIRHP&' " continuously.
    It is working fine in reference tenant. But using the same payload its giving error in another tenant.
    Can you please tell me what is the root cause for this error?
    I have included the payload used in the prototype tenant(Payload.txt) and screen shot of the error.
    Thanks and Regards,
    Sriram

    Hi,
    Check the WSDL file is wellformed or not..You can test it using tools like XML Spy.
    Might be the attribute tag is missing something..If WSDL file is correct then, create proxy by selecting the WSDL file from local machine..
    Regards,
    Sunitha

  • Is it possible to create custom partylist field in crm 2013

    Hi,
    I want to create custom partylist field in crm 2013. Please tell me how to create?

    Hello,
    That's not possible. The only way is from/to/cc e.t.c. attributes in custom activities.
    Dynamics CRM MVP/ Technical Evangelist at
    SlickData LLC
    My blog

  • How to create customer specific fields within PC 10.0?

    Hello,
    for previous Process Controls versions 2.5 and 3.0 it was available two how-to guides to create customer specific fields. Nevertheless so far I couldn't find those versions for PC10.0.
    Does anyone have them? Or know if the 3.0 version is also valid for 10.0?
    Regards
    Andre Yuji

    Dear Johannes,
    We have a few administration transactions that you can use on back-end. For example:GRFN_STR_CHANGE -GRFN_STR_CHANGE-Change Process Control
    as well as RE_RHGRENZ4 to  Set a new end date to the objects.
    At last case, you can run the program RHRHDL00 thru SE38 Tcode.Be carefull because this program delete the object from database.
    Regards,
    Karina Atonaidan

  • One-time Customer status field

    Hi Experts,
    When I create a SD document for One Time Customer, a popup screen appears “Address from Master Data for Sold-to party (Document header)”.
    How can I control the status fields for this screen ? I already tried customizing account groups but it doesn't work. Any help will be appreciated.
    Regards,
    Efren

    Dear Efren
    One time Customer are used for customer's which are going to purchase either once or very rarely, so if you create one time customer, this same customer can be used for multiple cusomers, if you see the account group CPD in OBD2, you will find all the address fields are suppresed.
    So it will definitely ask the address of cusomer at transaction, that is the way one time customer has to be....
    Regards
    Jitesh

  • How to Add Customer Class Field in WEB-IC

    Hi CRM Experts,
    Please provide me Solution on folooing queries.
    1)When ever i create a BP from WEB-IC, i need to enter Customer Class. Since this field is not available in the standard system i cant enter.
    So, Please tell me how to add new filed in the WebIC.
    Points will be Rewarded.
    Thanks in Advance.
    Regards,
    Sree

    Hi,
    See Thread entitled "Links to CRM Documentation" - there you will find a link to Interaction Center (IC) WebClient Consultants Cookbook. This document gives you all the info you need to add fields to the ICWC.
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000647973&_SCENARIO=01100035870000000112&_OBJECT=011000358700003057372006E
    Regards,
    Damien
    Please award points...

  • Log  display/change/create  customer master data in Web UI

    Hi Gurus,
    We got a requirement to capture user activity when customer information or transctions associated to customer is accessed by any user from Web UI.
    Detailed requiremet is given below.
    - In the Identification screen of the Web UI,any search criteria entered by the user to search for BP needs to be captured.
    - when user create/change/display any BP , it should be logged
    - When user view the customer overview screen , it should be captured
    -When Buiness agreement/Contract account is viewed it needs to be logged
    -Any associated transactions of BP are accessed needs to be captured.
    Please suggest how this can be achieved.
    Any kind of help would be rewarded with points.
    Regards,
    Ravi

    are you using webdynpro or bsp?

  • Creating custom Metadata fields

    When I import images I need to add contact details of property owners and there's sometimes 2 or 3 owners so I've created a custom Metadata preset and used the "other" tab at the bottom of the Metadata inspector to add the fields: "Contact 2", "Contact 3" and "Cell phone", "Email" etc.
    The problem I have, is that I can add a new field in the "New Custom Metadata" box at the top of that tab, but the "+" symbol remains greyed out unless I enter characters into the Metadata value field. However, entering "placeholder" characters into the value field in order to activate the "+" symbol seems crazy because I'm creating a template, and the data will be different every time I import and I don't want to have to delete the placeholder characters when I'm importing. I just want to have custom fields and a blank box for data entry beside ready for me to fill it in when I import. Is this possible?

    A metadata field of type boolean will be a checkbox as long as there is no lookup associated with it.
    If you assign a lookup to it (either when you create the field, or in the group), then you will see it with a lookup.

  • Populating Customer Type field via web form

    Hi all,
    There's a field in the CRM called Customer Type. Is it possible to populate this field using a web form?
    Appreciate any advice.

    Ok thanks for letting me know. Do you know if the feature will be coming in the first or last half of the year?

  • Create Custom List, store information and display the information on web part

    Hi,
    Working on a Custom visual web part in sharepoint 2010. Scenario is i would like to have two button on that web part, one is "I read it " button for users to tag the page and another one is "find the list of people who already tag/read that
    page". i have added a visual web part into my project and two buttons event within it. Now goal is once user click on "I read it button" it will create custom list to store urls and usersname. When click on "Find the list of people"
    get the username only for that specific page whoever read/tag it.
    1. How can i create the custom list to store all users information
    2. Retrieve the information from Custom List and Display the list of people based on specific page url who ever read/tag that page. 
    Any help will be greatly appreciated!

    Appreciated for your help!
    List has four columns Title, Hyperlink, Created by, and created. i just wanted to display Users and hyperlink column. i tried to retrieve the items from list but query is not returning any items and displaying. As you said in CAML query we can pass the page
    url to get the collection of user for that particular page. but is not something will be hard coded value, if we pass the page url into CAML query? is there something we can dynamically retrieve the users based on page url.  for example, if users visits
    30 different page url, i need to put all those urls into CAML Query. do i need to create custom user field or i can use Created by field to get the users? please correct me if i am wrong. Below is the code:
    using System;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.WebControls;
    using System.Data;
    namespace CustomUserControl.VisualWebPart1
        public partial class VisualWebPart1UserControl : UserControl
            protected void Page_Load(object sender, EventArgs e)
            protected void btnRead_Click(object sender, EventArgs e)
                using (SPSite site = new SPSite(SPContext.Current.Web.Site.ID))
                    using (SPWeb web = site.OpenWeb())
                        web.AllowUnsafeUpdates = true;
                        SPList list = web.Lists["UserInformation"];
                        SPListItem newItem = list.Items.Add();
                        SPFieldUrlValue hyper = new SPFieldUrlValue();
                        //hyper.Description = "Google";
                        hyper.Url = System.Web.HttpContext.Current.Request.Url.AbsoluteUri.ToString();
                        newItem["Hyperlink"] = hyper;
                        newItem.Update();
                        web.AllowUnsafeUpdates = false;
            protected void btnDisplay_Click(object sender, EventArgs e)
                SPWeb web = SPContext.Current.Web;
                SPList list = web.Lists["UserInformation"];
                SPQuery query = new SPQuery ();           
                query.Query = "<Where><Eq><FieldRef Name='Hyperlink' Type='URL' /><Value>http://nyc01d1sptmp01:8080/diligent/wiki/cft/Pages/home.aspx</Value></Eq></Where>";
                DataGrid grdList = new DataGrid();
                SPListItemCollection items = list.GetItems(query);
                DataTable table;
                table = new DataTable();
                table.Columns.Add("Title", typeof(string));
                table.Columns.Add("Hyperlink", typeof(string));
           table.Columns.Add("Created by", typeof(string));
                DataRow row;
                foreach (SPListItem result in items)
                    row = table.Rows.Add();
                    row["Title"] = result.Title;
                    row["Hyperlink"] = result.Name;
           SPFieldUser userField = (SPFieldUser)result.Fields.GetField("Users");
                    SPFieldUserValue userFieldValue = (SPFieldUserValue)userField.GetFieldValue(result["Users"].ToString());
                    SPUser user = userFieldValue.User;
                    string name = user.LoginName;
           row["Created by"] = name;
                grdList.DataSource = table.DefaultView;
                grdList.DataBind();

  • Creating Custom DropDownList FieldType in C#

    Hi,
    I need to create a custom dropdown list fieldtype in SharePoint 2013. I am new in SharePoint Development so need complete code step by step.

    Hi,
    Please refer to the following articles
    To Create a Custom Field Type, you can refer to:
    How
    to: Customize a field type using client-side rendering
    SharePoint 2013: Create custom Geolocation field type with client-side rendering
    SharePoint
    2013 Custom Field Type vs. Aggregation vs. XSLT list view vs. JSLink
    How to: Create a User Control for
    a SharePoint Application Page or Web Part
    Adding
    a custom control to a page with Design Manager
    Please mark it answered, if your problem resolved.

  • Displaying Custom Opportunity Fields in Accounts

    Hi,
    We have created custom opportunity fields via EEWB. We would also like to display these fields in the Accounts page, in the Opportunities assignment block as columns. The fields were already part of the BUILOPPORTUNITY context node. I have created the get & set methods in ZL_BP_BPBT_ACCOUNTOPPORTU_CN01, added the fields to the screen, and it is still not populating. Is there something else I need to do besides the steps above?
    Thanks,
    Bernard

    hi,
    In personalize section of the Assignment block, make Reset to Default settings and save, also check the configuration key details.
    regards
    Ismail

  • Custom metadata fields?

    I'm trying to find a way to create custom metadata fields so I can better organize my footage.  For example, say I'm filming a bunch of old cars, and I want to sort them by make and model, obviously there's no make and model field by default.  I've read articles that say this is possible, but I can't seem to find a way to do it.  Thanks!
    Edit:  And related to that, is there a way to delete any of the metadata fields?  Since I'm doing video, I'd rather not have to scroll through things like Album and Artist, etc.  Thanks.

    In the Metadata panel open the flyout menu in the upper right and choose "Metadata Display..."
    Now you can turn off the metadata schemas you're not interested in seeing.
    Now click the New Schema button.
    Give your new Schema a name.
    Now click the Add Property button next to your new custom schema.
    Give it a name, like "Make", of type "Text".
    Then do the same again for "Model".
    Now you can select a set of clips all of the same make then enter what you'd like into the "Make" field and that metadata will be applied to the selected clips.
    This is searchable, so in the Project panel you can search for the text you've entered into one of these fields and only clips containing that metadata will appear in the list (next to the search box Prelude reports "(filtered)" to let you know you're not currently seeing all of your clips.
    I hope this helps!

  • Customer specific field.........

    hi,
    1- How can i  create customer specific fields for PROJ DEF. & WBS.
    2- how it will come on the PS WBS or Proj. Def. Screen

    Hi,
    You can create Customer Specifc field through Enhancement of Configuration. You need to go to transaction CMOD & define the enhancement. ABAPer will be required for this purpose.
    Hope this will help you.
    Regards,
    Rakesh Pradhan

Maybe you are looking for