Layout Definition - SEM-BPS

Hi,
I have a requirement to have planning by a certain structure for Profit Center and Account  e.g.
Profit Center1
              Sales
              Cost of Sales
              Marginal Profit (Sales - Cost of Sales)
Profit Center2
              Sales
Sales, Cost of Sales are specific accounts.
I want the user to be able to select a range of Profit Centers and for each profit center the screen appears as shown above.
I tried to use the "Key Figures in data columns, Rows defined individually". I face two problems with this -
i) I am using a variable for the Profit Center selection but system does not allow me to put the variable in the layout. (says variable has the wrong type
ii) If I put the Profit Center it appears after the structure for Marginal Profit which I created. I want it to appear to the left of the structure as shown above.
Is this possible in BPS?

Hi Marc,
Thanks for your suggestions - However I have issues with them -
i)The profit Centers are dynamic and based on the user's selection. I cannot pre-define them with varaibles.
ii)I assume this means to create a hierarchy. (If you use a two characteristic variable the check on "Restriction of values required by user is switched on automatically". SO you cannot use that option). Only thing is then you have to also put # in the hierarchy which is difficult to explain to the user.
iii)I wish I could put it in the header. But the user requires it a certain way. Also he wants to be able to copy and paste an Excel spreadsheet.
iv)Tried putting in a Profit Center variable and just specified the required accounts in the selection. However the accounts do not appear in the order in which I want. They are sorted by Infoobject technical name.
I tried creating the layout with a dynamic lead column (profit centers) and a predefined lead column (accounts based on predefined rows).
The output I get is interesting. I have it below -
Profit Center 1______Sales
Profit Center 2______Sales
Profit Center 3______Sales
Profit Center 1______Cost of Sales
Profit Center 2______Cost of Sales
Profit Center 1______Marginal Profit
Profit Center 2______Marginal Profit
It looks like if there was a way to switch the order of the Profit Center and Account that should do it.

