A problem about filter data in RPD by Roles

Dear All,
I face a serious problem.
How I set the filter in RPD if there are several member I dont want to receive in different Generation?
Assume I want receive A, B in Gen4, Accounts. C in Gen5, Accounts. And D, E, D in Gen6, Accounts?
I tried to set it up in a few way, but the result didnt come out right. Some Gen4, Accounts should show but it didnt.
Best Regards,
Martin

Hi Srihari,
Thanks for your reply.
And also I have tried with Object Model to display the report.
Here field catalog will not come into place.
Only the following lines involves for the ALV.
Yet the issue comes in the same way.
cl_salv_table=>factory( importing r_salv_table = gr_table changing t_table = IG_ALV ).
gr_functions = gr_table->get_functions( ).
gr_functions->set_all( abap_true ).
gr_display = gr_table->get_display_settings( ).
gr_display->set_striped_pattern( cl_salv_display_settings=>true ).
gr_display->set_list_header( 'EDI IDOC').
gr_columns = gr_table->get_columns( ).
gr_table->display( ).

Similar Messages

  • Problem in filter data in alv

    Hi
    I Generate a ALV report . Now I am Selecting one column of the report  and setting filter condition , the report is getting filtered . but the problem is when i select another column along with previous selected  column , Filter Condition is getting correct .
    My CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        CALLBACK_PROGRAM  'ZPP_RAK_WORKCENTER'         IT_FIELDCAT        = I_FIELDCAT[]
        IS_LAYOUT          = A_LAYOUT
        I_SAVE             = 'A'
       I_DEFAULT          = 'X'
      TABLES
        T_OUTTAB           = ITAB_DISPLAY.
    X_FIELDCAT-COL_POS      = 1.
      X_FIELDCAT-FIELDNAME = 'BUDAT'.
      X_FIELDCAT-OUTPUTLEN = 8.
      X_FIELDCAT-SELTEXT_M = 'Posting Date'.
      X_FIELDCAT-TABNAME = ITAB_DISPLAY.
      APPEND X_FIELDCAT TO I_FIELDCAT.
      CLEAR X_FIELDCAT.
    X_FIELDCAT-COL_POS      = 2.
      X_FIELDCAT-FIELDNAME = 'SHFT_NUM'.
      X_FIELDCAT-OUTPUTLEN = 1.
      X_FIELDCAT-SELTEXT_M = 'Shift'.
      X_FIELDCAT-TABNAME = ITAB_DISPLAY.
      APPEND X_FIELDCAT TO I_FIELDCAT.
      CLEAR X_FIELDCAT.
    Edited by: anand kumar on Nov 3, 2008 8:19 AM

    Hi,
    Your fields catalogues are ok. Check your function module. Call it again and assign parameters. It has to work with more than one field filter also.
    Regards,
    Dhanunjaya Reddy

  • Problems about Hold Data

    Hi All,
    I'm confused by the usage of "Hold Data" menu. I ran the t-code SE16 to check the table T002. In the selection screen I input "DE" in the SPRS field and then click on the menu System -> User Profile -> Hold Data. System indicates that "Data was held". But the next time when I enter the selection screen of table T002 in the same session, the SPRS field is still empty. Does anybody know the reason?
    Thanks + Best Regards
    Jerome
    null

    Hi Jerome,
    <b>If Hold data is not activated in the screen attributes, the menu entries like hold data, set data will have no effect.</b>
    Have a look at below link.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c1/07c05878a711d2958a0000e8353423/content.htm
    I hope it helps.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Problem about "huge" data

    does oracle spatial can work with huge data, i am no trying to do overlay on two geometry column, one of them has more than twenty thousand record. I have valid these data but when i do overlay with SDO_GEOM.SDO_INTERSECTION() then the system halt without any responce, why ?????

    I've found new solution. Use WebDocument for migration

  • Help! problem about jstl sql with "LIKE?" in query

    Hi All,
    I have a problem about getting data by using "LIKE" in my sql statment.
    here is my case:
    <sql:query var="tmp">
    SELECT ...... FROM ...
    WHERE a LIKE ?
    <sql:param value="%${param.a}%"/>
    </sql:query>
    Once I used "LIKE" keyword, the query failed to use this critica.
    and couldn't find any match cases
    thx or help
    Micheal

    besides, i found that:
    this works:
    "AND a.block LIKE '%' + 'a' + '%'"
    but these don't work:
    "AND a.block LIKE '%' + 'a' + '' + '%'"
    or
    "AND a.block LIKE '' + '%' + 'cp' + '%'"
    or
    "AND a.block LIKE '%' + 'cp' + '%' + ''"
    it seems '' is the casue of error... so strange, anyone has idea?
    micheal

  • Problem About Date Format in Dashboard

    Hi All:
    I still have problem about date format in dashboard and dashboard prompt. When I use cast(dealdate as date) in dashboard prompt(coloumn formula of deal_date) and filter view(In edit view of filter coloumn formula) Then It converts the date format from mm/dd/yyyy to yyyy-mm-dd But I want format in dd-mm-yyyy.
    ANd also one problem more that is when I use cast function in filter coloumn formula then how I give alias to it. Because it shows same like that cast(deal_date as date) on dashboard filter view.
    Pluzz help me to solve this problem
    Haroon

    Changing the ini files should change the date format. Have you amended the correct instances of the date format? In dbFeatures there is one for every ODBC connection.
    For example in my DBFeatures.INI
    [ DATA_SOURCE_FEATURE = ODBC_300 ]
    DATE_FORMAT = 'dd-mm-yyyy' ;
         TIME_FORMAT = 'hh:mi:ss' ;
         DATE_TIME_FORMAT = 'dd-mm-yyyy hh:mi:ss' ;
         IDENTIFIER_QUOTE_CHAR = '"';Also a file on the presentation side in OracleBI \web\Config called localedefinitions.xml.
    Inside that there appears to be defaults for localisations - maybe it is possible to amend your locale in the Administration settings of the dashboard.
    However, I haven't tried this sorry.

  • Problems about  query filter (BEx).

    Hello there,
    I have some problems about  query filter (BEx).
    I have master data and I want to use attribute in this master data to dynamic filter in query(BEx).
    But this attribute is key figure. I can't done it now. TT
    Is this possible? If yes, could anyone advise how this is to be done?
    Thanks in advance.

    Hi
    In BEx there is option as 'Exceptions' & 'Conditions'. If you go in condition, you can specify range for key figure output. This is either predefined or by user selection. You create the condition as per your requirement & it will show you filtered data.
    How to create conditions you will find easily on this site.
    You can create as many conditions as no of filters you want. You can create these at query level also at report output level.

  • Have problem about grant assignment in Student Master Data

    have problem about grant assignment in Student Master Data
    i want to change grant detail in Student Master Data when i choose disbursement type to Pay Fixed Amount
    and then go to Grant Evaluation Run it have result
    But when i choose another disbursement type such as
    1. Pay Up To a Certain Percentge
    2. Pay Certain Percentage Up to a Certain Amount
    3. Pay Up to a Certain Amount
    and go to run Grant Evaluation it can run but not have result
    I need help T_T i don't know why i can't change or i miss something

    hello experts,
    Our problem is still not fixed, but we have contacted SAP to have a look at this problem. In the mean time we have created a new way to calculate the grants by doing no check at all, because our client don't want to have prerequisites yet.
    Therefor we made a custom function module from PMIQBP_GR_COND_EVALT_01. If the boolean ev_xok is true the system will calculate and post the grant amount.
    Good luck and I'll keep you posted.
    Kind regards,
    Steve de Klonia

  • Af:table filter date format : task-flow navigation issue

    hi
    When trying to use the date format configured on the Entity Object, with Format Type as Simple Date and Format as "dd-MM-yyyy", there seems to be a problem when using task-flows.
    The approach involves an explicitly configured attributeValues binding to use in f:validator and af:convertDateTime components in the af:inputDate in the filter facet, as discussed in the forum thread "af:table filter date format"
    at af:table filter date format
    I used JDeveloper 11.1.1.3.0 to create the example application
    in http://www.consideringred.com/files/oracle/2010/TableFilterDateFormatIssueApp-v0.03.zip
    - The page filterEmp.jspx shows expected behaviour, the filter uses the configured date format and there is no problem when navigating to another page and back.
    see the screencast at http://screencast.com/t/CtQ9rsVFH3k
    - The page menuBTFPage.jspx allows for some navigation after using the filter resulting in the filter showing a date in the wrong format, using scenario (sc1)
    -- (sc1-a) : run menuBTFPage.jspx
    -- (sc1-b) : on "menu-btf : menu", click the "do go-filter-emp-btf" link
    -- (sc1-c) : on "filter-emp-btf : filterEmpFragment", filter on HireDate using "10-03-2005"
    -- (sc1-d) : click the "do goReturnSuccess" button
    -- (sc1-e) : back on "menu-btf : menu", click the "do go-filter-emp-btf" link again
    -- (sc1-f) : back on "filter-emp-btf : filterEmpFragment", see the HireDate filter value in the wrong format as "2005-03-10"
    -- (sc1-g) : click the "do goReturnSuccess" button again, which results in an error "The date is not in the correct format."
    see the screencast at http://www.screencast.com/t/ORHauBd3oQ
    questions:
    - (q1) Can the behaviour in scenario (sc1) be reproduced?
    - (q2) Why is the filter value in the wrong date format in step (sc1-f)?
    - (q3) What can be done to have the filter value consistently in the configured date format, so that errors as in step (sc1-g) can be avoided?
    many thanks
    Jan Vervecken

    hi
    First a short summary of relevant aspects of service request 3-2190488381:
    - development has reviewed bug 10193260
    - development identified some code where a pattern was not applied and started fixing the problem
    - out of the blue, development asked "Will clearing out the filter field completely when moving out of ataskflow be an acceptable behavior ?"
    - I pointed out some concerns (even in a phone call with development), but development did not see any alternative not "perceived to be very risky because of the current design", so the question whether the clearing-all-filter-fields approach would be acceptable became superfluous.
    - following this, bug 10193260 suddenly became an enhancement request (for reasons I still don't understand)
    - a workaround was suggested (for behaviour not perceived as a bug), "Clearing the search fields during taskflow exit in the backing bean (in the app)." for which I also received a modified version of my example application TableFilterDateFormatIssueApp-v0.04.zip with an implementation of the suggested workaround
    As an exercise to try an understand the suggested workaround (an because my example application seemed to have been modified using the currently yet-to-be-released JDeveloper 11.1.1.4.0) I re-implemented it in the example application
    at http://www.consideringred.com/files/oracle/2010/TableFilterDateFormatIssueApp-v0.05.zip
    It has a filter-emp-workaround-btf task-flow with a method-call activity on a managed-bean method, responsible for clearing the search fields, resulting in behaviour where the error "The date is not in the correct format." does not occur,
    as can be seen in the screencast at http://screencast.com/t/Nq7TkkRQ
      public void clearFilterFields()
        BindingContainer vBindingContainer =
          BindingContext.getCurrent().getCurrentBindingsEntry();
        DCBindingContainer vDCBindingContainer = (DCBindingContainer)vBindingContainer;
        DCDataControl vDCDataControl = vDCBindingContainer.getDataControl();
        ApplicationModule vApplicationModule = vDCDataControl.getApplicationModule();
        ViewObject vViewObject = vApplicationModule.findViewObject("EmployeesVOVI");
        ViewCriteriaManager vViewCriteriaManager = vViewObject.getViewCriteriaManager();
        vViewCriteriaManager.clearViewCriterias();
        vViewObject.clearCache();
      }Because the managed-bean method requires access to the ADF Model binding layer to get to the View Object instance used for the filtered table, the method-call activity has a page element configured in DataBindings.cpx referring to the same usageId as the page element for the page fragment showing the filtered table. So that both the method-call and view activity depend on one and the same Binding Container (e.i. PageDef file).
    The method-call activity, responsible for clearing the search fields, would need to be called before each task-flow-return activity.
    As there can be multiple view activities with multiple filtered tables in a bounded task-flow, would that result in multiple method-call activities responsible for clearing search fields (all to be called before each task-flow-return activity)?
    It looks like a more general/generic approach is desirable for the suggested workaround to be feasible.
    - (q5) Does the suggested workaround imply (as bug 10193260 is not a bug) that all bounded task-flows with filtered tables should implement it to avoid errors about formatting?
    thanks
    Jan

  • Can you help me about change data captures in 10.2.0.3

    Hi,
    I made research about Change Data Capture and I try to implement it between two databases for two small tables in 10g release 2.MY CDC implementation uses archive logs to replicate data.
    Change Data Capture Mode Asynchronous autolog archive mode..It works correctly( except for ddl).Now I have some questions about CDC implementation for large tables.
    I have one senario to implement but I do not find exactly how can I do it correctly.
    I have one table (name test) that consists of 100 000 000 rows , everyday 1 000 000 transections occurs on this table and I archive the old
    data more than one year manually.This table is in the source db.I want to replicate this table by using Change Data Capture to other stage database.
    There are some questions about my senario in the following.
    1.How can I make the first load operations? (test table has 100 000 000 rows in the source db)
    2.In CDC, it uses change table (name test_ch) it consists of extra rows related to opearations for stage table.But, I need the orjinal table (name test) for applicaton works in stage database.How can I move the data from change table (test_ch) to orjinal table (name test) in stage database? (I don't prefer to use view for test table)
    3.How can I remove some data from change table(name test_ch) in stage db?It cause problem or not?
    4.There is a way to replicate ddl operations between two database?
    5. How can I find the last applied log on stage db in CDC?How can I find archive gap between source db and stage db?
    6.How can I make the maintanence of change tables in stage db?

    Asynchronous CDC uses Streams to generate the change records. Basically, it is a pre-packaged DML Handler that converts the changes into inserts into the change table. You indicated that you want the changes to be written to the original table, which is the default behavior of Streams replication. That is why I recommended that you use Streams directly.
    <p>
    Yes, it is possible to capture changes from a production redo/archive log at another database. This capability is called "downstream" capture in the Streams manuals. You can configure this capability using the MAINTAIN_* procedures in DBMS_STREAMS_ADM package (where * is one of TABLES, SCHEMAS, or GLOBAL depending on the granularity of change capture).
    <p>
    A couple of tips for using these procedures for downstream capture:
    <br>1) Don't forget to set up log shipping to the downstream capture database. Log shipping is setup exactly the same way for Streams as for Data Guard. Instructions can be found in the Streams Replication Administrator's Guide. This configuration has probably already been done as part of your initial CDC setup.
    <br>2) Run the command at the database that will perform the downstream capture. This database can also be the destination (or target) database where the changes are to be applied.
    <br>3) Explicitly define the parameters capture_queue_name and apply_queue_name to be the same queue name. Example:
    <br>capture_queue_name=>'STRMADMIN.STREAMS_QUEUE'
    <br>apply_queue_name=>'STRMADMIN.STREAMS_QUEUE'

  • Problem with Master Data Load

    Dear Experts,
    If somebody can help me by the following case, please give me some solution. Iu2019m working in a project BI 7.0 were needed to delete master data for an InfoObject material. The way that I took for this was through tcode u201CS14u201D. After that, I have tried to load again the master data, but the process was broken and the load done to half data.
    This it is the error:
    Second attempt to write record 'YY99993' to /BIC/PYYYY00006 failed
    Message no. RSDMD218
    Diagnosis
    During the master data update, the master data tables are read to determine which records of the data package that was passed have to be inserted, updated, or modified. Some records are inserted in the master data table by a concurrently running request between reading the tables at the start of package processing and the actual record insertion at the end of package processing.
    The master data update tries to overwrite the records inserted by the concurrently running process, but the database record modification returns an unexpected error.
    Procedure
    u2022     Check if the values of the master data record with the key specified in this message are updated correctly.
    u2022     Run the RSRV master data test "Time Overlaps of Load Requests" and enter the current request to analyze which requests are running concurrently and may have affected the master data update process.
    u2022     Re-schedule the master data load process to avoid such situations in future.
    u2022     Read SAP note 668466 to get more information about master data update scheduling.
    Other hand, the SID table in the master data product is empty.
    Thanks for you well!
    Luis

    Dear Daya,
    Thank for your help, but I was applied your suggesting. I sent to OSS with the following details:
    We are on BI 7.0 (system ID DXX)
    While loading Master Data for infoobject XXXX00001 (main characteristic in our system u2013 like material) we are facing the following error:
    Yellow warning u201CSecond attempt to write record u20182.347.263u2019 to BIC/ XXXX00001 was successfulu201D
    We are loading the Master data from data source ZD_BW_XXXXXXX (from APO system) through the DTP ZD_BW_XXXXX / XXX130 -> XXXX00001
    The Master Data tables (S, P, X) are not updated properly.
    The following reparing actions have been taken so far:
    1.     Delete all related transactional and master data, by checking all relation (tcode SLG1 à RSDMD, MD_DEL)
    2.     Follow instructions from OSS 632931 (tcode RSRV)
    3.     Run report RSDMD_CHECKPRG_ALL from tcode SE38 (using both check and repair options).
    After deleting all data, the previous tests were ok, but once we load new master data, the same problem appears again, and the report RSDMD_CHECKPRG_ALL gives the following error.
    u201CCharacteristic XXXX00001: error fund during this test.u201D
    The RSRV check for u201CCompare sizes of P and X and/or Q and Y tables for characteristic XXXX00001u201D is shown below:
    Characteristic XXXX00001: Table /BIC/ PXXXX00001, /BIC/ XXXXX00001 are not consistent 351.196 derivation.
    It seems that our problem is described in OSS 1143433 (SP13), even if we already are in SP16.
    Could somebody please help us, and let us know how to solve the problem?
    Thank for all,
    Luis

  • A problem about calling Labview vi in VB

    Hi all:
    I meeting a problem about data transfer and parallel operation between VB and Labview.
    Actually, I want develop a VB program, in which, the Labview VI can be called and corresponding parameters can be transferred to Labview. and then, I also can operate my system by VB program at same time. something like parallel operation (VB and Labview program).
     But the question is :
    1.   If I use "Call" method of ActiveX in VB,  and the LabVIEW subvi is not stopped (for example, a loop structure), I can not do  parallel operation on VB program. The error message is "other application is busy" which is attached below. The sample codes is also attached.
    2.   I tried to use other methods like "OpenFrontPanel" and "Run", but I am not sure how to transfer the parameter??
    3.  Then I tried to use "SetControlValue" to set the parameters, but there is a error " := expected", which is very strange, because the statement  I wrote is followed with the help documents [ eg: VI.SetControlValue ("string", value)], why it is still need a "=" ??
    Does anybody know something about it? Thanks a lot
    Message Edited by hanwei on 11-07-2008 03:18 PM
    Attachments:
    vb_labview_error_message_1.JPG ‏14 KB
    VB_to_LV.zip ‏10 KB

    I sure hope OP has solved it by now.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Problem with billing date at closed period

    Hi
    We have a problem with billing date in transaction . Previously we could set up different (earlier) billing date than the actual posting period and now it is not working. We receive an error message that the posting period is closed ) .
    I attached an example invoice which we managed to post and where you can see what Iu2019m thinking about, parking number: 1024337, BILLING DOCUMENT: 841835. In this case the billing date was at 30.11.2007, but the posting in 15.07.2008 and we managed to post.
    Pls help that issue
    yps

    hi,
    it is due to posting period closed for the month of 07/2008.
    u need to open posting during that period.
    Regards,
    Greeshma

  • How to filter data by list item

    hi all,
    I create list item on block BLK1 ,
    name :emp_name
    item type: list item
    elements in list : list_elements : (null) list_item : (null)     
    data type : Char
    maximum length : 200
    and create PROCEDURE :
    PROCEDURE POPULATE_LIST_BY_QUERY(P_LIST_NAME VARCHAR2,P_QUERY VARCHAR2) IS
       RG_NAME  VARCHAR2(30) := 'RG_CODE_DESC' ;
       RG_ID    RecordGroup;
       errcode  NUMBER;
       LIST_ID  ITEM;
    BEGIN
         RG_ID := FIND_GROUP(RG_NAME);
         IF NOT ID_NULL (RG_ID)
            THEN DELETE_GROUP (RG_ID) ;
         END IF;
         RG_ID   := Create_Group_From_Query (RG_NAME, P_QUERY) ; 
         errcode := Populate_Group (RG_ID) ;  
         LIST_ID := FIND_ITEM (P_LIST_NAME) ;
         POPULATE_LIST (LIST_ID,RG_ID) ;
    END;and wrote in trigger WHEN_NEW_FORM_INSTANCE:
      POPULATE_LIST_BY_QUERY('BLK1.emp_name', 'SELECT emp_name,emp_id FROM employees');
    create table employees
    (emp_no number(10) primary key,
    emp_name varchar2(200))
    Insert into EMPLOYEES
       (EMP_NO, EMP_NAME)
    Values
       (1, 'hhh uuo');
    Insert into EMPLOYEES
       (EMP_NO, EMP_NAME)
    Values
       (2, 'hh ppp');
    Insert into EMPLOYEES
       (EMP_NO, EMP_NAME)
    Values
       (3, 'ph');
    Insert into EMPLOYEES
       (EMP_NO, EMP_NAME)
    Values
       (4, 'uuuuu');
    COMMIT;when Run my form list item give me all data, no problem ,ok
    My question is that can i want to filter data when write anythnig data is found im my list or part of data,
    show data only by my filter,
    for example:
    I wrote in my list : hh
    show data in list:
    hhh uuo
    hh ppp
    I wrote in my list : h
    show data in list:
    hhh uuo
    hh ppp
    ph
    I wrote in my list : uu
    show data in list:
    uuuuu
    if not wrote anything fetch me all data,
    Thanks a lot

    Hi,
    You can try,
    POPULATE_LIST_BY_QUERY('BLK1.EMP_NAME', 'SELECT EMP_NAME, EMP_ID FROM EMPLOYEES WHERE EMP_NAME LIKE ''' || <your_search_variable> || '%''');Hope this helps.
    Regards,
    Manu.

  • Problem with Filtering Data by Using "Greater Than" in APD

    Dear Experts,
      First of all, I am a novice of SAP Data Mining. I try to filter data in APD by using the 'Restrict Amont of Data (the Filter Icon).' My problem is really simple. I don't know how to filter data which have value greater than a constant.
    For example, I try to keep only records which have a quantity greater than 1000.
      At the selection option in the single value tab, I found only the '=' option. The options like '>', '<', '>=', etc are not found. Could anyone suggest me please?

    I do appreciate your prompt response.
    Seemingly, using the interval is our best solution, though it is not best for our customers.
    Having already gone through the note you gave me, in fact, it is really pertinent. Unfortunately, our support package is now 13, and it is extremely difficult to retest our system if we decide to apply the support package 16.
    Are there any other solution?
    By the way, you deserve my point.

Maybe you are looking for