Re-intregrate characteristic data in BPS

Hi,
I have a question about integration data in BPS
in my model, on first step, a manual planning layout is filled with some characteristic date (such as description and texts) and a ratio (amount) and save the data
on the second step, i want to create a layout where each line can be validated by modifying a characteristic to a value
it looks like that once the data is saved, it is not possible anymore to modify the characteristic value in the manual planning
do someone has encountered the same issue ?
thanks in advance,
regards,
Chea-Lie

Chea-Lie,
Your request can be done but only in a Web interface because it allows line selection and executing a function over a single line.
In a web interface you can do the following thing:
You can have i.e. 20 entries with 20 cost centers and 20 amounts. A user can click any row in this layout and execute the function validate.
The function will copy the cost center to the same cost center and characteristic "OK" as you said. We can also delete the amount at the same cost center and characteristic validate = "#".
In the layout component you will need to use the component "Row/Cell selection".
This could also be done with excel by filtering variables but not by selecting a row of your layout.
Hope it helps,
Alberto Sabate

Similar Messages

  • How to access reference data in BPS Exit Function

    Hi Experts,
    Can any please tell me how to access reference data in BPS Exit function. I am creating a copy function using ABAP Exit Function (Std copy and fox formula doesn't work for my requirement).
    Please suggest,
    Thanks in advance,
    Shiwesh

    Hi Deepti,
    Thanks a lot for your reply. xth_data contains all the data based on package filteration. Let me explain you,
    Say, I have a characteristic char and whose value is 'A', I want to change it to 'B' in my copy function, while keeping the original record with 'A' as well. So now I want my xth_data to contain two records, one with A and other with 'B'. I mean to say from value is 'A' and to value is 'B'. Now my package contains 'B' (the to value) as the allowed value, but not A because in the package I am setting this using a BPS variable. There are two types of variables, one is to variables other is from variable. There could be two scenarios,
    1. If I set from varibale in the package: if I do so, I will have the data in xth_data containing 'A' as char value. But in this case when I change it to 'B' and try to save both the records, package won't recognize the record with value 'B' and reject it.
    2. If I set to variable in the package: In this case the xth_data itself will not contain anything and I can not loop over xth_data because there is no record with 'B'. Only record available in the system is with 'A' values.
    That is why I am thinking about having reference daya somewhere. I could loop over reference data and then pass it to xth_data. Package will contain to variable so it will allow all my modifications to get saved.
    Thanks and regards,
    Shiwesh

  • Report on characteristic "date"

    Hi all,
    I need to report on characteristic "date" not only characteristic "period/year" in report painter in CO-PA costing based.
    How can I do that?
    Thanks for any help!
    HuyenTT

    Still waiting for any idea for that issue!

  • How to generate data in BPS via function, not having any reference data?

    <b>Hi everybody,
    My approach was to use FM 'API_SEMBPS_SETDATA' but the modified values neighter appear in the layout nor were saved to the infocube after launching 'API_SEMBPS_POST'.</b>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/2e/260a8563b111d4b2ea0050dadfb23f/content.htm">Application Programming Interface (API)</a>
    <b>What do I have to take into consideration?
    Is there an other way to generate data in BPS?</b>
    Thanks in advance,
    Zeljko
    Here my findings from debugging it:
    In Step 1 FM reads data from planning level/layout correctly:
    Line     ROW     COL     VALUE     INPUT
    1     0001     0001     11     1
    2     0002     0001     0     1
    3     0003     0001     11     1
    4     0004     0001     11     1
    5     0005     0001     11     1
    6     0006     0001     0     1
    (Input = 1 indicates that Input is allowed in this cell)
    In Step 2 FM modifies the values in all lines to 1:
    Line     ROW     COL     VALUE     INPUT
    1     0001     0001     1     1
    2     0002     0001     1     1
    3     0003     0001     1     1
    4     0004     0001     1     1
    5     0005     0001     1     1
    6     0006     0001     1     1
    Finally the modification is imported to FM 'API_SEMBPS_SETDATA'.
    FUNCTION Z_IPS_BPS_GENERATE_DATA_INIT.
    *"*"Local Interface:
      DATA:  area      TYPE upc_y_area             VALUE 'ZIPM0001',
             plevel    LIKE upc_plevel-plevel      VALUE 'ZPOB0091',
             package   LIKE upc_package-ppackage   VALUE '0-ADHOC',
             layout    LIKE upp_param-param        VALUE 'ZPOL0002',
             read_only LIKE upp_ys_flags-read_only VALUE ' '.
      DATA:  res LIKE sy-subrc, res_mess TYPE bapiret2 OCCURS 0.
      DATA:  lt_head   TYPE upc_ys_api_head OCCURS 0,
             lt_col    TYPE upc_ys_api_col  OCCURS 0,
             lt_row    TYPE upc_ys_api_row  OCCURS 0,
             lt_data   TYPE upc_ys_api_data OCCURS 0,
             lt_data2  TYPE upc_ys_api_data OCCURS 0,
             ls_data   like upc_ys_api_data.
    * 1. reading data from planning level/layout
      CALL FUNCTION 'API_SEMBPS_GETDATA'
        EXPORTING
          i_area      = area
          i_plevel    = plevel
          i_package   = package
          i_layout    = layout
          i_read_only = read_only
        IMPORTING
          e_subrc     = res
        TABLES
          etk_head    = lt_head
          etk_row     = lt_row
          etk_col     = lt_col
          etk_data    = lt_data
          etk_return  = res_mess.
      IF sy-subrc <> 0.
        RETURN.
      ENDIF.
    * 2. modify values in lt_data to 1
      LOOP AT lt_data INTO ls_data .
        ls_data-value = '1'.
        APPEND ls_data TO lt_data2.
      ENDLOOP.
    * 3. set dummy values into planning layout/level
      CALL FUNCTION 'API_SEMBPS_SETDATA'
        EXPORTING
          i_area     = area
          i_plevel   = plevel
          i_package  = package
          i_layout   = layout
        IMPORTING
          e_subrc    = res
        TABLES
          itk_row    = lt_row
          itk_data   = lt_data2
          etk_return = res_mess.
      IF sy-subrc <> 0.
        RETURN.
      ENDIF.
    *CALL FUNCTION 'API_SEMBPS_POST'.
    ENDFUNCTION.

    Hi Vlad,
    I tried both alternatives:
    1. Write data in buffer only, not in database
    2. Write data in buffer and then writes from buffer to database
    How can I check or see the data in the buffer? I tried the following: After executing the FM I opened the layout but the numbers are still the same.

  • System error while accessing characteristic data

    Hi Experts,
    While copying the Settings for process management from plant 1 to plant 2, for the step "process instruction categories", I am facing an error as below:
    System error while accessing characteristic data
    Message no. 0C002
    Diagnosis
    An internal error occurred while accessing the characteristic data. The characteristic cannot be used.
    Procedure
    Contact your system administrator.
    I am using the transaction O20C.
    Can some one please through some light on this?
    Praveen

    Hi AP,
    Thanks for the reply.
    I have already checked that note, I didnt find any solution from that.
    And I am on ECC 6.0 EHP5.
    Praveen

  • Characteristic relationships in bps

    Hello All,
         How to mainatain characteristic relationship in bps.i clicked on the tab characteristic relationship in planning area i found step,type,  characteristics involved . where do i need to relation ship and where do i need to check characteristic combination
    Regards
    Jacko

    Hi,
    Use the following links to know about CR.
    [http://help.sap.com/saphelp_nw04/helpdata/en/05/242537cedf2056e10000009b38f936/frameset.htm]
    pratyush

  • Do we have to load data in BPS cube before entering values ?

    Hello,
    Can someone explain me the flow of data in BPS. Like I have created a copy of a regular cube and will be working on that making it into a transactional cube (as per help.sap). So do i need to load the same data in tran. cube from R/3 as load in regular cube. or do I just have to create the planning folders and layouts and let the user enter their planning values?
    Do we have to send the data that users input back to R/3 ?
    In short if someone can explain me the flow of data it would be great.
    Thanks a lot in advance.

    Hi,
    If you are working on funds management then I think there's an extractor for it and clients usually plan and retract the  data back to SAP. Again, loading of data is not just for comparing plan and actuals the client might be reporting on the data.
    BPS is a part of BI, the main area that is normally implemented first is the BW part which is for reporting and then go for BPS.
    What I am not sure is these are very generic questions can you be more specific as to what's the problem you are facing. All the points mentioned by you will be handled/answered during a blue printing session.
    thanks

  • Inactive master data in BPS

    We are planning to use funds with old valid dates in BPS for rechrges like fund with valid dates from 01/01/2000 to  01/01/2001. When master data is extracted from R/3, it appearing with valid dates from 01/01/1000 to 12/31/9999 in dark gray color and it not appearing under help button for the 0fund in layout. We are doing this basically because this is only way they can stop postings to these funds in r/3.
    If you have any ideas please let me know ?

    Hi,
    Why don't you create those masters directly in BPS? You can have a different naming convention, to quickly recognize these futuristic masters and not to confuse them with the live masters.
    Is there any concern for directly creating them in BPS.
    HTH,
    Regards,
    Nataraj.
    Message was edited by: Natarajan Radhakrishnan

  • 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

  • Forecast weekly and daily data using BPS

    Hi, we forecast cash on a weekly basis for 16 weeks and also do the current month daily forecast (daily forecast data gets rolled up to the current month weekly forecast numbers, so technically we do 12-13 weeks forecast on a weekly basis)...How can I set up such a scenario where both daily and monthly forecasting can be done...
    Also, I have only one characteristic(line of business) other than time characteristics (Day, week, month, year).
    We are on SEM-BPS 3.2
    Thanks for the help,

    Hi Srinath, users can enter both Daily and Weekly forecasting. They do daily forecast for current month and also do 16 week forecast (which includes the current month). How can I integrate the current month daily with Weekly forecast. Any time they change the daily forecast, they want the weekly forecast for the current month to get updated based on the new data. I created a layout for daily with week as a selection variable. that way when they enter daily data, week infoObject info gets loaded. But how can I update the daily infoobject when they enter the weekly data.
    I created two levels for Daily and Weekly before but it creates duplicates for weekly data...
    Daily Data
    Line of Business | day               | week                        | Key Figure |
       1                        03/01/08           1                             10.00
       1                        03/02/08           1                             11.00
       1                        03/03/08           1                             12.00
       1                        03/04/08           1                             13.00
       1                        03/05/08           1                             14.00
    Weekly Data
    Line of Business | day               | week                        | Key Figure |
       1                                             1                             60.00
    How can I include a day field in the weekly data forecast. I may have to distribute the weekly data to each day of the week. kind of lost.
    Thanks,

  • 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

  • Locking data in BPS layout

    Hi Guys,
    I have  one Planing Layout which different users will access for planning  but for different Cost centers. But as of Now when User1 is loggining in it is fetching all Cost Centers and User2 is getting Locked . he is not able to change any plan data .
    Now I want that when user1 will logon in BPS Layout ,he/she should fetch up the data for Cost centers for which he/she is authorized . So, other users should not be locked. they should continue to plan for other Cost centers.
    your Suggessions will be hIghly Appreciated.
    Thanks
    Pankaj.

    Hi Pankaj,
       I suppose you want an input variable for 'User Group' based on which you would write an exit variable for Cost Center. I am a bit out of touch of BPS but as far as I think, you cannot do that because you cannot include a nav. attr. in a planning level. If you can think of some other way other than an input var. for 'User Group' then it might help. One way could be to include 'User Group' as a separate characteristic in the planning level.
    In Integrated Planning, this is definitely possible, because in an input ready query, the nav. attr is accessible like any other characteristic on which we are able to apply an input variable.
    Maybe somebody else can throw more light on this particular scenario in BPS.

  • How to modify master data with BPS

    Hi experts,
    Our customer would like have the posibility to enable/disable the materials they are using for planning.
    Disabled materials should not be available for planning.
    To do that we are thinking in adding another characteristic into the cube as a flag to determinate which material is enable or disable, and later use that infoobject to filter the planning layout.
    We wonder how can we change the values for a characteristic using BPS. Is that possible? So far, we are only able to modify keyfigures.
    Thanks in advance,
    Pablo

    To disable a material from getting planned, proceed as follows:
    1. Have material in the area and also in level and package.
    2. Create a data slice on material and set the material that you wish not to be planned by the planners and save the model.
    This configuration will meet your requirements.
    Ravi Thothadri

  • Displaying Material Characteristic data in MD04

    Hi there,
    I have a requirement to display Material Characteristic information in the "Additional Data" tab for a given material in transaction MD04. (Screen 100 of Function Group M61K in se80)
    What is the best approach to doing this? Can this be configured (without programming), or if not, is it possible to use a BADI such as
    MD_ADD_COL_EZPS to achieve this? (from looking in forum, this appears to be an option)
    Will I need to modify the screen? - hoping to achieve this without modification...
    Any responses are appreciated.
    Thanks,
    David.

    Explore the methods ACTIVATE_ADD_COLUMNS and FILL_ADD_COLUMNS of this BADI.
    Example: This code adds a button on tool bar of MD04 and when clicked populates delivery column
    Method - ACTIVATE_ADD_COLUMNS
      button1_ez = "DELIVERY".
      ez1_mode = '2'.
    Method - FILL_ADD_COLUMNS
    Populate the column
      DATA: lv_column1    TYPE mdez-usex1,
            lv_ebeln      TYPE ekbe-ebeln,
            lv_ebelp      TYPE ekbe-ebelp.
    Get Delivery Doc# for corresponding PO/STO
      lv_ebeln = ie3mdpslx-delnr.
      lv_ebelp = ie3mdpslx-delps.
      SELECT SINGLE belnr
             FROM ekbe
             INTO lv_column1
             WHERE ebeln = ie3mdpslx-delnr
             AND   ebelp = ie3mdpslx-delps.
      IF sy-subrc EQ 0.
        MOVE lv_column1 TO emdezx_usex1.
      ENDIF.
    Thanks,
    SKJ

  • How to Display Time-Dependent Characteristic Data In Query

    Hi Experts,
       I have encountered a problem. I want to use Time-Dependent Chart. And want to display different value according characteristc's valid from time. For Example,
    The Characteristic 0COSTCENTER has the navigation attribute 0COMPANY, The data as:
    0COSTCENTER   Valid from   Valid To       0COMPANY
    BW2305              20070101   20070430     A
    BW2305              20070501   99991231     B
    I want  the report  can display as :
    0COSTCENTER   Valid from   Valid To       0COMPANY  AMOUNT
    BW2305              20070101   20070430     A                  1000
    BW2305              20070501   99991231     B                  2000
    But when I set the query's key date 20070420, the report display as:
    0COSTCENTER   Valid from   Valid To       0COMPANY  AMOUNT
    BW2305              20070101   20070430     A                  1000
    BW2305              20070501   99991231     A                  2000
    when I set the query's key date 20070520, the report display as:
    0COSTCENTER   Valid from   Valid To       0COMPANY  AMOUNT
    BW2305              20070101   20070430     B                 1000
    BW2305              20070501   99991231     B                  2000
    Can anybody tell me how I can get report expected.
    Thanks in advance.
    SF

    Hi,
    1) Add the characterstics 0COSTCENTER ,0DATETO,DATEFROM and  0COMPANY to the cube.
    2) And also add these 4 IOs to the Communication structures which has update rules with the concern cube.
    3) I hope , you already have  0COSTCENTER in the Commnication structure and mapping for that infoobject at both Update rules and Transfer rules.
    4) Leave to the Blank(no mapping) mappings for the IOs 0DATETO,DATEFROM and  0COMPANY in the Transfer rules.But make 1:1 mapping in the Update rules for these 2 infoobjects.
    5) Write the below code in the strt routine of the Update rules:
    TYPES:  BEGIN OF type4.
          include structure like /BI0/QCOSTCENTER.
    TYPES END OF type4.
    DATA:
      ITAB4 TYPE STANDARD TABLE OF TYPE4
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    SELECT * FROM /BI0/QCOSTCENTER INTO CORRESPONDING FIELDS
    OF TABLE ITAB4
    WHERE OBJVERS = 'A'.
    loop at DATA_PACKAGE.
         READ TABLE ITAB4 WITH KEY COSTCENTER = DATA_PACKAGE-MATERIAL 
    DATETO LE DATA_PACKAGE-PSTNG_DATE
    DATEFROM GE DATA_PACKAGE-PSTNG_DATE.
                  IF SY-SUBRC EQ 0.
                    DATA_PACKAGE-DATETO = ITAB4-DATETO.
                    DATA_PACKAGE-DATEFROM = ITAB4-DATEFROM.
                    DATA_PACKAGE-COMP_CODE = ITAB4-COMP_CODE.
                  ENDIF.
                  Modify DATA_PACKAGE.
      endloop.
      ABORT = 0.
    Here I assumed you have Posting date in the Communication structure and used to map to Fiscalperiod of the cube.
    6) Do the Master data upload to Cost center and active the master data of it always before uploading the data to cube.
    7) Do the uploading to cube from Sratch.
    With rgds,
    Anil Kumar Sharma .P
    Message was edited by:
            Anil Kumar Sharma

Maybe you are looking for