Is it possible to execute a program under a generic userid?

Hi,
I created a program that calls transaction SPAD and adds/deletes printers from SAP (via BDC calls).  We want the help desk to execute this new program when adding/deleting printers from SAP (instead of using SPAD). 
Since we don't want to give the users access to transaction SPAD, would be possible to execute this new program under a generic ID that would have write-access in SPAD.
Thanks in advance,
Jen

Might be possible via RFC. Try creating an RFC-enabled wrapper function module around your SPAD call, maintain an RFC connection to the same box with a technical user and password maintained, call the function in your program with addition STARTING NEW TASK (see ABAP help).
Make sure the technical user has authorization only for SPAD and related as well as RFC calls to the function group where your function module resides.
Thomas
P.S. Marcin, authorization for tcode SPAD will not be enough, there is plenty of auth checks inside that transaction for the S_ADMI_FCD object.

Similar Messages

  • Executing external programs from PL/SQL?

    Hi All,
    Is it possible to execute external
    programs (i.e. shell scripts, or
    perl scripts) from a stored procedure
    or trigger?
    I know that typically it is the other
    way around, but hey try telling that
    to my boss.
    Thanks

    you cant execute any operating system commands from plsql
    procedures. but you can achieve result by using either java
    stored procedure or pro*C program .
    Suresh Vemulapalli

  • Is it possible to execute SAPGUI scripts from java program?

    Hi everyone..
         I need to develop an java applications that executes the SAPGUI script or any technique that execute set of transaction as client.
         Is it possible to execute SAPGUI scripts from java program? if so, how it can be achieved? is there any other technique to achieve above mention scenario?.
         it will be more helpful, if docs related to that are shared..
         Thanks in advance

    Oh, bummer. Would be much more convenient if I could just use iTunes for everything. Can't stand WMP. I wonder if WinAmp might be a good compromise?
    Thanks for this answer . . .
    Sharon

  • Execute a program only in background

    Hi,
    When we set sy-batch to 'X',this will enable the background processing functionality.
    But is there any other variable or any method to avoid the below functionality.
    execute program by pressing F8.On selection-screen,in the menu bar under 'Program',there is a drop down which says 'Execute in background'.
    Is it possible to prevent the program from executing in this manner?If yes,how?
    The user should not execute in background in this manner with his/her own variants.That is the idea of this functionality.
    Regards
    Joseph
    Will surely read the forum rules in future
    Edited by: Julius Bussche on Sep 7, 2009 11:57 AM

    >
    Joseph Thekkekara wrote:
    > Hi,
    > When we set sy-batch to 'X',this will enable the background processing functionality.
    > But is there any other variable or any method to avoid the below functionality.

    > execute program by pressing F8.On selection-screen,in the menu bar under 'Program',there is a drop down which says 'Execute in background'.

    > Is it possible to prevent the program from executing in this manner?If yes,how?
    > The user should not execute in background in this manner with his/her own variants.That is the idea of this functionality.
    >
    > Regards
    > Joseph
    >
    > Will surely read the forum rules in future
    >
    > Edited by: Julius Bussche on Sep 7, 2009 11:57 AM
    Hello Joseph
    Please check the code below, this will disable the 'Execute in Backgroup' option in the selection screen.
    REPORT  zytest1.
    PARAMETERS:
      p_test TYPE c.
    DATA:
      gt_exclude TYPE TABLE OF sy-ucomm.
    AT SELECTION-SCREEN OUTPUT.
      APPEND 'SJOB' TO gt_exclude.
      CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
        EXPORTING
          p_status        = sy-pfkey
    *     P_PROGRAM       = ' '
        tables
          p_exclude       = gt_exclude.
    Regards
    Rajesh.

  • Is this possible to run a program on one server(e.g. development server) on

    Is this possible to run a program on one server(e.g. development server) on another server via remote log on, or any other such technique

    Hi Surbhi,
    RfC are remote function calls through which u can remotely access other system.
    RFC
    Purpose
    Communication between applications of different systems in the SAP environment includes connections between SAP systems as well as between SAP systems and non-SAP systems. Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. The RFC calls a function to be executed in a remote system.
    Synchronous RFC
    The first version of RFC is synchronous RFC (sRFC). This type of RFC executes the function call based on synchronous communication, which means that the systems involved must both be available at the time the call is made.
    Transactional RFC (tRFC)
    Transactional RFC (tRFC, also originally known as asynchronous RFC) is an asynchronous communication method that executes the called function module in the RFC server only once. The remote system need not be available at the time when the RFC client program is executing a tRFC. The tRFC component stores the called RFC function, together with the corresponding data, in the SAP database under a unique transaction ID (TID).
    If a call is sent, and the receiving system is down, the call remains in the local queue until a later time. The calling dialog program can proceed without waiting to see whether or not the remote call was successful. If the receiving system does not become active within a certain amount of time, the call is scheduled to run in batch.
    tRFC is always used if a function is executed as a Logical Unit of Work (LUW). Within a LUW, all calls are
    ·         executed in the order in which they are called
    ·         executed in the same program context in the target system
    ·         run as a single transaction: they are either committed or rolled back as a unit.
    Implementation of tRFC is recommended if you want to guarantee that the transactional order of the calls is preserved.
    Disadvantages of tRFC
    ·       tRFC processes all LUWs independent of one another. Due to the amount of activated tRFC processes, this procedure can reduce performance significantly in both the send and the target systems.
    ·       In addition, the sequence of LUWs defined in the application cannot be kept. Therefore, there is no guarantee that the transactions are executed in the sequence dictated by the application. The only guarantee is that all LUWs are transferred sooner or later.
    Queued RFC (qRFC)
    To guarantee that multiple LUWs are processed in the order specified by the application, tRFC can be serialized using queues (inbound and outbound queues). This type of RFC is called queued RFC (qRFC).
    qRFC is therefore an extension of tRFC. It transfers an LUW (transaction) only if it has no predecessors (in reference to the sequence defined in different application programs) in the participating queues.
    Implementation of qRFC is recommended if you want to guarantee that several transactions are processed in a predefined order.
    RFC: Data Transfer
    All RFC types are transferred by means of CPI-C or  TCP/IP. They constitute a form of gateway communication. 
    HOPE I ANSWERED TO UR POINT
    reward if helpful
    thanks and regards
    suma

  • Is possible to execute the same executable vi more than 1 time (like notepad, for example)?

    I have a Labview executable file that use serial ports to communicate with other devices. I need to execute the same "file.exe" more than 1 time, to control different devices simultaneously. When I double click on an executable been executed (from windows explorer), the file under execution comes to front. Is possible to execute the same file more than 1 time (like notepad, for example)?

    Not the answer you are looking for I know..but still: Copying the application to another location is one possibility...if it has a different path it will execute separately.
    (OR - build control of multiple devices into one and the same application... If you do not want to redesign the code to handle multiple instruments in the same VIs, you could clone the VIs within the same application...)
    MTO

  • BI Process Chain executing a program in ECC

    I want to build a process chain in BI 7.0, which should also be able to execute a program in ECC.
    Is it possible.
    How do I do that ?
    Thanks
    Mary

    It should be possible:  Your process chain should include an ABAP program.  This program should call an RFC enabled function module in ECC (custom-built)  which should perform the required function in ECC.
    There are many links on including ABAP programs in PCs.  In the ABAP section you will find information about building RFC function modules.
    BR/
    Mathew.

  • Is it possible to execute same eCATT  script in different SAP versions

    is it possible to execute same eCATT  script in different SAP versions?
    Regards,
    Sunil sankar B.
    [email protected]

    Yes. In the ecatt script you have the option under ATTRIBUTES --> VERISONING DATA you can restrict it to different software components and different releases.

  • Executing a program on a remote PC

    Hello,
       I am trying to execute a program on a PC running Windows; I have defined an RFC connection using explicit host, but when I try 'Connection Test', I get
    timeout during allocate / CPI-C error CM_RESOURCE_FAILURE_RETRY
       Is it possible to do this, and, if so, how ? Thanks in advance for your advice.

    Hello,
    it may not work if the Gateway host and the Gateway service entries are empty.                       
    Let's check now the destination server, please execute the command 
    "netstat -a" in order to verify that the gateway is listening to the
    your port for example: sapgw01 3601.       
    581509      Reasons for "timeout during allocate"               
    The problem could also be that setting up the connection takes longer
    than the time specified in the timeout parameter. Try increase the  
    gw/cpic_timeout value and then see if the error persists.           
                                                              Please check attached note 581509 and 566566 for troubleshooting    
    Regards
    Tibor

  • Is it possible to execute simple class

    Sir,
    Is it possible to execute a simple program written in java in
    jdeveloper. If yes please let me know how to that.
    I creted a class using class wizard and added the following
    statement;
    System.out.println("testing");
    I able to compile the program without error, but how to execute
    it.
    raghu
    null

    Hi Jun Wu,
    Because without deploying, it doesn't allow me check how my java webdynpro application works!!
    I  need to execute my java web dynpro application and I dont have any access to SDM pins/passwords.
    Please share your valuable thoughts on the same.
    regards,
    Ajeeth Kumar S

  • Is it possible to execute an application using threads in oracle db 11g?

    Hi all, I would like to know if it is possible to execute an application using threads in oracle database 11g. Actualy, I would like to know if is is possible to execute a pl/sql program in a similar way as I run threads in a java application.
    Thanks in advance.
    Edited by: user4073561 on 24/11/2010 05:19

    In oracle there is parallel execution/servers,and this is analogy java threads.Refer
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/manproc006.htm

  • Execute a program for specified amount of time

    Hi, I was wondering if anyone knows if it is possible to have a program run for a maximum time and, if it hasnt terminated on its own, stop it?
    I've read about java.util.Timer and java.util.TimerTask but they seem to be for scheduling not counting and ending?
    Can anyone give any suggestions please :)
    Chris

    when you execute an external program (with Runtime's exec method) a Process object is returned. This Process object has a destroy method that kills the external program... so yes, you can create a new class that extends TimerTask and overload the run method to call that Process's destroy method.

  • Reg: Creating sub menu for a concurrent program under menu on the Menu bar

    Hi all,
    I would like to know, how we can create a sub menu for a conc. program under a sub menu on the Menu Bar ?
    Thanks In Advance.
    Regards,
    Neeti

    It is a 2 step process. First, enable a new menu entry, which when called will fire a user-named trigger, where the call to the concurrent programs form is the executed. How to do it depends on the release. Previous to 11.5.10, this has to be done trough custom.pll, and 11i10 an r12 with forms personalization. Documentation and examples exists for both cases, have a look on metalink.

  • Face Time at activation wasn't possible to execute an entrance

    Face Time at activation wasn't possible to execute an entrance check network connection and repeat attempt. wifi is app store loads programs. what to do!

    See here http://tinyurl.com/32drz3d

  • Problem of executing a process under Linux using Runtime.exec

    Hi, All
    I am having a problem of executing a process under Linux and looking for help.
    I have a simple C program, which just opens a listening port, accept connection request and receive data. What I did is:
    1. I create a script to start this C program
    2. I write a simple java application using Runtime.exec to execute this script
    I can see this C program is started, and it is doing what it supposed to do, opening a listening port, accepting connection request from client and receiving data from client. But if I stop the Java application, then this C program will die when any incoming data or connection request happens. There is nothing wrong with the C program and the script, because if I manually execute this script, everying works fine.
    I am using jre1.4.2_07 and running under Linux fedora 3.0.
    Then I tried similar thing under Windows XP with service pack2, evrything works OK, the C program doesn't die at all.

    Mind reading is not an exact science but I bet that you are not processing either the process stdout or the stderr stream properly. Have you read http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html ?

Maybe you are looking for