Similar Messages

  • Web Layouts in SEM-BPS

    Hi all,
    I have the following question related to web layouts in sem-bps (non excel):
    - I have several web layouts to enter data, but we have now user requirements related to copy, paste informations cells (manually) from and to EXCEL. The problem is that, using a simple alv layout this operation can't be done.
    I've already searched possible ways to overcome this limitation, with no success (layout settings, by inclusion of some specific object, etc.)
    Can anybody help me ?
    Thanks,
    Ricardo

    Hi Raman,
    Sorry but your tip doesn't work
    That's precisely our problem: the authorization scheme we implemented in the "SAP GUI side" doesn't work in the web side". Using web layouts, I still can acess some layouts I shouldn't be allowed to (user dependent)
    Thank you anyway
    Regards,
    Ricardo

  • Manual data change in SEM-BPS

    Hello,
    Dos somebody know how to find possibility of manual data change in the planning layout of SEM-BPS?
    Thanks for answers.

    Hello Svetlana,
    When you meant "to add new (or change existing) data in a planning layout, you have to make use of the function module
    <b>API_SEMBPS_SETDATA.</b>
    The parameters what you have to pass are:
    1) Planning area
    2) Planning level (where your layout is defined)
    3) Planning package
    4) Planning Laoyut
    5) Characteristic values of each row
    Check the documentation of the Funtion Module (CTRL+F4).
    <b><i>1) Be sure to convert the key figure values in string format, otherwise you would get a runtime error.
    2) Make sure that no two rows have same keys (characteristic value tuples)
    3) Make sure that all the characteristic values are contained in the planning level (Check the filters)</i></b>
    A simple working example (ABAP Code) you have it from me when things dosen't go forwards.
    Thanks and Good Luck!

  • Changes are not reflected into SEM-BPS 1 layout.

    Hi,
    1st, I've included code in SAPAfterDataPut that copies data from SEM-BPS 1 into New Sheet.
    Now, I've inserted a method in the sheet module of New Sheet. This method takes care of reflecting changes from New Sheet into SEM-BPS 1 layout. but, finally am not getting changes back to SEM-BPS 1 sheet.
    I've tested this in excel (outside of BPS) and it works fine.
    in BPS, I went into VB debugging mode (after inserting a break point) and I can see that change that has been made in New Sheet was reflected back to SEM-BPS 1. But, when i test the same out of debugging mode, am not getting the same result.
    Looks like,after changes in New Sheet, SAPAfterDataPut is again being executed and is overwriting the changes that I made in new sheet.
    Do i need to inlclude code only in SAPBeforeDataPut to reflect changes from new Sheet into SEM-BPS 1?
    In excel (outside of BPS), this method works in such a way that, as soon as i make changes in Sheet2 will get reflected into Sheet1 without runnning any macro.
    but, with same code, this doesn't work in BPS. (instead of reflecting changes to SEM-BPS 1, changed value in New Sheet is reverted back to original value that is same as the value in SEM-BPS 1)
    Appreciate any ideas/thoughts on this.

    Hi,
    Usually you work with a second sheet in the following way: write a macro that copies the data from the SEM-BPS 1 sheet to the new sheet. In order to run that macro include it into the macro "SAPAfterDataPut" and set the flag in the check box of in the popup of the third screen of the layout builder. The system will call the macro after the data has been written to the sheet SEM-BPS 1.
    There is a second predefined macro that the system will executed provided that the flag is set on the popup in the layout builder. This macro is called "SAPBeforeDataGet". It is called before the BPS reads data from the SEM-BPS 1 and should be used for transferring the data back to the first screen (similar to the coding you have done in SAPAfterDataPut). Using this macro should solve your problem.
    I did not understand how the changes are transferred from the new sheet in your (stand alone) case. Unfortunately it sometimes does make a difference if you test a macro in a stand alone Excel or in the Excel inplace. Some features are disabled in Excel Inplace (by Microsoft!!).
    Best regards,
    Gerd Schoeffl
    SAPNetWeaver RIG BI EMEA

  • RABAX_STATE type of error while accessing SEM-BPS layout

    Hi
    I was trying to access SEM-BPS layout from CRM web UI. But i got following error:
    CRM: Function Module "UPX_KPI_API_SET_PROP_TIMELINE" not found
    The termination type was: RABAX_STATE
    Can anyone please tell me how to resolve this problem?
    Thanks,
    Smruti

    Hi Smruti,
    I don't know about your problem, as I don't know CRM, sorry.
    But for you info: It seems this RABAX_STATE occurs at every WD4A error.
    Kind regards, Matthias

  • SEM-BPS Excel layout

    Hi,
    In SEM-BPS I use fiscal year variant K4 and when a Excel planning layout is started with a period October, 2007 to September, 2008 the system also displays a column with  year = 2008 and period = 00.
    How can I avoid this?
    Thanks,
    Jair

    Hi,
    isn't it accidently a misused "Summation" Column?
    to switch it off:
    8th icon from left hand side: a smiling face in front of a table.
    Switch "Show total" off.

  • How to Remove totals on few columns from SEM BPS layout

    On SEM BPS layout it has 10 5 charatestics columns
    and 10 key figure columns.
    out of these key figures I want see totals on some
    coulmns and for few columns I do not want to see totals.
    for wxample it does not make sense of seeing total under
    the salary incrase percentage coulmn.
    Please suggest anyway we can remove total for some  
    columns on the layout

    Hey, thanks -- everything worked as you described. It never would have occurred to me that the "put back" button refers to the browser selection not the layout selection, for reasons I give below.
    I think Aperture exhibits some conceptual confusion here. First of all, a "light table" is created by the New > Light Table command, and you add images to the newly created light table just as you would add them to an album. But those images don't go on the light table layout until you drag them from the browser to the layout table. The "put back" button and "remove from light table" contextual menu command both mean remove from the layout. The phrasing of the contextual menu command make it sounds as if it will remove the clicked image from the light table's collection of images, like removing an image from an album -- it would have made more sense to name this command "put back". Furthermore, the "put back" button is above the layout display, not above the browser, which to me implies that it applies to selections in the layout display. To select an image in the browser, and click "put back selected" seems backwards -- if you just selected the image in the browser, your attention is focused on the browser, not the layout; from the browser's point of view, the button should read "bring back" not "put back".
    The documentation didn't really help when I was trying to figure this out. Sometimes the Aperture documentation refers to just a "light table", as on the overview on page 732. On pages 733 and 734, though, it refers to a "light table album". On page 735 of the Aperture manual there is a very brief explanation of how "to add images to the light table" and "to remove an image from the light table". Here, "light table" refers to the layout not the album. The explanation of the "Put Back Selected" button says to select an image then click the button, and the picture shown is of an image selected in the layout, not in the browser.

  • Refresh current SEM-BPS layout

    Hi,
    I have a need to refresh the current SEM-BPS layout after executing a planning sequence.
    How do i do that?
    the problem is,
    A planning sequence reposts current layout data & the data disappers from the layout but the document icons still appear in the layout. (these are just virtual icons meaning it doesn't let me to delete/edit the document. If i click on these icons, nothing happens but the icons just appears)
    I switched the layout (another button in the folder) after executing this planning sequence & again came back to the 1st layout & the icons are gone.
    So, I'm anticipating that refreshing the current layout should solve this problem.
    Appreciate any kind of help.

    Hi,
    I guess the problem lies in the way the Excel macros transmit the data from the BPS sheet to your sheet. The best way to handle the problem is to insert a delete operation in you VBA coding before the new data is transferred to the second sheet. What I mean is in the macro SAPAfterDataPut you first delete all data in the second sheet (including the icons) and then transfer everything to the second sheet.
    You cannot trigger a "restart" of the Excel layout via a planning function. If you are in a layout and trigger a planning function the system notices that the same layout should be shown and thus does not restart the Excel (for performance reasons). If you switch to another layout then the Excel application is stopped and a new Excel is started. There is no way to influence this behavior without doing a system modification.
    Best regards,
    Gerd Schoeffl
    SAPNetWeaver BI RIG EMEA

  • SEM-BPS functionality

    Hi to everybody.
    I'm searching for a particular functionality of SEM-BPS but I don't know if it exists or if I have to develop it custom(for ex:with ABAP).
    Here, the issue: I have a product-hierarchy, the last two bottom-level of which are PRODUCT and (under) SKU (PRODUCT is parent of SKU).
    I want to spread (I mean "distribute") values of particular PRODUCTS down to the respective SKUs following the hierarchy definition. An example: the value of PRODUCT P10 down to SKU 19, SKU 20 and SKU 21, the value of PRODUCT P11 down to SKU 22, SKU 23, SKU 24  and so on.
    I have tried to use ALLOCATION function and it works perfectly but there are too much parameters to define (sender, receiver, distributor and so on) and it isn't related to the pre-defined hierarchy (I mean, there is no possibility to define a hierarchical reference).
    This problem is born because of the large amount of PRODUCTS and SKUs (it's an hard work defining every single parameter...).
    So I'm searching to a function that permits to refer to the product-hierarchy and execute the spread.
    Any advice?
    Thanx a lot.
    Luca.

    Hi Luca,
    I am afraid I may not be able to help you with  your query! But if you dont mind can I ask for your help. I am new to SEM-BPS. I have done certification in SEM but you know how its like. The pace of the academy is so fast and furious that it is impossible to retain most of the stuff after the academy. Now I am working on an SEM-BPS project. The company wants me to show to them what BPS can offer them. They are currently using their own bespoked planning software but are not very happy. I need to show to them the functionalities of SEM-BPS. Are their standard examples on heirarchies in BPS? Or is their something u can send me to get started with using heirarchies in BPS so that I can map their organistion structure to BPS planning layout and then can proceed from there? And last but not the least can you advise me on the structure of info cube? What things do i need to take in to consideration before I can design my info cube? Thanks a lot.

  • SEM-BPS Planning Reports

    Hi Friends,
    I would like to produce
    1. Rolling Forcast,
    2. Buget,
    2. 10 Year plan ,Quaterly Annual basis
    with multiple views,
    By Product (Revenue, margin,direct cost)
    By Customer(Revenue,Margin,Direct Cost).
    I presume i will be producing these reports by SEM-BPS, but in dilemma whether it will be BW-BPS,  and also to work on SEM-BPS do we have to have BI 7.x?
    I would be very grateful if anyone can guide me in best possible way.
    Many Thanks
    Imran

    Hi Bhanu,
    Thanks for your help,
    1. Which version these reports should be developed in Query designer , It can suppurt only 7.x?
    2. Once  i create a report in Query designer how can i assign it to the BPS Layout.
    Thanks in advance for your help
    Best Wishes
    Imran

  • Performance concerns in upload flat file into SEM-BPS.

    Hi,
    we are using HOW-TO document to upload flatfile into SEM-BPS.
    in the same exit function, we have a need to derive missing characteristic values from reference data.
    So, we are reading reference data using API_SEMBPS_GETDATA.
    upload is taking around 10 minutes in test systems. our concern is, if taking so long for test systems with less data , what about production time with more data?
    from what all I can see is, most of the time is being consumed at reading reference data.
    I'm dealing around 14000 records of reference data & around the same number of uploaded records. Initially, system status is, "number of cells to be formed : 33092" and then immediately after 5 seconds, status changes to, "formed cells : 33000" and this status stays for like 8 minutes.
    I'm not using any input/output layouts but just exit planning function in the planning folder. So, I anticipate that above status is while reading reference data but not due to huge amounts of uploaded records.
    When I ran the same exit funciton by commenting just the "reading reference data" code, upload function execution time came out as 2 minutes.
    What is the best bet in dealing this scenario?
    Usually, what is the best approch to read reference data / to derive missing characteristic values?
    I couldn't able to use "Char Relationship using reference data" as it might not be suitable in my case. Even if suits, am missing enough documents/info/examples to deal "Char Relationship". Documentation on help.sap.com is not enough in this case.
    PS: initially, when I tried to read 14000 records at detailed level, exit funciton returned no reference data & in the debugging mode, I could see a message "too many records".
    Can a given layout read only a maximum of 9999 records / excel rows?
    records are at CALMONTH level. As I don't need CALMONTH for derivation of characteristic values, I have deleted CALMONTH from " READ reference data" level to avoid the above message. Does this anyway relates to peformance?
    Appreciate any help

    Hello Hari,
    it is touch to say what exactly causes this performance problem. Since you are dealing with custom coding (the how-to + your derivation logic), I suggest to do an ABAP trace (SE30) to see where the time is really spent.
    The API call to read data should not take more than a few seconds. Test it separately by putting the API call into a simple ABAP program.
    As Mary pointed out already, there's a 9999 line limit for layouts and therefore the GETDATA API as well.
    Note: The file upload/download how-to solution was never meant for mass data loads. This needs to be done using regular BW functionality.
    Regards
    Marc
    SAP NetWeaver RIG

  • SEM-BPS 6.0 error message requested data cannot be locked but at 999 row?

    Hi all,
    We are using SEM-BPS with WIB and EP 7.0 and I encountered issues for the first time.  I normally avoid configuring layouts with large hierarchies but at this one the client insisted.  They are in testing right now and selection of relatively small node (approx. 10-20 cost centers) still gave us an error message. 
    I know layouts has a limit of 9,999 rows and we should have been okay since it is about 200-300 lines per cost center but we are getting the error message below and it mentioned a limit of 999 rows in the selection table..  Any way we can change that?
    Thanks,
    mary
    Requested data cannot be locked (-> see long text)
    Notification Number RSPLS092
    Diagnosis
    In order to edit data from InfoProvider 'ZYEE_C02', the requested data has to be locked exclusively for user 'YEESU01'. The data that is currently being requested is specified by a very large selection table. In order to lock the data exclusively, the system has to store a compressed version of this selection table on the SAP standard lock server. However, the compressed selection table still has more than 999 rows. So that a reasonable number of users are able to change data at the same time, the system limits the number of records allowed in a selection table to 999 records.
    Information on Context of Lock Request:
    Lock requests can come from BI-Planning or from BW-BPS. The context specifies the following information:
    BI-Planning: for a lock request from a query, {Planning Function} for a lock request from a planning function.
    BW-BPS: {Planning Area}{Planning Level}{Planning Package}{Planning Function}{Parameter Group}. For lock requests from manual planning the following is true: Planning function = '0-MP' and the parameter group is the technical name of the planning layout.
    InfoProvider 'ZYEE_C02' is always a Basis InfoProvider. The current context information is:
    '{0-ADHOC}{0-MP}'
    System Response
    The requested data cannot be locked.
    Procedure
    You can normally only avoid this by simplifying your selections. For more information, see the documentation on this.
    Procedure for System Administration

    Hi Mary,
    in RSPLSE you use the option that the BI lock table is maintained in the SAP enqueue server. Here there is a limit - as explained in the long text of the message - that the compressed selection table for one enqueue request should not have more than 999 rows. This limit can not be changed.
    The selection table seems to be very big, since the compression factor is at least 5. So please check your selection table:
    1 check whether you can make the characteristic causing the problem not lock relevant
    2 or use the second option that the BI lock table is maintained in a shared memory area of the central instance of the system.
    But it is better to keep the selection tables small, e.g. by making some characteristics not lock relevant.
    Check sizing note 928044, e.g. in case you want to use 2. The default setting is very small.
    Regards,
    Gregor

  • VBA code not working in SEM-BPS 3.2

    We are currently running on BW 3.1 and SEM-BPS 3.2 environment. I am trying to create a screen in excel with VBA code doing validation on user input. For some reason the code works perfectly fine in standalone Excel. But when it comes to BPS, the code does not work. Is there any setting to invoke the code? Any help would be greatly appreciated.
    Thanks

    Bindu,
    Thanks for your reply. I checked in the layout builder and both the VBA Macro - SAPAfterDataPut and SAPBeforeDataGet are checked. Below is the code:
    Thanks again!
    Private Sub Worksheet_Change(ByVal Target As Range)
    If Not Intersect(Target, Range("D1:D1000")) Is Nothing Then
        If Target.Value = "183998" Or Target.Value = "192999" Or Target.Value = "0000183998" Then
        ActiveSheet.Unprotect
        On Error Resume Next
        'Application.EnableEvents = False
        MsgBox "You cannot plan on TPIs 0000183998 Or 0000192999"
        Target.ClearContents
        'Application.EnableEvents = True
        ActiveSheet.Protect
      End If
    End If
    End Sub

  • User-exit in sem-bps

    In SEM-BPS, I have a layout for manually entering data. The purpose is to enter values for a list of cost centers. This list
    of cost centers should change according to a SKF (statistical key figure) entered in the layout's header.
    The list of cost centers linked to a given SKF is read from a database table.
    This whole process is achieved with the use of a variable of type user-exit.
    However, I have two problems:
    1) If I change the SKF in the layout's header, I'm not beeing able to force another read to the database table, in order to
    refresh the cost center list;
    2) I'm not being able to detect the SKF selected in header, altough I'm using the function API_SEMBPS_VARIABLE_GETDETAIL to
    do so, wich returns all the SKF's (statistical key figures)
    Can anybody help me ?
    Thank you,
    Ricardo
    PS: Here is the exit, in its present state:
    <b>FUNCTION ZLACT_SFK_CC.
    ""Interface local:
    *"  IMPORTING
    *"     VALUE(I_AREA) TYPE  UPC_Y_AREA
    *"     VALUE(I_VARIABLE) TYPE  UPC_Y_VARIABLE
    *"     VALUE(I_CHANM) TYPE  UPC_Y_CHANM OPTIONAL
    *"     VALUE(ITO_CHANM) TYPE  UPC_YTO_CHA
    *"  EXPORTING
    *"     REFERENCE(ETO_CHARSEL) TYPE  UPC_YTO_CHARSEL
      DATA: ls_charsel TYPE upc_ys_charsel,
            seqno type i,
            tab_val_sel LIKE UPC_YS_API_VARSEL occurs 0 with header line,
            tab_val_sel_all LIKE UPC_YS_API_VARSEL occurs 0 with header line,
            head like UPC_YS_API_HEAD occurs 0 with header line.
      CLEAR:
      eto_charsel, eto_charsel[] ,
      tab_val_sel, tab_val_sel[] ,
      ls_charsel, char_value, seqno,
      t_ccusto, t_ccusto[],
      t_iest, t_iest[].
      case i_variable.
        WHEN 'PRVCCIE'.
    Get value of statistical key figure entered in layout's header****
    CALL FUNCTION 'API_SEMBPS_VARIABLE_GETDETAIL'
       EXPORTING
         I_AREA                   = 'PRRVS'
         I_VARIABLE               = 'PRVSK'
       TABLES
         ETK_VARSEL              = tab_val_sel.
    select cost center list from database table ***********************
        select
          from ZPR_CC_IE_CG
          appending corresponding fields of table t_ccusto
          where iest = tab_val_sel-low.
          clear:seqno.
          loop at tab_val_sel.
            ADD 1 TO seqno.
            ls_charsel-low   = tab_val_sel-low.
            ls_charsel-seqno = seqno.
            ls_charsel-opt   = 'EQ'.
            ls_charsel-sign  = 'I'.
            ls_charsel-chanm = '0STKEYFIG'.
            INSERT ls_charsel INTO TABLE eto_charsel.
          endloop.
          loop at t_ccusto.
            ADD 1 TO seqno.
            ls_charsel-low   = t_ccusto-ccusto.
            ls_charsel-seqno = seqno.
            ls_charsel-opt   = 'EQ'.
            ls_charsel-sign  = 'I'.
            ls_charsel-chanm = i_chanm.
            INSERT ls_charsel INTO TABLE eto_charsel.
          ENDLOOP.
      when others.
    *do nothing
      ENDCASE.
    endfunction.</b>

    Hello,
    I use the exit in the planning level and I link the exit to a variable for "0FISCPER".  I copy the data from a "Non-transactional Cube" to a "Transactional Cube" derictly of the period end closing.  I still need the data in previous month for calculations in BPS.  Maybe, I can use your code.
    Thanks and best regards
    Constant

  • Time dependent hierarchy structure in SEM-BPS

    I want to use a time dependent hierarchy structure in sem BPS to make combination chek and proposal in a layout.
    I have manage a relation of type hierarchy (based on this hierarchy) in the characteristic relationship tab page of my planning area.
    I open my layout to make entries in the future (next fiscal year) but the system doesn't propose me the datas valide for the next fiscal year in my hierarchy but the datas validate today.
    There is a key date in the master data tab page of the planning area but it seems to have only effects on attributes with validity dates but not with hierarchy with time dependent hierarchy structure.
    Thanks for your help.

    Hi,
    The key data that you enter in the planning area is only for time dependent characteristics and attributes. For the hierarchies in the characteristic relationships the current data is used.
    If you still want to use a time dependent hierarchy for modeling the characteristic relationships you could use a characteristic relationship type exit. In the exit you can read the hierarchy with the proper date.
    Best regards,
    Gerd Schoeffl
    SAPNetWeaver RIG BI EMEA

Maybe you are looking for