Seriously clever formula required...!

Dear all,
I have been trying to figure this out for so long I’ve actually lost the ability to even ask the question, but here goes...
I would like the information in the ‘Expenses input’ sheet (which is where I keep a running total of my business expenses) to be automatically summed (according to the category I assign the transaction) and displayed in the correct area of the ‘Profit & Loss’ sheet.
If I had a working formula, the ‘Profit & Loss’ sheet in this example should look like this:
CELL D20 = £197.50 (which is the sum of all category 'T1' transactions in period 'April 6th - 30th')
CELL D22 = £149.19 (which is the sum of all category 'T3' transactions in period 'April 6th - 30th')
CELL E20 = £197.50 (which the sum of all category 'T1' transactions in period 'May')
It may be worth mentioning that when a paper receipt comes in to me, I assign it a category which is written on it in pen before being filed away, this system cannot change!
In the interest of avoiding confusion, us English folk use the date format DD/MM/YY!
Any help anyone could give would be enormously appreciated. Once I've figured this out I'll be able to add an income sheet as well as a VAT (value added tax) account which will improve my quality of life no end!
Thank you.

Hi James,
You wrote:
"CELL D20 = £197.50 (which is the sum of all category 'T1' transactions in period 'April 6th - 30th')
CELL D22 = £149.19 (which is the sum of all category 'T3' transactions in period 'April 6th - 30th')
CELL E20 = £197.50 (which the sum of all category 'T1' transactions in period 'May')
Essentially, what you are looking for is a SUMIFS statement.
Here are two possibilities, both shown in the example:
The small table on the left is a representation of part of your Expenses table, showing the expenses in your example.
The two tables on the right are representations of the active part of your P&L table, showing category totals for the sample expenses in the Expenses table. The error warning triangles in the lower table are expected, and are explained below. Several rows are hidden to reduce the size of the screen shot. The tables differ only in the formula used.
(Upper example):
D20: =SUMIFS(Expenses :: $E,Expenses :: $A,$A20,Expenses :: $D,">="&D$1,Expenses :: D,"<"&EOMONTH(D$1,0)+1)
(Lower example):
D20: =SUMIFS(Expenses :: $E,Expenses :: $A,$A20,Expenses :: $D,">="&D$1,Expenses :: D,"<"&E$1)
In each case, the fornula is filled down from D20 to the end of the categories, and  filled right to the last column.
As the second formula references the header cell containing the full date at the top of its column AND the cell containing the date in the next column to the right, the lower version of the table will require one column beyond the last one for which sums are being reported
Both formulas reference the Date and Time value in the cell in row 1 of their own column. This MUST be a true Date and Time value, MUST be the first day of the period to be summed in its column, and MAY need to match the format of the Date and Time value used in column D of the Expenses table. (Note that I used April 1 for the first date. This can be changed to April 7 if you want to eliminate any entries prior to that date.)
The category codes in column A must match exactly those used in column A of the Expenses table.
You will need to change "Expenses" in the formula to the actual name of your Expenses table.
Row 1 is a 'working row', necessary to the formulas, but optional to the user's view. It may be hidden.
Row 2 of the P&L table uses a formula to extract the month from the date in row 1, and display the name of that month.
D2: =MONTHNAME(MONTH(D1))
Fill right a needed.
Details on the functions used may be found in the iWork Formulas and Functions User Guide. The guide may be downloaded via the Help menu in Numbers.
Regrds,
Barry

