Selection criteria with Nav Attribute

Hello,
I have a scenario where I added a navigational attribute in APO BW. The nav attribute is reflecting correctly in Master Planning Object Structure. But it is not reflecting in the selection criteria in interactive planning.
Please help.
Regards
Steve

Hello,
That is great point. I tried to edit the planning book and in the characteristics tab (in the edit mode of planning book) the new attribute is not reflecting in the planning area (which is on the characteristics tab on the right hand side) to take me to the left to planning book.
I hope I am clear.
Please help. I need it badly.
Regards
Steve

Similar Messages

  • Error "Overlapping selection criteria with DTP" when transporting DTP

    When transporting a DTP from Dev to QA I get the following error in the trasnport log:
    Overlapping selection criteria with DTP DTP_4APJZSGKYQLUQYBCDBWK707JO
    Message no. RSBK019
    Diagnosis
    The selection criteria for the DTP to be activated overlap with the selection criteria of DTP DTP_4APJZSGKYQLUQYBCDBWK707JO in field , for example, with regard to value . Delta transfer from a source object to a target object is only allowed to transfer each record oncce. However, this cannot be guaranteed if two DTPs have overlapping selection criteria with the 'Delta' extraction mode.
    System Response
    You cannot activate the DTP with the current selection criteria.
    Procedure
    Restrict the selection criteria so that they do not overlap with the selection criteria for DTP DTP_4APJZSGKYQLUQYBCDBWK707JO.
    The DTP is a delta process which loads data from one infocube into an DSO. I understand that the error is that it is transporting the Delta parameters (something similar to a Delta initialization of infopackages I suppose) but I don´t how to access the information of the delta (selection criteria) of a DTP.
    Any suggestions? or similar experiences?
    Thanks in advance
    nicolá

    Hello,
    You can modify a parameter to create and modify dtp in Production. Like normally is done with Infopackages. There is no reason to make the changes in Dev in the Infopackages and DTP, and transport to Production. This transports normally cause that kind of errors because the id's are different in Dev, QA and Prod, and it is difficult to change dtp in that way.
    To change the parameter do like this:
    Execute Trx. RSA1 -> Transport Connection -> Tab Object Changeability -> Change DTPA to Everything Changeable.
    Do this in Dev, QA and Prod.
    Regards,
    Jorge Diogo

  • Selection Criteria With Plant , And Reading File

    Guys,
    I have a selection criteria with fields SAP Plant, and a filepath to read a file. File will be containing fields like legacy plant,material, date,description etc as records. Upon user executes after giving the SAP Plants (which has low and high limit ie select-option) and filepath.
    The program should first convert the SAP Plants to Legacy Plants and Read only those file contents where the legacy plant in file matches the converted legacy plants and other non matching plant file records ignored. Please suggest and gimme a sample code.
    Shawn

    Hi Shawn,
    Naimesh i think this would help shawn, i have given u a sample code who to work around in a easy way.Guys comment on the program if u feel something i miss
    Report Z_File_Example.
    Type:Begin of ty_tab1
               zlegacy_plant type zplant-zlegacy_plant
            End of ty_tab1.
    Type : Begin of ty_tab2
    include fields similar to input file     
                   legacy_plant(4) type c ,
                   no type mara-matnr,
                   descripion type mara-mkty,
              End of ty_tab2.
    Data : out_tab1 type standard table of ty_tab1,
              wa1 type ty_tab1.
    Data : out_tab2 type standard table of ty_tab2,
              wa2 type ty_tab2.
    Select-options : s_plant like mara-werks.
    AT SELECTION-SCREEN ON END OF S_PLANT.
       LOOP AT S_PLANT.
    Select query  takes both the lower limit and high in where condition to select 
    legacy plant from the table and populate the Work area and later to internal table.
    Conversion of SAP Plant to  Legacy Plant
          Select ZLegacy_Plant
              into corresponding fields of wa1
          from Zplant where werks in S_plant
         append wa1 to out_tab1
    ENDLOOP.
    ***After reading a file using ws_upload , which gives an output in say out_tab2(internal table)
    Call WS_UPLOAD
    ****We can iterate through the out_tab2 (shown below)
    loop at out_tab2 into wa2 where legacy_plant in wa1-zlegacy_plant
       Process those records as u want
    end loop.
    Thanks

  • Selection generated with Navigational Attribute and store forecast profile

    Hi,
    Our business has a requirement that will require for the solution a Forecast Profile to be stored against a selection which was generated with a navigational attribute in the selection. I have found two SAP Notes 329707 and 394076 shown below which point to BAdi /SAPAPO/SDP_FCST5 method SEL_CHANGE to do the job. Can anyone help me in understanding what coding we need to do within the BAdi to get this to work. Does anyone have an example?
    SAP Note 329707
    Method:
        SEL_CHANGE  (as of SCM 4.1)
        This method can be used to change the selection to be stored in
        in the generated selection table. Navigation attributes can be
        removed, such as the function of assigning a forecast
        profile to the selection can also be allowed for selections with
        navigation attribute without a basic characteristic.
        Parameter
         IV_PAREAID      Importing  Type /SAPAPO/TS_PAREAID
         CT_SELECTION    Changing   Type /SAPAPO/TS_IOBJ_SELECTION_TAB
    Sample code:
        DATA: lv_tabix     TYPE sytabix.
        DATA: lt_chars     TYPE /sapapo/dm_int_chars_tab.
        DATA: ls_chars     TYPE /sapapo/dm_int_chars.
        DATA: ls_selection Type /SAPAPO/TS_IOBJ_SELECTION.
        IF iv_pareaid = 'PAREA1'.
          CALL FUNCTION '/SAPAPO/TS_PAREA_SINGLE_GET'
            EXPORTING
              iv_pareaid   = iv_pareaid
            IMPORTING
              et_chars     = lt_chars
            EXCEPTIONS
              not_found    = 1
              OTHERS       = 2.
          CHECK sy-subrc EQ 0.
          LOOP AT ct_selection INTO ls_selection
                              WHERE iobjnm NE '9AVERSION'.
            lv_tabix = sy-tabix.
            READ TABLE lt_chars INTO ls_chars
                                WITH KEY iobjnm = ls_selection-iobjnm.
            IF sy-subrc EQ 0 AND NOT ls_chars-atrnavfl IS INITIAL.
               DELETE ct_selection INDEX lv_tabix.
            ENDIF.
          ENDLOOP.
        ENDIF.
    SAP Note 394076
    As of Release SCM 4.1, you can use the method SEL_CHANGE of the BadI /SAPAPO/SDP_FCST5 to process the selection before saving it to the generated selection tables. This allows you to save selections with navigation attributes, for example, where the selections do not have a specified basis characteristic. You simply need to delete the navigation attributes from the selection.

    Is all the Navigational attribute checked for display during cube creatiion?
    Prathish

  • Problem with Selection Criteria with 2 or statements.

    I have a report with 2 or statements in the selection criteria:
    like "US IT GFS INFOSYS*" or
    like "US IT GFS INFOSYS*" or
    like "US IT GFS INFOSYS*"
    I am just trying to do do a count of records. The details has the record # and am doing a distinct count. If I rearrange this or statement, then I get a different count. The above statement gives me a count of 1136. If I rearrange the statement to:
    like "US IT GFS INFOSYS*" or
    like "US IT GFS INFOSYS*" or
    like "US IT GFS INFOSYS*"
    I only get 192 records. I don't understand why?  Please help.

    Cara,
    When Crystal evaluates an or statement it will stop evaluating after one of the clauses is true. Since the first or clause is returning data, true, it is not evaluating the other 2 clauses. When you change the order I am assuming that the first clause is returning data though different from the original record selection.
    You may want to consider using a command object or stored procedure to generate the filter as SQL should evaluate all the or clauses.

  • Selection criteria on an attribute not present in model

    Hello
    For my report, I've to give the following in selection criteria
    Report Type : Valid values are DIRECT and INDIRECT
    This parameter is not present and not related to the model. Hence there is no corresponding infoobject.
    How can I include it in the selection criteria?
    Regards,
    Santosh

    Roberto
    Direct/Indirect was just an example that I took. I've to build a forecast report for the opportunities. In the report selection criteria, depending on the Direct/Indirect flag that user chooses, other selection criteria apply to Final Customer/ Sold-To parties. So this direct/indirect is purely a reporting requirement and has nothing to do with model. I was wondering if this can be tackled without any change to the model.
    Regards,
    Santosh

  • WAD - How to create the variables to have the selection criteria

    Hi all,
      I am trying to display a BW Statistics query in 'Chart' with Web Application Designer (WAD). I want to have the selection criteria with variable USER ID ('ABC123'), Info Cube ('Z_FIGL_C01') and Time Period '01/01/2005' to '12/31/2005'. How can I have this selection criteria in Web Application Designer, PLEASE ?.
    Thanks.

    Venkat,
      Yes, It's possible.
       I think in the menu options.. there tools--> create Table(it's not Table Web Item web item). May be similar option. we need to create the Table. Right now i don't have the system. you need to keep the 2 Drop Down Boxes in the Table(in the 2 coloumns).
    All the best.
    Regards,
    Nagesh Ganisetti.

  • Tricky! Change of navi-attribute values in ABAP and use in selections

    Hi gurus,
    now I have a teaser that really keeps me busy, and which might be interesting for some of you:
    we use several statuses in our <u>Demand Planning in SCM 5.0</u>, some of which can be switched by using a user-function macro which just basically is a ABAP function module that <u>changes navigation attribute values directly on the database</u>, meaning in the master data tables of the respective characteristic.
    Now, the code works, the values are changed accordingly, leaving the data set in object status "active" - <b>BUT</b>:
    <i>when we call a selection, it still shows the old values, even after activating master data or running the attribute change run!</i>
    This is not what we expected. Our wish was, that once the table was updated with the correct field values, we would also see them in our selections.
    <u>Details:</u>
    we have two statuses as navi-attributes to an article:
    <i>DP:</i> YES/NO, and
    <i>oDP:</i> YES/NO
    Combinations originally are: <i>DP</i> YES/<i>oDP</i> NO
    After the status change macro, the table shows the following, as expected:
    <i>DP</i> NO/<i>oDP</i> YES
    As we have two selections, one on DP status "YES", the other one on oDP status "YES", we would like to see the article vanish in the first selection and show up in the other one...
    Does anybody have an idea what is wrong and what we can do to have to proper navi-attribute values from the master data table in the selection? Does the selection not read from the database but from a buffer?
    Looking forward to your answers,
    Klaus

    Hi Fabrice,
    yes indeed, I did check the object version, and it is A.
    Problem is, the function module changes the data record which is "A" anyway. So the changed data record is active - however, I just had a look at the SID master data table, and it looks that direct changes to the P-table do not affect the X-table where the SIDs are stored. So I guess I will also have to update the X-table with the correct SID-values.
    If this works, I let you know. We will be using this change by ABAP quite often, it is rather useful.
    Regards and thanks for your prompt reply,
    Klaus

  • Count() function with selective criteria?

    I'm struggling with what I would expect to be a fundamental reporting concept in CR.
    Suppose I have the following EMPLOYEE table:
    u2022 EMPLOYEE.ID
    u2022 EMPLOYEE.GENDER_CODE
    u2022 EMPLOYEE.MANAGER_FLAG
    I need to generate a statistical summary report containing the following:
    u2022 Total number of Employees
    u2022 Number of Male Employees
    u2022 Number of Management Employees
    This would be easy if I could just use a Count() function in the Function Workshop which
    contained selective criteria.  For example:  Count ({EMPLOYEE.GENDER_CODE} = 'M')
    But I can't figure out how to do this without getting a CR error message.
    Record Selection doesn't work, because I need the whole data set.
    Group Selection with Summaries doesn't work, because the gender and management
    attributes are not mutually exclusive.
    One solution that seems awkward to me is to create additional SQL commands in the
    Database Expert using COUNT(*) and WHERE criteria to get the number of Males
    and number of Managers.  But I have to believe that there is a better way.  Plus this
    approach causes problems elsewhere in my report.
    Am I missing something?
    Thanks,
    Bill

    Thanks Raghavendra!
    The good news is that I was able to create a "1 or 0" formula and then sum the resulting values.
    The bad news is that I'm only able to get this to work for part of my report.
    I am joining two tables.  As an example COMPANY and EMPLOYEE.
    I can use "1 or 0" formulas on all of the employee statistics.
    But I cannot do the same for company statistics, because the number of company records being assigned a 1 is being inflated by the join between the two tables.
    I have achieved a successful result by using Running Total Fields at the end of the report.
    But I want to place these summary statistics at the begining of my report.  (Such as Total Companies in the Western Region.)
    I tried to use "COMPANY.NAME = previous(COMPANY.NAME)" logic in my function, but then I was not allowed to summarize it.
    Any ideas?
    Thanks,
    Bill

  • Navigational Attributes as Selection Criteria in Infopackage?

    Is it possible to use navigational attributes as selection criteria in the infopackage?  I have the MRP cube that only does full loads.  I would like to ONLY load the material type FERT (finished goods).  0MATERIAL has 0MATL_TYPE as a navigational attribute.  I would like to put 0MATL_TYPE in the selection criteria in the infopackage.
    If this is possible, please let me know.  The only other way I have come up to do this is to load in one cube and then use and APD to load into another cube.  I would like to avoid this if possible. 
    Thanks,
    Brent

    Hi there,
    you can try this:
    create a routine in 0material infoobject.
    And put this code in the routine after the part where this appears:
    *       Insert source code to current selection field
    *$*$ begin of routine - insert your code only below this line        *-*
    data: l_idx like sy-tabix.
    read table l_t_range with key
         fieldname = 'MATNR'.
    l_idx = sy-tabix.
    after the *.... delete all the code there and insert this one:
      data: i_table like /BI0/PMATERIAL occurs 0 with header line.
      data: t_range TYPE rssdlrange.
    select * from /BI0/PMATERIAL INTO TABLE i_table
      WHERE OBJVERS = 'A' and MATL_TYPE = 'FERT'.
      clear t_range.
      t_range-IOBJNM = '0MATERIAL'.
      t_range-FIELDNAME = 'MATNR'.
      t_range-SIGN = 'I'.
      t_range-OPTION = 'EQ'.
      LOOP at i_table.
        t_range-LOW = i_table-MATERIAL.
        APPEND t_range to l_t_range.
      endloop.
    p_subrc = 0.
    Save it and execute the InfoPackage. It might take a while to execute the infopackage.
    Diogo.

  • Attribute variable in a selection criteria

    Hello Experts,
           I have an attribute '***' under infoobject 'patient id'. I wanted to create a variable on '***' and use it in the selection criteria on a query. I need to get only two options i.e F(emale) or
    M(ale) but I get all the options of 'patient id'. Is it possible to create variables on attributes and use them as the selection criteria? It would be great if someone could refresh me.
    Thanks,
    Anjali

    Hi!
    anjali I created a simmilar  senario in my system. It works fine with me. I have following conditions
    1) maitained masterdata for this *** infoobject
    2) maitained ***  as a navigational attribute in patient attributes and activated the patient
    3) maintained the *** attribute as a navigation attribute in ods object
    4) created a query which display my data based on ***
    5)created a variable with userentry  opetion with no default values.
    6)activted master data once again after this step
    I ods object i added the person(patient) in my data part and the *** attribute in navigational attribute section is displayed as  ZIOPERS_ZGENDER and ticked as navigational attribute.
      finally it is working  with my system. it is displaying only F and M values in variale entry scrren help. try closing the Bex and then restarting it.
    hope this info helps you
    with regards
    ashwin

  • Transferring the Cube with activation of some Nav Attribute

    Hi , In Production system, I have a sales multicube which has data coming in from sales overview and sales history cube. Data is loaded from mARCH 2006 to Till date every day in 2 basic cubes "sales overview" and "sales history"
    Question 1:I need to now avtivate  "ship to party - postal code" which  is there in two basic cubes but not checked so I now select the check mark in nav attribute "ship to party - postal code" for both the cube in development system. and same in mULTICUBE should I Transport 2 basic Cubes, and Multicube and All effected Queries or just the query in which change is requested.  
    Question #2 : How to reload all the data which is right now there in Production, If I transport the cube with changes from DevLOPMENT to Production will the data be deleted in Production. All Data is feeding in Cube from ODS so Can I just Transport the cubes in Production and Use Update data to data target in ods. will the data be reloaded in cubes by doing that. Data loaded is delta so please let me know asap what will be best way to make the change and also save the data that is right now there in cubes in Production. since i have to transport it from dev no changes allowed in production.Hope you will reply back soon. Thanks
    alot
    seeraj

    Hardeep,
        You need to transport the Sales Overview cube, Slaes History, Multicube cube and modified Queries.
        when ever you make changes like Making Navigational there is no need to delete the data. you just do one transport.
    All the best.
    Regards,
    Nagesh Ganisetti.

  • Portal Activity Report with Selection criteria

    Hi All,
    I have created an iview using 'Portal Activity Report' template, added the iview to page and page is added to the role which is created for this report. Also, users were assigned to the new role. When users go to portal and see this report, they are seeing the final output of this report along with the 'Download Report' option.
    My requirement is to give selection screen option (Type of report and Reporting period) to users. So that users will change the selection criteria and run the report as per their need. Please advice me on how to do this.
    Thanks in advance.
    Swapna.

    swapna,
    you can do this by creating a webdynpro application for accessing the database tables, the list of data base tables is in this [help |http://help.sap.com/saphelp_nw04/helpdata/en/48/6aa9429b930b31e10000000a1550b0/frameset.htm]document and use web dynpro application to connect to that tables. Check this thread  for[ dynpro and database tables  |dynpro and database tables;
    regards
    Mahesh

  • Print Selection Criteria-Token in report prepared with CR

    Hi,
    How to print the Selection Criteria---Specially 'From Date' and 'To Date' for a report prepared with Crystal Report tool to be viewed within SAP Business One 8.8 (The report uses Token Parameters for SBO 8.8 Viewing)
    Thanks,
    Saikat

    Hi Bala,
    Ok...So can help me on this.......
    The token in my Report is :
    Date : Static-Type: Date-Allows Range Values
    Within SBO 8.8 displays as Date : From <Date Selection Field> To <Date Selection Field>
    Please note its a single token allowing range values.
    Formula I am using: {OPOR.DocDate}>={?Date} AND {OPOR.DocDate} <={?Date}
    Now I need to print the selected 'From Date' and 'To Date' in the Report.
    If there is any other process to do the same then please let me know the same.
    Thanks,
    Saikat

  • How to call the same query more than once with different selection criteria

    Hi,
    Please do anybody know how to solve this issue? I need to call one query with the fixed structure more than once with different selection criteria. For example. I have following data
    Sales organization XX
                         Income 2008  Income 2009
    Customer A       10                 20
    Customer B        30                  0
    Sales organization YY
                         Income 2008  Income 2009
    Customer A        20                5
    Customer B        50                10
    Now, I need this. At the selection screen of query, user fill variable  charakteristic "Sales organization" with interval  XX - YY, than I need to generate two separate results per sales organization, one for Sales Organization XX and the second for SO YYwhich will be displayed each on separate page, where result for SO YY will be dispayed under result for SO YY. Are there some options how to do it for example in Report Designer or WAD or with programming? In Report Designer is possible to use one query more than once, but I dont know how to force each query in RD to display result only for one Sales Organization, which will be defined in selection screen.
    Thank you very much
    J.

    Hello,
    thanks to all for cooperation. Finally we solved this issue with the following way..
    User fill appropriate SO on the selection screen, which is defined as range. This will resulte, that selected SO are listed in report below each othe (standard behavior). Required solution we achieved with the Report Designer, we set page break under each Result row of RD. This caused, that report is divided into required part per SO, which are stated each on separate page.
    J.

Maybe you are looking for

  • Apple TV won't play thru my receiver

    I recently purchased a Pioneer VSX-522-K AV receiver and I can't get my AppleTV (latest version) to play through it. The HDMI inputs on the receiver are: DVD, Satellite, Game and Blu-Ray. The satellite works fine, my DVD player works fine fhrough the

  • Null Pointer exception in fullscreen using active rendering

    When I create a window use it in fullscreen with active rendering, then close fullscreen, dispose the window and create an identical window wich I use in fullscreen again with active rendering I get a Null pointer exception. The exception happens in

  • Yahoo! Mail subfolders

    I have set up my email through the link on the homescreen when you first turn on the phone. It is delivering the mail all fine and well, but it will not show the subfolders that I have on my regular mail (folders that I have created filters for). I g

  • System log full with udisks-daemon messages after systemd switch

    I'm just wondering if this behavior is normal. I'm not seeing any real issues so far but I've been using systemd only for a few hours. messages.log: Nov 10 17:53:20 larch dbus-daemon[394]: dbus[394]: [system] Activating via systemd: service name='org

  • Set image colour settings for multiple images

    In my workflow I place (Adobe)RGB images into InDesign. PDF export takes care of the RGB to CMYK conversion (convert to destination with preserve numbers). However this uses the default rendering intent for every conversion: relative colorimetric. Fo