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

Similar Messages

  • 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

  • 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

  • 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.

  • 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

  • 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.

  • Custom Lookup Field

    Hi
    Is it possible to create custom lookup field (e.g Owner, Parent Account). ?
    Sundar

    The fields that you have mentioned are in the system but i do not think its possible to create a new one. I am surprized oracle is not supporting. I believe this should be a key enhancement because every other SaaS based CRM product offers this.

  • Create Service Agreement - In Status field, "Release" is not appearing.

    Hi folks,
    I am creating a simple Service Agreement in CRM Web UI. Entered all data required like Customer, product, org details, price discount etc.. and tried to "release" before saving.
    In the Status field "Release" option is not there to select. I see only "In Process" and "Completed".
    Can anybody tell me how to make 'Release' available, so that I can release the document and save it.
    The price is not determined for the product. Could that be the reason?
    The document is error free as I don't see errors in App log.
    Please give me and idea to resolve. Will be generous in giving points.
    Regards,
    John

    Hi Shashidar,
    Thank you for your response. Here is the following steps I did:
    1. Status profile is CRMORDER
    2. In this status profile, I see the following:   Open with status No.10
                                                                        In Process - 20
                                                                        Completed - 30
                                                                        Rejected - 40
    3. I added a new entry for Released with status number: 50
    4. I have taken care of the Lowest and Highest Limits.
    5. I also checked the 'Object Type' as 'Agreement'
    Now, I am not clear which Business Trans I should assign. In the drop down list, I see many Bus.Trans for 'Release'
    such as APRL - Release / CALL - Release / CREL - Release and so on.
    My question is, which one of these should I select. I tried couple of them, it did not work. (Release still not appearing on CRM7.0 Web UI)
    Currently, I am trying to release a Service Agreement on the Web UI. I played around with lowest and highest limits a couple of times and it changes accordingly in Web UI. But some reason 'Release' is not visible which carries the status No.50.
    I wonder what is going wrong. Any help would be well appreciated with generous points.
    Thank you in advance,
    Fred

  • OIM 11g - Error Creating Custom 'Service Account' Field

    Hi experts,
    we would like to create a custom "Service Account" checkbox on a Form Provisioning, in way to enable\disable the 'service account'
    status on a target account.
    We wanto to control the 'Service Account' status through a checkbox into the account form.
    Here our steps:
    - Create a new Field on 'UD_ADUSER' Form, we add a 'Service Account' CheckBox as boolean type with default value = 0.
    - Create a new Adapter 'Service Account':
    ---- into 'Variable List' tab we define 2 variables: ProcessInstance -> Long and ServiceAccountCheckBox -> boolean
    ---- into 'Adapter Task' tab we define an IF(ServiceAccountCheckbox == 1) launch tcUserOperationsIntf.changeToServiceAccount method, with our variable 'ProcessInstance' as Input
    - Create a new task into 'Process Definition', we created 'Service Account Updated'.
    ---- into task tab named 'Integration' we set our custom adapter, mapping Process Data > Process Instance and Process Data > Service Account with adapter variables.
    When we assign an 'AD User' resource to a user, the new checkbox 'Service Account' is showed into the form.
    If we check/uncheck the checkbox the task 'Service Account Updated' is launched, but the response is "*Specified User Account Not Found*"
    I think that the problem is into the adapter..
    Any one can help us?
    Best Regards
    AT

    As I said map user key(usr_key) and process instance key(orc_key) form design console
    and use below query to get oiu_key
    prockey=<PROCESS_INSTANCE_KEY>;
    user_key=<USR_KEY>;
    String sqlquery="select oiu_key from oiu " +
    "where ORC_KEY = prockey " +
    "and usr_key = user_key" ;
    Connection con=Platform.getOperationalDS().getConnection();
    Statement st=con.prepareStatement(query);
    ResultSet rs=st.executeQuery();
    while(rs.next())
    long oiuKey=rs.getLong("oiu_key");
    now pass this key in the method

  • Creating auto increment custom metadata field in UCM

    Hello,
    Can anyone tell how to create a metadata Integer field with Auto Increment option?
    Also while creating users, I have a custom Department field. I want this field to be displayed in my profile. How can i achieve this?
    Richa

    SHort of paying someone else to do the work for you I am afraid there is no shortcut.
    However writing a component need not be difficult or complex if you take a sensible approach.
    There are some excellent blogs out there, at least one comprehensive book and even the documentation will get you started
    http://download.oracle.com/docs/cd/E10316_01/cs/cs_doc_10/documentation/developer/sdk_getting_started_10en.pdf
    I recommend you get Bex's book and you should be able to get a new component like this up and running in a day or two.
    Tim

Maybe you are looking for

  • Best settings for import

    i asked a question here http://discussions.apple.com/thread.jspa?threadID=464588&tstart=0 regarding different sound qualities. i'm also wondering if it is partially due to the settings i have for importing songs. i import using MP3 at 192 kbps. shoul

  • Vendor Rebate Error

    Hi All, I am trying to get Vendor Rebates working in SAP. When creating a rebate using transaction MEB1 it is bringing the below error. Business volume comparison not possible for arrangement  (no comp.type) Message no. NAA303 Diagnosis Arrangement t

  • Tried updating to 11.4 Itunes and it says "key not valid for use in specified state"

    when I  tried to update ITunes to 11.4 I get an error message saying " key not valid for use in specified state"  I tried uninstalling iTunes and downloading the new version but it still won't download.  I also tried syncing my Iphone 6 and it wouldn

  • How to get a Printer Claim. Code for OfficeJet 8500a 909g AIO series.

    I tried following the instructions by attempting to use Option 2, BUT there is NO WEb Services option in the SETUP menu. How do I go about getting the Claim Code OR get the Web. Service Information that has the information that I need to register my

  • RSA3 - Extractor seems to run forever for a particluar datasource

    Hi All, I am trying to check a infocube export datasource - 8ZBVOLVOL1 in RSA3 and it seems to run forever and never returns any values. I am using the default values in the settings : Request Id - TEST Data records/calls - 100 Display Extr Calls - 1