Data Slice dynamic activation and deactivation for a set of users

Hi Experts,
                 We have requirement to manually enter the data into RTC using IP.
There are 2 sets of users --> Power Users and Normal Users.
We need to allow the normal users to enter the data only from 1st to 5 th working day of every  month.
Power Users should have authorization to edit and enter the data at any time.
Can any one suggest how to set the dataslice using code.
Regards,
Shashi

Hi.
Please note that update of RSPLS_DS table do not affects at RUNTIME.
If you want to create dataslice that activated and deactivated within sequence run you should do the next:
1. Create exit variable that return you all working days EXCEPT 1 to 5 of each month.
2. Create dataslice in modeler on this characteristic with restriction by this exit variable.
3. This dataslice should be based on ABAP class as described [here|https://www.box.net/shared/zhirrvk859].
4. In mydataslice method enter following code (I assume you have any DSO with definition whether user is power user or not. Lets say DSO has next structure:
USER   | Z_IS_POWER   |
aaaa    | NO
bbbb    | YES
Enter the next code in mydataslice method:
SELECT Z_IS_POWER FROM YOURDSO INTO lv_POWER WHERE USER=sy-uname.
IF sy-subrc = 0. *This is SUPER USER. Allow locked data edition
e_noinput = rs_c_false.
ELSE. *This is regular user. Do not allo locked data edition
e_noinput = rs_c_true.
5. Create in modeler 2 planning sequences for activating and deactivation dataslice as described in document.
6. Each time you want to do something with locked data run first sequence for deactivation of dataslice. If super user will run it so dataslice will be deactivated, but if regular user - dataslice will lock the data.
Regards.

Similar Messages

  • Data source was activated and replicated but not showing up in RSA7.

    Hello,
    Data source was activated and replicated but not showing up in RSA7.  At what point does the data source appear in the Delta Queue?
    Thanks

    Hi,
    for LO,LIS,generic,FI data sources, delta records come from delta queue.
    if u run the INIT in BW whether it may be success or not delta queue will be maintained in RSA7. and u can check the records in RSA7 or smq2.
    when the init request goes to R/3 then it will maintains delta queue in RSA7.
    assign points if it helps,
    thanks,
    pavan.

  • Java Message Mapping : Dynamic FileName and Directory for ASMA

    How to Put Dynamic FileName and Directory for ASMA Properties of File Receiver adapter in Java Message Mapping ???
    I know How to Do this in UDF , But In Java Type Message Mapping . How to do this ????
    Regards
    PS.

    Hi
    chk this:
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=95093307
    Thanks
    Amit

  • What is mass activator and deactivator?

    hi all,
    Can anyone explain me what is mass activator and deactivator in Multi provider and in infocube?
    can  anyone let me know with examples.
    regds
    haritha

    Hi,
    When you choose <b>Mass Activator</b> a list of all objects in the system appears with their status. You can select the objects to be activated from this list and then activate them at one time.
    http://help.sap.com/saphelp_nw04/helpdata/en/3b/f2a8d4fb377c47b0aa25ae9ae160d6/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/3b/f2a8d4fb377c47b0aa25ae9ae160d6/frameset.htm

  • When I try to reset my iPad mini it keeps asking for  a passcode! have tried restoring, connecting to iTunes and looked for the 'set up as new iPad' notification, but nothing is working? can anyone help please?

    I know my passcode is correct but when I try to reset my iPad mini it keeps asking for  a passcode! have tried restoring, connecting to iTunes and looked for the 'set up as new iPad' notification, but nothing is working? can anyone help please?

    If the iPad was running iOS 7,  iCloud: Find My iPhone Activation Lock in iOS 7
    http://support.apple.com/kb/HT5818
    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • Hi we setup ISE in our lab and planning for prodution with 2000 user endpoints. We have SNS appliance but confused with ISE lice

    Hi we setup ISE in our lab and planning for prodution with 2000 user endpoints. We have SNS appliance but confused with ISE license bt plus and advanced..Please advise.

    Plus:
        Bring Your Own Device (BYOD)
        Profiling
        Endpoint Protection Service (EPS)
        TrustSec SGT
    Advanced :
        Bring Your Own Device (BYOD)
        Profiling
        Endpoint Protection Service (EPS)
        TrustSec SGT
        Mobile Device Manager (MDM)
        Health Compliance and Remediation
        Posture
    Base license is Perpetual

  • How to check data in R/3 and BI for MM module

    Hi Gurus,
    I loaded the data into the MultiProvider and have created a query too. Now i need to do data reconciliation. I need to check the data in the fields Receipt Quantity and Receipt value and Issued Quantity and Issued value. Already checked the TCode MB5B and MB52. Its of no use.
    Regards,
    Pramod A

    Amit,
    If you dont have authorization for RSA3, then contact your administrator to get the authorizations or else if you have authorizations for either SE11 or SE16 then just check out the tables of that datasource and then you can find whether the data is available or not.
    Hope it helps...
    *****Assign Points*
    Gattu

  • There is possible to active and deactive some buttons ?

    Hey. I have code to detect what page of my flash book is active and question now: there is possible to make 4 diferent effect for one button depend on what page is active? example:
    page 1 : button is red
    page 2 : button is blue
    page 3 :button is black
    i think this is possible but cant figure out how to make this

    if you have a simplebutton, you can change its color using its transform.colorTransform property:
    var ct:ColorTransform=yourbutton.transform.colorTransform;
    if(this.currentFrameLabel=="page 1"){
    ct.color=0xff0000;
    } else if(this.currentFrameLabel=="page 2"){
    ct.color=0x0000ff;
    } else if(this.currentFrameLabel=="page 3"){
    ct.color=0x000000;
    yourbutton.transform.colorTransform=ct;

  • TG797n v3 log on to 10.0.0.138 User name and Password for wireless set-up

    I have a TG797n v3 on Windows 7 to a Dell XPS via ethernet cable. Has been working fine, but. . . just aquired an iPad Mini for family use.When trying to configure the iPad Mini, I can't get past the log in requirements of the "found" wireless network. My laptops read it OK but the iPad keeps asking for a Password for the Telstra***** wireless network. I have tried every conceivable password I have ever used without success.I tried resetting the TG797, (by switching off the power for 1 minute, and pressing the rest button for 20 seconds, and leaving the power on and pressing the re-set button),and now it is asking for a User name AND a Password to enable log in to 10.0.0.138. I can't even get to the set-up page anymore!! I have re-installed the software from the CD that came with the T-gateway, but at no stage does it ask for a password. It asks for the SSID and the Wireless Key, but nothing else! and connection to the internet is established.(Otherwise I couldn't type this, could I?) So, where, and how, do I either retrieve the Password hidden in the TG or reset the password the iPad is looking for???I have configured the TG797 by disconnecting and re-connecting (no passwords asked for) I have searched all the Help topics and they ALL say " Just enter your User name and Password" . . . yeah, great if you can remember it or even resetit!!  Please, someone, there must be a simple (or complex) answer as a solution. Thanks in advance, Ian King.   (Telstra help, . . . anyone?) 

    Hi dumbojojo, 
    Im sorry to hear that you are having difficulties, 
    The password you need is located on the underside of you modem unless you have already changed it yourself. It will often be listed as a WAP PIN.
    If this doesnt help please see here Change wifi password or here  WiFi Troubleshooting
    Finally, you are still having issues, please contact support on 133933 or Live chat here http://tel.st/hsc3
    Regards - 

  • Restricting (Limiting) SQ01 access for a set of users

    We are attempting to restrict a user so that they can run specific queries but not change them.  We do not want to go into each query within a user group and lock the individual queries.
    We want to make this more global in that all users groups to which an person is assigned, can be accessed as a run only. 
    We want to ensure that individuals can also NOT create queries either.  Display and Execute Only.
    Thanks,
    Shyam

    This is done using the authorization concept. Please create composite and single roles with all the required tcode accesses and applicable for a specific Employee group/ Personnel Area/ Personnel Subarea. The tcode used to create roles in PFCG.
    Below is the set of standard SAP roles and authorization objects.
    AUTHORIZATION OBJECTS:
    P_ORGIN
    P_ORGXX
    P_PERNR
    PLOG (For OM)
    S_PROGRAM                        
    S_TCODE
    P_TCODE
    S_QUERY
    P_PCLX
    B_LSMW
    S_BDC_MONI
    STANDARD SAP ROLES:
    SAP_HR_OS_HR-ADMINISTRATOR
    SAP_HR_OS_HR-MANAGER
    SAP_HR_OS_ORG-MGT-MANAGER
    SAP_HR_OS-MANAGER
    SAP_HR_OS-SPECIALIST
    SAP_HR_PA_HR-MANAGER
    SAP_HR_PA_HR-ADMINISTRATOR
    SAP_HR_REPORTING

  • Help needed in activating and deactivating a window

    In my GUI, I have created a window, that is having one textfield, one label and 2 buttons named "Enabled" & "Disabled" .
    MY requirement is: After execution of the window when I will click "Disabled" button, the window should be deactivated, even I can't type in the textfield and then clicking the " Enabled" button the window should be activated, then I can access the textfield.
    Here bellow,I have written the code for visibility of the window, but I haven't written code for the action to be performed by the 2 buttons.
    Can anyof you please write me the updated code satisfying my requirement, sothat I'll proceed further.
    Regards.
    MY CODE:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    class Test7 extends JFrame
         public Test7()
              Container con=getContentPane();
              addWindowListener(new WindowAdapter(){
                   public void windowClosing(WindowEvent e)
                        System.exit(0);
              JPanel p1=new JPanel();
              p1.setBackground(Color.white);
              JPanel p2=new JPanel();
              JPanel p3=new JPanel();
              JTextField txt=new JTextField(10);
              JLabel l=new JLabel("hello world");;
              JButton b1=new JButton("Enable");
              b1.addFocusListener(new FocusAdapter(){
                   public void focusGained(FocusEvent evt)
              System.out.println("gained");
         // The component gained the focus
              JButton b2=new JButton("Disable");
              b2.addFocusListener(new FocusAdapter(){
                   public void focusLost(FocusEvent evt)
              System.out.println("lost");
         // The component lost the focus
              p1.add(txt);
              p2.add(l);
              p3.add(b1);
              p3.add(b2);
              con.add(p1,"North");
              con.add(p2,"Center");
              con.add(p3,"South");
              setSize(300,200);
              show();
         public static void main(String arg[])
              new Test7();

    try modifying code for the button listeners
    JButton b1=new JButton("Enable");
    b1.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent evt)
    System.out.println("gained");
    // The component gained the focus
    txt.setEnabled(true);
    JButton b2=new JButton("Disable");
    b2.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent evt)
    System.out.println("lost");
    txt.setEnabled(false);
    // The component lost the focus
    Hope this helps

  • Dynamic url and jdbc for entity class

    Hi all,...
    I want to create a data aware program by using netbeans 6.0.
    So that open a contextual menu in projects section, and simply add a new 'Master/Detail Sample Form'.
    The IDE than ask me about the connection (jdbc driver, url etc) and table name I will use in the form.
    It's work as expected.
    But, the jdbc configuration can't be changed anymore, it's fixedly saved in persistence.xml.
    That's the problem. I want to make an application that can connect to differences database (with same structure), so that my program can use oracle, mysql or others as user wish (The user should fill the jdbc connection property whenever the program executed).
    How's the solution? should I back to primitive jdbc connection by using 'Statement'?
    Thanks in advance

    JNDI is a naming service used when you are deployed (typically) in a J2EE container such as Tomcat or JBoss. Your application is desktop right now, but you mention that you want to deploy it on your intranet? My guess is that you mean right now your database is on your machine, and you are connecting to that via localhost, and that the application will remain a desktop one.
    Where you put the database should not be an issue. If you can see the machine on your network, you should be able to connect with JDBC. Simply substitute the IP or host name where the database resides. I did a quick look at Hibernate's documentation, and it appears you can configure the data sources used for their flavor of JPA dynamically.
    There is an example of how to programatically create an Entity Manager in Sec 2.2 of this page http://docs.jboss.org/hibernate/stable/entitymanager/reference/en/html_single/#setup-configuration.
    - Saish

  • Dynamic Upload and Insert for each Z Table

    Hi all
    i search a blog or solution for dynamic upload each Z table with external data.
    Because we have a lot of migration table and we will fill it dynamic from .txt or excel or others and with out check fill it to SAP.
    My wish is an ABAP
    Parameter: Z-table name
                     path to upload
    inside on abap, take the structure from Z table and merge the external data to table
    Thanks for help

    the code for u...
    http://www.sapfans.com/sapfans/repos/neil.htm

  • Data Type, Message Type and Mapping for FTP

    Thanks in advance for your replies.
    As our first production XI scenario, we need to move several (at least 46) files from our SAP instance to a couple of different servers to support our legacy systems.  Once all locations are on SAP this requirement should go away.
    I only want to pick up the file from the one server and place it on the other and this leads me to some questions.
    How do I define the Data Type and Message Type for each of the files?   Do I need to consider the size of the record in each interface and create DT/MT with different sizes.
    Do I need a mapping program that simply maps one structure to the other?

    I recently completed a similar exercise.
    It looks like this...
    server1 ftp (Sender - delete file) - XI - Server2 ftp (receiver - create file).  This will move the file from one server to another.
    I used the same schema and mapped fields on a one to one basis.
    The Size of the files I process are between 6kb and 500kb each, but the mapping/fields remain constant, just the numebr of items change.
    Worked seemelessly for the last three weeks (since go-live)

  • User exit activation and deactivation in production server

    If I activate project of corresponding user exit and after transporting the request to Production ,
    then for deactivating the project will a request is generated or should i login to Production for deactivating the project.
    Thanks

    Hi,
    Deactivating the project would again ask for a request so we have to deactivate in development and take it via a transport to production.
    Regards,
    Himanshu

Maybe you are looking for

  • Report for inactive vendors from past 2 years

    Hi, We have a request to create a report for the vendors who are not active for last 2 years. Can anyone please advise me the points I should keep in mind to consider a particular vendor inactive. eg. if a vendor has 0 balance in table LFC1 for last

  • Ref.mov.type for WM

    I am getting an error message 'Error while determining ref.mov.type for WM via Table 156S: 101/ / / /B/X/ ' while creating inbound delivery. Is anyone acquainted with such an issue? Can you please advice? I have checked all the config for movement ty

  • ITunes 10.5 upgrade 32 bit can no longer edit album information

    Since upgrading to the latest version of itunes I can no longer edit any of the CD info. When I open the Get Info for an individual track or entire CD all fields with content are grayed. I'm in the Music view, not a Playlist and not the iPod list. I'

  • Return to Vendor 122 vs 161

    Hi,       When is the 122 movement type used and when is the 161 movement type used in the return to vendor process. Thanks GS

  • Transform activity - 10.1.2.2

    I have a syncronous read file activity that reads a csv, works great. Then I try to transform to the next partner link. Here is what I get in the console. They payload looks fine to me, it was created by the native conversion wizard in the tool. rece