Data Subsetting for users at runtime

Hi all
I have a requirement that I define data subsetting rules for the users based on some conditions which would be done at runtime.
For ex. I want that whenever the user synchronizes the user should get the data for the last 60days which have been assigned to him.
Can I have such policy defined.
If anybody have implemented such thing, kindly let me know.
thanx
ramchow

Hi Shaun
Thanks for your prompt reply.
I know this functionality and have been using it in my application from the beginning.
But I have a requirement that instead of setting values through the control center which is more like static values for each user and application I could allow users to when they synchronizes then they should have the privilege to download on their conditions.
For example user might say I want to download data for the last 60days.
I appreciate your prompt reply but that did not solve my problem.
Waiting for prompt reply again.
Thanx and regards
ramchow

Similar Messages

  • Data import for users of forms created with Livecycle Designer

    Hello,
    I have seen several posts regarding data import for forms created by Livecycle Designer but nothing that helps with something I am trying to accomplish.  I can create a data connection and import information in a form but what I would like to do is import data, then send the pdf for completion to a user.  There are a few data elements that I have available and the rest of the information comes from from the user.  The problem I run into is once I create a data connection, the pdf is ALWAYS looking for the source file for that data.  I simply want to prepopulate some fields and send to the various users for completion.  Any help would be greatly appreciated.
    Thanks!

    Which type of Data Connection are you trying to create?
    XML Schema, Sample Data File or WSDL?
    Creating any one of first two types(mentioned above) will only create schema and will never import any data into PDF.
    If you create the WSDL connection, you can surely import data (i.e. prepopulate data) into your PDF and forward it for users review/fill.
    If I misunderstood your question, please get me clarified.
    Nith

  • BPM and multi data sources for users??

    Hi all
    can BPM read users from more than Data source?
    my case is i want to create from BPM Admin Center a Directory Service(or more than one) , so i can read users and groups from ldap AD and DataBase ....or from 2 ldaps
    Thanks

    Federated directory support was added in 10gR3. This is done at the web application level, such as the workspace and allows the workspace to connect to multiple directories and provide a consolidated interface for users. This is configured through the workspace.properties file but I am not sure how much documentation exists.

  • Class Data Sharing for User Defined Classes

    i am using jdk 5.0 . JDK 5.0 supports class data sharing for system level classes. Is there any way a class data sharing be done for a user defined class?

    Samantha10 wrote:
    Is this class data sharing possible for user defined classes also? i have a singleton class which i am invoking through a script. The script has been scheduled to run every 1 sec . Since it is being invoked every 1 sec hence the singleton pattern is failing . Hence if the this class data sharing is possible then the singleton pattern can be made applicable.If you have a single process and you have a single class loaded by two different ClassLoader instances
    in some respects they will be two different classes
    if (class1 instanceof class2.getClass())returns false.
    This is not the case for Java core classes because they are always loaded by the SystemClassLoader.
    You write you
    have a singleton class which i am invoking through a script. What approach to you use to invoke the singleton?
    I am trying to figure out if you launch a new JVM every second...
    Maybe you can use Nailgun.

  • Assigning structure of data screen for users

    Hi,
    I want to know where is the setting for material master data screens  , how to find out the  which data strucutre is assign , we have three plant  e.g  : 1,2,3 ,  for all those three plant we are using mat. type FERT ,  but sctrucutre of data screen is different for all three plant  I want to find where this assignment is done and how to find it.
    regards,
    zafar

    HI,
    U can check here,
    Option-1:*Select Screen Sequence 21 instead of B2 & copy 21 and rename it( in step 5)[if u do not want Excise Data] Note: Follow the steps for customization of material master 1. Material Number: SPRO -> Logistic - General -> Material Master -> Basic Settings -> Define Output Format of Material Number TCODE: OMSL 2. Define Field Reference: SPRO -> Logistic - General -> Material Master -> Field Selection -> Maintain field Selection For data Screens T CODE: OMS9 3. Define Industry Sector: SPRO -> Logistic - General -> Material Master -> Field Selection -> Define industry Sectors and industry -sector- specific Field Selection T.Code:OMS3 4. Material Type: SPRO -> Logistic - General -> Material Master -> Basic Settings -> Material Type ->Define attribute of material Type T.Code:OMS2 (Select Material Type: ROH for ur raw material( example) copy it and renamed it to UR RAW MATERIAL) 5. Define Screen Sequence: SPRO -> Logistic - General -> Material Master -> Configuring the Material Master -> Define structure of Data Screens for each Screen Sequence T.Code:OMT3B (Select Screen Sequence: 21, copy it and renamed it to Z with any letter( Like ZA or ZB ) 6. Ordering Screen Sequence: SPRO -> Logistic - General -> Material Master -> Configuring the Material Master -> Maintain Order of main and Additional Screen T.Code:OMT3R 7. Assign Screen Sequence to Industry Sector: SPRO -> Logistic - General -> Material Master -> Configuring the Material Master -> Assign Screen Sequences to User/Material Type/Truncation/Industry Sector T.Code:OMT3E 8. Assign Field Reference to Plant: SPRO -> Logistic - General ->Material Master -> Field Selection -> Define Plant -Specific Field Selection and Plant -Specific Screen Selection T.Code:OMSA 9. Define Material Group SPRO -> Logistic - General -> Material Master -> Setting for Key Field -> Define Material Group T.Code:OMSF 10. Define Number Range of Material: SPRO -> Logistic - General -> Material Master -> Basic Settings -> Material Type ->Define Number Range for each Material Type T.Code:MMNR 11. Define Purchasing Group: SPRO -> Material Management->Purchasing->Create Purchasing Group T.Code:OME4 Fore more check the Link http://www.sap123.com/showthread.php?t=27 Option-2:Try this 1.Just click the tab ,(Which is u want to delete/Hide )and get the field name 2.Go to T.Code: OMSR and enter that field name and get Selection Group 3.1. Use t.Code: OMS2 and click your material type and in next screen check Field reference ( you have assigned for material type){{ ( example :;For ROH material type the Field reference is ROH) 3.2. use T.code:OMS9,, Double Click your Field Reference and select field selection Group & select round box of Hide
    Regards
    KK
    Edited by: Kishore Kumar Galla on Mar 26, 2010 5:22 PM

  • Get Date Modified for SWF at runtime

    This seems like it should be something pretty obvious but I haven't been able to figure out how to get the time stamp (date modified) for the swf that I am in. I want to be able to get the date the swf was published for debugging purposes. Thanks.

    you can do that using adobe air, but not for a swf.

  • Download data only for user sync in pda

    Hi,
    I have a device with two user, but when I sync with one of them, DOE download data for the user sync and the other user.
    How can i filter?
    In DM, I have a filter with atribute USER.
    This scenario occur in Generic (JSP) and OCA.
    Thanks,
    Roberto

    Hi,
    Incase data is already loaded in DOE(pushed or delta load) and rule is on device user, the current behaviour is the expected one.
    Do you have Twoway dataobjects where data is loaded from Backend to DOE when device syncs.?
    If this is your scenario then you need to filter data for that syncuser even from backend to DOE.
    Means load only the data for that syncuser from BE to DOE via getlist & getdetail.
    If the getlist signature contains the user field , then in transaction
    SDOE_WB, double click on the backend adapter for this dataobject
    >edit mode
    >default values tab
    >select getlist and the field user
    >select data communication header structure from the drop down
    >map this to send_usr
    >save and activate
    This means that incase of this twoway data object, during sync when getlist is invoked, syncuser will be filled and the bapi wrapper will return only those keys relevant for that syncuser and only that data is loaded to DOE inturn downloaded to device.
    Regards,
    Liji

  • Problem When Try to add Master data record for User define form

    Hi,
    I have made one user define form. And assign UDO and fields proerly in form.
    But when I try to add the record from the form it will give me error
    Invalid Code [Operation Master  -Code] [Message 173-36]
    I have already bind the code field of the table to one field in the screen painter.
    Please give me the reply.
    Regards,
    Gunjan Shukla.

    Dear Shukla
    Can you please try to do the binding in the code (after loading the from).
    Doing that, do you still have the problem?
    Best regards,
    Miki

  • Data Subsetting using MDW

    I am using Mobile Data Workbench to create data publications for users on win32 laptops.
    While creating publication items, I would like to use parameters whose values I would like to specify using some variables, instead of manually keying them in for each user. Is there some way that I can specify the user name as the value for the parameter? Then I can use the same publication for multiple users and the data subsetting is done by the variable which gets its value dynamically from the user name to whom it is published.
    Thanks for your replies

    I have not done this with MDW as such, but to include user based data subserring do the following
    1) work out how you are going to identify the records for a particular user for the publication items in question. I know this sounds a bit obvious, but it is worth giving this some thought. Is the data directly in the table/view the publication item is based on? do you need to include some subselect to obtain the correct values (consider building a database view to help with this)? are the columns and joins all indexed (otherwise you will have performance problems in the compose process/download)
    2) the basic template given by the system for a publication item is 'SELECT * FROM <schema_owner>.TABLE' change this to something like one of the following (dependant on circumstance)
    'SELECT * FROM <schema_owner>.TABLE where USER=:user'
    'SELECT * FROM <schema_owner>.TABLE where ID IN (select id from <schema_owner.view where USER=:user)'
    'SELECT t.* FROM <schema_owner>.TABLE t, <schema_owner>.TABLE2 t2 where t1.ID=t2.ID and t2.USER=:user'
    all of these will work.
    NOTE <schema_owner> is needed for ALL objects included in the template
    NOTE the colon (:) used to identify the bind variable
    3) publish the new/altered publication items, and you will find in the mobile manager that under the users>applications tab, there will be a link in the data subsetting tab (probably called the oracle lite client type). click on this and you will get a screen with all of the bind variables you have defined for the application, with a place to add in the values for that user.
    Couple of points
    a) all bind variables (or data subsetting parameters) are held and tested as VARCHAR2. If you are matching to numerics in the base tables, do 'where ID=TO_NUMBER(:user)' otherwise you will get typecasting and this will affect your performance
    b) run conspef on the resultant publication items and check all parts for performance. The apply process uses the publication item priimary key for its selection, whilst the compose uses the selection criteria. You may need to tune for both options
    c) you can include multiple subsetting parameters for an application, but this may give more of a maintenance overhead
    d) the subsetting parameters are part of the application. If you have two or more applications being used by a user, you will have to include them in each
    e) the subsetting parameters can be included in the user setup ini script run by wsh as well
    [DATABASE]
    TYPE=ORACLE
    [USER]
    NAME=NBURROWS
    PASSWORD=NBURROWS
    ENCRYPTED=FALSE
    FULLNAME=NBURROWS
    PRIVILEGE=C
    [USER]
    NAME=CTOMKINSON
    PASSWORD=CTOMKINSON
    ENCRYPTED=FALSE
    FULLNAME=CTOMKINSON
    PRIVILEGE=C
    [ACL]
    APPLICATION=/fusionbci
    ROLE=DEFAULT ROLE
    USER=NBURROWS
    ACCESS=ENABLED
    ROLE=DEFAULT ROLE
    USER=CTOMKINSON
    ACCESS=ENABLED
    [SNAPSHOTVAR]
    NAME=V_PDA_FBS_SITE_DRIVER
    PLATFORM=WIN32
    VIRTUALPATH=/fusionbci
    USER=NBURROWS
    VAR=BI_ID,124547
    USER=CTOMKINSON
    VAR=BI_ID,119489

  • Date Format for the input Variable

    Hi all,
    I got an issue with Date format we enter in the input variable screen for the BEx Analyzer.
    We have given a format of MM/DD/YYYY. But when the users accessed the report, it is not taking the format of the variable i.e MM/DD/YYYY but it is taking the format of the users system.
    If the user's system format is DD/MM/YYYY, it is accepting the input inthe same format only.
    Why this strange behaviour?
    My questions are
    Is the input for BEx system specific? or variable specific?
    Rgrds
    Kumar

    Hi,
    I think it is user specific... you can maintain the date format for user ....
    Go to SU01 transaction or.. Go to SYSTEM -> User Profile -> Own data
    Here in defaults tab you can see the date formet for user...
    Hope this helps...
    Thanks,
    Vikrant Mahajan

  • A database that contains data required for this form to function correctly cannot be found?

    Hi,
    In my scenario, i m trying to pull out data from sql server using windows authentication and display in infopath form.
    I set some rules in textbox control change that retrieve data from sql database.
    and I have enabled cross domain data access for user form .
    and i have stored the connection file into the connection library and i have approved.
    The form working fine in server (browser), but whenever i m trying to open the form in client browser i m getting the below error.
    please assist me to resolve this error.
    venkateshrajan

    Hi,
    Please make sure following options are enabled in Central Administration > General Application
    Settings > InfoPath Forms Service > Configure InfoPath Forms Services.
    1) Allow user form templates to use authentication information contained in data connection files.
    2) Allow cross-domain data access form user form templates that use connection settings in a data connection file.
    (-This you have done)
    Do you use host name to access the data source? If yes, please
    check of the DisableLoopback check is enabled. Please make sure the loopback check is disabled on all SharePoint servers and reboot server to test if it works.
    http://support.microsoft.com/kb/896861
    Please refer this link with similar problem
    Hope it helps!
    Thanks,
    Avni Bhatt

  • Data Mining on data specified and filtered by the user in runtime

    Hi Experts,
    i am new to Data Mining in SAP BI (we are on BI 7.0 SP Level 20). I familiarised myself with APD and Data Mining by reading some interesting and useful threads in this forum and some other resources. Therefore I got a understanding about the topic and was able to create basic data mining model for an association analysis and an corresponding APD for it and write the results into a DSO by using the data source. But for now I was not able to find a solution for a concrete customer requirement.
    The user shall be able to select an article, a retail location and a month and get the top n combinations sold with that article in the particular location and month. For that he may not access the data mining workbench or any other SAP internal tools but he shall be able to start the analysis out of the portal (preferable a query).
    We had some thoughts on the scenario. The first idea would be to create an APD for every location for the last month. As we need to cover more than 100 locations, this would not be practicable. Therefore I think it would be necessary, that the user can select the particular filters, and the data mining would then be executed with the given input.
    The other idea was to use a query as source. The user would start this query and filter location and month in it. The result of the query could then be used as the source for the APD with the association analysis. Therefore we would need to create a jump point from that query, which starts the APD with that results. After that the user should be able to start a result query, which displays the result of the association analysis (ideally this result query would start automatically, but starting it manually would be ok, too).
    So, I have the following questions for these scenarios:
    1.) Is it possible to create variants of a single APD, for automatically doing the data mining for the different locations?
    2.) is it possible to start an APD out of a query, with the particular results regarding filtering?
    3.) Can we place a query directly on the data mining results (how?) or do we need to write the data mining results in a DSO first?
    4.) What about the performance? Would it be practicable to do the data mining in runtime with the user waiting?
    5.) Is the idea realistic at all? Do you have any other idea how to accomplish the requirement (e.g. without APD but with a query, specific filter and conditions)?
    Edited by: Markus Maier on Jul 27, 2009 1:57 PM

    Hi ,
    you can see the example : go to se 80 then select BSP Application ,SBSPEXT_HTMLB   then select tableview.bsp , you will get some idea to be more clear for the code which you have written
    DATA: tv TYPE REF TO CL_HTMLB_TABLEVIEW.
    tv ?= cl_htmlb_manager=>get_data(
                             request = runtime->server->request
                              name    = 'tableView'
                                  id      = ''tbl_o_table" ).    
    IF tv IS NOT INITIAL.
      DATA: tv_data TYPE REF TO CL_HTMLB_EVENT_TABLEVIEW.
      tv_data = tv->data.
    IF tv_data->prevSelectedRowIndex IS NOT INITIAL.
    FIELD-SYMBOLS: <row> LIKE LINE OF sflight.
        READ TABLE ur tablename  INDEX tv_data->prevSelectedRowIndex ASSIGNING <row>.
        DATA value TYPE STRING.
        value = tv_data->GET_CELL_ID( row_index    =
                                   tv_data->prevSelectedRowIndex
                                      column_index = '1' ).
    endif.
    endif,

  • AP Aging report - key date for user entry

    Hi All,
    We have a requirement to calculate aging buckets like 0-30,31-60,61-90...etc.
    I know the key date for this report is created on net due date in SAP standard report.
    In standard SAP report , key date is always a system date(SY-DATUM).
    What we need for this report is , we need to get all the invoices which are outstanding as of that date(the date which user enters).
    If user enters today's date(08/28/07) , he should get all the invoices outstanding till that date in aging buckets and if user enters some date in the past like 07/26/07, he should get all the invoices outstanding as of that date.
    Can  someone Pls tell me if aging buckets are calculated based on a user entry ?
    Regards,
    Kumar

    Hi Voodi,
    Aging in the standard report is being calculated like below...
    1.For open items
    Posting date<key date
    Item status = O
    2.Posting date < keydate and clearing date > key date and net due date with offsets on keydate ( key date + 1 - keydate+30 --- for 1-30 days) like wise for all aging buckets.
    in this scenarion , key date is always system date ie today's date.
    But user wants to get all the invoices based on his user entry...
    is this possible with the same standard key date variable or do we need implement any other logic???
    Regards,
    Kumar

  • Help needed for data updation in User Defined Tables

    Hello Experts,
    I am developing one add-on in SAP B1 8.8 to input data in a User Defined Table described as under
    Table Name
    DriverMst UDT Type is No Object
    Description
    Stores the Driver master data which are used to get reference in Sale Delivery Form and Driver data management activity
    User defined fields
    Data Name
    Data source
    Size
    Pane Level
    Description
    Driver Code
    Code
    Alphanumeric
    0
    No object table fixed field
    System Name
    Name
    Alphanumeric
    30
    0
    No object table fixed field
    Full Name
    FullName
    Text
    50
    0
    Father Name
    FatherName
    Text
    50
    0
    Birth Date
    BirthDate
    Date
    0
    Phone Number
    PhoneNo
    Alphanumeric
    50
    0
    Mobile No
    MobileNo
    Alphanumeric
    13
    0
    I have created one form using screen painter displaying text boxes and bind them to the table.
    This form is working absolutely fine when there are some data in table (i.e. Browse using navigation)
    My problem is, when I click add button from tool bar the "OK" button turn to "Add" that means the form is set to Add mode, but when I click "Add" button after entering some data nothing happens and input data is not stored in Table. The same "OK" Button turned to "Update" when I do changes in loaded data, but my changes are not reflected to table after I click "Update".

    Thanks Nagarajan,
    None.
    There is no such query. The table fields is directly linked to Edit Box or Combo Box in form.
    From the examples I learned that I have to do something like this to get my table updated
    Dim oUsrTbl As SAPbobsCOM.UserTable
    Dim Res As Integer
    oUsrTbl = oCompany.UserTables.Item("DRIVERMST")
    oUsrTbl.Code = oBPC.Value 'Item Specific of Driver Code Edit Box
    oUsrTbl.Name = Left(oBPN.Value, 30) 'Item Specific of Name Edit Box
    oUsrTbl.UserFields.Fields.Item("U_FullName").Value = oMFN.Value
    oUsrTbl.UserFields.Fields.Item("U_FatherName").Value = oFTHN.Value
    oUsrTbl.UserFields.Fields.Item("U_BirthDate").Value = oDOB.Value
    oUsrTbl.UserFields.Fields.Item("U_PhoneNo").Value = oPHN.Value
    (Similar For rest ofthe fields)
    Res = oUsrTbl.Add()
    Just let me know that is this necessary to do like above.. To be frank there are few more fields and matrices on the form which I didn't mentioned. I am just trying to get recovered from first step to proceed further.
    Regards

  • User exit for additional data B for sale order item .

    Hi., all
    my client requirement is
    (  This business requirement will make the Last Price for a given item be visible during order entry.  )
    u2022Retrieve & display during order entry, the most recent unit price given to a customer for a specific item, from the Billing data.
    . Display the Last Price under Additional Data B Screen
    add new field (last extended price) in additional data b screen.
    after that 1.     Using the Sales Order Material Number (VBAP-MATNR), Sales Order Sales Organization (VBAK-VKORG), Sales Order Distribution Channel (VBAK-VTWEG), Sales Order Division (VBAK-SPART), Sales Order Sold-to Number (VBPA-KUNNR for VBPA-PARVW=u2019AGu2019) to access the Billing Items By Material Index Table (VRPMA) and specify a billing date (VRPMA-FKDAT) of less than 60 days from current Sales Order requested delivery date (if specified at header VBAK-VDATU or at the schedule line level (VBEP-EDATU).  This will result in all the billing documents where the Sold-to bought the item but isnu2019t completely refined as of yet.  Retain the billing document (VRPMA-VBELN), item (VBPMA-POSNR), and billing date (VRPMA-FKDAT) in a temporary table to pass to number 2 as the input.
    2.     Use the billing document (VRPMA-VBELN) and item (VRPMA-POSNR) to read the Sales Document Partners Table (VBPA) where the partner function (VBPA-PARVW = u201CSHu201D) and the Sales Order Ship-To (VBPA-KUNNR for VBPA-PARVW=u2019WEu2019) to select ONLY billing documents that are for that given ship-to location.  This filters out only billing documents relevant for that ship-to location. 
    3.     From the resulting list of billing documents, select the most recent date (VRPMA-FKDAT) which will refine the search for the last Billing Document (VRPMA-VBELN) and item (VRPMA-POSNR).
    4.     Using the most recent Billing Document (VBPA-VBELN), access the Billing Document Item Table (VBRP). To result in the Last Extended Price as VBRP-KZWI1.
    5.     This price will be an extended price which needs to be calculated as a u2018unit priceu2019.  For this billing item, select the sales unit (VBRP-VRKME) to determine if the sales unit is in cases or eaches. 
    a.     If the unit of measure is in cases, then simple math is required to divide the Last Extended Price (VBRP-KZWI1) by the billing quantity (VBRP-FKIMG).  Standard rounding should apply when .005 results in a .01.
    how to achive this ?

    Hi Chakravarthy,
    use the Exits provided in SAPMV45A -includes MV45*ZZ and screen exits as well 8309 8310 8459, 8460. Just be sure to
    use zznnnnnn include in the SAP provided forms instead of coding directly in the forms.
    You can check below user exits:
    MV45ATZZ :For entering metadata for sales document processing. User-specific metadata must start with "ZZ".
    MV45AOZZ:
    For entering additional installation-specific modules for sales document processing which are called up by the screen and run under PBO (Process Before Output) prior to output of the screen. The modules must start with "ZZ".
    MV45AIZZ:
    For entering additional installation-specific modules for sales document processing. These are called up by the screen and run under PAI (Process After Input) after data input (for example, data validation). The modules must start with "ZZ".
    MV45AFZZ and MV45EFZ1:
    For entering installation-specific FORM routines and for using user exits, which may be required and can be used if necessary. These program components are called up by the modules in MV45AOZZ or MV45AIZZ.
    Reddy

Maybe you are looking for

  • Oracle 11g ASM - looking for some answers

    Hello, I reviewed a bunch of stuff about Oracle 11g ASM from various sources, but still haven't figured out some answers. Perhaps someone could help me to find the missing links please. Q1) ASMLib seems to require partitions. ASM recognizes partition

  • Connect by menu's/ submenu's query

    Hi, I am trying to create a query listing all menu's/ submenu's attached to a certain function. I would like to use the "connect by" statement. However i cannot get it right. So far i have made the following query. select distinct fnd_responsibility_

  • Mutlicamera monitor on CS 5.5

    I often edit 2-camera shoots using Premiere CS 5.5's multicamera feature.  When I open the multicamera monitor, I can see the frames with my two shots, plus two black frames for the non-existant cameras 3 & 4.  Is there a way not to have those black

  • CD burn of iPhone video

    CD burner does not accept iPhone3S generated video, though exported/compressed into MP4 file. Wrong burner program? Or other export file?

  • Data for Actual/ Plan Cost and Budget

    Hi All, Can you please adviseme  which content i need to activate to get the Actaul, Plan cost and the Budget Data in SAP BW. Do i need to exploer CCA cubes or Fund managment Cubes.. Please let me know... I need to know the Tables in R/3 Side for bud