JVMXM008 after executing  adstrtal.sh

Hello,
Configuration :
EBS 11.5.10.2 on aix 5.3
I made a copy of all the Applications FS from one machine to another by preserving the same names of FS and directories
The pre-requisites of EBS 11I are applied in the new machine.
When I try to start Oracle EBS I get this error :
You are running adstrtal.sh version 115.16
JVMXM008: Error occured while initialising System ClassException in thread "main" Impossible de créer la machine virtuelle Java.
Exiting with status 1
Could any one Help ?
The CLASSPATH is OK the java is OK

DBAKamal wrote:
Hello,
Configuration :
EBS 11.5.10.2 on aix 5.3
I made a copy of all the Applications FS from one machine to another by preserving the same names of FS and directories
The pre-requisites of EBS 11I are applied in the new machine.
When I try to start Oracle EBS I get this error :
You are running adstrtal.sh version 115.16
JVMXM008: Error occured while initialising System ClassException in thread "main" Impossible de créer la machine virtuelle Java.
Exiting with status 1
Could any one Help ?
The CLASSPATH is OK the java is OKTry to unmount the FS then mount it again.
OPatch fails with JVMXM008 [ID 1136432.1]
Grid Control Agent 10.2 Installation fails on AIX with Jvmxm008:Error occured while initialising System ClassException.Could not create JVM [ID 959202.1]
Also, please run AutoConfig and make sure it completes successfully.
Thanks,
Hussein

