Assigning a date countdown to fields in a pop up menu

Hi everybody.
I would be very grateful for some help.  I need to create a spreadsheet using Apple Numbers where I can insert the date of an inspection, select either 2 years, 1 year, 6 months or three months from a pop up menu, and have a cell that counts down in weeks to the date of next inspection.  E.g.  Inspection date was 17 March 2015, I select 6 months for the next inspection, and a cell displays the week that inspection is due.  Maybe it could go orange the week before the due date, and red if the date has passed by. 
Is this possible?
From a Numbers newbie!   Thank you!

To get the next inspection date you could do something like this:
          =EDATE(A2,B2)
The popup in column B (the values are in months as that's convenient for the EDATE function) looks like this:
SG

Similar Messages

  • Problem in assigning date valje to field

    Hi,
    I have  a problem in assignning date value to field.
    i am retriving date from a table and assigning it to a field which is date type in the form.. but it is not reflecting..
    Error: form Bad Value..
    how to assign the date values in the form..
    Mahi

    Hi mahendra,
    I think the Bad Value Error Occurs only if the databound datasource in the form must have different data type...
    oForm.DataSources.UserDataSources.Add("eDate", SAPbouiCOM.BoDataType.dt_DATE, 10);
      SAPbouiCOM.EditText oEdit;
      oEdit = oForm.Items.Item("1").Specific;
      oEdit.DataBind.SetBound(true, "", eDate);
    with Regards,
    MadhuSudhana Rao.G

  • Color coding in the "Date" and "Time" field in "Person Assignment"

    Hi,
    What does it mean when the color of the values for the "Date" and "Time" fields under the tab "Person Assignment" on an activity element in the project builder (CJ20N) turn red?
    Regards,
    Petter Kvalvik

    Hi,
    I dont suppose we have any option to achieve this at Query Designer level. Your requirement can be achieved in Workbook,
    Insert text template in one of the cell in your workbook, context menu--properties-Constant Tab----Check Display last Refreshed. Doing this you will get Date and Time of last refreshed data.
    Thanks,
    Vishnu.

  • Assign master data fields of assets and equipment

    i want to include vehicle licence number in field assignments between FI-Asset accounting and Plant Management.
    How do i implement the enhancement to that effect.
    path spro .... AssetAccounting->Master Data -> Automatic Creation of Equipment Master Records->Develop Enhancement ..
    Step by Step please...
    But any suggestion is welcome
    Urgent.
    Edited by: Alvaro Tejada Galindo on Apr 10, 2008 12:40 PM

    hi,
    below documentation from enhancement AIST0002
    1.  Create structure CI_ANLU in the ABAP Dictionary, and define the
         fields that you want to have in the asset master record in addition
         to the standard fields. The master record data of these fields will
         later be stored in the separate table ANLU.
    2.  Create include ZXAISU03 in function group XAIS. Enter program code
         there in order to transfer the asset master data to global
         variables. The asset master data referred to here is the data that
         is transferred using function module EXIT_SAPLAIST_002, and which
         you need later for checking the field contents of the fields that
         you have defined. At the least, you should transfer the values
         transferred in parameter I_ANLU to a global structure.
    3.  In function group XAIS, define one or more subscreens that you want
         to integrate into the maintenance interface of the asset master
         record. On these subscreens, you can either
    reward points if helpful
    best regards,darek

  • How can i assign value to the certain field in dynmic table ?

    i have created a dynmic table .now i want to assign value to the certain field,how can i do that?
    for eg,
    <dyn_table> contains fields of  name age ,now i want assign 'jack' to this internal talbe's field name ,

    Hi,
    try this:
    FIELD-SYMBOLS: <GT_ITAB>      TYPE TABLE,
                   <GS_ITAB>,
                   <FS>, <FS1>.
    DATA: GT_DATA   TYPE REF TO DATA.
    DATA: GS_DATA   TYPE REF TO DATA.
    START-OF-SELECTION.
      CREATE DATA GT_DATA TYPE TABLE OF PA0002.
      ASSIGN GT_DATA->*   TO <GT_ITAB>.
      CREATE DATA GS_DATA    LIKE LINE OF <GT_ITAB>.
      ASSIGN GS_DATA->*      TO <GS_ITAB>.
      ASSIGN COMPONENT 'NACHN' OF STRUCTURE <GS_ITAB> TO <FS>.
      <FS> = 'Smith'.
      ASSIGN COMPONENT 'VORNA' OF STRUCTURE <GS_ITAB> TO <FS>.
      <FS> = 'Paul'.
      APPEND <GS_ITAB> TO <GT_ITAB>.
      ASSIGN COMPONENT 'NACHN' OF STRUCTURE <GS_ITAB> TO <FS>.
      <FS> = 'Jones'.
      ASSIGN COMPONENT 'VORNA' OF STRUCTURE <GS_ITAB> TO <FS>.
      <FS> = 'Martin'.
      APPEND <GS_ITAB> TO <GT_ITAB>.
      LOOP AT <GT_ITAB> INTO <GS_ITAB>.
        ASSIGN COMPONENT 'NACHN' OF STRUCTURE <GS_ITAB> TO <FS>.
        ASSIGN COMPONENT 'VORNA' OF STRUCTURE <GS_ITAB> TO <FS1>.
        WRITE: / <FS>, <FS1>.
      ENDLOOP.
    Regards, Dieter

  • Assigning a value to a field-symbol (workarea of type any)

    Dear forumers,
    I'm having a bit of difficulty in assigning a value to a field-symbol (it should be treated as a workarea of type any), but I'm given a syntax error instead:-
    The data object "<LFS_WORKAREA>" has no structure and therefore no component called "LFMON".
    What could have gone wrong and how may I resolve this (I must have missed something out)? I will still need <LFS_WORKAREA> to be defined as TYPE ANY.
    Please help. I'd appreciate any inputs at all. Thanks.
    *&      Form  FORMAT_POST_PERIOD
    *       Subroutine to format the posting period data
    *      --> PI_MBEW     Material valuation data (internal table)
    FORM format_post_period  CHANGING    pi_mbew TYPE ANY TABLE.
    " Create local field symbols
      FIELD-SYMBOLS:
      <lfs_workarea> TYPE ANY,
      <lfs_lfmon>    TYPE ckmlcr-poper.
    " Create local variables
      DATA: lv_index TYPE sy-tabix.
      DATA: lv_lfmon TYPE ckmlcr-poper.
    " Format posting periods
      LOOP AT pi_mbew ASSIGNING <lfs_workarea>.
        lv_index = sy-tabix.
        ASSIGN COMPONENT 'LFMON' OF STRUCTURE <lfs_workarea> TO <lfs_lfmon>.
        PERFORM convert_lfmon USING    <lfs_lfmon>
                              CHANGING lv_lfmon.
        MOVE lv_lfmon TO <lfs_workarea>-lfmon.   " the syntax error occurs here  :(
        MODIFY pi_mbew FROM <lfs_workarea>
          INDEX lv_index
          TRANSPORTING lfmon.
        CLEAR: <lfs_workarea>,
               <lfs_lfmon>
               lv_lfmon,
               lv_index.
      ENDLOOP.
    ENDFORM.                    " FORMAT_POST_PERIOD

    Most of us aren't in it for the points in any case...
    For your solution you've redundant code:
    *&      Form  FORMAT_POST_PERIOD
    *       Subroutine to format the posting period data
    *      --> PI_MBEW     Material valuation data (internal table)
    FORM format_post_period  CHANGING    pi_mbew TYPE ANY TABLE.
      FIELD-SYMBOLS:
      <lfs_workarea> TYPE ANY,
      <lfs_lfmon>    TYPE ckmlcr-poper.
      DATA: lv_lfmon TYPE ckmlcr-poper.
    *  DATA: lo_workarea TYPE REF TO data.   "<--Not needed, because the LOOP AT ASSIGNING below does the work
    *  CREATE DATA lo_workarea LIKE LINE OF pi_mbew.
    *  ASSIGN lo_workarea->* TO <lfs_workarea>.
      LOOP AT pi_mbew ASSIGNING <lfs_workarea>.
        ASSIGN COMPONENT 'LFMON' OF STRUCTURE <lfs_workarea> TO <lfs_lfmon>.
        PERFORM convert_lfmon USING    <lfs_lfmon>
                              CHANGING lv_lfmon.
        <lfs_lfmon> = lv_lfmon.
        CLEAR lv_lfmon.
      ENDLOOP.
    ENDFORM.                    " FORMAT_POST_PERIOD
    Here's a couple of more efficient solutions, using LOOP AT INTO.
    FORM format_post_period  CHANGING    pi_mbew TYPE INDEX TABLE. " <-- Table type a little more specific
                                                                   "<--now you can use index operations
      FIELD-SYMBOLS:
      <lfs_workarea> TYPE ANY,
      <lfs_lfmon>    TYPE ckmlcr-poper.
      DATA: lv_lfmon TYPE ckmlcr-poper,
            lv_index TYPE sytabix.
      DATA: lo_workarea TYPE REF TO data.
      CREATE DATA lo_workarea LIKE LINE OF pi_mbew.
      ASSIGN lo_workarea->* TO <lfs_workarea>.
    ASSIGN COMPONENT 'LFMON' OF STRUCTURE <lfs_workarea> TO <lfs_lfmon>.
      LOOP AT pi_mbew INTO <lfs_workarea>.
        lv_index = sy-tabix.    
        PERFORM convert_lfmon USING    <lfs_lfmon>
                              CHANGING lv_lfmon.
        <lfs_lfmon> = lv_lfmon.
        MODIFY pi_mbew FROM <lfs_workarea>
           INDEX lv_index. " <--INDEX TABLE, so this is permitted.
        CLEAR lv_lfmon.
      ENDLOOP.
    ENDFORM.                    " FORMAT_POST_PERIOD

  • Assigning a value to screen field

    Hi,
      Anybody knows how to assign a value to a field in a standard transaction without using parameter ID.
    Pionts will be awarded.
    Thanks,
    lakshmi.

    Thank you so much Rich & eswar. here is my problem.
    Actually I am updating this field based on the contract starts date and material group using one user exit.But this field is geting updated whenever there is a change to this field.it is not geting updated in other cases that is "it is geting updated if you are changing the contents of the filed or giving a new value".
    But I want this field updated all the times.
        So I thought I will assign a dummy value to this filed before I update it.For this We need a parameter id. but it is not there. So I am searching for other solution.
      Can you please help me.
    Regards,
    Lakshmi

  • Bind repeating data to multiple fields

    I am a livecycle numpty and I need some help! I am developing a readonly report. This report is using sample xml for databinding. Within the xml I have a repeating group - example:
    <group>
         <groupItem>
              <addres>parp</address>
         </groupItem>
          <groupItem>
              <addres>parp</address>
    In my report I have two sections that need to reference this repeating data. One section works and the other doesn't. I've read that you can't bind repeating data to multiple fields. How do I get around around this? I can't seem to get the global binding to work (is this purely for user entered data???)
    Please help!
    Cheers,
    Rich

    one way to do this is, in the Initialize event of the field in second repeating section, assign the rawValue from the first repeating section..
    For example..
    initialize event of Field2..
         Field2.rawValue = Field1.rawValue;
    Other way is to read the XML tags and assign the value to the fields..
    You need to loop thru the group element and read each group item value and assign the value to the field..
    Field2.rawValue = xfa.resolveNode("$record.group.groupItem").value; //this command will only read the first occurance of the groupItem value.
    Thanks
    Srini

  • Assignment Between Structure and Single Field - CL_ABAP_CONTAINER_UTILITIES

    Hi, Need some help on this as I'm not familiar with Java programming.
    Basically in ABAP, we can assign a structure (with complex data type) into a field (please refer to link below).
    Now we need to do similar thing in PI, since PI only support Java then we need to perform similar logic as in CL_ABAP_CONTAINER_UTILITIES =>FILL_CONTAINER_C, but in Java. Understand that there's no concept of structure in Java, in this case PI will receive multiple fields (with different data type) and need to combine them into one field.
    I tried few Java command/method but it doesnt give me the same result as in the ABAP class. Appreciate your help if you know anything about this or some sample program that i can test. thanks!
    SAP Help Reference for ABAP
    [ABAP - Assignment Between Structure and Single Field|http://help.sap.com/saphelp_nw04/helpdata/en/79/c554d3b3dc11d5993800508b6b8b11/frameset.htm]

    Hello Rika,
    In java we have collection framework instead...
    As per your requirement I understood :
    1. You will get a list of different type of objects as input.
    2. You want to club it in one unit....right...
    3. Once done.....I dont know what you will do with that.....I guess pass it somewhere.....
    Now, You can use ArrayList in java to club all your objects in one unit....and send it to any function you want....
    Arraylist list= new ArrayList();
        list.add(new MachineGun());
        list.add(new Gun());
    But there be carefull when you extract data from List....as you need to type cast them accordingly....
    Start trying it...and revert back if you face any problems.....
    While extracting you will have to use something like :
    if(list.get(0).getClass().getSimpleName().equals("MachineGun")){
       //here you can safely cast in the right class
           MachineGun mgun= (MachineGun )list.get(0);   

  • ALV fields which are not referenced to data dictionary table fields

    Hello,
    I am using function module reuse_alv_popup_to_select.
    How do I display fields in ALV which are not referenced to
    data dictionary table fields.
    I am showing 4 columns in alv out of which first column is checkbox
    and remaining 3 columns are from data dictionary and it works fine.
    Now I need to add one more column which is of type checkbox.
    I have added this field in my ITAB as flag(1) type C.
    When I add this flag field in the field catalog, I get exception.
    Regards,
    Vishal.

    Hey guys,
    Finally I got rid of such a stupid problem.
    There were no problem in the code.
    while assigning fieldname to field catalog I had given fieldname
    in lowercase.
    I changed it to uppercase and problem got solved.
    Thanks,
    Vishal.

  • A/c assignment category and item category fields purpose

    what is the importance of account assignment category and item category fields in po(me21n).what is the impact of that fields.

    Hi,
    Account Assignment category is a vital field in purchasing document &  has many control functions and helps in determining the object that will be charged in case of an ordered material which is procured for direct usage or consumption. By using the
    account assignment category in the purchasing documents the cost of the material can be apportioned to a single Controlling object or it can be apportioned among various Controlling objects.
    The account assignment category determines:
    a.The nature of the account assignment
    b.Which accounts are to be charged when goods receipt is posted
    c.Which accounts are to be charged when the incoming invoice are posted
    d.Which account assignment data you must provide
    Item category is vital field in the purchasing documents & has many control functions and helps in determining whether an ordered material:
    a.Requires a material number
    b.Requires an account assignment
    c.is to be placed in stock
    d.Requires a goods receipt (GR) and/or an invoice receipt (IR)
    In addition to the above it is also used for differentiating the different types of procurement processes and the types of stocks including special stocks available.
    Regards,
    Biju K

  • How to make "Data Entry Profile" field input unable or display only in CAT2

    hi ,
    I have requiremnet where I need to make "Data Entry Profile" field in the CAT2 transaction as Display only .That is for each user it should come as default one .
    The reason behind this is , user should not change this Profile and maintain an incorrect timesheet entries.
    Is there any User exit where i can do this ? 
    Let me know as this is very urgent requirement.
    Points will be definately rewarded.
    Thanks .

    Hemant,
    Got SHD0 transaction and create screen variant for that transaction there you can disable that field.
    Create Transaction variant for that transaction and assign previously created screen variant to this transaction varient. actiavte.
    Reward if it helps,
    Satish

  • BDC not inserting data in mandatory fields of MM01

    Suddenly My BDC for sales maintenance View is not working as it is not inserting data in Mandatory fields.?can any one tell me the reason

    Hi Satyanarayan,
    1. Check ur code in debug to see if your internal table contains value in mandatory fields
    2. Try executing BDC program online to figure out the problem....
    3. Check ur code to see whether u r assigning values to this fields...
    Let me know if these things are ok in ur code...
    Enjoy SAP.

  • Data Base block field

    Hi All,
    I need simple query which i found difficult to solve please guide.
    I have one database block in which five database field
    1. item1
    2. item2
    3. item3
    4. item4
    5. item5
    in which i just replace data from i field to another is such a way that each field contain two button
    1. copy
    2. paste
    when i select item1 then copy paste button enable and when i press copy button then item1 field data copy when when i select item5 button will enable and when i press button paste then data of item1 field data copy to item5 field and item5 field data copy to item1 field (simply replace of data), now the problem is when i copy of item1 data and paste to item5 its working fine but i unable to replace data item5 to item1 how can i do this.
    Thanks

    DECLARE
    TEMP varchar2 ( 15 ) ;
    BEGIN
    TEMP := :ITEM7 ;
    :ITEM7 :=:ITEM5 ;
    :ITEM5 :=TEMP;
    END;
    this is not as simple as u define
    actually i have told u i have no. of item field and we don't no which field i came if i use variable then ok but next how to this variable use can assign as replacement
    I AM USING COPY BUTTON TRIGGER
    BEGIN
         go_item('item1');
         :v_value :=:system.current_value;
         :v_curr_field :=:system.current_item;
    END;
    I AM USING PASTE BUTTON TRIGGER
    DECLARE
    BEGIN
    :ITEM1:=:V_VALUE;
    END;

  • Assignment error: Overwriting a protected field.

    Hi All,
    When I try to post some data from XI through an inbound proxy to R/3, the message get stuck in the R/3 inbound queue because of the SysFail with the error "Assignment error: Overwriting a protected field."
    If I goto SPROXY and debug the interface with the same message payload from the monitor, the execution runs through without any errors.
    If anyone has come across this kind of situation, please throw some light.
    Thanks
    AJ.

    Hi,
    When ur sending data from Source system its giving error,in SPROXY if u post data its not giving any error.R u using any date formats in source side,this will happen when ur data is worng and XI is not transforming the data into ABAP format.
    I to got same error when i have date format at source side.
    'First Check what are the transformation ur using in XI mapping.all are working fine or not.
    After that Take the payload of receiver side in SXMB_MONi and using it execute the proxy then u can find the error.
    Regards,
    Phani
    Reward points if Helpful

Maybe you are looking for

  • Search results display a block of links highlited in blue below the normal search listings

    Here is the problem I am seeing:[[ NOTE: block of links appearing below each search item.]] Live telephone support number? | Firefox Support Forum | Mozilla ... support.mozilla.org › Home › Support Forum‎ Sep 22, 2010 - Mozilla do not offer telephone

  • My Macbook pro screen tilts back way too far (180 almost) how do I fix?

    Tonight I opened my screen and it seems to go way too far back, as if it's loose. Not sure how this happened or how to fix it? Any ideas?

  • FM for an interesting calculation

    Hi all, is there a fm or an idea for the following challange: for example: Delivery: Quantity: 5000 Internal table: Qualitty 1: Matnr xyz   Quantity 103                 Matnr xyz   Quantity 350                 Matnr xyz   Quantity 4023 Quality 2: Mat

  • JDBC parameters in *.dbc file

    Hi, I have JDBC parameters as bellow , EBS version 12.1.3 FND_JDBC_BUFFER_DECAY_INTERVAL=60 FND_JDBC_BUFFER_MIN=5 FND_JDBC_BUFFER_MAX=20 FND_JDBC_STMT_CACHE_SIZE=100 FND_JDBC_USABLE_CHECK=true FND_JDBC_PLSQL_RESET=false FND_JDBC_CONTEXT_CHECK=true FN

  • Attachments with SMTP

    Hi, I am writing an email client, and I was wondering how I might be able to send attachments using the SMTP protocol. Thanks.