Problem in running functions in different sessions together

Hi all,
*******************calling functions for invoice generation************
CALL FUNCTION 'ZFM_FTC_INV_CHECK_SES_REVOKE'
  CHANGING
    LT_INVOICING       =  LT_INVOICING
CALL FUNCTION 'DEQUEUE_ALL'
EXPORTING
  _SYNCHRON       = ' '
CALL FUNCTION 'ZFM_FTC_INV_SES_DELETE'
  CHANGING
    LT_INVOICING       = LT_INVOICING
CALL FUNCTION 'DEQUEUE_ALL'
EXPORTING
  _SYNCHRON       = ' '
CALL FUNCTION 'ZFM_FTC_INV_PO_CHANGE'
  CHANGING
    LT_INVOICING       = LT_INVOICING
CALL FUNCTION 'DEQUEUE_ALL'
EXPORTING
  _SYNCHRON       = ' '
CALL FUNCTION 'ZFM_FTC_INV_SES_CREATE'
  CHANGING
    LT_INVOICING       = LT_INVOICING
CALL FUNCTION 'DEQUEUE_ALL'
EXPORTING
  _SYNCHRON       = ' '
CALL FUNCTION 'ZFM_FTC_INV_SES_RELEASE'
  CHANGING
    LT_INVOICING       = LT_INVOICING
CALL FUNCTION 'DEQUEUE_ALL'
EXPORTING
  _SYNCHRON       = ' '
My problen is that,I am all these functions under one function,Now if i execute this function,I want all these functions to run sequentially executed which in result generate invoice..
when i even used 'dequeue_all',but it is not  working.It is something some message like this..
Express Document "Update was terminated" recieved from author SHARMAM
How to achieve the execution of all fms at same time under one FM,
Please help,
Thanks in advance,
Meena

Hi,
There is some error in the logic bcz of which mails are sent to ur id with the necessary details.
Goto transaction SBWP & check your inbox for further details of the error.
Best regards,
Prashant