Similar Messages

  • Error After executing adstrtal.sh command at Application Tier

    Hi,
    We are using,
    EBS : R12.1.1
    OS : OEL 5.6
    When i tried to start Application tier services got following error message,
    XML-20108: (Fatal Error) start of root element expected.
    The logfilefor this session is located at $INST_TOP/logs/appl/admin/log/adstrtal.log
    Exception in thread "main" java.lang.NullPointerException
    at Oracle.apps.ad.autoconfig.serviceControl.parseServices(ServiceControl.java:475)
    at Oracle.apps.ad.autoconfig.serviceControl.<init>(ServiceControl.java:319)
    at Oracle.apps.ad.autoconfig.serviceControl.main(ServiceControl.java:956)
    adstrtal.sh: Exiting with status 1
    How can i resolve this error and start my Application Tier?? Please guide..
    Regards,
    Priyanka

    Contents of the "/usrxit/devenv.env" file are,
    # $Header: devenv.env 120.1 2006/10/23 19:07:35 appldev ship $
    #=====================================================================+
    # Copyright (c) 1999 Oracle Corporation Belmont, California, USA |
    # All rights reserved. |
    #=====================================================================+
    # FILENAME
    # devenv.env
    # DESCRIPTION
    # Application Object Library developer's environment setup
    # This script is automatically called by fndenv.env so that
    # you can compile and link custom user exits (SQL*Forms and
    # SQL*ReportWriter) and concurrent programs with Oracle
    # Applications.
    # NOTES
    # Now we provide compilation flags compatible with the Makefile
    # in the $FND_TOP/usrxit directory.
    #     Changed $(ORACLE_HOME)/proc16/lib to $(ORACLE_HOME)/sqllib/public
    #      for 7.1 changes. -- JCM 7/13/94
    #     $(ORACLE_HOME)/sqllib/public to $(ORACLE_HOME)/precomp/public
    #     and $(ORACLE_HOME)/bin/proc16 to $(ORACLE_HOME)/bin/proc
    #          -- gling 1/21/97
    #=====================================================================*/
    # First we set all compilation flags from the Makefile for generic Unix.
    # Then we correct the generic settings based on the PLATFORM environment
    # variable set in the AutoInstall Environment file.
    if test "$PLATFORM" = ""; then
    echo "devenv.env: PLATFORM environment variable not set."
    echo "Please check your AutoInstall Environment file."
    exit 1
    fi
    # set Unix generic flags for Makefile
    # If any need to be overridden, this happens in the Platform-specific
    # case statement below
    CC='cc'
    # CFLAGS should be set to somethings like the following:
    # CFLAGS='-g $(INCLUDE_FLAGS)'
    CFLAGS='You_must_set_CFLAGS_for_your_platform_in_$$FND_TOP/usrxit/devenv.env'
    # You may need to modify the last entry in INCLUDE_FLAGS below if
    # oratypes.h is not located in the directory $ORACLE_HOME/rdbms/demo.
    INCLUDE_FLAGS='-I. -I$(FND_TOP)/include -I$(ORACLE_HOME)/precomp/public -I$(ORACLE_HOME)/rdbms/demo'
    PCC='$(ORACLE_HOME)/bin/proc'
    PCCFLAGS='include=$(PCCINC) ireclen=161 sqlcheck=none dbms=v6'
    PCCINC='. include=$(FND_TOP)/include include=$(ORACLE_HOME)/precomp/public'
    # LDFLAGS should be set to -g when using a debugger.
    # LDFLAGS='-g'
    CHMOD='chmod'
    MCS='echo mcs'
    RM='rm -f'
    CP='cp'
    # Platform-specific case statement
    case "$PLATFORM" in
    AIXRIOS) INCLUDE_FLAGS='-I. -I$(FND_TOP)/include -I$(ORACLE_HOME)/precomp/public -I$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME/plsql/public'
    CFLAGS='-O -qmaxmem=-1 -qro -qspill=30000 -U__STR__ -DNLS_ASIA -DORE -D_BSD -DRIOS -DAIXRIOS $(INCLUDE_FLAGS)'
    #CFLAGS='$(INCLUDE_FLAGS) -U__STR__ -DAIXRIOS -DNLS_ASIA -DORE -D_BSD -DRIOS -qro -O -DAFSTUBS'
    PCCFLAGS='ireclen=161 dbms=v8 unsafe_null=yes mode=oracle release_cursor=no maxopencursors=100 hold_cursor=yes include=$(PCCINC)';;
    DCOSX) CFLAGS='-O -Wf,-Cs $(INCLUDE_FLAGS) -DDCOSX -DNLS_ASIA -Dconst= -DAFSTUBS';;
    DRS6000) CFLAGS='$(INCLUDE_FLAGS) -O -DDRS6000 -DNLS_ASIA -DAFSTUBS';;
    HP9000S800) INCLUDE_FLAGS='-I. -I$(FND_TOP)/include -I$(ORACLE_HOME)/precomp/public -I$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME/plsql/public'
    CFLAGS='-Ae -O DD32 DA2.0 ESlit Z +objdebug -DNO_RC2 -DNO_RC5 -DNO_IDEA -DBSAFE -DHPUX -DHPUX11 -D_HPUX_SOURCE -DHP9000S800 -DNLS_ASIA $(INCLUDE_FLAGS)'
    #CFLAGS='-Aa O3 $(INCLUDE_FLAGS) -D_HPUX_SOURCE -DHP9000S800 -DNLS_ASIA ESlit ESsfc DA1.0 +DS1.1 -DAFSTUBS'
    PCCFLAGS='ireclen=161 dbms=v8 unsafe_null=yes mode=oracle release_cursor=no maxopencursors=100 hold_cursor=yes include=$(PCCINC)';;
    INTEL_386) CFLAGS='-O $(INCLUDE_FLAGS) -DSCO_UNIX -DNLS_ASIA -DINTEL_386 -DAFSTUBS';;
    M88OPEN) CFLAGS='$(INCLUDE_FLAGS) -DM88OPEN -DNLS_ASIA -O -DAFSTUBS';;
    M88OPEN) CFLAGS='$(INCLUDE_FLAGS) -DM88OPEN -DNLS_ASIA -O -DAFSTUBS';;
    NCR) CFLAGS='$(INCLUDE_FLAGS) -DNCR -DNLS_ASIA -O -Hon=Read_only_strings -Xa'
    LDFLAGS='-s -t -znorearrange'
    MCS='mcs -d';;
    ISVR4) CFLAGS='$(INCLUDE_FLAGS) -DNCR -DNLS_ASIA -O -Hon=Read_only_strings -Xa'
    LDFLAGS='-s -t'
    MCS='mcs -d';;
    OSF1) CFLAGS='$(INCLUDE_FLAGS) -O1 -Olimit 1300 -G 0 -std0 -DOSF1 -DA_OSF -DNLS_ASIA -DAFSTUBS -non_shared';;
    SCO_UNIX) CFLAGS='-O $(INCLUDE_FLAGS) -DSCO_UNIX -DSYSV_386 -DINTEL_386 -DNLS_ASIA -DAFSTUBS';;
    SYSV_386) CFLAGS='-O $(INCLUDE_FLAGS) -DSCO_UNIX -DSYSV_386 -DINTEL_386 -DNLS_ASIA -DAFSTUBS';;
    SEQ_DYNIX) CFLAGS='-O $(INCLUDE_FLAGS) -DSEQ_DYNIX -DNLS_ASIA -DAFSTUBS';;
    SEQ_PTX) CFLAGS='$(INCLUDE_FLAGS) -O -DSEQ_PTX -DNLS_ASIA -W0,-Nn5000 -W0,-xstring -Wc,-pw -Xo -Wp,-Ns14000 -Wp,-Nz200000 -W0,-Nd14999 -W0,-Nt3000 -DAFSTUBS -Dsigned=';;
    SUN_OS5) INCLUDE_FLAGS='-I. -I$(FND_TOP)/include -I$(ORACLE_HOME)/precomp/public -I$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME/plsql/public'
    CFLAGS='-xO2 -mr -Xa -xarch=v8plusa -xtarget=ultra3 -xstrconst -restrict SUN_OS5 NLS_ASIA $(iINCLUDE_FLAGS)'
         LDFLAGS='-s -xcg92'
         CC=/opt/SUNWspro/bin/cc
    PCCFLAGS='ireclen=161 dbms=v8 unsafe_null=yes mode=oracle release_cursor=no maxopencursors=100 hold_cursor=yes include=$(PCCINC)';;
    SUN_SPARC) INCLUDE_FLAGS='-I. -I$(FND_TOP)/include -I$(ORACLE_HOME)/precomp/public -I$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME/plsql/public'
    CFLAGS='-xO2 -mr -Xa -xarch=v8plusa -xtarget=ultra3 -xstrconst -restrict SUN_OS5 NLS_ASIA $(INCLUDE_FLAGS)'
    CC='/usr/5bin/cc'
    PCCFLAGS='ireclen=161 dbms=v8 unsafe_null=yes mode=oracle release_cursor=no maxopencursors=100 hold_cursor=yes include=$(PCCINC)';;
    #CFLAGS='$(INCLUDE_FLAGS) -O1 -DNLS_ASIA -DAFSTUBS'
    ULTRIX) CFLAGS='$(INCLUDE_FLAGS) -O -DNLS_ASIA -DAFSTUBS';;
    UTS) CFLAGS='$(INCLUDE_FLAGS) -DUTS -eft -DNLS_ASIA -DAFSTUBS';;
    LINUX) CFLAGS='$(INCLUDE_FLAGS) -Dlinux -DLINUX -DNLS_ASIA -D_GNU_SOURCE';;
    HPUX_IA64) INCLUDE_FLAGS='-I. -I$(FND_TOP)/include -I$(ORACLE_HOME)/precomp/public -I$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME)/plsql/public'
    CFLAGS='-O Onolimit Onoprocelim -Ae Olit=all DD32 +DSblended -D_HPUX_SOURCE -DHPUX -DHPUX_IA64 -DBUILD32 -DNLS_ASIA $(INCLUDE_FLAGS)'
    PCCFLAGS='include=$(PCCINC) ireclen=161 dbms=v8 unsafe_null=yes mode=oracle release_cursor=no maxopencursors=100 hold_cursor=yes define=__hpux';;
    esac
    # Export all variables set to the environment
    export CC CFLAGS INCLUDE_FLAGS PCC PCCFLAGS PCCINC
    export CHMOD MCS RM CP
    # To use a user exit name other than #USR or a library name other than
    # libusr.a modify the variable LUSRLIB to point to your library
    LUSRLIB="${FND_TOP}/${APPLUSR}/libusr.a"
    export LUSRLIB
    # To use a SQL*Forms user exit name other than #USR modify the
    # variable LUSRIAP
    # LUSRIAP contains the name of the module which defines your custom user
    # exit reference list (xitXXX.o). By default, XXX is usr. You change
    # this value only if you do not use #USR when calling your user exits.
    # When linking your custom version of SQL*Forms (uaiap),
    # ${FND_TOP}/${APPLUSR}/xitiap.o defines the top-level user exit names
    # accessible from SQL*Forms, for example, #FND, #USR, or #FAC.
    # You can generate xitiap.o with genxtb or create from the
    # template .c file located in the ${APPLUSR} directory.
    LUSRIAP="${FND_TOP}/${APPLUSR}/xitusr.o"
    export LUSRIAP
    # To use a SQL*ReportWriter user exit name other than #USR modify the
    # variable LUSRSRW
    # LUSRSRW contains the name of the module which defines your custom user
    # exit reference list (xitXXX.o). By default, XXX is usr. You change
    # this value only if you do not use #USR when calling your user exits.
    # When linking your custom version of SQL*Forms (urunrep),
    # ${FND_TOP}/${APPLUSR}/xitsrw.o defines the top-level user exit names
    # accessible from SQL*Forms, for example, #FND, #USR, or #FAC.
    # You can generate xitsrw.o with genxtb or create from the
    # template .c file located in the ${APPLUSR} directory.
    LUSRSRW="${FND_TOP}/${APPLUSR}/xirusr.o"
    export LUSRSRW
    # To include custom immediate concurrent programs or create a new
    # concurrent program library, modify the variable LUSRPRG
    # LUSRPRG contains:
    # (1) the concurrent program library module which lists your
    # concurrent program catalogs.
    # If you wish to also link the Oracle Financials concurrent
    # program catalogs, make sure you list them in your concurrent
    # program library, "prglib.c".
    # (2) the concurrent program catalog module which lists your
    # immediate concurrent programs.
    # (3) the module that defines your function for the immediate
    #      concurrent program and your library.
    # The concurrent program library file and the concurrent program
    # catalog file may created from the template prglib.c and prgcat.c
    # files located in the ${APPLUSR} directory.
    LUSRPRG="${FND_TOP}/${APPLUSR}/prglib.o ${FND_TOP}/${APPLUSR}/prgcat.o ${FND_TOP}/${APPLUSR}/EXPROG.o"
    export LUSRPRG
    # The following are special environment variables designed to allow Oracle
    # Applications customers to link 3rd-party software into documented interface
    # points in Oracle Applications C code.
    # For each product listed below, there are two environment variables defined.
    # One is of the form: VND<PROD>SL
    # and the other is of the form: VND<PROD>PL
    # where <PROD> is replaced by the abbreviation for a specific product,
    # VND stands for Vendor (3rd-party vendor),
    # SL stands for Shared Libraries,
    # and PL stands for Private Libraries.
    # For example: VNDARSL, VNDARPL, VNDPAYSL, VNDPAYPL
    # Each Vendor Libraries variable defined below should be set to '' if you are
    # not linking in any 3rd-party software. If you are linking 3rd-party
    # software into a specific product, you must change the Vendor Libraries
    # variables for that product.
    # If you are linking in 3rd-party software, VND<PROD>SL and VND<PROD>PL
    # should be set to include: 1) the 3rd-party interface object modules, and
    # 2) the 3rd-party libraries (in that order).
    # For example:
    # VNDPAYSL='$(PAY_TOP)/lib/py3c.o $(PAY_TOP)/lib/py3v.o $(VND_LINK)'
    # VNDPAYPL='$(PAY_TOP)/lib/py3c.o $(PAY_TOP)/lib/py3v.o $(VND_LINK)'
    # Notes on setting the Vendor Libraries variables:
    # 1) You must enclose the value you assign to each vendor libraries variable
    # in single quotes as in the example above.
    # The right way to specify a value for a vendor libraries variable:
    # VNDPAYPL='$(PAY_TOP)/lib/py3c.o $(PAY_TOP)/lib/py3v.o $(VND_LINK)'
    # The wrong way to specify a value for a vendor libraries variable:
    # VNDPAYPL="$(PAY_TOP)/lib/py3c.o $(PAY_TOP)/lib/py3v.o $(VND_LINK)"
    # 2) You must enclose all environment variable references in parentheses, as
    # in the example above.
    # The right way to reference an environment variable:
    # $(PAY_TOP)/lib/py3c.o
    # The wrong way to reference an environment variable:
    # $PAY_TOP/lib/py3c.o
    # 3) Any user-defined environment variables (like VND_LINK in the example
    # above) must be set and exported in this file. There is a special
    # section for this purpose below.
    # Example:
    # Needed when linking in 3rd Party Software
    # VND_VERTEX='$(PAY_TOP)/vendor/quantum'
    # VND_LINK='$(VND_VERTEX)/lib/libvprt.a \
    # $(VND_VERTEX)/lib/libqutil.a \
    # $(VND_VERTEX)/lib/libloc.a \
    # $(VND_VERTEX)/lib/libcb63.a'
    # VNDPAYSL='$(PAY_TOP)/lib/py3c.o $(PAY_TOP)/lib/py3v.o $(VND_LINK)'
    # VNDPAYPL='$(PAY_TOP)/lib/py3c.o $(PAY_TOP)/lib/py3v.o $(VND_LINK)'
    # export VND_VERTEX VND_LINK VNDPAYPL VNDPAYSL
    # Needed when APPLPAYLINK!=cob
    # VNDPAYSL=''
    # VNDPAYPL=''
    # export VNDPAYPL VNDPAYSL
    # 4) Any user-defined environment variables (like VND_LINK in the example
    # above) must begin with 'VND_', or the Oracle Applications Relinking
    # Utility (adrelink) will remove them from the linking environment.
    # Note: COBDIR is an exception to this rule.
    # The right way to name a user-defined environment variable:
    # VND_LINK
    # The wrong way to name a user-defined environment variable:
    # VENDOR_LIBS
    # 5) You do not need to include the product library for the Oracle
    # Applications product into which you are linking your 3rd-party libraries
    # in the value you assign to each vendor libraries variable.
    # All you need is:
    # VNDPAYPL='$(PAY_TOP)/lib/py3c.o $(PAY_TOP)/lib/py3v.o $(VND_LINK)'
    # You don't need:
    # VNDPAYPL='$(PAY_TOP)/lib/py3c.o $(PAY_TOP)/lib/py3v.o $(VND_LINK) $(LPAYLIB)'
    # End of notes on setting the Vendor Libraries variables
    # In general, you should set VND<PROD>SL and VND<PROD>PL to have the same
    # value. If you need to set them to different values for a given product,
    # this will be stated below or stated in the documentation that comes with
    # the product in question.
    # If there are no Vendor Libraries variables listed below for a given product,
    # that means the product in question does not have any documented interface
    # points for linking in 3rd-party software.
    # Please enter user-defined environment variables between this
    # comment section and the next comment section.
    # End section for user-defined environment variables
    # Vendor Libraries variables for Oracle Receivables (AR)
    VNDARSL=''
    VNDARPL=''
    export VNDARSL VNDARPL
    # Vendor Libraries variables for Oracle Payroll (PAY)
    VNDPAYSL=''
    VNDPAYPL=''
    export VNDPAYSL VNDPAYPL
    # End of Vendor Libraries variables list
    File is present at the $FND_TOP/usrxit folder ...
    Regards
    Priyanka

  • Button on toolbar after executing the report i.e. after result display

    Hi, after executing the report result is being displayed.Now at this stage I want a button on the application toolbar clicking on which will allow a perform to get triggered.
    I tried in following manner:
    SELECTION-SCREEN: FUNCTION KEY 1.
    *INITIALIZATION.
    TABLES: SSCRFIELDS.
    *MOVE icon_mail TO sscrfields-functxt_01.
    *form SEND_EMAIL .
    IF sy-ucomm = 'FC01'.
         PERFORM SEND_MAIL_ASSET_STATUS.
    ENDIF.
    But it's not ok.The above way is not working.
    Please note: I want button on toolbar only after executing the report i.e. after result display.
    How can I do this?
    Kindly guide.
    Best regards.

    hi
    if you are using alv than just pass 3 values to function call
         I_CALLBACK_PROGRAM                = SY-REPID   " program name
         I_CALLBACK_PF_STATUS_SET          = 'STATUS'  "PF-STATUS
         I_CALLBACK_USER_COMMAND           = 'UCOMMAND'  " subroutine name
    and check the value of UCOMM in subroutine

  • Issue in Selection Screen of ABAP report after executing it using TCode

    Hi,
    I have one Z program having a selection screen for it. One selection variable is non editable for the users (has default value) whereas user can enter the value in other selection variable.
    To make the first variable non editable, I have used the following code.
    INITIALIZATION.
      LOOP AT SCREEN.
        IF screen-name = 'P_USER'.
          screen-input = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Now when I execute this program from SE38, it works fine. But when I execute it using a Tcode (assigned in SE93), the first variable also become editable for users.
    How can I keep the first variable non editable even after executing the program using a Tcode?
    Regards,
    Yogesh

    Hi,
    It seems you create a Transaction type: Dialog transaction.
    Delete current transaction and create one with Transaction type: Report transaction (radio button in row 2nd)
    regards,

  • How will be outbound data structure in sap xi after executing the stored pr

    Hi All
    can any one please tell me how will be outbound data structure in sap xi after executing the stored procedure by sender JDBC adapter?
    Thanks in advance
    regards
    Rams

    Hi..
    My stored procedure is select and it will be OUTBOUND in PI.
    is it will be same as following
    <resultset>
    <row>
    <column-name1>column-value</ column-name1>
    <column-name2></column-name2>
    <column-name3>column-value</ column-name3>
    <column-name4></column-name4>
    </row>
    <row>
    <column-name1>column-value</ column-name1>
    <column-name2></ column-name2>
    </row>
    </resultset>
    Regards
    Rams
    Edited by: Rameshkumar Varanganti on Oct 15, 2008 12:04 PM

  • Database is Hanging after executing the Procedure ...

    Dear All i am using 10G.
    I Have a procedure . After executing the Procedure when i try to call that procedure it is hanging ...
    it is creating Locks .. As our DBA told..And told to check the code ...
    Can any one tell me how can i put mu codes with formatting ? When i copy paste my code it is showing properly but after POST MESSAGE it is showing like i have written history ...--*
    I am Executing the procedure like this ...
    EXEC simulator_validation ('0|BP-V1|20101004|01|1|2430962.89|27|2430962.89|MUR|20100928120106','04-SEP-2010',27,2430962.89,'MUR','000111111111');
    And my code is :-
    {Create Or Replace Procedure simulator_validation (lstring varchar2,ldate date,lno_item number,ltotal number,lcur varchar2,lac_no Varchar2)
    IS
      l_swift_code_acno number;
      l_ACno_Valid number;
      l_swift_code_others Number;
      lpcode varchar2(5);
      lCcode Varchar2(4);
      lval number;
      lacno varchar2(16);
      v_file varchar2(20);
      v_path varchar2(50);
      LToken   VARCHAR2(100) ;
      i        PLS_INTEGER := 2 ;
      lfirst_char  number;
      lvalue  Varchar2(100) ; 
      lcol number:= 1;
    Begin
      lfirst_char := Substr(lstring,0,1);
      Dbms_output.put_line(lfirst_char);
          IF lfirst_char  = '0' Then ------------------- For the 1st Line - Should be start from 0
                Loop
                  LToken := mcb_simulator_pkg.Split( lstring, i , '|') ;  
                  lvalue := LToken;
                      IF lcol=1 then
                             If lvalue='BP-V1' THEN
                                   Dbms_output.put_line('1');
                             Else
                                 Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0003','Invalid file type and version number');
                                Dbms_output.put_line('2');
                            End if;
                      Elsif lcol=2 then
                              If lvalue=To_Char(ldate,'YYYYMMDD') THEN
                                 Dbms_output.put_line('3');                                                                                                                                                                                                                                       
                            Else
                                 Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0004','Due date differs from the value inputted in the loading screen');
                                 Dbms_output.put_line('4');
                            End if;
                      Elsif lcol=3 then
                                   Begin
                                         Select PAYMENT_PURPOSE_CODE into lpcode
                                         From MU_PURPOSE_CODE
                                         Where PAYMENT_PURPOSE_CODE = lvalue;
                                     IF lpcode = lvalue Then
                                           Dbms_output.put_line('5');
                                     Else
                                          Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0006','Invalid payment purpose code');
                                          Dbms_output.put_line('6');
                                     End If;
                                Exception
                                    When No_data_found Then
                                    Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0006','Invalid payment purpose code');
                                End;
                      Elsif lcol=4 then
                                    If lvalue='1' THEN
                                         Dbms_output.put_line('7');
                                    Else
                                       Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0008','Total number of debit records in header does not tally with number                   debit records in the file.');
                                      Dbms_output.put_line('8');
                                   End if;
                      Elsif lcol=5 then
                                    If lvalue=ltotal THEN
                                          Dbms_output.put_line('9');
                                    Else
                                        Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0010','Total debit transaction amount in header does not tally with the sum of debit transaction amount in the file');
                                       Dbms_output.put_line('10');
                                  End if;
                     Elsif lcol=6 then
                                    If lvalue=lno_item THEN
                                         Dbms_output.put_line('11');
                                    Else
                                        Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0025','Number of credit records does not tally with credit records in the file.');
                                    End if;
                     Elsif lcol=7 then
                                    If lvalue=ltotal THEN
                                         Dbms_output.put_line('12');
                                    Else
                                         Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0026','Sum of credit records does not tally with total transaction amount as inputted in the loading screen');
                                    End if;
                    Elsif lcol=8 then                
                                    If lvalue=lcur  THEN
                                          Begin
                                                    Select Cur_CODE into lCcode
                                                      From Mu_currency_Code
                                                    Where Cur_CODE = lvalue;
                                                    Dbms_output.put_line('13');
                                          Exception
                                              When No_data_found Then--------------------
                                                 Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0014','Invalid Currency');
                                          End;
                                    Else
                                          Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0013','Currency differs from the value inputted in the loading screen');
                                   End if;
                     Elsif lcol=9 then
                                    If lvalue=Null  THEN
                                          Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0015','Timestamp should not be null');
                                    Elsif lvalue <> lvalue Then
                                         Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0046','Timestamp in header should be in the format YYYYMMDDHHMMSS');
                                    End if;
                       End IF;
                      EXIT WHEN LToken IS NULL ;
                         i := i + 1 ;
                         lcol:=lcol+1;
                       End LOOP;
              Else
                                      Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (9999,'0002','First line should always start with 0');
              End if ;}
    -------------------- For the 2nd Line , should be start from 9 .-----------------------------
    {  lfirst_char := Substr(lstring,0,1);
    IF lfirst_char = '9' Then
    LOOP
    LToken := mcb_simulator_pkg.Split( lstring, i , '|') ;
    lvalue := LToken;
    IF lcol=1 then
    If lvalue < 0 THEN
    Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0017','Amount should be greater than zero');
    Elsif lvalue = ltotal THEN
    Dbms_output.put_line('20');
    Else
    Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0018','Transaction amount differs from the value inputted in the loading screen');
    End if;
    ELSIF lcol = 2 THEN
    If lvalue = Substr(lac_no,4,9) THEN
    mcb_simulator_pkg.Acct_no_Validator(lvalue,1111,l_ACno_Valid);
    mcb_simulator_pkg.Swift_code_validator_for_ac_no(lvalue,1111,l_swift_code_acno);
    Else
    Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0020','Account number differs from the account number inputted in the loading screen');
    End if;
    ELSIF lcol = 3 THEN
    If lvalue is not null THEN
    mcb_simulator_pkg.Swift_code_validator_for_other(lvalue,1111,l_swift_code_others);
    Else
    Dbms_output.put_line('21');
    End if;
    END IF;
    EXIT WHEN LToken IS NULL ;
    i := i + 1 ;
    lcol:=lcol+1;
    End Loop;
    Else
    Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (8888,'0016','Second line should start with 9');
    End IF; }
    -------------------- For the 3rd Line Should be start from 1.--------------------------
    { LOOP
    lfirst_char := Substr(lstring,0,1);
    IF lfirst_char = '1' Then
    Loop
    LToken := mcb_simulator_pkg.Split( lstring, i , '|') ;
    lvalue := LToken;
    IF lcol=1 then
    If lvalue > 0 THEN
    Dbms_output.put_line('24');
    Else
    Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (1111,'0017','Amount should be greater than zero'); End if;
    ELSIF lcol=2 then
    Mcb_simulator_pkg.Acct_no_Validator(lvalue,1111,l_ACno_Valid);
    Mcb_simulator_pkg.Swift_code_validator_for_ac_no(lvalue,1111,l_swift_code_acno);
    ELSIF lcol = 3 THEN
    If lvalue is not null THEN
    mcb_simulator_pkg.Swift_code_validator_for_other(lvalue,1111,l_swift_code_others);
    Else
    Dbms_output.put_line('26');
    End
    END IF;
    EXIT WHEN LToken IS NULL ;
    i := i + 1 ;
    lcol:=lcol+1;
    End Loop;
    Else
    Insert into MU_SIMULATOR_output_ERR (load_no,ERR_CODE,ERR_DESC) values (7777,'0022','The third line onward should start with 1');
    End if;
    END LOOP;
    Commit;
    End;}
    Edited by: LuKKa on Oct 4, 2010 9:20 PM
    Edited by: LuKKa on Oct 4, 2010 9:25 PM

    Yes i gave {} but it is also coming like this ...Yes, since you should use {noformat}{noformat} before and after your example, and not putting your example between a '{' and a '}'.
    So, when you post/type/copypaste:
    {noformat}select *
    from emp;{noformat}
    on this forum, it will appear as:select *
    from emp;See the FAQ for more tags/tips:
    http://forums.oracle.com/forums/help.jspa                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Creating Payment File in SAP after executing Automatic Payment transaction

    Hi,
    Need to know how is the Payment file created in SAP after executing Automatic Payment Transaction and how do I see the file and the fields.
    Regards,
    Kiran

    Hi,
    If you are using EDI format for sending the file to the Bank, then you need to map the fields to segments. You can consider basic type PEXR2002. You also need to make configuration settings - like enable payment method for EDI etc.
    Once the payment run is executed you can run DME - Data Medium Exchange to generate Idocs for the payment run.
    Thanks
    Murali.

  • RFBIBL00 No Batch Input Created after Executing

    Hello,
    After Executing SAP standard report - RFBIBL00, no batch input session has been created in SM35 in ECC 6.0 version. There is no error message but one message displayed as 'PRODPER not transferred.'

    First the issue was in the input file.
    Second Number of lines was more and in the report it was set less.
    Third in check only there will no Batch Input session generates.
    Fourth to create input file use SAP standard procedure i.e sxda_tools.
    Note : From ECC, SAP not supporting Batch Input Method.

  • Error after executing the edidlinv

    Hi All,
    Following is the error message i am facing after executing the batch edidlinv
    edidlinv_1~20120229104954~process~invc_head, invc_detail, invc_xref, invc_merch_vat, invc_non_merch, item_master, sups, partner, vat_code_rates, v_restart_store_wh~-1405~ORA-01405: fetched column value is NULL~CURSOR FETCH: cursor=c_invoice, ps_driver_name=STORE_WH, ps_num_threads=1, ps_thread_val=1, ps_restart_invc_id=8678.
    Regards,
    Sushanth.D

    please open the pro*c source in an editor, lookup the cursor mentioned, and study it and/or run it in sqlplus, to understand why no data is found.
    E

  • After executing F.5E Trail Balance is not matching

    Dear sir,
    We have nearly 80 Business Area, for Business area wise trail balance match I executed the program F.5D & F.5E
    After executing the F.5E for some Business Area Trail Balance is not matching.
    How can I match the Trail Balance Business Area wise.
    Any other program  do I need to Execute
    Please guide me

    Dear expert
       Find out the balance FIUT_180_BALANCE using SA38 and pass JV giving blank and respective business areas for debit and credit line items.You can check SAP Notes for detailed  OSS note 203276 & 214289
    Go to SE38 and run the following SAP standard programs to analyses the transaction that are not posted with Business area.
    FIUT_180_APAR
    FIUT_180_BALANCE
    FIUT_180_BALDOC
    FIUT_180_DELETE
    FIUT_180_F5EDOC
    FIUT_180_RF048
    FIUT_180_SKIPDOC
    FIUT_180_TAX
    FIUT_180_TAX_I
    FIUT_BA_CLEARING
    FIUT_BA_DOCUMENT
    FIUT_BA_I1
    FIUT_BA_I2
    FIUT_BA_INVOICE
    See OSS note 199886 - Business area in tax line:
    499633MIR7:business area as a required entry
    186000Business area, unplanned delivery costs
    137357Log. invoice verifcatn: GSBER when reducing invoice
    125082SD-FI: Business area missing in customer item
    96462Business area vendor item (invoice verification)
    39409Business area in the vendor item
    17483 - Business area for inventory postings
    SAP Note 28562 - RFCHKN00 - Business area field not filled 
    SAP Note 27036 - Business area in company code clearing item
    Note 582950 - Business area not transferred to line items
    SAP Note 28080 - Incorrect business area or missing profit center
    SAP notes 549182 & 73472
    SAP note 321190
    SAP note 746810  & 763985
    Regards
      Ajeesh.s

  • Report got failed after executing for 35min

    Hi All,
    I am using BIP 10.1.3.
    I have a report which has been scheduled to generate output file (by using BIP scheduler).
    It faied to generate the report after executing for 35 minute.
    Is there any setting available in BIP server side so that the report will genrate the report.
    Message Received:
    oracle.apps.xdo.servlet.scheduler.ProcessingException: [ID:4676] Document file to deliver not found : /applic/oracle/product/10.1.3/OracleAS_BIP_1/j2ee/home/applications/xmlpserver/xmlpserver/xdo/tmp/xmlp54811tmp
         at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1172)
         at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:495)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Please suggest how to fix the issue.
    Thanks

    i would ask you to enable log and run it again, to get more details on this error.
    the following is un-related to your issue.
    i will also consider to upgrade to latest patch, which will get you away from most of the issues.

  • Moving to current record after execute query

    Hi all,
    I have a form where i can list all db jobs which can be start or stop.
    for more details, form is having columns like jobs, current db status, action(start/stop drop down)
    The user will view list of jobs in the screen and he straightly goes to a record and start (submit) the job using drop down for that record.
    once they start/stop the job, execute query will fire to show the current status of the job.
    Now going to my requirement,after execute query, I want to go to the record (job) which user has started the job .
    Currently the cursor will go to first record.
    Is there any oracle 10g AS property where i can get current record , put it in parameter and go to that record after execute query?
    Is there any other way?
    Regards,
    Leonard

    Hello,
    If you are sure the record after query will keep the same position, you can before, store the current record in a number variable with Get_Block_Property( CURRENT_RECORD) built-in, then after query use the Go_Record() with stored number variable in parameter.
    If you think that after re-query the record number can change, you have to loop through your records, then stop navidation while you find the corresponding key.
    Francois

  • No Results after executing Adaptive Web Service

    Hello experts,
    I develope Web Dynpro applications and currently try to consume a web service from our ERP system but I get no results from the service. When trying to consume the service with a soap-tool or with .NET, everything works fine.
    The Web Service was generated on an already available RFC.
    The service has one input parameter, which is a department name. The output should be all employees, which work in the consigned department.
    For consuming the service I created a Web Service Destination in the Visual Administrator ([see this blog|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417100%29ID0139461950DB10406225565548708901End?blog=/pub/wlg/5186]).
    After creating the Destination I imported the service as an adaptive web service model in my web dynpro project.
    After binding the model to the component controller I implemented the following code in the controller:
    public void wdDoInit()
        model = new Z_WF_DEPARTMENT_OIC();
        Request_ZWfDepartmentOic requestMO = new Request_ZWfDepartmentOic(model);
        ZWfDepartmentOic departmentMO = new ZWfDepartmentOic(model);
        requestMO.setZWfDepartmentOic(departmentMO);
        wdContext.nodeRequest_ZWfDepartmentOic().bind(requestMO);
    public void executeRequest_ZWfDepartmentOic( )
      try{
        wdContext.currentRequest_ZWfDepartmentOicElement().modelObject().execute();
        wdContext.nodeResponse().invalidate();     
      } catch (Exception e) {
        wdComponentAPI.getMessageManager().reportException(e.toString(),false);
    I did the implementation as descibed in the following document:
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e&overridelayout=true]
    On the UI I have one input field for the department name and a table which should show the result and one table which shows messages which are returned by the web service.
    After executing the code, I get no result from the service. In my table with the messages I get one entry which just shows zeros in the fields "LogMsgNo" and "Number".
    Does anybody have a hint, what could be wrong with my proceeding?
    Edited by: Dennis Isaak on Oct 16, 2009 10:37 AM

    Check this blog post:
    http://www.drflex.eu/2008/06/dynamically-populate-dropdown-lists-using-webservices/
    This comfirms that after you execute a web service, the Drop-Down List fields will become empty due to remerge operation. Well, I have to issue a remerge, otherwise, the PDF will not be populated properly.
    Tarek.

  • Error message after executing KKRC- How to define Hierarchy ID ?

    Hi Gurus
    Ours’ is a Chemical Mfg./ Marketing Company. We have ECC 5.0 version implemented in our Company. We  have the Production process orders of different types ( Normal Process order , Reprocess Process order etc.). For the purpose of MIS it is our regular practice to download data in Worksheets & then work upon it ( pivot tables etc.)  &  compile the reports. We have the requirement to have SKU wise ( Finished Goodswise ) summarised compilation of  different type of Variances ( both Qty. , value of input materials, wherever applicable) .
    While browsing the SAP’s BPX community database I have come across the query similar to my requirement . refer thread Product costing - Information system, order summarization  
    Posted: Sep 30, 2007 3:21 AM
    As suggested in the response to that query  I have followed the steps .
    KKRV followed by KKRC . The error message after executing  KKRC reads
    “ No IDs defined for Hierarchy type CO
    Diagnosis No Hierarchy id is defined in customising for the hierarchy type you selected
    Procedure : go in to the customising and define the structure of hierarchy  by means of an appropriate Hierarchy ID. “
    Can some one give me further leads ( i.e. navigation/path and clues for  defining   Hierarchy ID)
    Or
    is there any other way to address the requirement mentioned in opening para.
    With best regards
    Sudheer

    Hi Patrick,
    unfortunately I cannot provide an ad-hoc solution for your nested exception without further investigations.
    Nevertheless I'm very interested to know, why you "gave up" using the Adaptive WS Model in Web Dynpro. What's the problem?
    Perhaps the coding which now requires to create a model instance:
    /** Hook method called to initialize controller. */
    //@@end
    public void wdDoInit() {
      //@@begin wdDoInit()
      // create a new model instance (1)
      EmailAdWSModel model = new EmailAdWSModel();
      // create model objects (2, 3)
      Request_SendEmail requestMO = new Request_SendEmail(model);
      SendEmail emailMO = new SendEmail(model);
      // associate model objects (4)
      requestMO.setSendEmail(emailMO);
      // bind executable model object to context node (5)
      wdContext.nodeRequest_SendEmail().bind(requestMO);
      //@@end
    Regards, Bertram

  • Trigger a background job after executing tcode MMPV

    Hi All,
    I would like to trigger a background job after executing tcode MMPV. In MMPV, after closing a particular period and entering
    new period, the transaction will be saved. After saving, the background job should be triggered. How to do it?
    Regards,
    Vinod

    Depending what system you are on your best bet would be to create an enhancement point inside a form, that is called after the save has been performed, and raise an event within that form.
    Events can be used to trigger background jobs are maintained in transaction SM62.
    Cheers.

Maybe you are looking for

  • DataGrid rendering problem

    I have an ApplicationControlBar above a data grid.  The data grid has widths specified and is bound to a data source that is populated by a service call.  The mark up below causes the description column to disappear and the header row is about 10 tim

  • IMac cannot read any DVD drives - internal or external

    Hi, My iMac began exhibiting problems about 12 months ago when it wouldn't load CD's properly to iTunes - it would do some songs and not others. It also stopped reading an external drive I bought. I bought another external DVD drive from an apple sto

  • Updating from fcpx 10.1.1 to 10.1.3 says "Do you want to buy Final Cut Pro 10.1.3?"

    okay I want to update from version 10.1.1 to the latest version 10.1.3. In app store its even there in purchases. But when I go to final cut pro app and click 'Install' it says "Final Cut Pro 10.1.1 is already installed and was not purchased from the

  • Split a column based on even and odd rows

    Table1       Table2  Col1 Odd Even   A  A   B   B  C   D   C  E   F   D  G   H   E  I NULL   F   G   H   I I am using MS SQL v2005 I want to split a column into two columns : - one column must have all the odd rows data while the other column must ha

  • Zenity --progress --auto-kill usage?

    Hello, i'm trying to built a simple backup script which launches rsync and zenity: #/bin/bash rsync -auvh --progress --delete / /mnt/BACKUP | zenity --progress --auto-kill What i want to archive is that if i press the "cancel" button of the zenity pr