CHANGE USERNAME AT Runtime (Is it possible)          URGENT!!!!!!!!!!!!!!!!

I want to change sy-uname at run time in ZPROGRAM .
i.e is it possible in any way as i have to use vk11 in that program and all userid don't have that Authorisation. Hence before running that BDc can i change (HARDCODE SY_UNAME to a username with that authority)
Please treat as urgent.

First, no this is not possible.  If you change the sy-uname, the next line of executable code would change it back, so it doesn't work.  Also, think about what you are suggesting.  This is a HUGE security issue if the system allowed you to do this,  you might as well, not have any security at all. 
So short anwer is no, but you could create a background job within your program and submit this job under another user id.  THis would be the only way.
Regards,
Rich HEilman

Similar Messages

  • OSB Service account:Changing username runtime

    Hello,
    I am working on OSB project. For one of the requirement we have created Service Account with Static type and linked it with Business Service.
    As per our requirement i need to chnage the username at runtime based on one field which is coming in input request. We can not go with pass through option as dont want to expose password to proxy service client.
    Is this possible? If yes please tell the detailed steps.

    This was the info available in The trace file
    <i>Error on resolve of resource:/Subscriptions - com.sapportals.wcm.repository.InvalidUriException: Invalid RID: No repository manager found: /Subscriptions</i>
    The FS name is subscriptions.Is it anything to do with the RM.
    But the RM looks perfectly ok. Also it appears in KM Content but accessing
    shows an
    <i><b>"Item Not found"
    The item you are attempting to access is not available. Check that the name or link is correct. You might also check whether the associated repository is currently accessible</b></i>
    Will deletion of a RM lead to any issues ?
    Appreciate any inputs on this
    Regards
    Vineeth

  • Change to the runtime the logon language with ABAP

    Hello,
    I have a  question.
    Is it possible to change to the runtime the logon language?
    With the URL-parameter example it worked.
    http://www.****bsp/sap/z_page/default.htm?sap-language=en
    But I need this in the event handler with ABAP coding.
    thanks Eren

    you can either use
    CL_HTTP_UTILITY->IF_HTTP_UTILITY~SET_REQUEST_URI
    uri = sap-language=FR
    or
    CL_HTTP_REQUEST->IF_HTTP_ENTITY~SET_FORM_FIELD
    name = sap-client
    value = FR
    or
    use
    SET LOCALE LANGUAGE 'S'. within your abap coding
    Regards
    Raja

  • Change VI position runtime

    Dear All,
    I couldn't find any post which talks/discuss about changing the VI Position at runtime, that's why I have posted this question.
    I want to change the VI Position at runtime, but when I change the VI position at runtime, its not reflecting on the VI. When I run it again( I mean 2nd time) , VIs position got changed...
    Is it possible to change / move VI position at runtime without stop the application ?
    Thanks for your help!
    Gramy
    Solved!
    Go to Solution.

    You have to play with the Front Panel Windows Bounds.  It can get kind of tricky, so be careful.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Move Window Position.png ‏23 KB

  • I have a MobileMe apple ID but now I want to change my apple ID, is this possible?

    I had a MobileMe account when I got my iPad. Now I no longer have that account and I would like to change my apple ID to match my current email address. I can't seem to figure out how to change this. Is it not possible? If not will it matter that I don't have that account anymore?

    http://support.apple.com/kb/he40

  • HT1311 i have american account but i just now have 0.61$ and i have another gift card from uk.i want to use it but itunes said i have to change my country and its not possible before i spend all my money.my question is how i can spend a 0.61$ ?

    i have american account but i just now have 0.61$ and i have another gift card from uk.i want to use it but itunes said i have to change my country and its not possible before i spend all my money.my question is how i can spend a 0.61$ ?

    If you are now in the UK then you can try contacting iTunes support and see if they can remove the balance from your account : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • I am the founder of a non-profit organization, a donor had just given us her used iBook G4.  What do I need to do to wipe out her "stuff", change username and password, start all over new.  We will use this iBook in our learning center in Saigon, Vietnam

    To good citizens of the MAC world,
    I am the founder of a non-profit organization, we are caring for 6,200 orphans and street kids in Vietnam.  A donor had just donated her used iBook G4 for us to use in one of our several "learning centers" in Vietnam.  Folks sometimes donating PC but this is the first time we ever received a MAC.. :-)  I would like to know how to start this iBook all over new: change username and password.  I am looking so forward to bring it to Saigon in a few days and let our children experience MAC ... I am a 2 years MAC users and I have no intention to return to the Dark side.  Please help. I have the original OS disk.  Thank you so much.

    There should be no need to zero the hard drive.
    Using the Restore discs that came with the iBook when it was new, restore the system software using the appropriate instructions which you can find through a link contained in this Apple Knowledge Base article:
    http://support.apple.com/kb/HT1561?viewlocale=en_US
    Good luck with it.

  • Changing Images at Runtime...it's sending me nuts (I'm a newbie, go easy)

    Hi all,
    I am trying change images at runtime and quite frankly it's driving me nuts. I'm pretty new to Java and don't understand some of the principles but I'm trying. I have this code below, that loads up a few images. I want to be able to change some/all of these images either on a timed even or on a button press, but all the things I've tried don't work. Can someone offer me some help....thanks in advance
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class bc extends JFrame implements ActionListener {
         public static void main(String[] args) {new bc();}
         bc() {
              //setUndecorated(true); // - this removed the titlebar!
                    setTitle("BC...");
              setSize(350,125);
              setResizable(false);
              setLocation(50,50);
              setDefaultCloseOperation(EXIT_ON_CLOSE);
              setBackground(new Color(0,0,0));
              getContentPane().setBackground(new Color(255,255,255));
              JPanel hours = new JPanel();
              hours.setLayout(new GridLayout(4,2));
              hours.add(hour14);
              hours.add(hour24);
              hours.add(hour13);
              hours.add(hour23);
              hours.add(hour12);
              hours.add(hour22);
              hours.add(hour11);
              hours.add(hour21);
              JPanel mins = new JPanel();
              mins.setLayout(new GridLayout(4,2));
              mins.add(min14);
              mins.add(min24);
              mins.add(min13);
              mins.add(min23);
              mins.add(min12);
              mins.add(min22);
              mins.add(min11);
              mins.add(min21);
              JPanel secs = new JPanel();
              secs.setLayout(new GridLayout(4,2));
              secs.add(sec14);
              secs.add(sec24);
              secs.add(sec13);
              secs.add(sec23);
              secs.add(sec12);
              secs.add(sec22);
              secs.add(sec11);
              secs.add(sec21);
              JPanel helptext = new JPanel();
              helptext.setLayout(new GridLayout(4,2));
              helptext.add(new JLabel("8"));
              helptext.add(new JLabel("4"));
              helptext.add(new JLabel("2"));
              helptext.add(new JLabel("1"));
    //add action listenters
              changeImg.addActionListener(this);
              JPanel cp = new JPanel();
              cp.setLayout(new GridLayout(1,6));
              cp.setBackground(new Color(255,255,255));
              cp.add(hours);
              cp.add(mins);
              cp.add(secs);
              cp.add(helptext);
              cp.add(changeImg);
              setContentPane(cp);
              setVisible(true);
         public void actionPerformed(ActionEvent ae) {
              hour11.PaintOff(1);
              //JOptionPane.showMessageDialog(this, "changed");
              repaint();
    JPanel hour11 = new PaintOff(0);
    JPanel hour12 = new PaintOff(0);
    JPanel hour13 = new PaintBlank();
    JPanel hour14 = new PaintBlank();
    JPanel hour21 = new PaintOff(0);
    JPanel hour22 = new PaintOff(0);
    JPanel hour23 = new PaintBlank();
    JPanel hour24 = new PaintBlank();
    JPanel min11 = new PaintOff(0);
    JPanel min12 = new PaintOff(0);
    JPanel min13 = new PaintOff(0);
    JPanel min14 = new PaintOff(0);
    JPanel min21 = new PaintOff(0);
    JPanel min22 = new PaintOff(0);
    JPanel min23 = new PaintOff(0);
    JPanel min24 = new PaintOff(0);
    JPanel sec11 = new PaintOff(0);
    JPanel sec12 = new PaintOff(0);
    JPanel sec13 = new PaintOff(0);
    JPanel sec14 = new PaintOff(0);
    JPanel sec21 = new PaintOff(0);
    JPanel sec22 = new PaintOff(0);
    JPanel sec23 = new PaintOff(0);
    JPanel sec24 = new PaintOff(0);
    JButton changeImg = new JButton("change");
    }///---------This is my PaintOff class ---------------\\\
    import javax.swing.*;
    import java.awt.*;
    import java.awt.Image.*;
    public class PaintOff extends JPanel {
    Toolkit tk = Toolkit.getDefaultToolkit();
    public Image imgOff = tk.getImage("off.jpg");
    public Image imgOn = tk.getImage("on.jpg");
    public Image paintMe = tk.getImage("off.jpg");
         PaintOff(int a) {
              if(a == 1) {
                   vOn();
              } else {
                   vOff();
         public void vOn() {
            paintMe = imgOn;
         //JOptionPane.showMessageDialog(new bc(), "shown");
         public void vOff() {
            paintMe = imgOff;
         public void paintComponent(Graphics g) {
              g.drawImage(paintMe,0,0,this);
    }PaintBlank class is not included here, it's basically just the same as PaintOff but only has one image inside.
    When I try and compile this code, I get
    C:\jdk1.4\bin\bclock>javac bc.java
    bc.java:79: cannot resolve symbol
    symbol : method PaintOff (int)
    location: class javax.swing.JPanel
    hour11.PaintOff(1);
    ^
    1 error
    I don't understand this either, I've tried replacing "PaintOff(1)" with "vOn()" but I get the same error. This is baffling to be, as I thought that the hour11 would have access to all the methods inside the PaintOff class?
    Anyway, thanks for any help you guys give me!
    Cheers
    //Chris.

    Hi!
    Your problem is that you've used a widening conversion to convert from PaintOff to a JPanel. JPanel has no such method, and so the compiler is complaining that it can't find it.
    e.g
    public class NoCompile{
         public static void main(String args[]){
              One one = new Two();
              one.methTwo();
    public class Two extends One{
         public Two(){}
         public void methTwo(){
            System.out.println("Executed 2");
    public class One{
         public One(){}
         public void meth1(){}
    } will give you the same sort of error message. To make the compiler happy, use a cast.
    Now this will compile and gives the right result.
    public class NoCompile{
         public static void main(String args[]){
              One one = new Two();
              ((Two)one).methTwo();
    }So in your case, you want to do
    ((PaintOff)hour11).vOn();
    Does that help?
    :) jen

  • Issue with bringing up Weblogic 10.3 after changing username passcode

    I am facing Issue with bringing up Weblogic 10.3 after changing username passcode in security realm Madhok, basically i have removed the default weblogic user and defined m,y own custome user and provide the credentials in the server start tab. When i try and bring up the admin server it comes up fine but the managed servers fail to start from admin console and i can see security credentials authentication error in logs? Why would that be considering the admin server is able to come up with the same credentials.
    -Priya Madhok
    Systems Architect
    InterAlliance Group Services
    http://www.interalliancegroup.com

    We had similar problem in the past, our problem was:
    Problem:
    We deleted weblogic default user from security realm and create new user when node manager and the managed servers were down. When we tries to bring up the managed servers after starting node manager we kept getting authentication denied errors.
    Solution:
    Recreate weblogic user and now try and bring up managed servers from command line using weblogic user. Once they are up shut them down and bring them up again with the new user you have created and it will work
    Reason:
    The managed servers in 10.3 seems to be storing the authentication details in there local managed servers ldap or cache. When you start the managed servers the don't know the new credentials and are authenticating against older values of stored credentials, hence they fail. Once they are started with the old credentials they communicate with admin servers to sync there cache with admin servers and the new credentials gets updated and from then on you can restart the managed servers with new credentials.
    Note: Sometimes after restart you may face the problem as the sync process with admin server is asynchornous, weblogic prints a line saying something like Performing async operation with server address null. If the line gets printed sync has happened and you are good. In case you don't see the line restart again and you will see the line after which you can restart with new credentials.

  • How do I adjust the page orientation in Pages?  I want to keep the pages above the section break as portrait, and the ones below I want to change into landscape.  Is this possible?  I can only get it to be one or the other but not both.

    I want to keep the pages above the section break as portrait, and the ones below I want to change into landscape.  Is this possible?  I can only get it to be one or the other but not both.

    The work around is to do two documents, one in portrait format and one in landscape format. When finished export to Pdf. open in Preview by select both files and use Cmd + O or doubleclick. You can now in Previews thumbnail column the pages from one document into the other and then save.
    If you have created only one with i.e. all pages in portrait format but with the content for the landscape pages rotated on the pages, you can rotate the pages in Preview. Two ways to get the same result.

  • I want to order files (e.g., photos) in a particular order (not necessarily an order that is an option in MacOS. Ie, my own custom order, and I want them STAY in that order until I change the order. Is this possible?

    I want to order files (e.g., photos) in a particular order (not necessarily an order that is an option in MacOS. Ie, my own custom order, and I want them STAY in that order until I change the order. Is this possible?

    Custom sort order is not a typical option in the list view of any desktop computing systems I know of. The way you're seeing it work is also how it works in Windows and other systems.
    There is no "None" sort order. What you're seeing is a "None" option under "Arrange By." Arranging is not the same as sorting; arranging is how the files are grouped in the window. For example, you can arrange (group) files by Kind while sorting by Name. You'll notice that if you are in List view and you choose Arrange By "None," in the window there is still a sort triangle next to the column name that it's sorting by.
    If Arrange is set to None, the files appear in one big group (the traditional view) that is controlled by the Sort order (where there is no None option).
    I didn't even know the difference between Sort and Arrange until I saw your question and did a little research! This Macworld article helped:
    How to arrange and sort files in Lion Finder (also applies to later OSs like Mavericks)
    As for your main question, how to do a custom sort order in the Finder, you can only rearrange files manually in Icon view. As with other operating systems, if you want to create a custom sort order for photos there are other ways:
    Use a photo organizer application like iPhoto or Lightroom. Some let you have custom sort orders in folders, but others only let you have a custom sort inside a different container like an "album" or "collection". Having those additional container types is part of why photos are often best managed in an organizer application and not on the desktop.
    Rename the files. You can use a renaming utility program to rename the photos with numbers that will enforce your sort order when sorted by name on the desktop, like
    01 Photo.jpg
    01 Photo.jpg
    01 Photo.jpg
    or
    Photo 01.jpg
    Photo 02.jpg
    Photo 03.jpg

  • Why is the number "1" when setting up the dial fat thickness did not change the font? Is it possible to adjust the font in the thick klavioture typing?

    Why is the number "1" when setting up the dial fat thickness did not change the font? Is it possible to adjust the font in the thick klavioture typing?

    paulcb wrote:
    Using the Bold Text Accessibility option does make the keypad numbers a little bolder.
    Yep - I was only looking at Text Size.
    But still, not sure what the deal is. The "1" is just as readable as any other number on the keyboard regardless.

  • Changing of Materials Valuation can be possible when transfer Materials fro

    Hi SAP Gurus,
    Changing of Materials Valuation can be possible when transfer Materials from one Palnt to another Plant in the same company?
    Thanks
    Chandra

    The simple answer is - Yes it is possible,  put different standards on the material master for the different valuation areas.
    next question:   how will the account for the difference??   Price variance?  Uplift?  where will that post?
    next question:  how will create those values?  cositng runs, conditions, uplifts?

  • Change username displayed in Office 2013

    Re-post 
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-word/change-username-displayed-in-office/9e2406f8-0f0b-40c0-8b4c-aa169b121209
    "Hi,
    I have recently changed the login account name on Active Directory on a domain environment but Microsoft Office is not reflecting the change in the name displayed in the top right hand corner of the screen.
    How do I force Office to update with the amended name?"

    Hi,
    Open an Office program such as Excel 2013, then in the right upper corner, click the arrow in the red box, then click "Switch account" to change the displayed name.
    Jaynet Zhang
    TechNet Community Support

  • Change username and password for PGW2200 ..... ????????....................

    Dear how i can change username and password for PGW2200?
    can give the procedures?
    thanks,

    it is ok ....
    thank you....
    i have now this issue:
    i need to add new E1 to be in the same trunk for previous E1 which is for Abdali. new E1 will not have signal it depeneds at old one timeslot.
    i used this for new E1:
    prov-add:nailedtrnk:name="1033",srcsvc="ss7p-jtc-abdali",dstsvc="naspath1-abdali",srcspan="ffff",dstspan="0",srctimeslot="33",dsttimeslot="33",spansize=31
    for old one this:
    prov-add:nailedtrnk:name="1002",srcsvc="ss7p-jtc-abdali",dstsvc="naspath1-abdali",srcspan="ffff",dstspan="0",srctimeslot="2",dsttimeslot="2",spansize=30
    ============================
    at AS5400 i used to add new E1:
    controller E1 7/2
    framing NO-CRC4
    pri-group timeslots 1-31 nfas_d primary nfas_int 1 nfas_group 0
    Is this true or there are other commands i should use?
    OLD E1 is configured as:
    controller E1 7/0
    framing NO-CRC4
    channel-group 0 timeslots 1
    pri-group timeslots 2-31 nfas_d primary nfas_int 0 nfas_group 0
    description Connection to Abdali
    interface Serial7/0:0
    no ip address
    encapsulation ss7
    channel-id 0
    interface Serial7/0:15
    no ip address
    encapsulation hdlc
    isdn switch-type primary-ni2c
    isdn incoming-voice modem
    isdn map address . plan isdn type network
    isdn rlm-group 0
    no isdn send-status-enquiry
    isdn negotiate-bchan resend-setup
    isdn bchan-number-order ascending
    no cdp enable
    any help please for correct commands i shall use? please see attached file for details.

Maybe you are looking for

  • When converting word doc to pdf, my images with text only show the background color of the text box.

    I have a word doc that I am trying to conver to pdf.  I have jpegs with text boxes on top of them on one page.  It looks great on the screen but after I convert to pdf, the text boxes only have half the text, the first half of the text box is just wh

  • Any way to "grab" (or other screen shot utility) directly to PDF?

    I need to repeatedly capture just part of a screen window and save as a PDF file. Right now, I use the "grab" utility, but it only seems to save it as a TIFF file. Then I have to use "preview" to open that TIFF file and resave again as a PDF. Is ther

  • IPOD causes PC to crash

    Hi there, hope someone can help figure out whats going on. I have a 3rd gen ipod (one before click wheel), black and white screen, it has been blissfully working perfectly for a few years now. Recently updated Itunes to 6.0.4 and ipod updater to 2.3.

  • Problem with setting up dependencies in DAC 10.1.3.4.1

    Hi, We have recently installed DAC 10.1.3.4.1 with Informatica 8.6. Previously we were using DAC 7.8.2 and had various execution plans. In the old DAC, there are options to define tasks dependent and depends on the task. How can we achieve this depen

  • MAC OS用Adobe acrobat 9 pro(ScanSnapバンドル版)のインストール

    MAC OS用Adobe acrobat 9 pro(ScanSnapバンドル版)のインストール時にシリアル番号を入力すると.「シリアル番号が有効ではありません」と表示されてインストールを完了できません. OSはYosemiteです