Similar Messages

  • Different session used when calling stored procedure from form

    after commiting data in a form to a table, a stored procedure is called that inserts the data written to the table into several other tables. Some columns in the original table are updated - no commit is issued in the procedure. On returning from the procedure the form is re-queried but the updated columns don't contain the updates. This seems to imply that the stored procedure is running as a different session to the one of the form.
    Is this the case? Can we make the form and the stored procedure use the same session so that the data is available in both without having to commit in the procedure?

    No. They should be within one session unless you explicitly open a new session.
    The reason why you dont see updates of the data block when you requery is probably the changes on the form never go to the back end. I think first you have to make sure data changes go to db table. You can do a commit_form before calling the stored procedure and open up another session (e.g. sqlplus) to check the data in the table changed or not.

  • Problem scheduling procedure to run at 3 different times

    I created the following statement to have a simple procedure to run at 3 different time.
    repeat_interval => 'freq=DAILY; BYHOUR=12,13,14;',
    The job runs the moment I schedule it but I did not see it kick off at the other times.
    What did I do wrong and I check the time of the db
    The complete scheduling statement.
    begin
    Dbms_Scheduler.create_job(
    job_name => 'DEMO_HALL_TEST_SCHEDULE',
    job_type => 'STORED_PROCEDURE',
    job_action => 'HR.a_simple_subprogram',
    start_date      => SYSTIMESTAMP,
    repeat_interval => 'freq=DAILY; BYHOUR=12,13,14;',
    enabled => TRUE,
    comments => 'Demo for job schedule.');
    END;
    /PROCEDURE
    create or replace
    procedure a_simple_subprogram
    is
    begin
      null;
    end;

    Hi,
    you didn't set the minutes. So they are derived from the start date. Probably the job will start at some time between 12 and 13
    SQL> select job_name, start_date, next_run_date, repeat_interval from user_scheduler_jobs;
    JOB_NAME                       START_DATE                       NEXT_RUN_DATE                    REPEAT_INTERVAL
    DEMO_HALL_TEST_SCHEDULE        03.01.13 13:09:06,873025 +01:00  03.01.13 14:09:06,600000 +01:00  freq=DAILY; BYHOUR=12,13,14;
    DEMO_HALL_TEST_SCHEDULE_2      03.01.13 13:09:09,384254 +01:00  03.01.13 14:00:09,400000 +01:00  freq=DAILY; BYHOUR=12,13,14; byminute=0;Excerpt from Oracle® Database PL/SQL Packages and Types Reference, DBMS_SCHEDULER
    >
    Start Dates and Repeat Intervals The Scheduler retrieves the date and time from the job or schedule start date and incorporates them as defaults into the repeat_interval. For example, if the specified frequency is yearly and there is no BYMONTH or BYMONTHDAY clause in the repeat interval, then the month and day that the job runs on are retrieved from the start date. Similarly, if frequency is monthly but there is no BYMONTHDAY clause in the repeat interval, then the day of the month that the job runs on is retrieved from the start date. If present, BYHOUR, BYMINUTE, and BYSECOND defaults are also retrieved from the start date, and used if those clauses are not specified.

  • Transaction ME21n (Will not run as a BACKGROUND SESSION)

    The requirement is to generate Purchase Orders (Stock Transport Orders to be precise).
    The RFC has to create a session which will be executed...say...before midnight to generate the sto (TC -> SM35).
    I have used BDC inside my RFC calling the transaction ME21n. It runs fine as a foreground session, but will give a error if the session is run as a background session (Due to the dropdown lists in ME21n I guess).
    The solution I figured out is to use ME21. This does execute in the background successfully.
    But given the fact that ME21 is the OLD transaction and ME21n (enjoy sap transaction, right?) to be the one to be used now, my dilemma is in choosing ME21 and risk the scenario of this transaction being obsolete and not supported the SAP for technical support in the future.
    Can any body please help me on this.
    Thank you.
    Message was edited by: Sai Sanathan

    hello,
    with transaction VL10BATCH you can create new variants, and shedule background jobs. This should work.
    However, you need another user role. (on the last tab of the selection screen of VL10B)
    It is the F code profile you have to change. With this profile you can choose whether a list needs to be shown, or whether the deliveries have to be created right away (without showing the list). The second option should work in background. After delivery creation, you can check the   log using transaction V_SA.
    So you need to create a selection variant with changed user-role for the backround job.
    You can maintain user-roles via transaction VL10CUA.
    You can input-enable user-role via transaction VL10CUV.
    If you don't want the users to be able to run VL10B without showing the list, you have to create your own scenario, and use VL10X to start this scenario. Although this is not really necessary.
    I hope this makes things more clear for you.
    regards,
    Joris.
    Here is a copy of the OSS-note (310022) I was talking about:
    Symptom                                                                               
    o  For regular planning, you want to transfer the delivery creation
           in a job to the system administration. Here, you have           
           difficulties.                                                                               
    o  Background processing of Transaction VL10* does not generate    
           deliveries but only a list in the spool.                                                                               
    Additional key words                                                   
    VL10BATCH, VL10A, VL10B, VL10C, VL10D, VL10E                                                                               
    Cause and prerequisites                                                
    Solution                                                               
    For planning the delivery creation in background processing you must                                                                               
    o  activate a user role for immediate creation of deliveries (in the
           standard system, the immediate delivery creation is deactivated 
           for all user roles for reasons of safety),                                                                               
    o  create a selection variant for one of Transactions VL10*.                                                                               
    Activation of the user role for background processing                  
    The user role controls the entire processing of the delivery list.     
    Within Transactions VL10*, you can display and maintain the user role on
    the "User role" tab page. You can carry out the maintenance also via   
    Transaction VL10CUA. Note 301578 describes how to make a user role ready
    for input.                                                             
    An F-code profile is linked to the user role. The F-code profile       
    controls the internal process of the transaction. Two F-code profiles  
    are provided in the standard system:                                                                               
    o  0001 Display delivery list                                                                               
    o  5001 Supply delivery list                                                                               
    In the user role you want to use for background processing, you have to
    replace F-code profile (not "AllowedDialogFCodes") 0001 with profile   
    5001:                                                                               
    1.  Call Transaction VL10CUA for maintenance of the user roles.                                                                               
    2.  You might want to copy one of standard user roles 5001 to 5103 that
        is planned for processing in the background to a separate role in 
        the customer namespace, for example, 9001 or Z***.                                                                               
    3.  Branch to the detail view of the user role and change the entry for
        the F-code profile from "Display delivery list" to "Supply delivery
        list".                                                                               
    Creation of the selection variant                                                                               
    1.  Call the desired Transaction VL10* and branch to the "User role" ta
        page. Do not use Transaction SE38 or VL10BATCH for variant        
        maintenance of VL10*.                                                                               
    2.  Here, enter the user role that you have maintained for background 
        processing.                                                       
        Caution! If you use a user role with an F-code profile for the    
        immediate creation of deliveries, you receive no dialog with a    
        shipping due list but the deliveries are created immediately at the
        start of the selection!                                                                               
    3.  Enter the remaining selection criteria on the various other tab   
        pages.                                                                               
    4.  Select function "Goto -> Variants -> Save as variant..." and save 
        the selection criteria entered as a variant. You might classify the
        variant as "Only for background processing", in order to avoid a  
        start of the delivery creation in the dialog by mistake.                                                                               
    5.  Make sure that the objects of selection screen 1060 have been saved
        and that checkboxes "Save field without values" are not filled with
        all objects (in particular in Release 4.6B) for the desired       
        settings.                                                                               
    You can schedule the selection variant via Transaction VL10BATCH for  
    regular use in the batch.                                             
    And also the OSS-note (301578) about input-enabling user-role:
    SAP Note No. 301578                          22.08.2005           Page 1
    Number              301578                                              
    Version             4 from 08.05.2000                                   
    Status              Released for Customer                               
    Set on              08.05.2000                                                                               
    Language            EN                                                  
    Master language     DE                                                  
    Short text          VL10: Ready to input status of user role                                                                               
    Responsible         SAP AG                                              
    Component           LE-SHP-DL                                           
                        Delivery Processing                                 
    Long text                                                                               
    Symptom                                                                 
    On the selection screen of transaction family VL10*, the selection      
    criteria in the 'user role' tab are no longer ready for input of Release
    4.6C.                                                                               
    They are delivered in the standard SAP system not ready for input.                                                                               
    Additional key words                                                                               
    Cause and prerequisites                                                 
    As of Release 4.6C, the ready for input status in the 'user role' tab is
    linked to settings in the scenario and the user role.                                                                               
    1.  In order to get the ready for input status for the "Role" field, set
        "Allow assignment" to 'X' in the scenario that you are using        
        (Transaction VL10CUV or SM31, V_T186V, T186V-ALLOW_USER_ROLE = 'X').                                                                               
    The system administrator (Customizing authorization) can then       
        determine whether only the user role preset in the system is allowed
        or whether any number of other user roles may also be used for this 
        scenario.                                                                               
    2.  For the check box "Use list profile" and therefore all possible                                                                               
    settings for the "user role" tab, the ready for input status in the
        user role can be allowed in "Chang. attrbute" (changeability of the
        attributes).                                                       
        Set this field with Transaction VL10CUA for the used user role to  
        'X' (Transaction VL10CUA, or SM31, V_T186, t186-CHANGE_ALLOW = 'X').
    Background:                                                                               
    The settings in the scenario and user role have in the course of time  
    become so wide-ranging and far-reaching that an additional feature had 
    to be implemented: a system administrator must be able restrict the    
    changes by the end user at different levels .                                                                               
    You now have the option of determining for every user role whether that
    settings determined on the selection screen may be changed again.      
    You also have the option of determining in every scenario in which this
    user role is used whether the change is allowed for another user role.                                                                               
    In the context of the fixed link of the scenario to a transaction and  
    therefore to the authorization concept of mySAP.com - user-roles can be
    controlled at user level - whether the settings for the user role tab of
    the selection screen of VL10* may be changed by a user or not.                                                                               
    Solution                                                               
    Maintain setting in scenario (VL10CUV) and user role (VL10CU)          
    (Customizing authorization required).

  • Same functions with different return types in C++

    Normally the following two functions would be considered the same:
    int getdata ( char *s, int i )
    long getdata ( char *s, int i )
    Every other compiler we use would resolve both of these to the same function. In fact, it is not valid C++ code otherwise.
    We include some 3rd party source in our build which sometimes messes with our typedefs causing this to happen. We have accounted for all of the function input types but never had a problem with the return types. I just installed Sun ONE Studio 8, Compiler Collection and it is generating two symbols in our libraries every time this occurs.
    Is there a compiler flag I can use to stop it from doing this? I've got over 100 unresolved symbols and I'd rather not go and fix all of them if there is an easier way.

    Normally the following two functions would be
    considered the same:
    int getdata ( char *s, int i )
    long getdata ( char *s, int i )Not at all. Types int and long are different types, even if they are implemented the same way.
    Reference: C++ Standard, section 3.9.1 paragraph 10.
    For example, you can define two functions
    void foo(int);
    void foo(long);
    and they are distinct functions. The function that gets called depends on function overload resolution at the point of the call.
    Overloaded functions must differ in the number or the type of at least one parameter. They cannot differ only in the return type. A program that declares or defines two functions that differ only in their return types is invalid and has undefined behavior. Reference: C++ Standard section 13.1, paragraph 2.
    The usual way to implement overloaded functions is to encode the scope and the parameter types, and maybe the return type, and attach the encoding to the function name. This technique is known as "name mangling". The compiler generates the same mangled name for the declaration and definition of a given function, and different mangled names for different functions. The linker matches up the mangled names, and can tell you when no definition matches a reference.
    Some compilers choose not to include the return type in the mangled name of a function. In that case, the declaration
    int foo(char*);
    will match the definition
    long foo(char*) { ... }
    But it will also match the definitions
    myClass foo(char*) { ... }
    double foo(char*) { ... }
    You are unlikely to get good results from such a mismatch. For that reason, and because a pointer-to-function must encode the function return type, Sun C++ always encodes the function return type in the mangled name. (That is, we simplify things by not using different encodings for the same function type.)
    If you built your code for a 64-bit platform, it would presumably link using your other compilers, but would fail in mysterious ways at run time. With the Sun compiler, you can't get into that mess.
    To make your program valid, you will have to ensure your function declarations match their definitions.

  • Scarey problem when running anything in 3D mode

    Hi,
    I own a MSI KT4 Ultra motherboard, have done for years and it worked flawlessly with my Voodoo3 3000 PCI graphics card. However, a while ago I retired the old beast in favour of a (then new) Nvidia FX 5950 Ultra AGP card. After a while, I noticed a very scarey problem when running any 3D applications...
    The first time I noticed it happening, I was playing Max Payne 2. The game suddenly went very slow, then the machine suddenly powered off (as if I pulled the power plug). I was unable to get it to restart, and eventually traced the problem back to my PSU, or so I thought...
    So, with a new PSU, I was okay for about a month, when it happened again, different game this time. So I promptly brought yet another PSU.
    Now with this PSU, when the system powers off in that scarey fashion it does, the computer actually re-starts when I pull the power cable out, count to 30, and put it back in again. Yet this PSU is a mear 300w (the others were 400w and 550w).
    Now the really scarey thing is that it's happening a whole lot more now. Even in 3D screensavers! When I played UT2004 this morning, it happened before I could even start a game! It seems that *any* 3D app causes this problem. It's very scarey seeing your computer shut down in this way.
    I tried re-setting the BIOS to 'safe' settings. However, if anything, it made the problem worse!
    I've noticed this behaviour in both Windows XP and Linux.
    Specs I think would be usefull:
    Athlon XP 2600+
    NVidia FX 5950 Ultra
    2 HDs
    1 CD-Rom
    Lots of fans (still runs hotter than I'd like, but is stable).
    Any help would be appeciated
    -Ribs.

    Hi,
    Spoke too soon  , right after I made that post, my machine crashed and rebooted in the most awfull fashion whilst playing Enemy Territory.
    I have a feeling it could be to do with how hard the hardware is being pushed. As UT2004 nearly always breaks, and pushes the hardware a lot harder than Enemy Territory does (Enemy Territory worked on my old Voodoo3 3000 PCI!). I can usually play a good session of Enemy territory and get bored of the game so I quit without doing a restart.
    I've still yet to get a new PSU (money is tight at the moment). I'll be able to get a new one soon. Any suggestions on a uber-powerfull one that couldn't possibly be underpowered? Preferably with two fans (inside and out) with a passthrough for my monitor.
    Thanks.
    -Ribs.

  • Use of SAP memory to transfer data between two different sessions.

    Hello experts,
    I wish to know how to use SAP memory to transfer data between two different sessions.
    The scenario is that when I run a report and change a variable, the value of changed variable should be availabe to another user on another terminal.
    Thanks & Regards!
    Sumit

    Hello,
    Just to add what Max has already mentioned. IMPORT TO / EXPORT FROM DATABASE statements can be used to store data in special "cluster" tables (you can't use any DDIC table) e.g., INDX.
    @OP: You can opt for Shared Memory(SHM) for this specific requirement as well. In my opinion SHM is a bit tricky to code, but it is easier to monitor. The opposite holds true for "data clusters".
    You should remember SHM is app-server specific. So if you've a load balancing scenario, using SHM can cause problems.
    Hope i'm clear.
    BR,
    Suhas
    Edited by: Suhas Saha on Nov 19, 2010 4:12 PM

  • Same query different timings , different sessions at the same time

    I am running exactly the same query from 2 different sessions almost simultaneously and in one session it is taking 2 seconds and in the other it is taking 20 seconds. The explain plans in both the sessions (by set autotrace on) are exactly the same. The timing is almost same for succesive runs of the query in the same sessions. That is when I run the query again in the "slow session" it is always around 20 seconds and when I run the query again in the "fast session" it is always fast. The queries are being run within a few seconds of each other so the load on the database is almost same.
    My hunch is that it is a database parameter that needs to be changed to solve this problem, can someone guide me with this ....which parameters I should ask our DBAs to adjust ? Our database is Oracle 10G.
    Regards
    Amitabha

    Duplicate thread
    Same query different timings , different sessions at the same time
    Gints Plivna
    http://www.gplivna.eu

  • Different sessions for multiple jobs?

    Will different jobs run with different sessions or one session?

    Ravi,
    I am seeing different jobs cycling through the same set of session ids. For example, if a single job is running, it usually has 258 but then a subsequent job typically has 310. These are different jobs executed at different times.
    Is this due to some sort of connection pooling? I am just trying to understand it because I am considering using the session id to distinguish job runs but if the same session could be reused, I might have a problem.
    Thanks,
    Dianna

  • [OBSOLET]Automatically logging in different sessions in KDM via kdmctl

    I recently found comfort in KDE, so I try to use KDM on my mediacenter to manage both, a KDE session, as well as an XBMC session.
    What I want to do: Log in as $USER on two different sessions, one with XBMC and one with the KDE desktop automatically on boot without the need to provide a password.
    After playing a bit with the control center, I came as far as automatically logging in a user and/or allowing a user a passwordless login. This is a good first step. I cannot, however, find a way to define the session it should use, the control center setting for auto login will always use the default session (which is the last session I manually logged in to). There is no way to configure multiple sessions at once in the controlcenter.
    So I looked for cli tools and discovered kdmctl. It has a number of features, for example will "kdmctl activate :1" jump to the display :1. Another step closer to my goal is "kdmctl reserve", which opens a new login prompt on the next free $DISPLAY. Now it seems like kdmctl is very session-sensitive. I need root access to call it from a tty, while a normal user is sufficient inside a KDM managed X session. Calling kdmctl in a tty will give me more options, than calling it in X, even with sudo. Upon "# kdmctl" in a tty, I can see resume, manage and login options, which are not there in a KDE session.
    What I have so far:
    1. I can use the KDE control center to log in a user automatically on :0, but I cannot specify the session (Plasma, XBMC, etc.).
    2. I can run "# kdmctl reserve" to create a new login prompt at :1
    3. I can login to :1 by issuing "# kdmctl login :1 now USERNAME PASSWORD", but only from a tty (which would be sufficient, as I intend to write a systemd unit).
    What I cannot do:
    1. I cannot specify the session. I have found http://docs.kde.org/stable/de/kde-works … opics.html, but it is not really helpful. It says I need "[session_arguments]" in the "format of printf specified .dmrc". I assume this is how I could specify my session, but I cannot find any documentation. Maybe I'm using the wrong keywords. There is neither a man page for kdmrc nor for dmrc. This is what I'd like to have some help with.
    EDIT: It's not actually solved but has become obsolete. KDE4 is fading away and, according to the wiki, KDE5/plasma5 prefers SDDM. Besides that, I stopped using KDE, stopped switching sessions, stopped working on this a long time ago.
    Last edited by Awebb (2015-03-29 11:55:33)

    Anybody any clues?
    -Mahendra.

  • Maintaining different sessions in browser tabs in ADF 11g application

    I have a simple ADF 11g application which uses ADF BC 11g.
    I want to maintain different sessions between the tabs in the same browser.
    Currently it is messing up with session variables. Please reply to me ASAP.
    Thanks,
    Bobby
    Edited by: 866444 on Jun 16, 2011 11:35 AM

    Assuming you are having problems because of the usage of JSF Session scope beans, then the answer is to use pageFlowScope for that set of data - then it is not shared between tabs.

  • How can I read published data from a datasocket server running in a different network?

    Hi all,
    I have been trying to solve this problem but without any success. I want to develop data acquisition Vi to run on a computer on a remote location. I want to use the datasocket technology to acquire and publish this data so that in my office (in a different network), I can read the published data and perform analysis with it. I can successfully use this approach for the two computers in the same network but not when they are in different networks. My real problem is how to specify the URL for the acquisition computer in one network while the analysis Vi runs on a different network.
    I have attached two Vis to illustrate my point (I simply want to be able to read the random numbers generated in the acquisition computer in a different network). The first Vi (RemoteDatasocketWrite.vi) will run on the remote computer with an IP address (192.168.0.110). My office computer on which RemoteDatasocketRead.vi runs has an IP address (192.168.0.11) and I can log in remotely into the remote computer using Remote Desktop Protocol with name (emelvin.001.eairlink.com) from my office computer.
     Is it possible to do what I am trying to do or is there a simpler way to solve this problem?
    I will really appreciate any help towards a solution to this problem.
    Thanks
    Attachments:
    RemoteDatasocketWrite.vi ‏9 KB
    RemoteDatasocketRead.vi ‏9 KB

    Are you getting an error? The way you have it set up, you can have an error and it will never be displayed. Put and error control on your front panel and see what it gives you. Also, shared variables in a project can be useful. Look at some examples for that.

  • Keyboard Problem while running Swing App on LINUX

    Hi All,
    We have a Swing based Application running on Windows Platform. We need to run the Application on LINUX. The Application does not have any problem and runs without problems for a few minutes but after that the keyboard stops to respond inside the application. Keyboard runs fine outside the application but no key events are recognized inside the application. Mouse is working fine even after the keyboard stops responding.
    Key Points:
    �     The keyboard is a PS/2 keyboard.
    �     Read Hat Fedora 5.0 is being used.
    �     The problems occur on both KDE and GNONE.
    �     The Java Version is jdk1.5.0_09
    The application is data entry application using EJB at server side. The client UI has lot of JTables and Desktop Panes/ Internal Frames. User use ctrl+tab, ctrl+shift+tab, tab, shift+tab, and other hot keys to navigate between Components. Listeners on keyboard Focus Owner are also used. We are unable to diagnose the problem because of the undeterminable nature of the problem. The problem occurs at anytime and does not occur on any special key/ combinations press.
    Thanks and Regards,
    Nishant Saini
    http://www.simplyjava.com

    I've just installed the JDK 1.4 on my debian box. I
    can compile and run a basic Hello World app using
    System.println, but when I try to run a simple swing
    app, I get an error like:
    Exception in thread "main"
    java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.... etc, etc.
    It goes on with about 30 different classes. It
    compiles fine, with no errors, but when it comes time
    to run, that's what I get. This is what I have in my
    .bash_profile as far as environment variables go:
    export JAVA_HOME="/usr/local/j2sdk1.4.1_01"
    export PATH="$JAVA_HOME/BIN:$PATH"
    export
    CLASSPATH="$JAVA_HOME/jre/lib/:$JAVA_HOME/lib:."The code works fine in Windows, so unless there's
    something platform-specific, I don't think there's a
    problem there. I've checked to make sure I'm not
    running kaffe by accident and I'm definitely running
    the right java and javac. I'm out of ideas. Any
    suggestions would be greatly appreciated.
    -dudley
    I may just be crazy, but your PATH looks a little screwy to me. I was under the impression that the standard java installation has its executables in the 'bin' directory, not the 'BIN' directory. Unless Debian has fallen to the evil empire, then I'm fairly sure file names are case-sensitive. I don't know if that will fix your problem though. Do you compile from the command line, or do you use an IDE???

  • Hi Experts , I am currently facing problems while running restricted version copy .. The log says 0 location products copied and that the process has has timed out. the error message is /SAPAPO/MVM_INT_SVC_CO_VER_LCW reported exception in task DP00014, th

    Hi Experts , I am currently facing problems while running restricted version copy in sap apo .. The log says 0 location products copied and that the process has timed out. the error message is " /SAPAPO/MVM_INT_SVC_CO_VER_LCW reported exception in task DP00014 " , then ending in time limit exceeded. could anyone explain why this happens. please note even if the log says 0 location products copied , in reality they have have been partially copied.
    Regards
    Jerel

    Hi, thank you for your replies, I found out few things about my servlet, and its portability
    and i have few questions, although i marked this topic as answered i guess its ok to post
    I am using javax.servlet.context.tempdir to store my files in that servletcontext temporary directory. But i dont know how to give hyperlink
    of the modified files to the user for them to download the modified files.
    What i am using to get the tempdir i will paste
    File baseurl = (File)this.getServletContext().getAttribute("javax.servlet.context.tempdir");
    System.out.println(baseurl);
    baseurl = new File(baseurl.getAbsolutePath()+File.separator+"temp"+File.separator+"files");
    baseurl.mkdirs();so i am storing my files in that temp/files folder and the servlet processes them and modifies them, then how to present them as
    links to the user for download ?
    and as the servlet is multithreaded by nature, if my servlet gets 2 different requests with same file names, i guess one of them will be overwritten
    And i want to create unique directory for each request made to the servlet , so file names dont clash.
    one another thing is that i want my servlet to be executed by my <form action> only, I dont want the user to simply type url and trigger the servlet
    Reply A.S.A.P. please..
    Thanks and regards,
    Mihir Pandya

  • Problem while running client program in Netbeans4.0

    Hi,
    I am facing the following problem while running a client program in Nebeans4.0.
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x7C9012B4
    Function=RtlInitAnsiString+0x1B
    Library=C:\WINDOWS\system32\ntdll.dll
    Current Java thread:
    at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
    at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:770)
    at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1059)
    at java.net.InetAddress.getAllByName0(InetAddress.java:1009)
    at java.net.InetAddress.getAllByName0(InetAddress.java:981)
    at java.net.InetAddress.getAllByName(InetAddress.java:975)
    at weblogic.rjvm.RJVMFinder.getDnsEntries(RJVMFinder.java:370)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:181)
    - locked <0x1007ff78> (a weblogic.rjvm.RJVMFinder)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:125)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:291)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:234)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at AcfClient.getHomeRef(AcfClient.java:73)
    at AcfClient.forceSession(AcfClient.java:43)
    at AcfClient.main(AcfClient.java:34)
    Dynamic libraries:
    0x00400000 - 0x00406000      C:\Data\j2sdk1.4.2_04\jre\bin\java.exe
    0x7C900000 - 0x7C9B0000      C:\WINDOWS\system32\ntdll.dll
    0x7C800000 - 0x7C8F4000      C:\WINDOWS\system32\kernel32.dll
    0x77DD0000 - 0x77E6B000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77E70000 - 0x77F01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77C10000 - 0x77C68000      C:\WINDOWS\system32\MSVCRT.dll
    0x08000000 - 0x08138000      C:\Data\j2sdk1.4.2_04\jre\bin\client\jvm.dll
    0x77D40000 - 0x77DD0000      C:\WINDOWS\system32\USER32.dll
    0x77F10000 - 0x77F56000      C:\WINDOWS\system32\GDI32.dll
    0x76B40000 - 0x76B6D000      C:\WINDOWS\system32\WINMM.dll
    0x6BD00000 - 0x6BD0D000      C:\WINDOWS\system32\SYNCOR11.DLL
    0x10000000 - 0x10007000      C:\Data\j2sdk1.4.2_04\jre\bin\hpi.dll
    0x00390000 - 0x0039E000      C:\Data\j2sdk1.4.2_04\jre\bin\verify.dll
    0x003B0000 - 0x003C9000      C:\Data\j2sdk1.4.2_04\jre\bin\java.dll
    0x003D0000 - 0x003DD000      C:\Data\j2sdk1.4.2_04\jre\bin\zip.dll
    0x02DA0000 - 0x02DAF000      C:\Data\j2sdk1.4.2_04\jre\bin\net.dll
    0x71AB0000 - 0x71AC7000      C:\WINDOWS\system32\WS2_32.dll
    0x71AA0000 - 0x71AA8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71A50000 - 0x71A8F000      C:\WINDOWS\System32\mswsock.dll
    0x76F20000 - 0x76F47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76FB0000 - 0x76FB8000      C:\WINDOWS\System32\winrnr.dll
    0x76F60000 - 0x76F8C000      C:\WINDOWS\system32\WLDAP32.dll
    0x66210000 - 0x66219000      C:\WINDOWS\system32\netware\NWWS2NDS.DLL
    0x50D50000 - 0x50D95000      C:\WINDOWS\system32\NETWIN32.DLL
    0x50D00000 - 0x50D15000      C:\WINDOWS\system32\CLNWIN32.DLL
    0x50DF0000 - 0x50E10000      C:\WINDOWS\system32\LOCWIN32.DLL
    0x50DB0000 - 0x50DD9000      C:\WINDOWS\system32\NCPWIN32.dll
    0x71AD0000 - 0x71AD9000      C:\WINDOWS\system32\WSOCK32.dll
    0x66220000 - 0x6622C000      C:\WINDOWS\system32\netware\NWWS2SLP.DLL
    0x1C000000 - 0x1C007000      C:\WINDOWS\system32\NWSRVLOC.dll
    0x76C90000 - 0x76CB8000      C:\WINDOWS\system32\imagehlp.dll
    0x59A60000 - 0x59B01000      C:\WINDOWS\system32\DBGHELP.dll
    0x77C00000 - 0x77C08000      C:\WINDOWS\system32\VERSION.dll
    0x76BF0000 - 0x76BFB000      C:\WINDOWS\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 497K [0x10010000, 0x100b0000, 0x104f0000)
    eden space 512K, 89% used [0x10010000, 0x10083158, 0x10090000)
    from space 64K, 57% used [0x100a0000, 0x100a9478, 0x100b0000)
    to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
    tenured generation total 1408K, used 129K [0x104f0000, 0x10650000, 0x14010000)
    the space 1408K, 9% used [0x104f0000, 0x10510438, 0x10510600, 0x10650000)
    compacting perm gen total 4096K, used 2122K [0x14010000, 0x14410000, 0x18010000)
    the space 4096K, 51% used [0x14010000, 0x14222828, 0x14222a00, 0x14410000)
    Local Time = Fri Aug 26 10:26:03 2005
    Elapsed Time = 2
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode)
    # An error report file has been saved as hs_err_pid1280.log.
    # Please refer to the file for further information.
    Can anyone pls let me know what could be the problem.
    Thanks in adv.

    Hi,
    This type of error
    java.lang.NoClassDefFoundError: javax/naming/Context
    will occur when the client program could not able to locate lib/j2EE.jar file.
    So set the classpath correctly and make sure that you have correctly defined the JAVA_HOME environment variable in .bat script.
    Hope this will help you.
    Regards,
    Anil.
    Technical Support Engineer.

Maybe you are looking for