Similar Messages

  • BW query Formula requirement

    Dear Experts,
    We have scenario. Calculation of incentive for sales employee based on
    1. Individual target       ( Incentive A )  - This i am able to get
    2. sales office target   (  Incentive B )  - 
         formula required here is based on total of  sales and target for a salesoffice
        Sales office         Sales employee             Sales qty        Target Qty    Incentive A        Incentive B
         Dubai                 Salesman  A                    8                    10             Formula A      Formula B
                                  Salesman  B                   10                    10             Formula A      Formula B
                                  Salesman  C                   13                    10             Formula A      Formula B
                            Sales officewise total             31                     30
    How to pickup salesofficewise total  in Formula B ?
    or get constant value of total against each sales employee in separate column so that i can use in formula.
    Thanks & Regards,
    Dilip W

    Dear Experts,
    I have tried suggested solution not working. I am reframing my question with example.
    We have scenario. Calculation of incentive for sales employee based on
    Sales office target and Actual Sales ( Incentive B ) -
    formula required here is based on total of sales and target for a salesoffice.
    or difference of toatal Sales qty and Target qty for a salesoffice as consatat value against each salesman
    Sample data for reference : e.g ( 30 - 31 ) = -1 ( Based on this i can build my formula B )
    Sales office Sales employee Sales qty Target Qty Incentive B
    Dubai           Salesman A       8            10            Formula B
                        Salesman B    10            10             Formula B
                        Salesman C    13            10             Formula B
    Sales officewise total..         31            30
    How to pickup salesofficewise total in Formula B ?
    Formula Requirement is to use get /refer constant value of salesoffice wise total against each sales employee.
    Thanks & Regards,
    Dilip W

  • Seriously complicated exit requirements (ABAP)

    Hello experts!
    I would be very grateful for assistance with a complicated requirement I have gotten. I am replacing a fox formula which is causing serious performance problems  ... its 16 pages long when entered into Notepad =8O
    Background:
    The aggregation level includes 3 basis provider (thru a multi-provider).
    2 of these are only to read (BCCMC02, BCCMP07), i.e. reference data.
    The target cube (BCCMC06) and the other cubes can NOT be changed.
    I wish to move the data thru a loop into a dynamically generated table which is supposed to be identical to c_th_data AND contain a few additional fields which I require for calculation.
    Is this possible?
    I have posted my first attempt below:
    method IF_RSPLFA_SRVTYPE_IMP_EXEC_REF~EXECUTE.
      field-symbols:
        <f_ref_data>        type  any,
        <f_interim_data>    type  any,
        <f_new_data>        type  any,
        <f_itab>            type  any table,
        <f_infoprov>        type  RSINFOPROV,
        <f_infoprov_ref>    type  RSINFOPROV,
        <f_ref_data_BCCMP07>  type  any,
        <f_ref_data_BCCMC02>  type  any,
        <f_spc>             type  /bic/oiBHSPC0,
        <f_spc_ref>         type  /bic/oiBHSPC0,
        <f_blcopem1>        type  /bic/oiblcopem1,
        <f_blcopem1_ref>    type  /bic/oiblcopem1,
        <f_blcalpo0>        type  /bic/oiblcalpo0,
        <f_blcalpo0_ref>    type  /bic/oiblcalpo0.
      data:
        l_r_data1            type  ref to data,
        l_r_data2            type  ref to data,
        l_d_sumcostpo        type  f,
        l_d_deltacostpo      type  f,
        l_d_sumdeltacostpo   type  f.
    Generate new (empty record)
      create data l_r_data1 like line of c_th_data.
      assign l_r_data1->* to <f_new_data>.
      TYPES:
        BEGIN OF l_modif_c_th_data,
          l_r_itab    type  ref to data,
          thiscostpo  type  /bic/oiblcopem1,
          thiscostto  type  /bic/oiblcopem2,
          thiscostcm  type  /bic/oiblcopem3,
          thismanpo   type  /bic/oiblmansec1,
          thismanto   type  /bic/oiblmansec2,
          thismancm   type  /bic/oiblmansec3,
        END OF l_modif_c_th_data.
      data:
        l_r_itab    type  ref to data.
      create data l_r_itab type table of l_modif_c_th_data.
      assign l_r_itab->* to <f_itab>.
    Generate new (empty record)
      create data l_r_data2 type l_modif_c_th_data.
      assign l_r_data2->* to <f_interim_data>.
    Loop at reference (source) data - first loop
      loop at i_th_ref_data assigning <f_ref_data_BCCMC02>
        where ('0INFOPROV') = 'BCCMC02'.
        assign component 'BLCOPEM1' of
               structure <f_ref_data_BCCMC02>
               to <f_blcopem1_ref>.
        <f_new_data> = <f_ref_data_BCCMC02>.

    Hi,
    I can only give some hints since I don't know in detail what you want to achieve:
    - are the additional fields characteristics, key figures or only technical fields you need
    - are the additional fields key fields of the table to be created
    - is the contents of c_th_data only for reference or will you change something there or even add records
    In ABAP you can create any internal table you can imagine on the fly, based on existing run time objects or by hand. The methods to use are RTTI ( run time type information), e.g.  in SE24 read the documentation of CL_ABAP_TYPEDESCR.
    When you need c_th_data only as a reference and you know your additional fields at implementation time of your exit (this seems to be the type l_modif_c_th_data), then you can link your table and c_th_data by a reference technique. You don't need RTTI here.
    data:
    BEGIN OF l_s_data_ext,
    r_s_data type ref to data,"points to a line of c_th_data
    thiscostpo type /bic/oiblcopem1,
    thiscostto type /bic/oiblcopem2,
    thiscostcm type /bic/oiblcopem3,
    thismanpo type /bic/oiblmansec1,
    thismanto type /bic/oiblmansec2,
    thismancm type /bic/oiblmansec3,
    END OF l_s_data_ext.
    *assume you only need a standard table
    data:
    l_r_t_data_ext type ref to data,
    field-symbols:
    <l_t_data_ext> type any table,
    <l_s_data> type any."wa for c_th_data
    create data l_r_t_data_ext like standard table of l_s_data_ext with default key.
    assign l_r_t_data_ext->* to <l_t_data_ext>.
    *fill table <l_t_data_ext> from c_th_data
    loop at c_th_data assigning <l_s_data>.
      get reference of <l_s_data> into l_s_data_ext-r_s_data.
    you may use assign component ... to work with some fields of <l_s_data>
    here I do nothing, i.e. all other fields of l_s_data_ext are initial.
      append l_s_data_ext to <l_t_data_ext>.
    endloop.
    Now in <l_t_data_ext> each line references a line of c_th_data. So you have not copied c_th_data,
    you can read (and even modify) c_th_data when you loop at <l_t_data_ext>, but do not change key
    fields of c_th_data, then you will get a dump.
    Example:  Access c_th_data lines via <l_t_data_ext> in a loop:
    field-symbols:
      <l_s_data_ext> like l_s_data_ext.
    loop at <l_t_data_ext> assigning <l_s_data_ext>.
      assign <l_s_data_ext>-r_s_data->* to <l_s_data>.
    you can access fields of the line structure of c_th_data as usual
    endloop.
    I hope this is helpful.
    Regards,
    Gregor

  • % to sales formula required in Structures _ FI Report

    The Finance Profit / Loss report involves using of structures.
    Structures are elements with different GL account groupings
    Structure Elements    Balance    % to Sales
    Sale                         150000         100%
    Materials                    32000         21%
    Employee Cost           23000         15%
    Contribution                95000         63%
    Administration cost     23500         16%
    Finance Charges          8150           5%
    Net Profit                   63350          42%
    Taxes                        19005          13%
    Profit After Tax           44345          30%
    I have worked out the structure and the balance key figure. The % to Sales figure is becoming slightly difficult. Could you suggest how to work out this formula
    Normalization does not serve the purpose. Could you pl. let me know how I can get the above % to Sales.
    Your earliest response is requested.
    Kind Regards
    Siva Kumar

    Hi,
    I have a requirement similar to Siva's. But I won't use structures for my P&L statement elements. I'd like to take advantage of the cost element hierarchy, which has already been structured with the P&L statement in mind.
    That way the statement wouldn't be limited to its fixed, high level aggregated form. The user might drill down into deeper detail, expanding the hierarchy in order to analyze the single cost elements.
    Again, how can a percentage to the sales figure would be calculated? The sales figure is given by the cumulated balance key figure, restricted with a specific cost element hierarchy node that is known. But how to select and use that value in a BEx query?
    Thanks, [Davide|https://wiki.sdn.sap.com/wiki/display/profile/Davide+Cavallari|My wiki profile]
    Edited by: Davide Cavallari on Jan 19, 2008 1:33 AM

  • Formula required for milk production regime

    Month
    Herd Size
    New Additions in Herd
    Milk Production/cow
    (Litres)
    Total Milk Production
    (litres)
    Jan
    10
    10
    100
    Feb
    20
    10
    10 + 10
    100+100
    April
    20
    0
    8 + 10
    80+100
    May
    20
    0
    5 + 10
    50+100
    June
    20
    0
    2 + 10
    20+100
    July
    40
    20
    1+8+10
    10+80+200
    Hello,
    I want to make cash flow for dairy farm, as you may know as the time passes the milk production of the cows gradually decreases. As you can see in the table above I have selected the text colour for every new purchase of cow come in the farm. Till now I have manually put the milk produced per cow for every new herd can somebody please help me to make a formula so I do not have to manually decrease the milk production. I just put the new herd size and total milk production automatically calculated in the last column for the next 5 months. thanks
    Further Explanation of the table:
    First purchase of 10 cows give 10 litres/cow milk for 2 months then they decrease it to 5 litre/cow in the third month. Every new addition in the herd will follow the same pattern.
    Apple Numbers 3.5.2.

    Hello
    You may use SUMPRODUCT() to calculate the total litres for each month such that -
    ∑ { [number of cows of i'th month] * [liters per cow of i'th month] } : i = 1..N
    E.g., (N = 6)
    Litres
    A1  month
    A2  6
    A3  5
    A4  4
    A5  3
    A6  2
    A7  1
    B1  litre/cow
    B2  1
    B3  2
    B4  5
    B5  8
    B6  10
    B7  10
    Table 1
    A1  month
    A2  *
    A3  *
    A4  *
    A5  *
    A6  *
    A7  Jan
    A8  Feb
    A9  Mar
    A10 Apr
    A11 May
    A12 Jun
    B1  herd size
    B2  0
    B3  0
    B4  0
    B5  0
    B6  0
    B7  =B6+C7
    B8  =B7+C8
    B9  =B8+C9
    B10 =B9+C10
    B11 =B10+C11
    B12 =B11+C12
    C1  new cows
    C2  0
    C3  0
    C4  0
    C5  0
    C6  0
    C7  10
    C8  10
    C9  0
    C10 0
    C11 0
    C12 20
    D1  total litres
    D2 
    D3 
    D4 
    D5 
    D6 
    D7  =SUMPRODUCT(C2:C7,Litres::B$2:B$7)
    D8  =SUMPRODUCT(C3:C8,Litres::B$2:B$7)
    D9  =SUMPRODUCT(C4:C9,Litres::B$2:B$7)
    D10 =SUMPRODUCT(C5:C10,Litres::B$2:B$7)
    D11 =SUMPRODUCT(C6:C11,Litres::B$2:B$7)
    D12 =SUMPRODUCT(C7:C12,Litres::B$2:B$7)
    E1  litres/cow
    E2 
    E3 
    E4 
    E5 
    E6 
    E7  =D7/B7
    E8  =D8/B8
    E9  =D9/B9
    E10 =D10/B10
    E11 =D11/B11
    E12 =D12/B12
    Rows 2 thru 6 in Table 1 are required to keep SUMPRODUCT() from throwing error in rows 7 thru 11.
    * Tables are built in Numbers v2.
    Hope this may help you get the basic idea.
    H

  • Pricing procedure - Formula / Requirement

    Hello,
    I have a requirement for sales and distribution as follows:
    Condition ZXXX has the price of the material determined  by an access sequence
    Another condition type (YXXX) has to be reported and it´s value should be calculated as follows:
    YXXX = ZXXX * Q (where Q will be a percentage)
    How should I do this in the pricing procedure ? is there any requirement or formular that already does something like this ?
    YXXX will be calculated only if condition ZXXX is in the sales order
    Kind Regards.

    This is my code but I don´t know if im updating correctly the field:
    FORM FRM_KONDI_WERT_601.
    *{   INSERT         CTDK900408                                        1
    DATA us_kschl LIKE rkomv-kschl.
      us_kschl = 'ZAVA'.
      clear: rkomg, rkonp.
    checks if actual the right condition has been found
      loop at xkomv into rkomv.
    no valid entry found -> exit
        if sy-tabix gt xkomv_tabix and xkomv_tabix ne 0.
          clear rkomv.
          exit.
        endif.
    if actual entry is correct determine KONP and KOMG
        if rkomv-kschl = us_kschl.
    *KOMV-KWERT Condition Valie
    *KOMV-KBETR Amount
    DATA: Prueba TYPE P DECIMALS 3.
         Prueba = konp-kbetr / 1000.
           xkomv-kbetr =  ( rkomv-kbetr *  konp-kbetr ) / 1000 .
        endif.
      endloop.
      if us_kschl ne rkomv-kschl.
        clear rkomv.
      endif.
    *}   INSERT
    ENDFORM.

  • Formula required to calculate correct YTD Balance values in database

    Hi,
    I've inherited an outline whereby we have a "Year-to-Date" member with the following shared members within it:
    YTD Jan = has "Jan" as a shared member
    YTD Feb = has "Jan & Feb" as shared members
    YTD Mar = has " Jan, Feb & Mar" as shared members
    ... etc.
    I expect this is to give the YTD picture when a user retrieves on the "Year-to-Date" member. This set up works fine for P&L account codes as they clear down at the end of each year to nil and are posted through to Retained earnings so the Jan movement is the "YTD Jan" closing balance.
    However for Balance sheet account codes, they roll over each year and the final YTD balance from the prior year's final period "YTD Adj" needs to carry over to "YTD Jan" opening balance. I tried using this formula on the "YTD Jan" member but am not getting the right result.
    IF (@ISICHILD ("Balance Sheet"))
    IF (@ISMBR ("2008"))
    "2008"->"YTD Jan"-"2007"->"YTD Adj";
    elseif (@ISMBR ("2009"))
    "2009"->"Jan"+"2008"->"YTD Adj";
    elseif (@ISMBR ("2010"))
    "2010"->"Jan"+"2009"->"YTD Adj";
    ENDIF;
    ELSE "Jan";
    ENDIF;
    Is this the right approach?
    Thanks
    Dermott

    garycris wrote:
    Your approach would probably work, but I'm not sure it is the cleanest way to do it. You are also going to have to remember to change it each year and prior year numbers will look wrong (not sure how many years of history you have) There are probably a couple of different ways to do it. Can you post what your base Time hierarchy looks like? Where is the YTD_Adj member in the hierarchy?
    Couple of other questions.
    Is Time dense or sparse?
    Have you attempted to use Dynamic time series and Time balancing functionality?I was aware of the need to change the formula each year garycris, thanks for the reminder :). We currently have 2006 data onwards. (I was going to get the 2009 data working before I rolled back the formula to 2006).
    The Period dimension is Dense.
    The YTD Adj is shown below.
    Our Period (Time) hierarchy looks thus:
    -Outline
    --Period (Time)[Gen1]
    --Year total* [Gen2]
    -Qtr 1[Gen3]
    -Jan (stored) *(<- Data loaded here!)*[Gen4]
    -Feb etc [Gen4]
    -Mar etc [Gen4]
    -Qtr 2[Gen3]
    -Qtr 3[Gen3]
    -Qtr 4[Gen3]
    --Year-to-date*[Gen2]
    -YTD Jan *(<-- Formula loaded here!)*[Gen3]
    -Jan (shared member)[Gen4]
    -YTD Feb[Gen3]
    -Jan (shared member)[Gen4]
    -Feb (shared member)[Gen4]
    -YTD Mar[Gen3]
    -Jan (shared member)[Gen4]
    -Feb (shared member)[Gen4]
    -Mar (shared member)[Gen4]
    -- etc --
    -- etc --
    -YTD Adj[Gen3]

  • If..then formula requiring numeric values

    Post Author: scd07
    CA Forum: Formula
    I have the need to create a formula that will analyze one field in order to determine the value of another field.  Below is a formula that follows the correct logic, but as it is a Boolean formula, it returns a  True/False answer, instead of the correct (numeric) data.  I do not know how to rephrase the formula that will return the numeric value.
    if {TLORDER.BILL_NUMBER} = previous ({TLORDER.BILL_NUMBER}) then {TLORDER.TOTAL_CHARGES} = 0 else {TLORDER.TOTAL_CHARGES} = {TLORDER.TOTAL_CHARGES}
    I appreciate any help!  Thank you!

    Post Author: scd07
    CA Forum: Formula
    Ok, this formula also works well, and I can now go in and create a Running total.  But again, I barely know what I am doing!  Here is what I put in the formula:
    Whileprintingrecords;Currencyvar Amount;
    if {LEGSUM.LS_TRIP_NUMBER}={LEGSUM.LS_TRIP_NUMBER} then Amount := Amount + {@Total Charges}
    This is providing a running total of the Last entry for each group.  It is not totaling All the records within the group.  I certainly appreciate your help with this.  I am actually a network person being impressed into reporting duty, and I am definitely experiencing "Trial by fire".  Thanks!
    Sara

  • Formula Required

    Hi all,
    I've the scenario like below
    center       Date     KF1     KF2(Visitors)
    CenterA     1/3/2008     134.079     10
         2/3/2008     85.01     20
         3/3/2008     82.235     30
         4/3/2008     113.056     40
         5/3/2008     124.002     50
    CenterB     1/3/2008     36.625     15
         2/3/2008     0.126     25
         3/3/2008     20.607     45
         4/3/2008     25.389     8
         5/3/2008     38.661     65
    Now I want to have calculation such as: e.g. for 1st record,
    (103.079 * 10) / 150 where 150 will be the sum of visitors
    for centerA between 1-Mar to 5-Mar.
    what should I use in the formula for this?

    Dear Neetu,
    Create a formula which validates Key figure KF2..
    In the Data Functions..take the RESULT data function and from Operans take KF2  so that u get SUMCT' KF2' ..give name as F1.
    Now create a new Formula which uses KF1*KF2/F1..
    Check this..
    Hope this helps u..
    Assign points if needful...
    Best Regards,
    VVenkat..

  • A Serious Error Has Occured

    Hey guys,
    I'm sure this has to exist elsewhere, but I couldn't come up with anything quickly.  I've been trying out the Premiere Pro CC trial for a little while now, and have been mostly pleased. I've used nothing but FCP in my career and know it like the back of my hand, but have been hearing such good things about Premiere Pro I decided to try it out and see if I'm ready to make the switch.
    Unfortunately, the past few days I haven't been able to get much work done, as I keep getting this "serious error" that requires PP to shut down. I've tried doing a complete re-install to no avail. I've swapped around how much RAM the program is using and am still getting this error.  Does anyone have any suggestions? The program is completely up to date, as well.  I've attached an image of the error below.  At first, it seemed to be happening the most frequently when color correcting, but just now it happened simply moving through my timeline. And again when adding a transition.  Seemingly simple tasks.
    I'm on a MacBook Pro Retina, late 2012, 2.7GHz Intel Core i7, 16GB RAM, running OS 10.9.5.  Haven't upgraded to Yosemite as I've heard FCP will no longer work and the company I work for still relies heavily on it.
    Thanks in advance!
    Nick

    While you may get some help here on the forum, the best way to get a handle on non-specific crashes such as this is to contact Technical Support: Contact Customer Care. Be sure to ask to be put in the Video Queue so that you are assisted by an agent with deep knowledge of the video apps.
    If you want to try some troubleshooting on your own first, I'd start by clearing the  following, in this order:
    preferences, which are in the "Profile-<username>" folder here: Documents\Adobe\Premiere Pro\7.0. With PPro close, rename the Profile-<username> folder. Then launch PPRO. The app will create a fresh copy of the preferences file and other files that record custom settings.
    cache files: Macintosh HD ▸ Users ▸ <Username> ▸ Library ▸ Application Support ▸ Adobe ▸ Common. Delete the folders "Media Cache" and "Media Cache Files."
    the render preview files. By default, these are saved to the same folder as the project, in a folder named "Adobe Premiere Pro Preview Files"
    And if you want to pursue more assistance here, please provide more info, as spelled out here: FAQ: What information should I provide when asking a question on this forum?
    If the Crash Reporter dialog comes up afterward, please click the Information link, post the contents to a file on DropBox or the like, and include a link to it.

  • Help - formula for date automatically displayed as per given frequency period

    Details of report received date and delayed no of days  in submission
    S/No
    Details of Report
    Frequency
    Date as per Frequency (Target Date)
    Received up to as on
    lapse of days
    Fin per Day
    Fine Amount
    24.07.2014
    (Rs.)
    1
    Cash book
    Daily
    24.07.2014
    30.06.2014
    24
    10
    240
    2
    DSR
    Previous Day
    23.07.2014
    31.05.2014
    53
    10
    530
    3
    Day book hard copy
    Thursday & Monday
    Formula Required latest date for Thursday or Monday and date with in cell E4
    10
    0
    4
    Asset stock
    Fortnight
    Formula Required latest date for 15 th day  or last date of month and date with in  cell E4
    10
    0
    5
    Labour approval 
    1st Day of Month
    Formula Required 1st day date of month with in cell E4
    10
    0
    6
    Qty as per drawing
    Every Quarter
    Formula Required last day date of quarter of the year with in cell E4
    10
    0
    Note: I want simply enter the date in  E4 and the formula calculated the date in column D 

    do you want to calculate the date format directly? see the sample:
     =DATEVALUE(TEXT(date,"d/m/yy"))
    KR

  • Formula Question: What is the formula to find how many duplicates I have in my table of data. e.g Sally, Sally, Sally, Tom, Tom, Ben. Answer by formula Sally 3, Tom 2, Ben 1

    Example of Data:
    A1
    2222222345
    2222222345
    2222222345
    2222222345
    2222222346
    2222222346
    2222222347
    2222222347
    2222222347
    2222222347
    2222222347
    2222222347
    Examplae of answer I would like the formula to provide:
    I also can not manually type coullum A I need the formula to auto full that aswel. As there is to much data.
    A2
    B2
    2222222345
    4
    2222222346
    1
    2222222347
    6

    Hi Jessica,
    Here's my take on it, using the sample data in your original post, and using the same solution with the names in your question.
    In the Data table, column A contains the list of numbers in your original post. I've rearranged them in random order to demonstrate that the order of entry does not matter for this method.
    Data::Column B contains the names in your question, each assigned to one of the numbers in the body of your post.
    Column C contains an index showing the first occurrence of each distinct number in Column A. This index is used to fill both columns in the Summary by Number table.
    Column D contains an index showing the first occurrence of each distinct name in Column Bt. This index is used to fill both columns in the Summary by Number table.
    Both formulas are the same, except for the columns referenced (highlighted in the second formula below).
    Formula: Data::C2: =IF(COUNTIF($A$2:A2,A2)=1,MAX(C$1:C1)+1,"")
    Formula: Data::D2: =IF(COUNTIF($B$2:B2,B2)=1,MAX(D$1:D1)+1,"")
    Both formulas require that row 1 be a Header Row, and that the contents of C1 (and D1) be Text, nothing, or a zero. Both formulas are filled to the end of their respective columns.
    Summary by Number contains two formulas.
    A2: =IF((ROW()-1)>MAX(Data :: $C),"",LOOKUP(ROW()-1,Data :: $C,Data :: $A))
    B2: =IF(LEN(A2)>0,COUNTIF(Data :: A,A2),"")
    Both are filled down to the end of their respective columns.
    The first formula checks if its row number minus 1 is greater than the maximum value in the index column. If that is TRUE, there are no more values to look up, and the formula returns an empty string (which appears 'blank'). If it is FALSE, the LOOKUP the value in Data::column A corresponding to the value of ROW()-1 in Data::column C.
    The second formula checks the LENgth of the entry in the column to its left. If the length is greater that 0 characters, there is a countable value in the cell, and the formula passes control to COUNTIF, which counts the number of times that value is found in Data::column A. If the length of the value in the cell to the left is zero, then the cell contains an empty string, and the formula passes control to the part after the last comma, which enters an empty string in the cell containing the formula.
    The formulas in Summary by Name are identical to these except for the (bolded) references. These are incremented to the right; C -> D, and A -> B to match the Data:: columns containing the names and the names index.
    Regards,
    Barry

  • Problem in calculating the Average Daily Requirement

    Hello all,
    I didn't understand how the system calculates the average daily requirement in Dynamic Safety Stock process. The following process flow in given in SAP notes to find how the system calculates the average daily requirement:
    1. The system uses the defined parameters to determine the number of days used for calculating the average daily requirements. If the period is defined as a week, the period length as standard days (5 days) and the number of periods as 2, the system divides the total of the requirements by 10 days.
    2. The system then calculates the total of the requirements for this period.
    The system takes into account all requirements in the current period, even requirements that lie in the past but are still in the current period. For example, if the planning run is carried out in the middle of the month, then those requirements that were planned at the beginning of the month are also included in the calculation of the average daily requirements.
    3. The average daily requirement is calculated using the formula:
    Requirements in the specified number of periods / Number of days within the total period length
    I have run MRP on 02/23/2009 and the following results are generated in stock requirement list of the component part:
    Date     Dependent Requirement     MMSA Schedule Lines Quantity
    3/3/2009     10     31
    3/11/2009     20     20
    3/31/2009     30     30
    4/14/2009     40     49
    4/22/2009     50     50
    4/29/2009     60     60
    5/11/2009     70     55
    5/21/2009     80     80

    Hi,
    In addition to my previous reply,
    If you did following setting -
    Range of coverage in first period -
    min - blank
    tgt - 7
    max - blank
    number of periods - blank
    The system will calculate the safety stock for 7 days for each period; i.e., 7*3=21 and it will generate plnd orders as
    week1 = 51
    week2 = 14+21 = 35
    week3 = 10+21 = 31
    week4 = 30+21 = 51
    If you want to restrict your calculation till 2 periods then make following settings -
    Range of coverage in first period -
    min - blank
    tgt - 7
    max - blank
    number of periods - 2
    Range of coverage in second period -
    Make all blank
    Range of coverage in the rest of the horizon -
    min - blank
    tgt - 3
    max - blank
    It means for first two weeks the safety stock will be 21 (equivalent to 7 days) and for rest of the horizon it will be 3*3 = 9 (equivalent to 3 days)
    The Plnd orders will be -
    week 1 = 51
    week 2 = 35
    week 3 = 14+9 = 23
    week 4 = 30+9 = 39
    and so on.
    Regards,
    Amol

  • Using mathscript formula to create test sound question tia sal22

    Greetings All
    I'm trying to use mathscript formula to create an audio file and I'm not sure why my vi is not working.  It says the data type has to be string but the graph just shows a blank line
    TIA
    sal22
    Attachments:
    mathscript formula to sound test.vi ‏274 KB

    Building a waveform from a formula requires special syntax.  The mathscript node is trying to output a 1-D array.  Rather than trying to fold your formula into something the waveform generator can understand, I recommend just building the waveform directly.
    I tested it, and did not get the straight line.  Dunno if the sound is working properly, as I do not have a soundcard.
    Message Edited by jasonhill on 06-16-2006 11:45 AM
    Attachments:
    mathscript to waveform.PNG ‏13 KB

  • VOFM - Requirements

    Hi Folks,
    I am working on requirements.
    I am a bit new to this process.I wud like to have some detailed info on the same.Please clarify the below mentioned.
    1.I've seen Requirements in VOFM only for some areas..like output control,pricing,material determination etc. <b>what is the working mechanism</b> of this? How is it different from USER EXITS?
    2.The same piece of code appears twice in the same requirement under to differnet form definitions,namely form KOMBD and KOMBV ? <b>why this is required twice</b>?
    3.why do we need to run <b>RV80HGEN</b> after creating a requirement?
    4.From where the number series starts for newly defined routines apart from standard requirements?
    5.If we want to modify the standard exist <b>what are the precaution to take?</b> what i heard is ..once we give the access key for it...there is some icons apper on tool bar like INSERT DELETE etc..
    Your help is appreciated.
    Thanks
    Raja

    Hello Raja,
    As indicated only for the following as indicated number range is allowed for rest it is 600-999.
    Name                                          Number  
    Subsequent functions                         900 - 999
    Group key routines                            50 -  99
    Data transfer routines f. texts               50 -  99
    <b></b>all other group indicators                   600 - 999
    <b></b>
    I am attaching another note which deals with VOFM problem. Keep this with u as it will prove useful.
    <b></b> SAP Note 327220<b></b>
    This note is an explanation of function "Maintain: Requirements and Formulas", which is also known as "VOFM".
    By using descriptions and examples, this note explains how the VOFM function works in the R/3 Standard System, which objects are related to it and which restrictions exist.
    Chapter 2.7 explains possible causes of errors and solutions for problems with the VOFM function.
    To provide a good overview, this note is subdivided into the following subareas:
       1.    General information
       1.1   Definition of terms
       1.2   Application areas
       1.3   A frank word on the "source code responsibility"
       2.    Technology
       2.1   Introduction
       2.2   Namespaces
       2.2.1 SSCR object registration
       2.3   Structure of a VOFM object
       2.3.1 Include file with ABAP form routine
       2.3.2 Table entries in TFRM and TFRMT
       2.4   Calling VOFM objects
       2.4.1 VOFM object carrier
       2.5   Activation, generation and RV80HGEN
       2.6   Transport
       2.7   FAQs: Possible causes of errors and problems
    Technical field names are displayed in angle brackets [].
    Note that this note only explains the mode of operation of the VOFM in an R/3 Standard Core System. For R/3 industry solutions or Add-Ons the VOFM function displays a different behavior in subareas, however, this is not dealt with in this note.
    Additional key words
    VOFM, SAPMV80H, TFRM, TFRMT, RV80HGEN, XPRA, formulas, requirements, data transport routine, copy routine, data transfer.
    Cause and prerequisites
    1. General information
    1.1 Definition of terms
    Depending on the business processes used it may be necessary to influence the standard behavior of R/3 applications. For that purpose the VOFM function provides a corresponding environment in order to be able to develop and manage customer-specific logic simply.
    The system stores the objects generated via the VOFM in the Customizing of the respective application area (Pricing, message determination and so on) and its programs call the objects correspondingly.
    Also SAP delivers certain functions in the form of VOFM objects.
    Consequently, the VOFM is an exit technology as explained in more detail in Note 381348.
    1.2 Application areas
    Typical VOFM objects are requirements, formulas and data transfer routines.
    These are used in processes of the purchase order, the delivery, billing, price determination, material determination, message determination, the free goods, the pricing and of others.
    In the entries of the R/3 core menu of Transaction VOFM you can find a precise overview of the supported application areas.
    1.3 A frank word on the "source code responsibility"
    As in user exits, in VOFM objects are many fields and tables available. Thus, the use of VOFM objects is very versatile and consequently also very critical under certain circumstances. For the use of "customer-specific" VOFM objects the statements in Note 381348 regarding the responsibility for customer enhancements (Maintenance responsibility, problems during the upgrade and so on) apply. Read this note carefully before you decide on the use of customer-specific VOFM objects. Errors and data inconsistencies that are caused by improper application or implementation of VOFM objects are not processed by the SAP Support but exclusively within the framework of the Consulting that has to be purchased separately.
    2. Technology
    2.1 Introduction
    A VOFM object is uniquely defined via characteristics "group indicator" [GRPZE] and "group number" [GRPNO].
    Here the group indicator, technically represented by a character field of length 4, is the logical connection to the calling environment.
    Examples:
       ABED   copying requirement in the order
       ADAT   data transfer in the order
       PBED   requirements pricing
       CASC   Data transfer for sales activities
       PBEK   requirements account determination
       CHRG   requirements batches
       REAK   archiving for orders
       VFCL   Multi-dimensional scales
    You can find all defined group indicators in the allowed values of the "GRPZE" domain in the ABAP Dictionary (Transaction SE11).
    The group number can have a value from 1 to 999.
    Exceptions are group indicators "PSTK" (= group key routine pricing) and "TDAT" (= data transfer for texts). For these the system can only assign group numbers from 1 to 99.
    2.2 Namespaces
    The VOFM has separate number ranges in order to distinguish VOFM objects delivered by SAP from customer-specific VOFM objects. These number ranges are often also called "VOFM namespaces".
    However, note that this is not a "real namespace" that is protected by corresponding entries in system table "TRESC" (= reserved names for Customizing tables and Customizing objects). Instead, only the VOFM logic itself does the definition and check of the number ranges.
    The following list displays the customer number ranges sorted according to group indicators:
      Indicator    Name                              Number range customer
      FOFU         Subsequent functions             900 - 999
      PSTK         Group key routines               50 -  99
      TDAT         Data transfer routines f. texts  50 -  99
      all other group indicators                     600 - 999
    In Note 356737 you can find more information on the available VOFM number ranges.
    2.2.1 SSCR object registration
    VOFM objects are subject to SSCR registration (= SAP Software Change Registration).
    The reason for that is the necessity that every VOFM object is physically assigned to that SAP development class, from whose programs a corresponding jump into the VOFM object later occurs.
    If you use the VOFM interface the system makes the assignment automatically. An assignment of customer-specific development classes is not possible.
    2.3 Structure of a VOFM object
    A VOFM object consists of the following parts:
      Include file with ABAP form routine
      TFRM table entry
      TFRMT table entry
    2.3.1 Include file with ABAP form routine
    In the ABAP form routine the desired function is programmed.
    Example pricing value formula number 001:
      Include name  :  FV64A001
      Form routine  :  FRM_KONDI_WERT_001
      Implementation:  * * Profit margin considering rebate agreements
                         form frm_kondi_wert_001.
                            xkwert = komp-kzwi3 - komp-wavwr.
                          endform.
    Dependending on the selected group indicator, the group number and the system type (SAP or customer system), the system assigns and generates the include name and form routine name automatically.
    For this reason, standard routines delivered by SAP generally have a different structure of the include name than customer-specific routines.
    Example:
      SAP standard value formula for the pricing
         => prefix FV64A + object number with 3 places from 'SAP namespace'
         => for example FV64A001
      Customer-specific value formula for the pricing
         => prefix RV64A + object number with 3 places from 'customer namespace'
         => for example RV64A905
    2.3.2 Table entries in TFRM and TFRMT
    The entries in tables TFRM and TFRMT belonging to a VOFM object are used for the status management and assignment. The system always analyzes them if the user calls Transaction VOFM or if a generation operation occurs (for details refer to section 2.5).
    The system generates exactly one TFRM table entry per VOFM OBjekt. In this TFRM entry the following information is stored:
       - Group indicator             [GRPZE]
       - Group number                [GRPNO]
       - Routine 'active' indicator  [AKTIV_TFRM]
       - Application                 [KAPPL]
       - Date of the last generation [GNDAT]
       - Time of the last generation [GNZEI]
    Examples:   GRPZE    GRPNE AKTIV_TFRM  KAPPL  GNDAT       GNZEI
                PBED     001   X           V      06/13/2001 09:06:39
                TDAT     001   X                  06/13/2001 09:06:39
                CHRG     003   X                  06/13/2001 09:06:39
    The meaning of group indicators and group numbers has already been dealt with.
    The 'active indicator' controls whether a VOFM object is 'active' or 'inactive'. Active VOFM objects have characteristic value AKTIV_TFRM = 'X', inactive objects have characteristic value AKTIV_TFRM = initial.
    VOFM objects flagged as 'active' are 'known' to the calling program logic, that means they were included in the main program of the 'calling program' and can thus be addressed and processed during the runtime.
    You cannot delete VOFM objects that are still 'active'. In this case you have to reset the active indicator manually before.
    The content of the 'Application' field serves to filter the relevant VOFM objects in various display functions and Customizing functions.
    Example: Condition value formula 010 'Relevant Price'. This formula has characteristic value 'MS' for the 'Application' field (= External Services Management purchasing). Therefore the object is not open for selection in the input help during the maintenance of pricing procedure SD (Transaction V/08), because this is a Customizing transaction assigned to application 'V' (= Sales and Distribution). Storing an application key is optional.
    The generation date and the generation time record the time of the last registration of the VOFM object (the object carrier, refer to section 2.4.1).
    In addition to the respective TFRM entry a VOFM object can have 'n' entries in table TFRMT. The entries are used for the storage of language-dependent object descriptions, which are structured as follows:
       - Language key           [SPRAS]
       - Group indicator        [GRPZE]
       - Group number           [GRPNO]
       - Description            [BEZEI]
    Examples:     SPRAS   GRPZE   GRPNO   BEZEI
                  D       PBED    001    Regulierer abweich.
                   E       PBED    001    Different payer
    The system supplies the language key automatically with the logon language of the user during the creation of a new VOFM object.
    The length of the object description is limited to 20 characters.
    Important! A VOFM object is only consistent if both the Include file with ABAP form routine and a corresponding TFRM table entry exist. Entries in table TFRMT are optional.
    2.4 Calling VOFM objects
    As mentioned above, VOFM objects are called directly by the application logic of R/3 standard programs. Technically this is implemented by ABAP statement 'PERFORM ... IN PROGRAM'. With the aid of this statement you can specify both the name of the subroutine and the main program dynamically (during the runtime).
    Example: Call of a condition value formula from the pricing
    if xkomv-kofrm ne 0.                <<< formula reference existing?
       xkwert = xkomv-kwert.             <<< act. value in work variable
       frm_kondi_wert-nr = xkomv-kofrm.  <<< set up object names
       perform (frm_kondi_wert) in program saplv61a if found.  <<<call
       xkomv-kwert = xkwert.             <<<result value assignment
    endif.
    In the example above the subroutine is determined by the contents of variable 'FRM_KONDI_WERT'; the main program, which is to be searched for the form routine, is SAPLV61A.
    If the called routine is not known in the main program, a program termination with the title 'PERFORM_NOT_FOUND' occurs. Therefore some users of the VOFM technology call ABAP statement 'PERFORM ... IN PROGRAM' together with the addition 'IF FOUND', which has the effect that a jump into the form routine is only executed if this in fact exists in the main program. This does indeed prevent a program termination, however, the result of the overall process may deviate from the result expected by the user, because in this case the system does not execute the source code implemented in the VOFM object.
    2.4.1 VOFM 'object carrier'
    Object carriers are required to make a VOFM object 'known' in the main program of the calling program (refer to section 2.4). The object carrier is integrated in the main program of the calling program as an independent include (for example SAPLV61A, SAPMV45A and so on).
    Example: Inclusion of object carriers for word processing in SD
             documents; Program 'SAPLV45T'
      System-defined Include-files.                                  *
         INCLUDE LV45TTOP.    "Global Data
         INCLUDE LV45TDEF.
         INCLUDE LV45TUXX.    "Function Modules
         INCLUDE LV45TNNN.     <<< 'carrier' copy requirements for texts
         INCLUDE LV45TENN.     <<< 'carrier' copy routines for texts
    Every active VOFM object (for an explanation on the active indicator refer to section 2.3.2) must be registered in the 'carrier'. The system writes standard VOFM objects delivered by SAP directly into the 'carrier', VOFM objects from the number range reserved for customers (refer to section 2.2 'Namespaces') are sorted into a 'sub-include' included in the carrier.
    Exactly one carrier exists per group indicator. The names of all defined object carriers are hard-coded in program MV80HF0A, form routine 'AKTIVIEREN_TRAEGER_SETZEN'. Here the names of the sub-include for customer-specific VOFM objects belonging to the main carrier are also defined.
    Example: Carrier object 'FV63ANNN' for the registration of condition basis formulas in the pricing (Program SAPLV61A)
      FV63ANNN      
    <<< main
    carrier-include
      |-INCLUDE RV63ANNN.  "User-Routinen  <<< sub-include customer objects
      |             |- INCLUDE RV63A910.  "Customer specific
      |             |- INCLUDE RV63A911.  "Customer specific
      |             |- INCLUDE RV63A912.  "Customer specific
      |             |- ...
      |- INCLUDE FV63A001.  "Volume
      |- INCLUDE FV63A002.  "Net value
      |- INCLUDE FV63A003.  "Net Price
      |- INCLUDE FV63A004.  "Net Value Plus Tax
      |- INCLUDE FV63A005.  "KZWI1
      |- ...
    Because the content of the VOFM object carriers is automatically created source code, you should avoid manual changes to them.
    SAP notes, which suggest manual changes to the object carriers, are therefore also incorrect. However, if you nevertheless receive such a note to solve a problem, contact the SAP Support with a reference to this note.
    2.5 Activation, generation and RV80HGEN
    The 'activation' is the inclusion of an VOFM object in an object carrier. A 'deactivation' results in the removal of the VOFM object from the object carrier. The overall process for the creation of a current object carrier is often called 'generation'.
    Generally the activation or generation fall into three types.
    - Individual activation
    - Collective activation
    - Generation of object carriers via report RV80HGEN
    The 'individual activation' causes the registration of an individual VOFM object in the corresponding object carrier. Which object carrier is relevant is determined with the aid of the group indicator and the group number. In addition to the entry of the VOFM object in the object carrier the system writes the date and time of the generation into table TFRM (refer also to section 2.3.2).
    You can start the individual activation only manually. It is always always executed when a user selects a line within the VOFM editing interfaces and afterwards selects activity 'Activate' from the 'Edit' menu.
    The 'collective activation' causes the registration of all VOFM objects that belong to a certain group indicator. Analog to the individual activation the system determines the relevant object carrier automatically and writes date and time into table TFRM. The 'collective activation' is a process which you can start also only manually. For this purpose, choose activity 'Activate all' from the 'Edit' menu.
    During the generation via report RV80HGEN the system sets up the object carriers of all defined group indicators again. However, the system includes only those VOFM objects that have set the 'active' indicator in the corresponding TFRM table entry. Nonactive VOFM objects are not included in object carriers during the generation via report RV80HGEN. Due to the quantity of the data to be processed, the generation via RV80HGEN can take between 0,5 and >5 minutes (depending on the system and the constellation).
    Because the RV80HGEN is defined as 'XPRA', it is executed automatically during a system upgrade.
    You can also use this XPRA feature for the transport of VOFM objects in order to implement an automatic update of the object carriers after the import of VOFM objects into the target system (section 2.6 provides more details on the transport).
    Both the collective activation and the activation via report RV80HGEN technically revert to the program components of the individual activation. For the separate control of the individual activation types form routine AKTIVIEREN_EINZELN (Include MV80HF0A) has a 'USING' parameter, which can have the following characteristic values:
      'E' Activate individually
      'A' Activate all (= collective activation)
      ' ' Deactivate individually
    During the generation via RV80HGEN the system executes a collective activation for every group indicator sequentially, that means a call of form routine AKTIVIEREN_EINZELN with characteristic value 'A'.
    2.6 Transport
    If you want to transfer VOFM objects from one system (= source) into another system (= target), this is generally made with an object transport. As of Release 4.0, the VOFM function has a connection to the SAP 'Change and Transport System' (CTS) in order to simplify the transfer process for the user. By the transport connection the system automatically adds newly created or changed VOFM objects to the object list of a transport request which was selected by the user before.
    All steps necessary for the execution of a VOFM transport are described in detail in Note 22808 'Transferring formulas'. Note that steps 1-4 are only needed if the VOFM maintenance environment providesno automatic connection to the transport system or if you want to combine a transport request manually. In any case you must execute step 5, regardless of how the transport request was created.
    In addition to Note 22808, Note 385067 contains an overview for releases >= 4.6C regarding which sorts of tasks and object entries are required in a transport request (depending on the activity carried out (create/change/activate/deactivate/delete)) in order to transport a VOFM object successfully.
    2.7 FAQs: Possible causes of errors and problems
    This chapter deals with the most frequent errors and problems that occur when using the VOFM function and its objects. If problems arise for which this note provides no explanation or solution, create an OSS message on component CA-GTF-BS-VOFM and send it to the SAP Support.
    (01) Question/problem:
                During the order processing, in the shipping, LIS, billing and so on a program termination with error message: PERFORM_NOT_FOUND occurs when you call a VOFM object. This symptom can occur for all users of VOFM objects.
    (01) Answer:
                The used VOFMobject is not known in the main program of the calling program and thus cannot be addressed. Details on the call method of VOFMobjects are described in section 2.4 of this note. Note 28683 describes how to correct this error.
    (02) Question/problem:
                Even though report RV80HGEN was executed, the VOFMobject is not registered in the object carrier. Why?
    (02) Answer:
                During the setup of the object carriers via RV80HGEN the system includes only VOFMobjects which have set the 'active indicator' (refer to section 2.3.2). If the active indicator for the corresponding object is not set, the RV80HGEN does not process the VOFMobject. Solution: Set the active indicator for the respective object and start the RV80HGEN again.
    (03) Question/problem:
                The syntax check in the ABAP form routine of an VOFM object displays syntax errors.
    (03) Answer:
                Note the explanations on the work method of the syntax check in Note 393012. In addition, the restrictions of the SAP maintenance responsibility to customer-specific VOFM objects (described in section 1.3) apply.
    (04) Question/problem:
               When you create/change VOFM objects the system requires an SSCRregistration key, even though the VOFM is within the 'customer namespace'.
    (04) Answer:
               Refer to the explanations given in section 2.2. 1 'Registration'.
    (05) Question/problem:
               In which namespace can I create customer-specific VOFM objects? Or: Which routine numbers are reserved for customers?
    (05) Answer:
                Refer to Note 356737, in addition refer to the explanations in section 2.2 'Namespaces'.
    (06) Question/problem:
                Is it possible to assign VOFM objects to own development classes?
    (06) Answer:
               No. Refer also to section 2.2.1
    (07) Question/problem:
                When you create a VOFM object the system displays information message TR 015 'Object can only be created in SAP development class'.
    (07) Answer:
               This is no error. Refer to section 2.2.1. and the answer to question number 5.
    (08) Question/problem:
                How can I transport VOFM objects via the Change and Transport System ?
    (08) Answer:
                The steps necessary for a successful transport are described in detail in Note 22808.
    (09) Question/problem:
                The used transport request does not contain an entry for the VOFM object carrier in the object list (for example RV61ANNN, FV45ANNN ...)
    (09) Answer:
               The object carriers must not be transported. Instead, a setup of a current object carrier suitable for this system is required in the target system. For details refer to Note 22808, step 5 as well as section 2.4.1 and 2.5 of this note.
    (10) Question/problem:
                How are VOFM objects deleted? And can deletions of VOFM objects also be transported?
    (10) Answer:
                You should delete VOFM objects only via the editing interface of the VOFM function. Only this way it is ensured that all subobjects (ABAP form routine, TFRM and TFRMT table entries) are completely removed.
                You can also transport the deletion youmade into an additional system. For that purpose, the setup of an object list in a transport request analog to the creation (refer to Note 22808) is required.
                During the deletion of objects the system deletes the object in the source system. At the time of the export the export program (R3trans) notes that the object does not exist any more. In this case the system enters a "D" into the 'Object function' field in the corresponding entry in the object list of the transport request.
                The deletion of table entries is made analog to the deletion of objects. First delete the keys in the source system. Then specify the deleted keys in the request. At the time of the export the transport program notes that the specified keys do not exist any more and deletes them in the target system. If you combine the object list of the transport request manually, you must set the object function of the individual entries correspondingly. To do that, proceed as described in the F1 help of the 'Object function' field.
    (11) Question/problem:
                During the creation of VOFMobjects the system requires a transport request which contains a task of the 'Repair' category. The system displays message TK 181 'Repair &1 may only contain repaired objects'.
    (11) Answer
               This problem is caused by a program error. Implement the corrections of Note 326560 or Note 385067 depending on your release.
    (12) Question/problem:
                During the creation the system displays message TK 112 'Edit objects separately since they belong to different original systems'.
    (12) Answer:
               This problem is caused by a program error. Implement the corrections of Note 326560 or Note 385067 depending on your release.
    (13) Question/problem:
                When you create or activate VOFM objects the system displays message: 'Report/PROGRAM statement is missing or program type is INCLUDE?'.
    (13) Answer:
               This problem is caused by a program error. Implement the corrections of Note 326560 or Note 385067 depending on your release.
    (14) Question/problem:
                Why does the system generate VOFM objects with source system 'SAP'?
    (14) Answer:
               Design. The entire VOFM logic depends extremely on basis functions like transport, object directory entries, generation and so on. Because VOFM objects are inserted in SAP standard development classes, these receive ID 'SAP' for source system during the generation process. This cannot be avoided and does not affect the VOFM function.
    (15) Question/problem
                The system does not insert report RV80HGEN automatically as XPRA into the object list of a transport request.
    (15) Answer
                Whether the system inserts report RV80HGEN automatically into the object list of the transport request depends on the release you use. For Releases 4.0A to 4.6B the system generates a corresponding entry, provided that all corrections for the VOFM function exist in the system. As of Release 4.6C the basis function of the 'Change & Transport System' (CTS) does not support the automatic insertion of objects of the 'XPRA' category into an object list any more.  If you want an automatic registration of the transported routines in the target system, proceed as described in Note 22808, step 5.
    (16) Question/problem:
                During the activation of VOFM objectsa termination occurs or the system requires a registration key for additional VOFM objects, even if they were not changed.
    (16) Answer:
                There are inconsistent VOFM objects in the system (refer also to section 2.3.), that means table TFRMcontains entries for which no include with corresponding ABAP form routine exist.
                If the termination occurs for VOFM objectsfrom the SAP namespace, this is normally due to a delivery error as described, for example, in Notes 395600 and 0403705. Check whether already a corresponding note exists for the affected VOFMobject. If not, contact the SAP Support.
                If the problem occurs for customer-specific routines, the inconsistency is mostly due to a handling or transport error. For example the deletion of VOFMincludes via Transaction SE38has the effect that the system does delete the form routine and the corresponding include, however the system does not delete the entries in tables TFRM and TFRMT. Inconsistencies can also occur due to incomplete or incorrect object lists in transport requests. You can make a correction by newly creating the same object via the VOFM interface or be deletion analog to the method described in Note 395600.
    (17) Question/problem:
                During the import of Support Packages or during the system upgrade, customer-specific VOFM objects were overwritten or are missing completely.
    (17) Answer:
                First, check whether the missing VOFMobjects are really missing and if yes, whether all or only certain subobjects do not exist anymore (refer to section 2.3). if the VOFMobject is completely there, generally only a new setup of the object carriers is required. Read section 2.5 'Activation, generation and RV80HGEN' to learn which options exist for this purpose.
                If there is indeed a VOFM object but ifthe source code of the ABAP form routine does not correspond to the customer-specific, this is a delivery error. However, you can reconstruct the customer-specific source code with the version management. Proceed as follows: call the ABAP Editor for the affected objects by using Transaction SE38. Afterwards branch into menu 'UTILITIES' -> 'VERSIONS' -> 'VERSION MANAGEMENT'. Deselect the version delivered by SAP and select your original, customer-specific version instead. Choose 'RETRIEVE' to restore this version.
               Delivery errors of this type are documented by notes. If there is no corresponding note for the overwritten object in the OSS, contact the SAP Support.
    (18) Question/problem:
                In the display of the Object Navigator (Transaction SE80) the system does not display newly created VOFM objects. On the other hand, it can also occur that deleted VOFM objects are still contained in the Object Navigator.
    (18) Answer:
                The Object Navigator displays an obsolete status (refer also to Note 15447). Choose button 'Refresh object list' above the tree structure in order to correct this inconsistency.
    (19) Question/problem:
                Is it possible to delete VOFM objects delivered by SAP in the standard?
    (19) Answer:
               Yes. However, because of separate number ranges for VOFM objects SAP does not recommend a deletion of SAP standard objects.
    (20) Question/problem:
                Which maintenance responsibility has SAP for customer-specific VOFM objects?
    (20) Answer:
               None. Refer to the explanations in section '1. 3 A frank word on the "source code responsibility"'. According to Note 381348 this includes also VOFMobjects whose creation wasbased on notes of the 'Consulting' or 'Workaround for missing function' category.
    (21) Question/problem:
                Where can I get help, if my customer-specific VOFM object does not work as expected?
    (21) Answer:
                If you need support during the implementation of customer-specific VOFM objects you can contact the SAP Remote Consulting. Please understand that SAP cannot check VOFM objectswithin the framework of the normal support.

