ImportJavaDump was executed with status ERROR .

Hi
I am installing SAP Netweaver 2004s on AIX with MAXDB.
To generate solution manager key , I started installation of Solution Manager 4.0 on AIX.
I am getting error log as below:
ERROR 2007-03-03 13:37:04
FCO-00011 The step importJavaDump with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_Jload|ind|ind|ind|ind|9|0|importJavaDump was executed with status ERROR .
Please help.

Hi
This is more a JVM problem.
You should download the appropriate JDK (from Sun site) required for your hardware.. and retry after updating the $PATH variable...
Check the SAP note
Note 941595 - Download J2SE 1.4.2 for the x64 platform
Hope this helps
Cheers
Senthil

Similar Messages

  • StartJAVA was executed with status ERROR

    Hi People.
    I am installing SAP Netweaver 7.0 SR3 AS JAVA, in Linux RH5 with Oracle 10 and JAVA 1.4.2 IBM.
    The problem in the installation is when I tried to install the CI. The installation fail when tried to start de JAVA VM.
    The LOG DEV_DISPATCHER is:
    [Thr 1123465536] Wed Nov 11 12:08:32 2009
    [Thr 1123465536] JLaunchISetState: change state from [Starting (2)] to [Stopped (6)]
    </verbosegc>
    [Thr 1111980352] JLaunchIExitJava: exit hook is called (rc = 0)
    [Thr 1111980352] SigISetIgnoreAction : SIG_IGN for signal 17
    [Thr 1111980352] JLaunchCloseProgram: good bye (exitcode = 0)
    DEV_SERVER0:
    JHVM_BuildArgumentList: main method arguments of node [server0]
    [Thr 1081338176] Wed Nov 11 12:08:30 2009
    [Thr 1081338176] JLaunchRequestFunc: receive command:17, argument:0 from pid:30225
    [Thr 1081338176] JLaunchIShutdownInvoke: set shutdown interval (stop:1257952110/end:1257952230/TO:120)
    [Thr 1081338176] JLaunchProcessCommand: Invoke VM Shutdown
    [Thr 1081338176] JHVM_FrameworkShutdownDirect: invoke direct shutdown
    </verbosegc>
    [Thr 1108367680] JLaunchIExitJava: exit hook is called (rc = 999)
    [Thr 1108367680] **********************************************************************
    ERROR => The Java VM terminated with a non-zero exit code.
    Please see SAP Note 943602 , section 'J2EE Engine exit codes'
    for additional information and trouble shooting.
    [Thr 1108367680] SigISetIgnoreAction : SIG_IGN for signal 17
    [Thr 1108367680] JLaunchCloseProgram: good bye (exitcode = 999)
    And the log of Installation is:
    TRACE      2009-11-11 12:08:12.823 [syuxctask.cpp:1382]
               CSyTaskImpl::start(bool)
    A child process has been started. Pid = 4037
    ERROR      2009-11-11 12:08:13.873 [sixxcstepexecute.cpp:951]
    FCO-00011  The step startJava with step key |NW_Java_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|12|0|NW_CI_Instance_StartJava|ind|ind|ind|ind|5|0|startJava was executed with status ERROR .
    Somebody Help me?
    Thanks...

    Hi.
    The sapinst.log is:
    INFO 2009-11-11 17:29:49.025
    State of instance EPP/JC01 changed from Java: (dispatcher: STARTING, server0: STARTING) to Java: (dispatcher: STARTING, server0: STARTING).
    ERROR 2009-11-11 17:29:49.027
    CJS-30153  Java process dispatcher of instance EPP/JC01 reached state UNKNOWN after having state STARTING. Giving up.
    ERROR 2009-11-11 17:29:49.755
    FCO-00011  The step startJava with step key |NW_Java_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|12|0|NW_CI_Instance_StartJava|ind|ind|ind|ind|5|0|startJava was executed with status ERROR ( Last error reported by the step :Java process dispatcher of instance EPP/JC01 reached state UNKNOWN after having state STARTING. Giving up.).
    Tha sapinst_dev.log is:
    TRACE      2009-11-11 17:29:49.027
    Function setMessageIdOfExceptionMessage: nw.progress.startupProcessFailed
    ERROR      2009-11-11 17:29:49.027
               CJSlibModule::writeError_impl()
    CJS-30153  Java process dispatcher of instance EPP/JC01 reached state UNKNOWN after having state STARTING. Giving up.
    TRACE      2009-11-11 17:29:49.28 [iaxxejsbas.hpp:483]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    TRACE      2009-11-11 17:29:49.142 [syuxctask.cpp:1382]
               CSyTaskImpl::start(bool)
    A child process has been started. Pid = 25736
    TRACE      2009-11-11 17:29:49.265 [syuxctask.cpp:1382]
               CSyTaskImpl::start(bool)
    A child process has been started. Pid = 25737
    ERROR      2009-11-11 17:29:49.755 [sixxcstepexecute.cpp:951]
    FCO-00011  The step startJava with step key |NW_Java_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|12|0|NW_CI_Instance_StartJava|ind|ind|ind|ind|5|0|startJava was executed with status ERROR ( Last error reported by the step :Java process dispatcher of instance EPP/JC01 reached state UNKNOWN after having state STARTING. Giving up.).
    TRACE      2009-11-11 17:29:49.767 [iaxxgenimp.cpp:752]
                CGuiEngineImp::showMessageBox
    TRACE      2009-11-11 17:29:49.767 [iaxxgenimp.cpp:1255]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    The others logs are attached in the first Post.
    The phase of the error is in StartUP Java VM, before of the installation of Java Components.
    Thanks a lot.
    Edited by: Esteban Gutierrez E. on Nov 12, 2009 1:38 PM

  • System Refresh SAPINST.exe error ExeProcs was executed with status Error

    Hi Everyone,
                         As part of system refresh, our QA ECC is restored with Production Data backup. In this process, sapinst.exe is executed to perform homogeneous system copy steps. This process is being terminated with error at the step *"Create SAP stored procedures"*.
    The error being displayed is as follows:
    An error occurred while processing option SAP Toools for MS SQL Server > Database Copy Completion( Last error reported by the step: Errors when executing sql command: [Microsoft][ODBC SQL Server Driver][SQL Server]The specified @job_name ('SAP CCMS_qpe_QPE_Update_Tabstats') does not exist.
    SOLUTION: If this message is displayed as a warning, you can ignore it. If this is an error, contact SAP support.
    ). You can now:
    Choose Retry to repeat the current step.
    Choose View Log to get more information about the error.
    Stop the option and continue with it later.
    Log files are written to C:\Program Files/sapinst_instdir/MSS/CPY.
    sapinst.log file contains following information:
    INFO 2010-11-06 17:40:30
    Copied file 'C:/Program Files/sapinst_instdir/ERP/LM/COPY/MSS/SYSTEM/DISTRIBUTED/AS-ABAP/DB/inifile.xml' to 'C:/Program Files/sapinst_instdir/ERP/LM/COPY/MSS/SYSTEM/DISTRIBUTED/AS-ABAP/DB/inifile.4.xml'.
    INFO 2010-11-06 17:40:30
    Copied file 'C:/Program Files/sapinst_instdir/ERP/LM/COPY/MSS/SYSTEM/DISTRIBUTED/AS-ABAP/DB/inifile.xml' to 'C:/Program Files/sapinst_instdir/ERP/LM/COPY/MSS/SYSTEM/DISTRIBUTED/AS-ABAP/DB/inifile.5.xml'.
    INFO 2010-11-06 17:40:31
    Execute step
    Component  W2K_ServicePack_Check|ind|ind|ind|ind
    Preprocess  of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_First_Steps|ind|ind|ind|ind|0|0|W2K_ServicePack_Check|ind|ind|ind|ind|2|0.
    INFO 2010-11-06 17:40:41
    Copied file 'C:/Program Files/sapinst_instdir/ERP/LM/COPY/MSS/SYSTEM/DISTRIBUTED/AS-ABAP/DB/keydb.xml' to 'C:/Program Files/sapinst_instdir/ERP/LM/COPY/MSS/SYSTEM/DISTRIBUTED/AS-ABAP/DB/keydb.3.xml'.
    INFO 2010-11-06 17:40:41
    Execute step ExeProcs of component |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSysCopy|ind|ind|ind|ind|10|0|MssProcs|ind|ind|ind|ind|4|0.
    ERROR 2010-11-06 17:40:58
    FCO-00011  The step ExeProcs with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_MSS_DB|ind|ind|ind|ind|2|0|MssSysCopy|ind|ind|ind|ind|10|0|MssProcs|ind|ind|ind|ind|4|0|ExeProcs was executed with status ERROR .
    Our Environment details:
    SAP Version : ECC6
    OS                 : Microsoft windows server 2003
    DB                 : Microsoft SQL Server         2005.
    Can some please guide me in debugging this issue. Your help is highly appreciated.
    Thanks a lot in advance.
    Kind Regards,
    Bharani.

    Hi Satya,
                 Thank you for the reply. QA in our landsacpe was in use since 2008. Serveral times system refresh is carried out on our QA with production data but never came accross this issue.
                 Usually if the SAPINST.exe run is successfull, temperory licence will be installed and we will be allowed to login into the sytem with our user names normally and carry out post installation steps.
                 As the SAPISNT.exe is being terminated, temperory license is not being installed and we got to work around by including parameter to allow default sap* userid and password to login and install license and carry on with the post installation steps. To be frank this issue is not really a show stopper, but there seems to be an issue that is to be resolved.
    Thank you,
    Kind Regards,
    Bharani.

  • Adopmnctl.sh script is executing with status 2

    while starting oracle EBS 12R the script adopmnctl.sh is executing with status 2

    Hi,
    What is the OS?
    Was this working before? Any changes have been done recently?
    Please post the complete error message from the startup script log file.
    Also, please run AutoConfig and see if it completes successfully or not.
    Thanks,
    Hussein

  • I was recently prompted to update my Itunes player to the latest version. I'm using Windows Vista. I was left with an error message MSVCR80.dll and consequently no new update. I uninstalled the old version and have tried to reinstall manually. No luck

    I was recently prompted to update my Itunes player to the latest version. I'm using Windows Vista. I was left with an error message MSVCR80.dll and consequently no new update. I uninstalled the old version and have tried to reinstall manually several times. No luck. Consequently I have no player.
    Any ideas for a fix?

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Invalid state in SQL query for a function that was created with no errors.

    SQL> CREATE OR REPLACE FUNCTION overlap(in_start1 IN TIMESTAMP, in_end1 IN TIMESTAMP, in_start2 IN TIMESTAMP, in_end2 IN TIMESTAMP) RETURN NUMBER
    2 IS
    3
    4 BEGIN
    5 IF (in_start1 BETWEEN in_start2 AND in_end2 OR in_end1 BETWEEN in_start2 AND in_end2 OR in_start2 BETWEEN in_start1 AND in_end1) THEN
    6 RETURN 0;
    7 ELSE
    8 RETURN 1;
    9 END IF;
    10 END;
    11 /
    Function created.
    SQL> show errors;
    No errors.
    SQL>
    SQL> SELECT * FROM tbl where overlaps(current_time,current_time+1,current_time-1,current_time+2) = 0;
    SELECT * FROM tbl where overlaps(current_time,current_time+1,current_time-1,current_time+2) = 0
    ERROR at line 1:
    ORA-06575: Package or function OVERLAPS is in an invalid state
    I do not understand why overlaps is returned as in invalid state in the query, when it was created with no errors earlier. Could anyone help me?

    Marius
    Looking at the logic you are trying to create it looks like you are looking for overlapping time periods.
    Consider two date/time ranges:
    Range 1 : T1 - T2
    Range 2 : T3 - T4
    Do they overlap?
    1) No: T1 < T4 (TRUE)  T2 > T3 (FALSE)
    T1 --- T2
               T3 --- T4
    2) Yes: T1 < T4 (TRUE)  T2 > T3 (TRUE)
    T1 ---------- T2
               T3 --- T4
    3) Yes: T1 < T4 (TRUE)  T2 > T3 (TRUE)
    T1 -------------------- T2
               T3 --- T4
    4) Yes: T1 < T4 (TRUE)  T2 > T3 (TRUE)
                   T1 ----- T2
               T3 --- T4
    5) Yes: T1 < T4 (TRUE)  T2 > T3 (TRUE)
               T1 --- T2
           T3 ------------ T4
    5) No: T1 < T4 (FALSE) T2 > T3 (TRUE)
                    T1 --- T2
           T3 --- T4Answer: Yes they overlap if:
    T1 < T4 AND T2 > T3
    So you can code the logic in your SQL as simply:
    SELECT *
    FROM tbl
    WHERE range1_start < range2_end
    AND    range_1_end > range2_startIf you go around implementing PL/SQL functions for simple logic that can be achieved in SQL alone then you cause context switching between the SQL and PL/SQL engines which degrades performance. Wherever possible stick to just SQL and only use PL/SQL if absolutely necessary.

  • Failed to execute with the error Error occurred when starting the parser: t

    Dear All
    I am getting this error
    ""A database error occurred. The database error text is: The MDX query SELECT  { [DASKA1EDEL2DMLXTQ62S595QV].[DB7BP4A8AMQTUD3DPEEPS4J87] }  ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( [0CALMONTH].[LEVEL01].MEMBERS, [DASKFZ1TRFOLNTG78G0HH2B87].MEMBERS ), [0MATERIAL].[LEVEL01].MEMBERS ), [0PLANT].[LEVEL01].MEMBERS ), [0COMP_CODE].[LEVEL01].MEMBERS ), [0ACTDELDATE].[LEVEL01].MEMBERS ) DIMENSION PROPERTIES MEMBER_NAME, MEMBER_CAPTION ON ROWS FROM [0IC_C03/ZMATSTOCK]  failed to execute with the error Error occurred when starting the parser: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'. (WIS 10901)""
    I already went to similar kind of error solution in forum,but this error is coming for one web I query,all other reports are working fine.
    I already implemented note 1032461

    Hi,
    Under normal circumstances it should be enough to restart the connection service.
    As far as we know there is no formal solution to this problem from SAP yet but restarting the connection service is much less of an interuption compared to restarting the the SIA.
    Re-starting the connection service should resolve this issue. since, Connection service is only related to DeskI and Rich Client re-statrng wonu2019t impact other business objects components including java report panel.
    All the Best,
    Madhu....

  • Failed to execute with the error Overflow converting from...

    I have a query filter for UPC in Webi Report. The report is not working for one UPC (for other UPC's the report is working fine)...it gives error "failed to execute with the error Overflow converting from '6218090010'. (WIS 10901)". The same error is coming when I ran MDX in MDXTEST command in BW. When I take the UPC filter from the query filter the report runs fine and I see this UPC in the report. The data source is Bex and we have recently upgraded to SAP EHP 1 for SAP NetWeaver 7.0.
    Regards
    Sharma

    Hi,
    Under normal circumstances it should be enough to restart the connection service.
    As far as we know there is no formal solution to this problem from SAP yet but restarting the connection service is much less of an interuption compared to restarting the the SIA.
    Re-starting the connection service should resolve this issue. since, Connection service is only related to DeskI and Rich Client re-statrng wonu2019t impact other business objects components including java report panel.
    All the Best,
    Madhu....

  • WIB: Eliminate the option to save after a function was ended with an error

    Hi Xperts,
    is there any possibility in the Web Interface Builder to eliminate the option to save after a function was ended with an error-message?
    Appreciate any help.

    The Firefox 4+ versions automatically save your session when you close Firefox. If you want to restore your previous session the next time you open Firefox, use the Restore Previous Session button on the default about:home homepage or in the History menu.

  • HT5278 iOS 5.1.1 Software Update - I have just attempted to install this update on my 3gs and at the final stage was presented with an error message of 1602 and now my phone has frozen. Yes I have tried all the usual ways to resolve this and it didn't wor

    iOS 5.1.1 Software Update - just tried to update and it didn't work! Got to the final stages and was presented with error 1602! My screen now has the frozen image of the itunes logo and usb thing. Happened once before - funnily enough when doing an update back in November - I had to visit an Apple store to have the phone restored. Would appreciate any advice as I would like to avoid another trip to the apple store.

    found the real problem.
    In my laptop where it couldn't detect the iphone and ipad, this folder is missing:
    C:\Program Files (x86)\Common Files\Apple\Mobile Device Support\Drivers
    The ipad was wrongly using a microsoft driver.
    I found the correct drivers in:
    C:\Windows\System32\DriverStore\FileRepository\usbaapl64.inf_amd64_neutral_c111a aecb61e9a2b
    Copy the contents to
    C:\Program Files (x86)\Common Files\Apple\Mobile Device Support\Drivers
    After that, I had to update the driver for Ipad in device manager.
    Ipad was found under: "Removable Devices", as a storage device.
    Once that is fixed, itunes can detect ipad, and I can restore it.
    Apple should really look into ensuring that folder doesn't go missing during itunes update process.

  • Reports executes with status FINISHED_WITH_ERROR.how to see error log

    hi
    I have executin following codes
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,ASYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,'/u02/oradata/data/REPORTS/PE4.rdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'/u02/oradata/data/REPORTS/aa.pdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_ora_apps');
    v_rep := RUN_REPORT_OBJECT(repid);
    WHILE REPORT_OBJECT_STATUS(v_rep) in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
         message('Status is '||REPORT_OBJECT_STATUS(v_rep));
         i :=i+1;
         if i>100 then
              exit;
         end if;
    END LOOP;
    message('Status is '||REPORT_OBJECT_STATUS(v_rep));
    The messages I got are
    ENQUEUED
    ENQUEUED
    ENQUEUED
    ENQUEUED
    RUNNING
    RUNNING
    RUNNING
    FINISHED_WITH_ERROR
    Could you please tell me how can I see the error log?
    Regards

    hi
    please try the following code i hope it will help u or modify it with ur requirements.
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('REPORT6');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no p_serial=' || to_char(:ins1.serial) );
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
      rep_status := report_object_status(v_rep);
    END LOOP;
    if
    rep_status = 'FINISHED'
    then
      WEB.SHOW_DOCUMENT('http://Sarah:8889/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1) ||
      '?server=repserver' );
    else
      message ( 'error while running reports-object '  || error_text );
      message ( ' ' );
      clear_message;
    end if;
    end; sarah

  • Closing Limit type PO,with status "ERROR IN PROCESS" &conf indicator reset!

    Hi all,
    SRM 5.0 ECS
    For a limit PO,can we change the A/c assignment data if there are nofollow on docs(No GR and INvoice) created??
    Also we have a limit type PO,which is now error in process.We are trying to close the PO by checking on the indicators"No further confirmations expected " and  "No further invoices expected " ,but when we do so,the indicator for confirmation becomes unchecked,the status of PO goes "error in Process" and in backend monitor I see the foll erros:
    PO 3900000100: Instance 3900000100 of object type PurchaseOrder c ould not be changed
    PurchOrder 3900000100: Purchase order still contains faulty items
    PO 3900000100: In case of account assignment, please enter acc. a ssignment data for item
    PurchOrder 3900000100: Transfer failed     
    Can someone tell me how do I close this PO now??

    Hi
    This may help you:
    This is because of the workflow issue, you need the find the workitem ID in SWI1 and delte it using SWWL
    with regards
    Manjunath

  • Workflow is starting with status Error.

    Hi All,
    I am trigerring my workflow from an custom event, my workflow is getting trigerred but the status is showing as ERROR. I have already checked SWEL to check event creation, even in event simulation i am able to see that my workflow has been trigerred.
    I have checkde in the technical details it shows:
    Exception             8987                                      
    Symbolic Name                                                   
    Error Type            1                                         
    Area                  SWP                                       
    Message               88                                        
    Variable 1            0000000013                                
    Variable 2            000000                                    
    Variable 3                                                      
    Variable 4                                                      
    Message Row           Error when processing node '0000000013' (ParForEach index 000000)
    How can this error be removed? Am I missing out on any customising......
    Regards
    Vinay

    I am getting  an error in the start event itself. In the log it shows that the start event has been triggered but the status is 'ERROR'. In the next activity i will be executing a method of my custom class to fetch some data but in the workflow graphical log it shows the workflow is stuck in the fetch activity step & the status of the start event is ERROR.
    The error that I have mentioned above are displayed in the technical details of workflow log.

  • While updating infotype i was throughen with an error

    Hi Experts,
    while I am updating the infotype 0170 with the hr_infotype_operation. i was given an error stating 'EPG                  009No data stored for 0170 in the selected period'.  How to resolve this. Please help me.
    My code is as follows
    ls_0170 like p0170.
        CALL FUNCTION 'HR_READ_INFOTYPE'
             EXPORTING
                  pernr           = ls_pernr-pernr
                  infty           = '0170'
                 begda           = '20070101'
                 endda           = '20071130'
             IMPORTING
                  subrc           = l_subrc
             TABLES
                  infty_tab       = p0170
             EXCEPTIONS
                  infty_not_found = 1
                  OTHERS          = 2.
        IF l_subrc = 0.
          IF p0170-endda = '20071130' AND p0170-begda = '20070101'.
    locking the pernr ********************
            CALL FUNCTION 'BAPI_EMPLOYEET_ENQUEUE'
                 EXPORTING
                      number        = p0170-pernr
                      validitybegin = p0170-begda
                 IMPORTING
                      return        = l_return.
    change the end date to 12/31/2007*************
            IF l_return IS INITIAL.
              p0170-endda = '20071231'.
             MODIFY p0170 INDEX 1  TRANSPORTING endda.
              ls_p0170 = p0170.
              CALL FUNCTION 'HR_INFOTYPE_OPERATION'
                   EXPORTING
                        infty     = '0170'
                        number    = p0170-pernr
                        record    = ls_p0170
                        operation = 'MOD'
                   IMPORTING
                        return    = l_return.
            ENDIF.
    unlocking the pernr ********************
            IF l_return IS INITIAL.
              CALL FUNCTION 'BAPI_EMPLOYEET_DEQUEUE'
                   EXPORTING
                        number        = p0170-pernr
                        validitybegin = p0170-begda
                   IMPORTING
                        return        = l_return.
            ENDIF.
          ENDIF.
          IF p0170-endda = '99991231' AND p0170-begda = '20071201'.
    locking the pernr ********************
            CALL FUNCTION 'BAPI_EMPLOYEET_ENQUEUE'
                 EXPORTING
                      number        = p0170-pernr
                      validitybegin = p0170-begda
                 IMPORTING
                      return        = l_return.
    ***modify a record with begin date 1/01/2008 and end date
    ***12/31/9999
            IF l_return IS INITIAL.
              p0170-begda = '20080101'.
             MODIFY p0170 INDEX 1  TRANSPORTING  begda.
              ls_p0170 = p0170.
              CALL FUNCTION 'HR_INFOTYPE_OPERATION'
                   EXPORTING
                        infty     = '0170'
                        number    = p0170-pernr
                        record    = ls_p0170
                        operation = 'MOD'
                   IMPORTING
                        return    = l_return.
            ENDIF.
    unlocking the pernr ********************
            IF l_return IS INITIAL.
              CALL FUNCTION 'BAPI_EMPLOYEET_DEQUEUE'
                   EXPORTING
                        number        = p0170-pernr
                        validitybegin = p0170-begda
                   IMPORTING
                        return        = l_return.
            ENDIF.
          ENDIF.
        ENDIF.

    Hi,
    I think if you use this code, it migth work
    ***modify a record with begin date 1/01/2008 and end date
    ***12/31/9999
    IF l_return IS INITIAL.
    ls_p0170 = p0170.
    ls_p0170-begda = '20080101'.
    MODIFY p0170 INDEX 1 TRANSPORTING begda.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
    EXPORTING
    infty = '0170'
    number = p0170-pernr
    VALIDITYEND = p0170-endda
    VALIDITYBEGIN = p0170-begda
    record = ls_p0170
    operation = 'MOD'
    IMPORTING
    return = l_return.
    ENDIF.
    I have no idea because if that infotype could have more than one register at time perhaps you must use RECORDNUMBER. But this is not that case
    Best regards
    Jaime

  • Program to cancel xml message with status error or schedule ?

    Hi,
    Any program that can cancel xml message base on period. because i have about 100 thousand unuse xml message that accidentaly generated. because it is too long if i need to cancel 1 by one.
    Regards
    Fernand

    Hi All,
    I already try this program below :
    RSXMB_CANCEL_Message - cancel the meesage with errors.
    RSXMB_CANCEL_NO_COMMIT_MSG -cancel the message processing for messages without commit.
    RSXMB_CANCEL_NOT_REST_MESSAGES - Cancel Xi messages with errors that cannot be restarted
    but then no result selected. i need to select manual those message and cancel using cancel button.
    please advise.
    Thank you and best regards
    Fernand

Maybe you are looking for