SXPG_CALL_SYSTEM execution

Hello everybody
I need some help with SXPG_CALL_SYSTEM.
I use it to in combination with unix commands TAR en GZIP.
Everything works when i'm logged in as an admin user.
The problem is that the commands don't do a thing when i'm logged in as a normal user.
The return code of the function is 0, so it  means the command is executed. But it hasn't done anything.
But i would like to get the 'no permission' exception (or any other) to verify that the commands aren't executed.
Is there anyway to check if the user can execute this function.
Thx in advance.
Merijn.

The function module [SXPG_CALL_SYSTEM|http://help.sap.com/saphelp_nw70/helpdata/en/fa/0971ee543b11d1898e0000e8322d00/frameset.htm] should already execute an authorization check. When you mention a return code 0 I'm assuming that you are talking about SY-SUBRC in ABAP (not OS level) and that you are not doing something obvious like setting all exceptions to 0 (e.g. OTHERS = 0)...
There's function module [SXPG_COMMAND_CHECK|http://help.sap.com/saphelp_nw70/helpdata/en/fa/097208543b11d1898e0000e8322d00/frameset.htm], which can be used just for carrying out the authorization check.
I suspect your normal user doesn't have authorization for SM49, but I'd give this a try and see what happens. Also, you might want to check the system log (SM21) and the trace file dev_cp (ST11, depending on your patch level you might need to activate trace via setting the TRACE parameter) and see if that gives you anything useful. In addition you could of course also try an authorization trace (ST01).
That's pretty much all I can think of right now. Maybe somebody else has some better ideas or you have some further details after doing some more checks...

Similar Messages

  • About function :SXPG_CALL_SYSTEM

    hi,dear all:
         I want to call an external program of a windonws 2003 system using  function SXPG_CALL_SYSTEM,can you give me some advice,notes or give me some example about it?

    Jian,
    check the documentation of the FM in SE37...
    FU SXPG_CALL_SYSTEM
    Text
    Execute an External Command
    Functionality
    SXPG_CALL_SYSTEM: Execute External Command (Express Method)
    Using this function module, you can:
    o Check a user's authorization to execute a command
    o Execute the command
    To determine the system on which the command should be executed, the
    function module uses by default the current host system and the current
    operating system type of the user.
    As the function module is RFC-capable, you can use the RFC interface
    (Remote Function Call Interface) to run the function module in a
    different SAP application server. The external command is then
    accordingly executed in the host system of the other SAP server.
    SXPG_CALL_SYSTEM uses the following rules to determine which variant of
    a command is used for the execution:
    o If a command with the same operating system type as the one in the
    sytem field SY-OPSYS exists, this definition is used for the
    execution of the command.
    o If the first check fails, the syntax group for SY-OPSYS is determined. A syntax group is an SAP construct that groups operating
    systems that use the same syntax for commands and filenames. If a
    command whose operating system type matches the determined syntax
    group, this definition of the command is used.
    o If no matching definition is found for the syntax group, the
    function module searches for a definition with the operating system
    type ANYOS (executable in all supported operating systems). This
    definition is then used, if found.
    o Otherwise, the exception COMMAND_NOT_FOUND is triggered.
    se
    Syntax:
    CALL FUNCTION SXPG_CALL_SYSTEM
    IMPORTING
    COMMANDNAME = <SAP command name> DEFAULT '*'
    ADDITIONAL_PARAMETERS = <Argument string> default <space>
    EXPORTING
    STATUS = <Exit status of command>
    TABLES
    EXEC_PROTOCOL = <Log> In structure BTCXPM. Can
    contain STDOUT, STDERR
    EXCEPTIONS
    NO_PERMISSION Command rejected by User exit auth.
    check
    COMMAND_NOT_FOUND Command not defined in SAP database
    PARAMETERS_TOO_LONG Complete parameter string exceeds
    128 characters
    SECURITY_RISK Security check failed
    WRONG_CHECK_CALL_INTERFACE Problem with function
    module for additional security
    check
    PROGRAM_START_ERROR Error while starting program
    ==============
    This command can be edited in Tx SM69 and executed in Tx SM49. Just have a look in one of these transactions
    http://help.sap.com/saphelp_nw04/helpdata/en/fa/0971ee543b11d1898e0000e8322d00/content.htm
    look here : Re: Rename a file
    Don't forget to reward if useful....

  • Parameters of SXPG_CALL_SYSTEM

    Hi,
    SXPG_CALL_SYSTEM has two importing parameters, status and exitcode.
    status is describes in the documentation, whereas exitcode is not.
    Is it sufficient to check status and sy-subrc for successful execution? What does exitcode contain?

    Hi,
    I guess it is the exitcode that is returned from the called program or script.
    static int Main(string[] arguments)
                //return exit code
                // 0  : case 0
                // 1  : case 1
                // 2  : case 2
                // -1 : error occured
                return exitCode;
    /Simo

  • FM-----SXPG_CALL_SYSTEM

    what this fm do.
    and what is "commandname"--is he running batch file???

    check the documentation of the FM in SE37...
    FU SXPG_CALL_SYSTEM
    Text
         Execute an External Command
    Functionality
         SXPG_CALL_SYSTEM: Execute External Command (Express Method)
         Using this function module, you can:
         o   Check a user's authorization to execute a command
         o   Execute the command
         To determine the system on which the command should be executed, the
         function module uses by default the current host system and the current
         operating system type of the user.
         As the function module is RFC-capable, you can use the RFC interface
         (Remote Function Call Interface) to run the function module in a
         different SAP application server. The external command is then
         accordingly executed in the host system of the other SAP server.
         SXPG_CALL_SYSTEM uses the following rules to determine which variant of
         a command is used for the execution:
         o   If a command with the same operating system type as the one in the
             sytem field SY-OPSYS exists, this definition is used for the
             execution of the command.
         o   If the first check fails, the syntax group for SY-OPSYS is        determined. A syntax group is an SAP construct that groups operating
           systems that use the same syntax for commands and filenames. If a
           command whose operating system type matches the determined syntax
           group, this definition of the command is used.
       o   If no matching definition is found for the syntax group, the
           function module searches for a definition with the operating system
           type ANYOS (executable in all supported operating systems). This
           definition is then used, if found.
       o   Otherwise, the exception COMMAND_NOT_FOUND is triggered.
    se
    Syntax:
       CALL FUNCTION SXPG_CALL_SYSTEM
            IMPORTING
               COMMANDNAME   = <SAP command name>   DEFAULT '*'
               ADDITIONAL_PARAMETERS    = <Argument string> default <space>
            EXPORTING
               STATUS        = <Exit status of command>
             TABLES
               EXEC_PROTOCOL = <Log>   In structure BTCXPM.  Can
       contain STDOUT, STDERR
             EXCEPTIONS
               NO_PERMISSION  Command rejected by User exit auth.
                              check
               COMMAND_NOT_FOUND   Command not defined in SAP database
               PARAMETERS_TOO_LONG   Complete parameter string exceeds
       128 characters
               SECURITY_RISK  Security check failed
               WRONG_CHECK_CALL_INTERFACE  Problem with function
                                            module for additional security
       check
               PROGRAM_START_ERROR  Error while starting program

  • Is there a Data Execution Prevention compatable version of iTunes?  I have reinstalled iTunes 10.5 at least 10 times, and after it installs, it will not open because of DEP.

    I have tried all the advice I have seen on Apple Support discussion boards for the past 2 days, and nothing works.  Disabling DEP is not possible, regardless of what the Windows Support discussions tell you.  In the meantime, I have absolutely no access to iTunes, or even the ability to update my iPhone or iPod.  The only feasable solution is the possibility of a version of iTunes that is compatable with Data Execution Prevention settings. 
    In the past 2 days, I have:  Removed iTunes and related components from the Control Panel (numerous times)  Per the instructions on Apple Service discussions pages, I did it in this order.  1. iTunes  2. QuickTime  3. Apple Software Update  4. Apple Mobile Device Support 5. Bonjour ^. Apple Application Support.  After all that, I reinstalled iTunes. 
    Everything looks fine during installation, with no error messages.  At the end, it says everything was successfully installed.  However, when the installation tool closes, iTunes will only partially open a window, but will stay blank.  Then I get the message that iTunes has stopped working and that Windows has shut it down.  Then I get notified that DEP has caused iTunes to shut down. 
    Can someone please help?  Or, is there a DEP compatible version of iTunes? 
    I would appreciate any help.  Thanks!!

    Polydorus,
    Thank you for your kind reply.  During the many times I uninstalled iTunes, and all the other Apple programs, I only used the Uninstall Programs in Windows Control Panel.  To make a long story short, I found a solution that works for me, but it is still not a complete soluton.
    Here is what I did:
    I used Uninstall Program in the Windows Control Panel to uninstall everything IN THIS ORDER
    1. iTunes
    2. QuickTime
    3. Apple Software Update
    4. Apple Mobile Device Support
    5. Bonjour
    6. Apple Application Support
    Then I went to C:\Program Files and looked for any iTunes or Apple program listed there and deleted it.
    I have 64-bit, so I then went to C:\Program files (x86) and looked for any iTunes, QuickTime, Bonjour or any other file or folder that had Apple or any Apple program in the name and deleted it.
    I went to C:\Windows|SysWOW64\Quicktime  and C:\Windows\SysWOW64\QuicktimeVR and deleted them
    Go back to START, and open the "C" drive.  Open the USERS folder.  Open the folder with your username.  Open the AppData folder.  Then double-click on the LOCAL folder to open it.  If you see any files or folders there that show any Apple program or file, delete those files or folders.  Then go to the REMOTE folder and do the same.  If there are any other users on this computer, go to each individual user and do the same thing in each LOCAL and REMOTE folder.  Restart your computer.
    Go to http://www.apple.com/itunes/download/ This is the page where you will actually download iTunes.  Scroll down the page to the section under "Windows Software"  that says "64-bit editions of Windows Vista or Windows 7 require the iTunes 64-bit installer".  Click on that line to get the installer.  It will take you to another download window.
    Scroll to the bottom of the page to the message that says "Download for iTunes 10.4.1 for Windows (64-bit) here: iTunes for Windows 64-bit."  Click there to get the download.
    This is not iTunes 10.5, so you will not have access to "The Cloud", but it is at least functional until Apple actually comes out with a version that will not activate the DEP message.  There was no combination of uninstalling and reinstalling, with or without Quicktime, with 10.5 that did not cause problems with Data Execution Prevention problems that I found.
    I also used Firefox for the downloading instead of Internet Explorer.  It just seemed to function better that way.
    I hope this is helpful to someone.  It's just what worked for me.   

  • Loading jar files at execution time via URLClassLoader

    Hello�All,
    I'm�making�a�Java�SQL�Client.�I�have�practicaly�all�basic�work�done,�now�I'm�trying�to�improve�it.
    One�thing�I�want�it�to�do�is�to�allow�the�user�to�specify�new�drivers�and�to�use�them�to�make�new�connections.�To�do�this�I�have�this�class:�
    public�class�DriverFinder�extends�URLClassLoader{
    ����private�JarFile�jarFile�=�null;
    ����
    ����private�Vector�drivers�=�new�Vector();
    ����
    ����public�DriverFinder(String�jarName)�throws�Exception{
    ��������super(new�URL[]{�new�URL("jar",�"",�"file:"�+�new�File(jarName).getAbsolutePath()�+"!/")�},�ClassLoader.getSystemClassLoader());
    ��������jarFile�=�new�JarFile(new�File(jarName));
    ��������
    ��������/*
    ��������System.out.println("-->"�+�System.getProperty("java.class.path"));
    ��������System.setProperty("java.class.path",�System.getProperty("java.class.path")+File.pathSeparator+jarName);
    ��������System.out.println("-->"�+�System.getProperty("java.class.path"));
    ��������*/
    ��������
    ��������Enumeration�enumeration�=�jarFile.entries();
    ��������while(enumeration.hasMoreElements()){
    ������������String�className�=�((ZipEntry)enumeration.nextElement()).getName();
    ������������if(className.endsWith(".class")){
    ����������������className�=�className.substring(0,�className.length()-6);
    ����������������if(className.indexOf("Driver")!=-1)System.out.println(className);
    ����������������
    ����������������try{
    ��������������������Class�classe�=�loadClass(className,�true);
    ��������������������Class[]�interfaces�=�classe.getInterfaces();
    ��������������������for(int�i=0;�i<interfaces.length;�i++){
    ������������������������if(interfaces.getName().equals("java.sql.Driver")){
    ����������������������������drivers.add(classe);
    ������������������������}
    ��������������������}
    ��������������������Class�superclasse�=�classe.getSuperclass();
    ��������������������interfaces�=�superclasse.getInterfaces();
    ��������������������for(int�i=0;�i<interfaces.length;�i++){
    ������������������������if(interfaces[i].getName().equals("java.sql.Driver")){
    ����������������������������drivers.add(classe);
    ������������������������}
    ��������������������}
    ����������������}catch(NoClassDefFoundError�e){
    ����������������}catch(Exception�e){}
    ������������}
    ��������}
    ����}
    ����
    ����public�Enumeration�getDrivers(){
    ��������return�drivers.elements();
    ����}
    ����
    ����public�String�getJarFileName(){
    ��������return�jarFile.getName();
    ����}
    ����
    ����public�static�void�main(String[]�args)�throws�Exception{
    ��������DriverFinder�df�=�new�DriverFinder("D:/Classes/db2java.zip");
    ��������System.out.println("jar:�"�+�df.getJarFileName());
    ��������Enumeration�enumeration�=�df.getDrivers();
    ��������while(enumeration.hasMoreElements()){
    ������������Class�classe�=�(Class)enumeration.nextElement();
    ������������System.out.println(classe.getName());
    ��������}
    ����}
    It�loads�a�jar�and�searches�it�looking�for�drivers�(classes�implementing�directly�or�indirectly�interface�java.sql.Driver)�At�the�end�of�the�execution�I�have�found�all�drivers�in�the�jar�file.
    The�main�application�loads�jar�files�from�an�XML�file�and�instantiates�one�DriverFinder�for�each�jar�file.�The�problem�is�at�execution�time,�it�finds�the�drivers�and�i�think�loads�it�by�issuing�this�statement�(Class�classe�=�loadClass(className,�true);),�but�what�i�think�is�not�what�is�happening...�the�execution�of�my�code�throws�this�exception
    java.lang.ClassNotFoundException:�com.ibm.as400.access.AS400JDBCDriver
    ��������at�java.net.URLClassLoader$1.run(URLClassLoader.java:198)
    ��������at�java.security.AccessController.doPrivileged(Native�Method)
    ��������at�java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    ��������at�java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    ��������at�sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    ��������at�java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    ��������at�java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    ��������at�java.lang.Class.forName0(Native�Method)
    ��������at�java.lang.Class.forName(Class.java:140)
    ��������at�com.marmots.database.DB.<init>(DB.java:44)
    ��������at�com.marmots.dbreplicator.DBReplicatorConfigHelper.carregaConfiguracio(DBReplicatorConfigHelper.java:296)
    ��������at�com.marmots.dbreplicator.DBReplicatorConfigHelper.<init>(DBReplicatorConfigHelper.java:74)
    ��������at�com.marmots.dbreplicator.DBReplicatorAdmin.<init>(DBReplicatorAdmin.java:115)
    ��������at�com.marmots.dbreplicator.DBReplicatorAdmin.main(DBReplicatorAdmin.java:93)
    Driver�file�is�not�in�the�classpath�!!!�
    I�have�tried�also�(as�you�can�see�in�comented�lines)�to�update�System�property�java.class.path�by�adding�the�path�to�the�jar�but�neither...
    I'm�sure�I'm�making�a/some�mistake/s...�can�you�help�me?
    Thanks�in�advice,
    (if�there�is�some�incorrect�word�or�expression�excuse�me)

    Sorry i have tried to format the code, but it has changed   to �... sorry read this one...
    Hello All,
    I'm making a Java SQL Client. I have practicaly all basic work done, now I'm trying to improve it.
    One thing I want it to do is to allow the user to specify new drivers and to use them to make new connections. To do this I have this class:
    public class DriverFinder extends URLClassLoader{
    private JarFile jarFile = null;
    private Vector drivers = new Vector();
    public DriverFinder(String jarName) throws Exception{
    super(new URL[]{ new URL("jar", "", "file:" + new File(jarName).getAbsolutePath() +"!/") }, ClassLoader.getSystemClassLoader());
    jarFile = new JarFile(new File(jarName));
    System.out.println("-->" + System.getProperty("java.class.path"));
    System.setProperty("java.class.path", System.getProperty("java.class.path")+File.pathSeparator+jarName);
    System.out.println("-->" + System.getProperty("java.class.path"));
    Enumeration enumeration = jarFile.entries();
    while(enumeration.hasMoreElements()){
    String className = ((ZipEntry)enumeration.nextElement()).getName();
    if(className.endsWith(".class")){
    className = className.substring(0, className.length()-6);
    if(className.indexOf("Driver")!=-1)System.out.println(className);
    try{
    Class classe = loadClass(className, true);
    Class[] interfaces = classe.getInterfaces();
    for(int i=0; i<interfaces.length; i++){
    if(interfaces.getName().equals("java.sql.Driver")){
    drivers.add(classe);
    Class superclasse = classe.getSuperclass();
    interfaces = superclasse.getInterfaces();
    for(int i=0; i<interfaces.length; i++){
    if(interfaces[i].getName().equals("java.sql.Driver")){
    drivers.add(classe);
    }catch(NoClassDefFoundError e){
    }catch(Exception e){}
    public Enumeration getDrivers(){
    return drivers.elements();
    public String getJarFileName(){
    return jarFile.getName();
    public static void main(String[] args) throws Exception{
    DriverFinder df = new DriverFinder("D:/Classes/db2java.zip");
    System.out.println("jar: " + df.getJarFileName());
    Enumeration enumeration = df.getDrivers();
    while(enumeration.hasMoreElements()){
    Class classe = (Class)enumeration.nextElement();
    System.out.println(classe.getName());
    It loads a jar and searches it looking for drivers (classes implementing directly or indirectly interface java.sql.Driver) At the end of the execution I have found all drivers in the jar file.
    The main application loads jar files from an XML file and instantiates one DriverFinder for each jar file. The problem is at execution time, it finds the drivers and i think loads it by issuing this statement (Class classe = loadClass(className, true);), but what i think is not what is happening... the execution of my code throws this exception
    java.lang.ClassNotFoundException: com.ibm.as400.access.AS400JDBCDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:140)
    at com.marmots.database.DB.<init>(DB.java:44)
    at com.marmots.dbreplicator.DBReplicatorConfigHelper.carregaConfiguracio(DBReplicatorConfigHelper.java:296)
    at com.marmots.dbreplicator.DBReplicatorConfigHelper.<init>(DBReplicatorConfigHelper.java:74)
    at com.marmots.dbreplicator.DBReplicatorAdmin.<init>(DBReplicatorAdmin.java:115)
    at com.marmots.dbreplicator.DBReplicatorAdmin.main(DBReplicatorAdmin.java:93)
    Driver file is not in the classpath !!!
    I have tried also (as you can see in comented lines) to update System property java.class.path by adding the path to the jar but neither...
    I'm sure I'm making a/some mistake/s... can you help me?
    Thanks in advice,
    (if there is some incorrect word or expression excuse me)

  • Error while building execution plan

    Hi, I'm trying to create an execution plan with container EBS 11.5.10 and subject area Project Analytics.
    I get this error while building:
    PA-EBS11510
    MESSAGE:::group TASK_GROUP_Load_PositionHierarchy for SIL_PositionDimensionHierarchy_PostChangeTmp is not found!!!
    EXCEPTION CLASS::: java.lang.NullPointerException
    com.siebel.analytics.etl.execution.ExecutionPlanDesigner.getExecutionPlanTasks(ExecutionPlanDesigner.java:818)
    com.siebel.analytics.etl.execution.ExecutionPlanDesigner.design(ExecutionPlanDesigner.java:1267)
    com.siebel.analytics.etl.client.util.tables.DefnBuildHelper.calculate(DefnBuildHelper.java:169)
    com.siebel.analytics.etl.client.util.tables.DefnBuildHelper.calculate(DefnBuildHelper.java:119)
    com.siebel.analytics.etl.client.view.table.EtlDefnTable.doOperation(EtlDefnTable.java:169)
    com.siebel.etl.gui.view.dialogs.WaitDialog.doOperation(WaitDialog.java:53)
    com.siebel.etl.gui.view.dialogs.WaitDialog$WorkerThread.run(WaitDialog.java:85)
    Sorry for my english, I'm french.
    Thank you for helping me

    Hi,
    Find the what are all the subjectarea's in execution plan having the task 'SIL_PositionDimensionHierarchy_PostChangeTmp ', add the 'TASK_GROUP_Load_PositionHierarchy ' task group to those those subjectares.
    Assemble your subject area's and build the execution plan again.
    Thanks

  • Query to find out weekly average of job execution time

    I have a table which has the following details:
    CREATE TABLE JOB_DETAILS (JOB_START_DATE DATE,
    JOB_END_DATE DATE,
    JOB_START_TIME NUMBER,
    JOB_END_TIME NUMBER,
    HOURS_OF_EXECUTION NUMBER,
    DETAILS VARCHAR2(20));
    INSERT INTO JOB_DETAILS VALUES ('01-FEB-2007','01-FEB-2007',10.04,20.09,10.04,'WEEKDAY');
    INSERT INTO JOB_DETAILS VALUES ('07-FEB-2007','07-FEB-2007',00.00,00.00,00.00,'WEEKEND');
    commit;
    Job_Start_Date Job_End_Date Job_Start_Time Job_End_Time Hours_Of_Execution DETAILS
    1/2/2007 1/2/2007 10:04 20:09 10:04
    1/7/2007 1/7/2007 0:00 0:00 0:00 Weekend
    Our jobs wont run on week ends and on holidays where we see "Hours_of_execution" as 0.
    Week means Monday to Friday for me.
    (1) I want a query which gives me a weekly,monthly average of how many hours the job ran.
    (2) I want to find out the week, when the average execution of the job is &gt; 10 hours.
    can anyone help in framing this query to get the details?
    Thanks

    Why make it so hard for yourself by removing the time from the date and storing it separately?
    alter session set nls_date_format='DD/MM/YYYY HH24:MI:SS'
    session altered
    WITH t AS (SELECT SYSDATE start_date, SYSDATE+0.61 end_date FROM dual)
    SELECT start_date, end_date, numtodsinterval(end_date-start_date,'DAY') execution_time
    FROM t
    START_DATE          END_DATE          EXECUTION_TIME
    11/12/2008 11:22:21     12/12/2008 02:00:45     +00 14:38:24.000000

  • Can not see the option Execution with Data Change in the infoprovider?

    Hi team,
    i am using query designer 3.x, when i go into my bex brodcaster settings and schedule my report
    i can not see the option "Execution with Data Change in the infoprovider",
    i can only see 2 options
    Direct scheduling in background process
    create new scheduling
    periodic,
    is there any setting which i would be able to see the option "Execution with Data Change in the infoprovider"?
    kindly assist

    Hi Blusky ,
    check the below given link.
    http://help.sap.com/saphelp_nw04/Helpdata/EN/ec/0d0e405c538f5ce10000000a155106/frameset.htm
    Regards,
    Rohit Garg

  • How to accept user values into a pl/sql procedure or function on every execution

    As we accept user values on every execution in a C or a java program, is it possible to do so with a pl/sql procedure or a funtion without using parameters?
    I cannot use parameters because it is required to be interactive while accepting the user-values like,
    Please enter your date of birth in 'dd/mm/yyyy' format:

    It depends from where you are calling your PLSQL routine. If it is SQL*Plus then you can use & (ampersand) with the variable to be input at run time.
    If you are executing the PLSQL routine from another application (some front end application) then it's not possible. Because when a procedure is executing at server side, the front end application does not have control, and the control is only transfered back to front end application when the PLSQL routine either completes successfully or throws an exception.
    In either case, you can not go back to the PLSQL routine.
    In this case, what you can do is, write code in your front end application to get that variable value from user and then pass that value to PLSQL routine.

  • Help needed for building report with execution method Java Concurrent prog

    Hi,
    I have saw a report like this:
    The report has executable "XML Publisher Data Template Executable", short name as "XDODTEXE", application "XML Publisher",execution method "Java Concurrent program". Also the report has a XML publisher Data Template and Data definition and in the data definition a .xml file is attached.
    I could not understand what is the data source?
    Could anyone help me on how to build or update this type of report?
    Is there any link or help docs which has proper step by step procedure to build this type of xml publisher report?
    Please help.
    Thanks.

    The xml file which is attached to the data definition is the data source and it has sql queries and structure of xml file.
    Check this out for step-by-step guidance.
    http://www.oracle.com/technetwork/middleware/bi-publisher/overview/xmlebsrep-132947.pdf
    http://apps2fusion.com/at/ps/51-prabhakar/262-xml-publisher-and-data-template-sql-query-to-develop-bi-publisher-reports
    For more on data templates refer user guide
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e12187/T421739T434255.htm

  • No rows are loaded after the execution

    Which product and version are you using?
    ans client 9.2.0.2.8 and db 9.2.0.4
    - On which platform and version is it installed?
    windows 2000
    - Is this part of Oracle Applications (i.e. Financials, Inventory, etc.)?
    its part of 9ids. I installed data warehouse in saperate home
    - Has this ever worked correctly? If yes, what has changed?
    No. This is my first project and we are evaluating oracle over other warehouse
    product.
    All is working except the rows are not loaded. Mapping is validated correctly. Deployed successfully, executed successfully from the deployment manager but 0
    rows are loaded. You get a small pop up window after execute of a mapping. Log message
    at the end of the execute shows insert 0, update 0, delete 0 and merged 0.
    The mapping consists of two table operators. One from source table from differenct schema and one for target. There is nothing so complicated here. All I want is
    to copy the data from source to target table through warehouse. My question really what do I need to insert the record? Once the mapping is defined, deployed and executed should not the rows be loaded?
    Everything else is working. Like creation of target tables and so on.
    The source operator properties are bound_name-eqpthist_qtr, primary source-no loading type-Insert.
    The target has bouondname-test, primary source-no, loading type delete/insert.

    after the execution there errors whatsoever. It executes with out any error.
    Its working when I replace the source table with one from the target schema itself. I mean a copied table to target using slqplus. I uses any tables under its schema itself then all the rows are inserted. Its not working when copying/referencing from another source schema. THe target user is given select any table, all object privileges of the source table, even dba role. Still no rows are loaded.
    the target has DBA,CONNECT,RESOURCE,AQ_USER_ROLE, WB_A_VLSIOWRUN, WB_D_VLSIOWRUN, WB_R_VLSIOWRUN, WB_U_VLSIOWRUN, SELECT_CATALOG_ROLE.
    The target has system privs as
    CREATE VIEW
    CREATE TABLE
    ALTER SESSION
    CREATE SESSION
    CREATE SYNONYM
    CREATE TRIGGER
    CREATE ANY TYPE
    CREATE SEQUENCE
    CREATE SNAPSHOT
    CREATE DIMENSION
    CREATE INDEXTYPE
    CREATE PROCEDURE
    SELECT ANY TABLE
    DROP ANY DIRECTORY
    DROP PUBLIC SYNONYM
    CREATE ANY DIRECTORY
    CREATE DATABASE LINK
    GLOBAL QUERY REWRITE
    UNLIMITED TABLESPACE
    CREATE PUBLIC SYNONYM
    SELECT ANY DICTIONARY
    CREATE PUBLIC DATABASE LINK
    and the following privs on the source table as well
    SELECT
    ALTER
    DELETE
    INDEX
    INSERT
    UPDATE
    REFERENCES
    ON COMMIT REFRESH
    QUERY REWRITE
    DEBUG
    FLASHBACK

  • Error : while installing NW'04 SR1::: CJS-20065  Execution of JLoad tool

    Hi All,
      we are installing NW'04 SR1. We installed Oracle9.2 and jdk1.4.2_07.
      We are in Phase <b>27 </b>(of 34) in java edition installation.
    We are getting the following error::
    <b>ERROR 2005-07-22 13:21:53
    CJS-20065  Execution of JLoad tool 'C:\j2sdk1.4.2_07/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;C:\oracle\ora92/jdbc/lib/classes12.jar;C:/usr/sap/J39/SYS/global/security/lib/tools/iaik_jce.jar;C:/usr/sap/J39/SYS/global/security/lib/tools/iaik_jsse.jar;C:/usr/sap/J39/SYS/global/security/lib/tools/iaik_smime.jar;C:/usr/sap/J39/SYS/global/security/lib/tools/iaik_ssl.jar;C:/usr/sap/J39/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'J39,jdbc/pool/J39,C:\usr\sap\J39\SYS\global/security/data/SecStore.properties,C:\usr\sap\J39\SYS\global/security/data/SecStore.key' '-dataDir' 'Z:/WebAS_Java\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\CENTRAL\ONE_HOST/IMPORT.XML' '-log' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\CENTRAL\ONE_HOST/jload.log'' aborts with returncode 1. Check 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\CENTRAL\ONE_HOST/jload.log' and 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\CENTRAL\ONE_HOST/jload.java.log' for more information.
    </b>
    Also the jload.log in C:\Program Files\sapinst_instdir\NW04SR1\WEBAS_JAVA\CENTRAL\ONE_HOST folder has the following ::
    <i>22.07.05 13:21 com.sap.inst.jload.Jload main
    SEVERE: couldn't connect to DB
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection</i>
    Can anyone help me please...?
    Would appreciate any kind of help.
    Awaiting your reply. Thanks in advance.
    Regards,
    Ranjith.

    Hello Michael,
    The same problem here but I am not able to start the configtool to get the configuration adapted, as I am still busy with the installation...
    Here is the error I get :
    Aug 9, 2007 3:33:08 PM java.util.prefs.FileSystemPreferences$2 run
    INFO: Created user preferences directory.
    java.net.UnknownHostException: wasqj1: wasqj1
            at java.net.InetAddress.getLocalHost(InetAddress.java:1281)
            at com.sap.bc.krn.perf.PerfTimes.aixParseMacAddress(PerfTimes.java:943)
            at com.sap.bc.krn.perf.PerfTimes.getMacAddress(PerfTimes.java:390)
            at com.sap.bc.krn.perf.PerfTimes.getMacAddress(PerfTimes.java:211)
            at com.sap.tc.logging.UID.getnodeaddress(UID.java:301)
            at com.sap.tc.logging.UID.<clinit>(UID.java:57)
            at com.sap.tc.logging.GUId.toString(GUId.java:46)
            at java.lang.String.valueOf(String.java:2645)
            at java.lang.StringBuffer.append(StringBuffer.java:433)
            at com.sap.tc.logging.ListFormatter.format(ListFormatter.java:190)
            at com.sap.tc.logging.Log.writeInt(Log.java:803)
            at com.sap.tc.logging.Log.writeInternalByAPI(Log.java:876)
            at com.sap.tc.logging.LogController.writeToLogs(LogController.java:1279)
            at com.sap.tc.logging.LogController.messageInternal(LogController.java:1247)
            at com.sap.tc.logging.LogController.logTInt(LogController.java:998)
            at com.sap.tc.logging.LogController.logSeverityTInt(LogController.java:1030)
            at com.sap.tc.logging.Category.logT(Category.java:457)
            at com.sap.engine.core.configuration.impl.Logging.log(Logging.java:96)
            at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:201)
            at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
            at com.sap.engine.configtool.visual.ConfigTool.loadClusterData(ConfigTool.java:98)
            at com.sap.engine.configtool.visual.ConfigTool.initScan(ConfigTool.java:86)
            at com.sap.engine.configtool.visual.ConfigTool.<init>(ConfigTool.java:81)
            at com.sap.engine.configtool.visual.ConfigTool.main(ConfigTool.java:883)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Thanks for your help,
    Xavier

  • SQL Trace in SAP Manufacturing Execution Logging Configuration disappear

    Dears,
    We set it to trace the sql log, but it often disappear suddently.
    The log may as below for your referenct.
    Thanks!
    #2.0 #2011 04 01 16:15:13:836#+0800#Info#com.sap.me.trace#
    ##sap.com/meear#68B5996B863C332900000000000010A8#1859650000000004#sap.com/meear#com.sap.me.trace.VM#UMEUser#5922#SAP J2EE Engine JTA Transaction : [01c604207ffffffd85f]#FC6254555C3711E081A10000001C6042#24ac39ef5c3811e0bd410000001c6042#24ac39ef5c3811e0bd410000001c6042#0#Thread[HTTP Worker [@1423449306],5,Dedicated_Application_Thread]#Plain##
    [0] SELECT MODIFIED_DATE_TIME from WORKSTATION where HANDLE='WorkstationBO:FXM,S,POD_CARY' #
    #2.0 #2011 04 01 16:15:46:695#+0800#Error#com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment#
    #BC-ESI-WS-JAV-RT#webservices_lib#68B5996B863C332A00000001000010A8#1859650000000005#sap.com/me~ear#com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment#Guest#0##3975C02C5C3811E0A21E0000001C6042#3975c02c5c3811e0a21e0000001c6042#3975c02c5c3811e0a21e0000001c6042#0#Thread[HTTP Worker [@2101874070],5,Dedicated_Application_Thread]#Plain##
    process()
    [EXCEPTION]
    com.sap.engine.interfaces.webservices.runtime.ProtocolException: Authentication failed. For details see log entry logID=68B5996B863C332A00000000000010A8 in security log.
         at com.sap.engine.services.wssec.srt.protocols.ProviderSecurityProtocol.logThrowable(ProviderSecurityProtocol.java:1103)
         at com.sap.engine.services.wssec.srt.protocols.ProviderSecurityProtocol.afterDeserialization(ProviderSecurityProtocol.java:719)
         at com.sap.engine.services.webservices.espbase.server.runtime.ProtocolProcessor.protocolsAfterDeserialization(ProtocolProcessor.java:156)
         at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:439)
         at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:260)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:178)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWithLogging(ServletDispatcherImpl.java:114)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:72)
         at com.sap.engine.services.webservices.servlet.SOAPServletExt.doPost(SOAPServletExt.java:90)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81)
         at com.sap.me.webservice.ClearServiceContextFilter.doFilter(ClearServiceContextFilter.java:28)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:461)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:397)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:83)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:243)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
         at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:327)
    Caused by: com.sap.engine.services.wssec.policy.exception.VerifyException: [ASJ.wssec.020441] Authentication failed. For details see log entry logID=68B5996B863C332A00000000000010A8 in security log.
         at com.sap.engine.services.wssec.srt.protocols.ProviderSecurityProtocol.authenticate(ProviderSecurityProtocol.java:258)
         at com.sap.engine.services.wssec.srt.protocols.ProviderSecurityProtocol.afterDeserialization(ProviderSecurityProtocol.java:687)
         ... 47 more
    #2.0 #2011 04 01 16:15:46:773#+0800#Error#com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment#
    #BC-ESI-WS-JAV-RT#webservices_lib#68B5996B863C332C00000001000010A8#1859650000000005#sap.com/me~ear#com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment#Guest#0##3A404CDE5C3811E0CD230000001C6042#3a404cde5c3811e0cd230000001c6042#3a404cde5c3811e0cd230000001c6042#0#Thread[HTTP Worker [@909268645],5,Dedicated_Application_Thread]#Plain##
    process()
    [EXCEPTION]
    com.sap.engine.interfaces.webservices.runtime.ProtocolException: Authentication failed. For details see log entry logID=68B5996B863C332C00000000000010A8 in security log.
         at com.sap.engine.services.wssec.srt.protocols.ProviderSecurityProtocol.logThrowable(ProviderSecurityProtocol.java:1103)
         at com.sap.engine.services.wssec.srt.protocols.ProviderSecurityProtocol.afterDeserialization(ProviderSecurityProtocol.java:719)
         at com.sap.engine.services.webservices.espbase.server.runtime.ProtocolProcessor.protocolsAfterDeserialization(ProtocolProcessor.java:156)
         at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:439)
         at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:260)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:178)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWithLogging(ServletDispatcherImpl.java:114)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:72)
         at com.sap.engine.services.webservices.servlet.SOAPServletExt.doPost(SOAPServletExt.java:90)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:162)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:81)
         at com.sap.me.webservice.ClearServiceContextFilter.doFilter(ClearServiceContextFilter.java:28)
         at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:73)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:461)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:397)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:83)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:243)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
         at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
         at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
         at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:327)
    Caused by: com.sap.engine.services.wssec.policy.exception.VerifyException: [ASJ.wssec.020441] Authentication failed. For details see log entry logID=68B5996B863C332C00000000000010A8 in security log.
         at com.sap.engine.services.wssec.srt.protocols.ProviderSecurityProtocol.authenticate(ProviderSecurityProtocol.java:258)
         at com.sap.engine.services.wssec.srt.protocols.ProviderSecurityProtocol.afterDeserialization(ProviderSecurityProtocol.java:687)
         ... 47 more
    #2.0 #2011 04 01 16:15:46:836#+0800#Error#com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment#
    #BC-ESI-WS-JAV-RT#webservices_lib#68B5996B863C332E00000001000010A8#1859650000000005#sap.com/me~ear#com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment#Guest#0##3A5373A25C3811E0BEB70000001C6042#3a5373a25c3811e0beb70000001c6042#3a5373a25c3811e0beb70000001c6042#0#Thread[HTTP Worker [@1423449306],5,Dedicated_Application_Thread]#Plain##
    process()
    [EXCEPTION]
    com.sap.engine.interfaces.webservices.runtime.ProtocolException: Authentication failed. For details see log entry logID=68B5996B863C332E00000000000010A8 in security log.
         at com.sap.engine.services.wssec.srt.protocols.ProviderSecurityProtocol.logThrowable(ProviderSecurityProtocol.java:1103)
         at com.sap.engine.services.wssec.srt.protocols.ProviderSecurityProtocol.afterDeserialization(ProviderSecurityProtocol.java:719)
         at com.sap.engine.services.webservices.espbase.server.runtime.ProtocolProcessor.protocolsAfterDeserialization(ProtocolProcessor.java:156)
         at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:439)
         at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:260)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:178)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWithLogging(ServletDispatcherImpl.java:114)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:72)
         at com.sap.engine.services.webservices.servlet.SOAPServletExt.doPost(SOAPServletExt.java:90)
    Edited by: Ivan_liu_tw on Apr 1, 2011 10:30 AM

    Hello.
    I experienced initial version of WSRM but as I know.....
    Basically FSCM data is based on PI and WSRM is just kind of cover using web service.
    So you can see sync, async messages in tcode SXI_MONITOR even if WSRM configured.
    As you see when set up in SOAMANAGER, WSRM just cover web service on existing PI interface and it's transfered through bgRFC, scheduler, ICM etc... but PI interface architecture is still used and only PI server is not used.
    Hope it helps.

  • Force statement to use a given rule or execution plan

    Hi!
    We have a statement that in our production system takes 6-7 seconds to complete. The statement comes from our enterprise application's core code and we are not able to change the statement.
    When using a RULE-hint (SELECT /*+RULE*/ 0 pay_rec...........) for this statement, the execution time is down to 500 milliseconds.
    My question is: Is there any way to pin a execution plan to a given statement. I have started reading about outlines, which seems promising. However, the statement is not using bind-variables, and since this is core code in an enterprise application I cannot change that either. Is it possible to use outlines with such a statement?
    Additional information:
    When I remove all statistics for the involved tables, the query blows away in 500 ms.
    The table tran_info_types has 61 rows and is a stable table with few updates
    The table ab_tran_info has 1 717 439 records and is 62 MB in size.
    The table query_result has 777 015 records and is 216 MB in size. This table is constantly updated/insterted/deleted.
    The query below return 0 records as there is no hits in the table query_result.
    This is the statement:
    SELECT  /*+ALL_ROWS*/
           0 pay_rec, abi.tran_num, abi.type_id, abi.VALUE
      FROM ab_tran_info abi,
           tran_info_types ti,
           query_result qr1,
           query_result qr2
    WHERE abi.tran_num = qr1.query_result
       AND abi.type_id = qr2.query_result
       AND abi.type_id = ti.type_id
       AND ti.ins_or_tran = 0
       AND qr1.unique_id = 5334549
       AND qr2.unique_id = 5334550
    UNION ALL
    SELECT 1 pay_rec, abi.tran_num, abi.type_id, abi.VALUE
      FROM ab_tran_info abi,
           tran_info_types ti,
           query_result qr1,
           query_result qr2
    WHERE abi.tran_num = qr1.query_result
       AND abi.type_id = qr2.query_result
       AND abi.type_id = ti.type_id
       AND ti.ins_or_tran = 0
       AND qr1.unique_id = 5334551
       AND qr2.unique_id = 5334552;Here is the explain plan with statistics:
    Plan
    SELECT STATEMENT  HINT: ALL_ROWSCost: 900  Bytes: 82  Cardinality: 2                           
         15 UNION-ALL                      
              7 NESTED LOOPS  Cost: 450  Bytes: 41  Cardinality: 1                 
                   5 NESTED LOOPS  Cost: 449  Bytes: 1,787,940  Cardinality: 59,598            
                        3 NESTED LOOPS  Cost: 448  Bytes: 19,514,824  Cardinality: 1,027,096       
                             1 INDEX RANGE SCAN UNIQUE TRADEDB.TIT_DANIEL_2 Search Columns: 1  Cost: 1  Bytes: 155  Cardinality: 31 
                             2 INDEX RANGE SCAN UNIQUE TRADEDB.ATI_DANIEL_7 Search Columns: 1  Cost: 48  Bytes: 471,450  Cardinality: 33,675 
                        4 INDEX UNIQUE SCAN UNIQUE TRADEDB.QUERY_RESULT_INDEX Search Columns: 2  Bytes: 11  Cardinality: 1       
                   6 INDEX UNIQUE SCAN UNIQUE TRADEDB.QUERY_RESULT_INDEX Search Columns: 2  Bytes: 11  Cardinality: 1            
              14 NESTED LOOPS  Cost: 450  Bytes: 41  Cardinality: 1                 
                   12 NESTED LOOPS  Cost: 449  Bytes: 1,787,940  Cardinality: 59,598            
                        10 NESTED LOOPS  Cost: 448  Bytes: 19,514,824  Cardinality: 1,027,096       
                             8 INDEX RANGE SCAN UNIQUE TRADEDB.TIT_DANIEL_2 Search Columns: 1  Cost: 1  Bytes: 155  Cardinality: 31 
                             9 INDEX RANGE SCAN UNIQUE TRADEDB.ATI_DANIEL_7 Search Columns: 1  Cost: 48  Bytes: 471,450  Cardinality: 33,675 
                        11 INDEX UNIQUE SCAN UNIQUE TRADEDB.QUERY_RESULT_INDEX Search Columns: 2  Bytes: 11  Cardinality: 1       
                   13 INDEX UNIQUE SCAN UNIQUE TRADEDB.QUERY_RESULT_INDEX Search Columns: 2  Bytes: 11  Cardinality: 1            Here is the execution plan when I have removed all statistics (exec DBMS_STATS.DELETE_TABLE_STATS(.........,..........); )
    Plan
    SELECT STATEMENT  HINT: ALL_ROWSCost: 12  Bytes: 3,728  Cardinality: 16                           
         15 UNION-ALL                      
              7 NESTED LOOPS  Cost: 6  Bytes: 1,864  Cardinality: 8                 
                   5 NESTED LOOPS  Cost: 6  Bytes: 45,540  Cardinality: 220            
                        3 NESTED LOOPS  Cost: 6  Bytes: 1,145,187  Cardinality: 6,327       
                             1 TABLE ACCESS FULL TRADEDB.TRAN_INFO_TYPES Cost: 2  Bytes: 104  Cardinality: 4 
                             2 INDEX RANGE SCAN UNIQUE TRADEDB.ATI_DANIEL_6 Search Columns: 1  Cost: 1  Bytes: 239,785  Cardinality: 1,547 
                        4 INDEX UNIQUE SCAN UNIQUE TRADEDB.QUERY_RESULT_INDEX Search Columns: 2  Bytes: 26  Cardinality: 1       
                   6 INDEX UNIQUE SCAN UNIQUE TRADEDB.QUERY_RESULT_INDEX Search Columns: 2  Bytes: 26  Cardinality: 1            
              14 NESTED LOOPS  Cost: 6  Bytes: 1,864  Cardinality: 8                 
                   12 NESTED LOOPS  Cost: 6  Bytes: 45,540  Cardinality: 220            
                        10 NESTED LOOPS  Cost: 6  Bytes: 1,145,187  Cardinality: 6,327       
                             8 TABLE ACCESS FULL TRADEDB.TRAN_INFO_TYPES Cost: 2  Bytes: 104  Cardinality: 4 
                             9 INDEX RANGE SCAN UNIQUE TRADEDB.ATI_DANIEL_6 Search Columns: 1  Cost: 1  Bytes: 239,785  Cardinality: 1,547 
                        11 INDEX UNIQUE SCAN UNIQUE TRADEDB.QUERY_RESULT_INDEX Search Columns: 2  Bytes: 26  Cardinality: 1       
                   13 INDEX UNIQUE SCAN UNIQUE TRADEDB.QUERY_RESULT_INDEX Search Columns: 2  Bytes: 26  Cardinality: 1            Our Oracle 9.2 database is set up with ALL_ROWS.
    Outlines: http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96533/outlines.htm#13091
    Cursor sharing: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:3696883368520

    Hi!
    We are on Oracle 9iR2, running on 64-bit Linux.
    We are going to upgrade to Oracle 10gR2 in some months. Oracle 11g is not an option for us as our application is not certified by our vendor to run on that version.
    However, our performance problems are urgent so we are looking for a solution before we upgrade as we are not able to upgrade before we have done extensive testing which takes 2-3 months.
    We have more problem sql's than the one shown in this post. I am using the above SQL as a sample as I think we can solve many other slow running SQL's if we solve this one.
    Is the SQL Plan management an option on Oracle 9i and/or Oracle 10g?

Maybe you are looking for

  • SAP R/3 Upgradation - Enhancements and Exits

    Hi Friends, We have our R/3 upgradation in near future.  I need to find it out the below things. 1. The Standard Programs which are modified using Access  Keys. 2. The Programs/Transactions where User Exits activated.  Likewise Customer, Menu and Scr

  • To disable first row in a DataGrid

    Hi all, I have a data grid displaying 4 rows.In this data grid i want to make the first row alone disabled that is the first row should not be editable but the remaining rows should be editable.Can anyone please help me out in this issue. Thanks & Re

  • How can I always have popup windows appear on the same screen as PS?

    Hi, I'm hoping someone can help me out. I have 3 displays connected to my computer, 1 of which is a tablet screen I don't use all the time. (It gets disabled and put away when I turn on SLI for video gaming, or if I just dont need to draw anything at

  • IPhone 5 restore error (-1) after update attempt

    Cant restore my iphone 5 getting this error every time, tried with different macs and one win PC, changed the USB cable, stil no luck..anybody?

  • Left Justification of Currency Field

    how to left justify the currency field BETRG(PA0014) . By default its value is coming as Right Justified. Please suggest me. Regards vamsi.