Maybe you are looking for

  • How to retrive new logical column based on flag values in table.

    Hi, i have two tables in rpd 1.file table contains the coulmns------->date,file_count,record_count,cldm_stg,cmsa_stg,archive_stg 2.rejection table columns---------> are same as above both have same common columns.my requirement is publish a dashboard

  • Sales Processing

    Hi Everyone, I'm trying to figure out what the correct process would be for the following situations: 1.  A sales order is created and copied to a delivery at the time of shipment.  The shipment is incorrectly processed with everything shipping (the

  • Software caused connection abort?

    I am receiving the following errors: Nov 20 08:13:07 nexus sendmail[29376]: [ID 801593 mail.crit] NOQUEUE: SYSERR(root): getrequests: accept: Software caused connection abort I have not been able to find anything regarding the cause or resolution of

  • How to create custom Transaction iview

    Hi all, Can any one tell me how to create an Transaction iview for the custom transaction. Is it different from creating an Transaction iview for standard transaction? I tried to create in the same manner as of standard transaction but it is giving p

  • HT1660 where is the information about which itunes library i'm on in itunes 11

    With the new itunes 11, I'm now unable to see which itunes library I have recalled.  Where can I find this information on the new itunes player? (it used to be on the top, telling you which library it is) I can still do a "hold down option key while