Overwrite functionality with BPS layouts

Hi all,
I have a requirement,  when the actuals data has a missing field, I should display the record using BPS layouts and then be able to overwrite the record with a new record that I input from the layout which would have the missing field. Can this be achieved?
Thanks for your timely help.
Regards,
Hema

Cube creates delta records but will not overwrite.

Similar Messages

  • Date convertion function in BPS layout

    Hi,
       At the user's request, I have created a key figure with date type "date". The purpose of this is to allowed the user can input the date for each of the material displayed at the BPS layout.
       when I use the listcube to display the date key figure, I notice that it is not display as the regular date instead it has benn converted to a number for example 01/12/2005 is dispaly as 731,959. when I delete the date from the layout and save it,now the cube has add a 731,959- record. this is comply with how the infocube deal with ket figure data.
       There should be an function which convert the date 01/10/2005 to 731.595 in the BPS back end, anybody know the function name.
    Thanks,

    Hi JW,
    If you simply want to generate a new date from an existing one, there are several options using only FOX. But again, maybe you want to look at the original intention of the application and your data modelling options before researching into this specific issue.
    William

  • Excel functionality in BPS layout

    Hi gurus,
    I have a problem with layout on excel: all the excel functionality are not avaible, in particular i refer to filter and order.
    I try to unprotect excel worksheet but if i use filter i have a lot of problems when save data.
    My users are very boring ....
    Thanks in advance
    FT

    Hi,
    just some background information: in BPS Excel is 'controled' via SAPGUI using OLE Automation, i.e. same technique Word uses to control an embedded Excel file. In this mode some Excel features cannot be used.
    In addition it is hard to control Excel completely. BPS gets the data from the ABAP back-end and transfers the cells via SAPGUI and OLE Automation to Excel. After this BPS has no control what Excel does with the data. Some Excel functions like 'filter' or 'sort' make it almost impossible to read the data back from Excel in a consistent way. This is why the worksheet is protected by default the these kind of Excel functions lead to problems.
    If you save the Excel template without protection in the layout builder it is also not protected at run time of manual planning.
    It is also easy to create a button that protects/unprotects the worksheet. A code snippet can be found in the VBA makros SAPAfterDataPut, SAPBeforeDataGet.
    Regards,
    Gregor

  • Upload a flat file to BPS layout with hierarchy: is it possible?

    Hello, BPS people!
    I used a known "HowTo...using SAPGUI" to load a flat file to BPS layout. Finally I need to use a predefined layout with several variables and hierarchical representation of characteristic values in the key field ( I can't use a special layout for file uploading!). The procedure works fine if I use a flat structure of characteristic in the key field (no hierarchy). But once I choose a hierarchical representation of key characteristic in the level (but nonhierarchical model in the first screen of layout builder!) the layout data after uploading is absolutely wrong!
           1) whether is it possible to perform that without ABAP coding?
           2) If not, how can I change the function modules to use hierarchy?
    Thank you!
    Yurij

    Sorry again!
    I have solved it.
    Probably nobody understood my question. First, I have tried to attach file upload function (see "How To..load a flat file into BW-BPS using SAPGUI") to the same planning level where original planning layout with hierarchical structure in the key field already existed. But now I realized that it's impossible!
    SOLUTION: It is necessary to build the file upload function at the separated planning level with the same structure as that in the uploaded file. No hierarchies allowed in the "Selection" tab of planning level !!
    Such upload function operates perfectly in the planning folder where original layout with the hierarchical structure of key characteristic is presented. After the file upload you can perform all further activities in the planning folder (including that with uploaded data).
    Thanks,
    Yurij

  • Change Data in BPS Layout: Exit Function

    Hello everyone,
    We are using BW-BPS and we need to make a sort of a certain characteristic in a Planning Folder. In the specific Planning Folder it was defined an exit function and it was assigned a function module.
    We implement the following code:
    FUNCTION Z_ORDENAR_CLASSIFICACAO_PLANO.
    ""Interface local:
    *"  IMPORTING
    *"     REFERENCE(I_AREA) TYPE  UPC_Y_AREA
    *"     REFERENCE(I_PLEVEL) TYPE  UPC_Y_PLEVEL
    *"     REFERENCE(I_METHOD) TYPE  UPC_Y_METHOD
    *"     REFERENCE(I_PARAM) TYPE  UPC_Y_PARAM
    *"     REFERENCE(I_PACKAGE) TYPE  UPC_Y_PACKAGE
    *"     REFERENCE(IT_EXITP) TYPE  UPF_YT_EXITP
    *"     REFERENCE(ITO_CHASEL) TYPE  UPC_YTO_CHASEL
    *"     REFERENCE(ITO_CHA) TYPE  UPC_YTO_CHA
    *"     REFERENCE(ITO_KYF) TYPE  UPC_YTO_KYF
    *"  EXPORTING
    *"     REFERENCE(ET_MESG) TYPE  UPC_YT_MESG
    *"  CHANGING
    *"     REFERENCE(XTH_DATA) TYPE  HASHED TABLE
      DATA:
        lr_area TYPE REF TO cl_sem_planarea_attributes,
        wa_hash_table type ref to data,
        l_sortfield type STRING,
        lr_t_data TYPE REF TO data.
      FIELD-SYMBOLS:
        <lt_data> TYPE STANDARD TABLE,
        <ht_head> TYPE ANY TABLE,
        <xth_data> TYPE HASHED TABLE,
        <ls_data> TYPE ANY,
        <wa_data> TYPE ANY,
        <fundo> TYPE ANY,
        <eco> TYPE ANY.
      CALL METHOD cl_sem_planarea_attributes=>get_instance
        EXPORTING
          i_area = i_area
        RECEIVING
          er_instance = lr_area.
      CREATE DATA wa_hash_table LIKE LINE OF xth_data.
      ASSIGN wa_hash_table->* TO <ht_head>.
      <ht_head> = xth_data.
      LOOP AT <ht_head> ASSIGNING <ls_data>.
    This is the characteristic that we pretend to sort
        l_sortfield = 'S_CHAS-0CMMT_ITEM'.
        SORT <ht_head>
          BY (l_sortfield) DESCENDING.
      ENDLOOP.
      <xth_data> = <ht_head>.
      UNASSIGN: <ls_data>, <ht_head>.
    ENDFUNCTION.
    When execute this function, we get a DUMP (ASSIGN_TYPE_CONFLICT). Does anybody have any suggestion how to change a hash table or somehow make a sort in this hash table?
    Thanks in advance.
    Ilda

    Hi,
    After some changes in the code, it seems that xth_data table is assuming the “new content”. In debugging, we could see that the assignment was made and xth_data records are now in a different order. But when executing the BPS Layout assigned to this planning function, all the lines (records) still in the same place. The Layout doesn’t change.
    This is the code:
    FUNCTION Z_ORDENAR_CLASSIFICACAO_PLANO.
    ""Interface local:
    *"  IMPORTING
    *"     REFERENCE(I_AREA) TYPE  UPC_Y_AREA
    *"     REFERENCE(I_PLEVEL) TYPE  UPC_Y_PLEVEL
    *"     REFERENCE(I_METHOD) TYPE  UPC_Y_METHOD
    *"     REFERENCE(I_PARAM) TYPE  UPC_Y_PARAM
    *"     REFERENCE(I_PACKAGE) TYPE  UPC_Y_PACKAGE
    *"     REFERENCE(IT_EXITP) TYPE  UPF_YT_EXITP
    *"     REFERENCE(ITO_CHASEL) TYPE  UPC_YTO_CHASEL
    *"     REFERENCE(ITO_CHA) TYPE  UPC_YTO_CHA
    *"     REFERENCE(ITO_KYF) TYPE  UPC_YTO_KYF
    *"  EXPORTING
    *"     REFERENCE(ET_MESG) TYPE  UPC_YT_MESG
    *"  CHANGING
    *"     REFERENCE(XTH_DATA) TYPE  HASHED TABLE
      DATA:
      lr_area TYPE REF TO cl_sem_planarea_attributes,
      l_sortfield type STRING,
      data_ref TYPE REF TO data,
      lr_t_data TYPE REF TO data.
      FIELD-SYMBOLS:
      <lt_data> TYPE ANY TABLE,
      <ls_data> TYPE ANY,
      <ls_data_copy> TYPE ANY.
      CALL METHOD cl_sem_planarea_attributes=>get_instance
        EXPORTING
          i_area      = i_area
        RECEIVING
          er_instance = lr_area.
      CREATE DATA lr_t_data TYPE (lr_area->typename_t_data).
      ASSIGN lr_t_data->* TO <lt_data>.
      <lt_data> = xth_data.
      CLEAR xth_data.
      l_sortfield = 'S_CHAS-0CMMT_ITEM'.
      SORT <lt_data> BY (l_sortfield) DESCENDING.
      MOVE <lt_data> TO xth_data.
    ENDFUNCTION.
    Does anybody understand this behavior, why the changes in the user-exit are not assumed in the BPS Layout?
    Thanks,
    Ilda

  • Variable Range not working in BPS-Layout.

    Hi BI Guru's,
    I am facing Problem in BPS - Layout.
    My requirement is to get YTD Budget Quantity in Single Coulumn. For Example, I need Quantiy for the Period 001.2009 to 12.2009 in single Column as Budget YTD 2009.
    For this I defined a variable on the Planning area, with the characteristics "fiscper" and in the selection condition i entered the range 001.2009 to 012.2009, but when i executed the layout it is showing the quantity for the perios 001.2009 only and not for the entire range.
    I tried with the User Exit also, where i copied the standard function module "UPF_VARIABLE_USER_EXIT"  to 'Z' function and modified to my requirement.
    Following is my Code for the Function Module
    clear eto_charsel.
    data ls_charsel type upc_ys_charsel.
    clear ls_charsel.
      i_area = 'ZUCOPA'.
      I_CHANM = 'FISCPER'.
      i_variable = 'ZACTDYTD1'.
      ls_charsel-chanm = i_chanm.
      ls_charsel-seqno = '1'.
      ls_charsel-sign  = 'I'.
      ls_charsel-opt   = 'BT'.
      ls_charsel-low   =  '2009001'.
      ls_charsel-HIGH   = '2009012'.
      insert ls_charsel into table eto_charsel.
    But the after using the Function Module in the User Exit area of Variable also, I am getting the Quantity for the Period 001.2009 only and not for the entire range ( 001.2009 to 012.2009 ).
    Please suggest some solution ASAP.
    Thanks in advance.
    Regards,
    VD.

    Hi Marc,
    Thanks For your Reply,
    I changed the Layout as suggested by you, where i have now 12 columns for Budget Quantity and a Total column( C1C2....C12).
    I do not want to show this 12 column and instead want to show only the total column, so I hide this columnn's in the change layout but after saving the layout these columns again appear in the layout.
    How do i hide these columns in the layout????
    Thanks
    VD

  • Check user manual input in excel BPS layouts

    I have some problems for manual input characteristics checks on an excel bps layout.
    I need to assign the value of an header characteristic to a detaild characteristic. How can I do ? I have already tried with characteristic rels. (exit, attributes, etc.) but without results.
    Thanks in advance.

    Hi Mario,
    I am quite sure, that if a char is in an P.Level, and there is a char relationship for it, the char relationship will not be called (somebody correct me if am wrong).
    So, in your case, you want to derive SALES ORG from Company code using char rel. The sales org is in the p.level, since it is in your layout. Threfore the char rel will be not called.
    If you want to have it works, do not select sales org in your level. I assume that you filter your comp code in level with a bps variable. Get this variable value (using API_SEMBPS_VARIABLE_GETDETAIL function) and assign it to char SAles org in your char rel exit. Everytimes when you save your plan data, the char rel exit will be call and sales org will be derived.
    If you want to show and derive the sales org in your layout based on selected company code, create a bps variable type exit for it, and read and derive the value from comp code variable.
    Best Regards,
    Suan Liono

  • Is it possible  Hide a column in BPS layout "WEB" ?

    Hi,
    Is it possible to hide a column in a "WEB" BPS layout  ?
    Have you an example to hide a column in web thanks to Java and where insert it ?

    Alessandro,
    I create in BPS0 all the customizing I need (functions, layout...). After that, I create a web interface with these components (variables, functions, layout).
    That 's why I wonder what could be the java code to hide a column in web interface.
    regards

  • Hide a column in BPS layout ?

    Hi,
    Is it possible to hide a column in a BPS layout (Web Excel) ?
    When I hide a column in the layout definition, saving it resets the hidden column.
    Any idea if it will be included in a future release ?
    Thanks

    Alessandro,
    I create in BPS0 all the customizing I need (functions, layout...). After that, I create a web interface with these components (variables, functions, layout).
    That 's why I wonder what could be the java code to hide a column in web interface.
    regards

  • Characteristic in BPS layout

    Hi all,
    I need to insert a characteristic in BPS level but not in the layout, it's possible?
    Thanks
    Gianmarco

    Thank you
    another question please.
    If I have a characteristic in multiplanning area but it is not in the level, can I use this characteristic in function with customer exit or formula?
    Gianmarco

  • Data in BPS layout columns

    Hi,
       I have two data columns in my BPS layout called price and margin with one lead column material, the layout looks like this when it initially display:
       Material    Price   margin
          1          1.25
          2
          3
          4
    The requirments is if user input date in the margin column and the price should be calculated by the following logic
         second  material price = (first price ) + (first margin) and so on.
         if we input margin column 0.50,0.40 0.30  for material 1,2,3,4 respectively, we will get the following price result:
        Material    Price   margin
          1          1.25    0.50
          2          1.75    0.40
          3          2.15    0.30
          4          2.45   
    I am tried to use the excel formula for achieve this, but as much as I know the excel formula can not been saved when we configure the BPS layout,beside since the number of material display under different data selection criteria is vary, it's diffculty to hard code the formula in the excel.
    Anybody have any suggestion how to do it?

    Hi JW,
    BPS is designed in a way that layouts and planning functions are completely independent of each other (otherwise you would have to build a layout for each function or something like that).
    The data in the layout is sorted according to the lead column. So if you use FOREACH in FOX with the same characteristic, the data will be processed in the same order as the lead column.
    Alternatively, you can do it with an exit function. All you need to do in an exit is copy XTH_DATA into an internal table and then use the SORT statement with the same sort key as the lead column.
      DATA:
        lr_aera     TYPE REF TO cl_sem_planarea_attributes,
        lr_t_data   TYPE REF TO data.
      FIELD-SYMBOLS:
        <lt_data>   TYPE STANDARD TABLE.
      CALL METHOD cl_sem_planarea_attributes=>get_instance
        EXPORTING
          i_area      = i_area
        RECEIVING
          er_instance = lr_area.
      CREATE DATA lr_t_data TYPE (lr_area->typename_t_data).
      ASSIGN lr_t_data->*   TO <lt_data>.
      <lt_data> = xth_data.
      sort <lt_data> by ...
    your logic here
      xth_data = <lt_data>.
    Regards,
    Marc
    SAP NetWeaver RIG

  • Reverse Signs in BPS Layouts

    Dear all,
    I'm looking for a way to reverse the signs in BPS Layout.
    Storage in Cube:
    Costs +
    Revenues -
    Display and input in BPS-Layout
    Costs -
    Revenues +
    That is it should work somehow like the sign reversal in queries.
    I checked the standard function Automatic Sign Assigment
    http://help.sap.com/saphelp_sem40bw/helpdata/en/41/0e28c474eb11d4b2fb0050dadfb23f/frameset.htm
    but this seems to be diffent.
    Any ideas?
    Best regards
    Gregor

    Hi Gregor,
    you want to have a 'static' sign reversal (all values multiplied by -1); this does not exist as a planning layout feature. In BPS sign reversal was designed to display both costs and revenue with +.
    Also in BW queries there exists a 'static' sign reversal as a property of a structure element and in addition one can use master data attrbute lookups (replacement path variables) and formulas to get a master data value specific sign.
    In BPS one can use a planning function to revert the sign before data input and after data input. Depending on the UI you can also use VBA makros to do the sign reversal (Excel-Inplace). In a WebIntefaces you can implement your own exit class; there you can control the data. Maybe the latter solution is not self-explaining.
    Regards,
    Gregor

  • BPS - How to filter a BPS layout based on keyfigure value.

    Hi Gurus,
    I am in a requirement to display a BPS layout based on a keyfigure value. Basically filter based on a keyfigure value. I don't want to display any records which contains a value of '0' in a particular keyfigure. Is this possible in BPS.
    Thanks,
    Mohan

    thanks guys for your response.
    The macro is not going to help me because the number of records from the database fetch is going to be more than 15000 and the valid records are only around 100. And since BPS cannot display more than 9999 records this would be a problem. This is my assumption. Let me try this out and see how BPS responses.
    I tried using the exit function to delete the records from buffer with the condition if the keyfigure is 0 but the other keyfigures values are affect due to this. Meaning BPS keeps track of the changed records and changes the other keyfigure value to 0.
    e.g. I have 2 keyfigure, A and B. A is the keyfigure where I check the value for 0 and B is the keyfigure with a non-zero value say $10. And in the exit before processing I have 10 records out of which 2 records are having value 0 for the A keyfigure and 8 records are having value as 1 for the A KeyFigure. And B keyfigure is having $10 for all the records. Based on the condition I delete off the 2 records from memory. SEM keeps track of this change and when you press on the save button in planning layout, the value for the B keyfigure are changed from $10 to $ -10 and saved to the database, I don't want this change in value to B keyfigure happening. So any other work arounds....
    Thanks,
    Mohan

  • CRM fields not populating in BPS layout for opportunity Planning 0crm_order

    Hello Support,                                                                               
    We are using SAP CRM 5.0 SP09 with BW 7.0 SP 09.                                                                               
    When creating an opportunity in CRM, the product data ( quantity ,
    values) are not appearing in Planning tab( SEM-BPS Layout) .                                                                               
    Kindly let us know what needs to be done to resolve this issue.    
    Thanks and regards,                                                
    Rajiv Jain

    In your CRM system, check your mapping from CRM to BW are correct.
    You can do this in transaction SPRO. Menu path 'SAP Implementation Guide --> Integration with other mySAP components --> SEM --> Change mapping between CRM fields and InfoObjects'. Select planning application 'OPP' and click on 'Mapping table - system entries' on the left.
    In here you should see the mapping from the InfoObject to the CRM field (eg. Infoobject 0CRM_EXPREV uses structure CRM_BW_OPPT_H and field name EXP_REVENUE).
    In order for the value to be passed to planning you must tick the 'Empty' checkbox on.
    Regards,
    Adrian

  • BW authorizations in BPS layout

    Dear all,
    My question may seem basic, but I don't have any experience with authorizations.
    I need to use already existing BW authorizations in my BPS layouts, so well, I created auth. variables on the needed characteristics and assigned it to my layout.
    ==> nothing changes when I'm launching the layout.
    I wonder if I need to ask the modification of the already existing BW roles in order to add field ACTVT? Will this have an impact on already existing BW reports for the users?
    Also, does something need to be done in RSSM (or other T-code) in order to activate the auth. for my planning cubes?
    Thank you in advance for your help!!

    Ravi,
    The objects you mentionned talk about area, planning, etc,... so they are usefull when a user wants to launch a layout in order to let him launch/plan it or not, etc... . That's the first step, and that doesn't interest me.
    Second step is that when launching, the user will get his layout. This layout will be generated regarding the design I made in BPS0 and then also the variables I've used.
    If I've restricted my planning level by using variables of type authorization on an char. that is in the lead column of my planning layout, it should restrict the diplayed/available rows regarding that authorization (ex : only company code 1000 for user A; company code 2000 for user B ; company code 1000 and 2000 for user C ==> coming from reporting authorizations in BW)
    So I really think we don't speak about the same thing... or it's me that doesn't understand! (that's also possible )

Maybe you are looking for

  • Pages '08, formatting disappears from exported times new roman text

    I often work in Pages '08 with .doc files from colleagues. These invariably come in Times New Roman 12pt. When i export my files in word format, all formatting (bolds, italics etc.) has disappeared when they open the files on their own computers. If,

  • Issue with Reporting

    Hi Everyone,             I need some help in Reporting, Like I am working on Inventory Management. Here I have Document Type and there are three values. I need to show chart for those three document types. But when I selected I am getting blank Chart

  • How to have an effect show up in a certain part of the clip?

    I'm resonably new to AE and I'm editing a video where the guy pulls a scoped gun up to his face, and I was wondering if there was a way to have only the scope lense get brighter as he pulls it up to his face. Thank You For Your Help.

  • Listening to music on the iPad

    I get that this will seem like an utterly ridiculous question but how the heck do I listen to the music on my iPad? From my iTunes app on my computer, it appears that I have all my music sync's with the iPad but I guess I have a low IQ because I can'

  • XI Implementation Guide

    Dear  Friends, Can anyone share some documents which is related to XI Implementation planning phase. Take care, Karthik.k