Host Program to Compile DB Objects

I'm trying to create a host program that will be able to compile a function/package/view or any type of database object through a host file.
I have a table that stores the command based on the object type and it looks like this:
sqlplus APPSPWD @FILE_NAME
I relplace the FILE_NAME based on a profile and some other code using PL/SQL.
This is fine and I then pass the following as an example to the program:
sqlplus APPSPWD @/tmp/test.vw
Because this is a host program i then substitute the APPSPWD and try to run the command.
The problem is that the files so not have exit commands and the program ends in an infinite loop
This is what my host program looks like and would love any feedback on how I could get this working.
export APPSPWD=$1
export APPS_USERID=$2
export APPS_USERNAME=$3
export APPS_CONCID=$4
export COMPILE_COMMAND=$5
echo "Compile Command:"$COMPILE_COMMAND
COMPILE_COMMAND=`echo $COMPILE_COMMAND | sed 's!APPSPWD!'"$APPSPWD"'!' `
echo "Compile Command:"$COMPILE_COMMAND
echo "Compile"
#echo `$COMPILE_COMMAND`
`sh -c "$COMPILE_COMMAND" >> /tmp/$APPS_CONCID.tmp`

Managed to fix this myself:
>
export APPSPWD=$1
export APPS_USERID=$2
export APPS_USERNAME=$3
export APPS_CONCID=$4
export OBJ_TYPE=$5
export COMPILE_COMMAND=$6
echo "Compile Type:"$OBJ_TYPE
echo "Compile Command:"$COMPILE_COMMAND
if [ "$OBJ_TYPE" = "DB" ]; then
echo "Database Object being compiled with SQL*Plus"
sqlplus $APPSPWD << EOF > $XDS_TOP/tmp/compile$APPS_CONCID.sh
@$COMPILE_COMMAND;
EOF
cat $XDS_TOP/tmp/compile$APPS_CONCID.sh
fi
if [ "$OBJ_TYPE" = "APPL" ]; then
echo "Application Object being compiled"
echo "Compile Command:"$COMPILE_COMMAND
fi

Similar Messages

  • Forte compilation returns Object.class incorrect version 48

    Java programs that compile successfully fail in Forte CE V3.0 and return messages "Class file java/lang/Object.class has incorrect version 48, should be 45, 46 or 47". Does anyone know what this means and how it can be overcome?
    Thanks

    It means that the rt.jar in your classpath is more recent than the compiler Forte is using.

  • Concurrent HOST program calling a proc to log using fnd_file.put_line

    Hello all,
    I have a concurrent HOST program that does 3 main things
    1. Calls a sqlplus program to do some initializing. This program is a proc in a package.
    2. Runs sqlldr to load data to custom tables.
    3. Calls a sqlplus program to do manipulate the data. This program is a proc in a package.
    In step 3 of above, the package procedue does a "submit_request" to call the "Supplier Open Interface Import". This
    request actually fires. However my problem is the subsequent call to fnd_file.put_line(fnd_file.log, 'Test message'), does not get logged
    to the log file of the HOST program, nor to the log file of the "Supplier Open Interfface Import" log file. A check
    of $APPLPTMP (or /usr/tmp) shows that a file of say " l0023761.tmp" contains my 'Test message' text.
    I believe the problem is that the put_line() call has no association with the HOST or the "Supplier Open Interface Import. How
    do I associate the logging to either program? Is it even possible? I want the logging, so as to see the progress
    of the HOST program.
    The sniippet of proc code is:
    PROCEDURE abc() IS
    BEGIN
    request_id:= FND_REQUEST.SUBMIT_REQUEST
    (Application => 'SQLAP'
    ,Program => 'APXSUIMP'
    ,Description => NULL
    ,Start_time => SYSDATE
    ,Sub_Request => FALSE
    ,Argument1 => 'ALL'
    ,Argument2 => 1000
    ,Argument3 => 'N'
    ,Argument4 => 'N'
    ,Argument5 => 'N'
    fnd_file.put_line (fnd_file.log,'Test message');
    COMMIT;
    END abc;
    Alex.

    Shell scripts are very hard to develop and maintain. Many things that developers previously had to do in shell scripts, developers can now do in PL/SQL. Hence, I recommend that you avoid shell scripts as much as possible.
    As well, SQL*Loader is an old, inflexible tool. Instead, define your OS file as an external table, and then extract from the external table using a normal select statement. http://www.orafaq.com/node/848 I recommend that you avoid SQL*Loader and use external tables instead.
    Using PL/SQL and external tables - and avoiding the shell script and SQL*Loader - a much better way to accomplish the same thing all inside one packaged procedure that is registered as a concurrent program:
    - initialize
    - select from the external table
    - manipulate the data

  • Exception handling is not working in GCC compile shared object

    Hello,
    I am facing very strange issue on Solaris x86_64 platform with C++ code compiled usging gcc.3.4.3.
    I have compiled shared object that load into web server process space while initialization. Whenever any exception generate in code base, it is not being caught by exception handler. Even though exception handlers are there. Same code is working fine since long time but on Solaris x86, Sparc arch, Linux platform
    With Dbx, I am getting following stack trace.
    Stack trace is
    dbx: internal error: reference through NULL pointer at line 973 in file symbol.cc
    [1] 0x11335(0x1, 0x1, 0x474e5543432b2b00, 0x59cb60, 0xfffffd7fffdff2b0, 0x11335), at 0x11335
    ---- hidden frames, use 'where -h' to see them all ----
    =>[4] __cxa_throw(obj = (nil), tinfo = (nil), dest = (nil), , line 75 in "eh_throw.cc"
    [5] OBWebGate_Authent(r = 0xfffffd7fff3fb300), line 86 in "apache.cpp"
    [6] ap_run_post_config(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x444624
    [7] main(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x42c39a
    I am using following link options.
    Compile option is
    /usr/sfw/bin/g++ -c -I/scratch/ashishas/view_storage/build/coreid1014/palantir/apache22/solaris-x86_64/include -m64 -fPIC -D_REENTRANT -Wall -g -o apache.o apache.cpp
    Link option is
    /usr/sfw/bin/g++ -shared -m64 -o apache.so apache.o -lsocket -lnsl -ldl -lpthread -lthread
    At line 86, we are just throwing simple exception which have catch handlers in place. Also we do have catch(...) handler as well.
    Surpursing things are..same issue didn't observe if we make it as executable.
    Issue only comes if this is shared object loaded on webserver. If this is plain shared object, opened by anyother exe, it works fine.
    Can someone help me out. This is completly blocking issue for us. Using Solaris Sun Studio compiler is no option as of now.

    shared object that load into web server process space
    ... same issue didn't observe if we make it as executable.When you "inject" your shared object into some other process a well-being of your exception handling depends on that other process.
    Mechanics of x64 stack traversing (unwind) performed when you throw the exception is quite complicated,
    particularly involving a "nearly-standartized" Unwind interface (say, Unwind_RaiseException).
    When we are talking about g++ on Solaris there are two implementations of unwind interface, one in libc and one in libgcc_s.so.
    When you g++-compile the executable you get it directly linked with libgcc_s.so and Unwind stuff resolves into libgccs.
    When g++-compiled shared object is loaded into non-g++-compiled executable's process _Unwind calls are most likely already resolved into Solaris libc.
    Thats why you might see the difference.
    Now, what exactly causes this difference can vary, I can only speculate.
    All that would not be a problem if _Unwind interface was completely standartized and properly implemented.
    However there are two issues currently:
    * gcc (libstdc++ in particular) happens to use additional non-standard _Unwind calls which are not present in Solaris libc
    naturally, implementation details of Unwind implementation in libc differs to that of libgccs, so when all the standard _Unwind
    routines are resolved into Solaris version and one non-standard _Unwind routine is resolved into gcc version you get a problem
    (most likely that is what happens with you)
    * libc Unwind sometimes is unable to decipher the code generated by gcc.
    However that is likely to happen with modern gcc (say, 4.4+) and not that likely with 3.4.3
    Btw, you can check your call frame to see where _Unwind calls come from:
    where -h -lIf you indeed stomped on "mixed _Unwind" problem then the only chance for you is to play with linker
    so it binds Unwind stuff from your library directly into libgccs.
    Not tried it myself though.
    regards,
    __Fedor.

  • The extraction program does not support object 0MAT_PLANT

    Pessoal alguém já passou por este problema?
    Estou tentando fazer um delta no objeto 0MAT_PLANT, mas me retorna sempre este erro.
    Já fiz um novo Init, mas o erro continua.
    The extraction program does not support object 0MAT_PLANT
    Message no. R3009
    Diagnosis
    The application program for the extraction of data was called up using the invalid InfoSource/invalid InfoObject 0MAT_PLANT.
    System Response
    The data extraction is terminated.
    Procedure
    Check the SAP Support Portal for the appropriate Notes and create a customer message if necessary.

    Hi Eduard ,
    You can try the following steps to solve that
    1. Delete the previous Delta Init for the InfoObject
    If you have access to R/3 Side you can follow the steps or you can follow the BW Steps
    Goto RSA7 ->Select and Delete the Init Request for the InfoObject
    From BW Side
    InfoPackage-> Inti for Source System -> Select & Delete
    the Init Request
    2. Execute the Init InfoPackage for the InfoPackage again.
    3. After successful completion, execute the delta InfoPackage.
    Hope it solves your problem, if not pls let me know.
    Thanks & Regards,
    Chandran Ganesan
    SAP Business Intelligence

  • The extraction program does not support object 0JOB_ATTR

    HI all,
    I'm getting the following error when execting 0JOB_ATTR extractor in R/3 system (via RSA3):
    The extraction program does not support object 0JOB_ATTR
    Message no. R3009
    Diagnosis
    The application program for the extraction of data was called up using the invalid InfoSource/invalid InfoObject 0JOB_ATTR.
    System Response
    The data extraction is terminated.
    Procedure
    Check the SAP Support Portal for the appropriate Notes and create a customer message if necessary.
    I've found various threads with this error (or similar ones), but none of them are solved (or not published solution). Haven't found any SAP notes yet either, so any input would be very helpfull.
    Thank you.
    G.

    0JOB_ATTR not in use and SAP replaced this with 0EC_CJOB_ATTR... U have to use 0EC_CJOB_ATTR to load master data for 0JOB.
    Even i faced the same problem and found the following info in one of the SDN thread, and we are using 0EC_CJOB_ATTR (make sure u have data in table HRP5050).
    I have sent a message to SAP asking for the solution . Below is the reply what they gave.
    "This error appears because of naming conventions we have to switch the name of the Data Source from 0JOB_ATTR to 0EC_CJOB_ATTR. Please use this data source to extract the compensation job attributes to BW.
    Note also that data source 0EC_CJOB_ATTR extracts data from table HRP5050.
    If no data is being extracted please do the following:
    If you have data in HRP5050 and still do not get any data please try the following :
    1) Take over the Data Source from the business content (RSA5)again and check in RSA3 .
    2) Replicate the Data Source to BW
    3) Activate the Info Source again.
    4) Delete any previous delta initializations for the datasource.
    5) Initialize the delta again
    6) Try to load data".

  • How to include the ordinary program in the BOR object type program

    Hi Guys, while i am trying to include a program in the BOR object type program. It is showing the following error:
    "Statement 'INCLUDE Z_ERC_SEARCH_VALOFACT_MACRO .' is not permitted in BOR".
    then, i tried to add  "<" and ">" to enclose it, but it wants the access key to create it.   anyone knows how to add the ordinary program in the BOR object type program.

    It's correct that we CAN'T insert our INCLUDES in BOR program. We CAN only use TYPE-POOLS there. So you can create Type Group with TYPES, CONSTANTS and DEFINE statements, and then use them in BOR programs.
    Using DEFINE you can construct MACROs with parameters and call your code there. It's limited, and not the easiest way, but some things can be achieved this way. Also forget about using Code Patterns while editing Type Group.
    Note: Use TYPE-POOLS statement after INCLUDE statement in BOR program .
    Best regards,
    Tomas.

  • Help T_T - Program not compiling properly

    I'm trying to add a short animation to the source file for a
    game that was built by an outside studio. Unfortunately, I can't
    seem to get the program to compile correctly: I get tons of errors,
    graphics dont diplay properly, etc. I thought perhaps I had just
    messed something up with my codes and animations, but even if i try
    to compile the original unedited file as a control test, i get the
    same problems. I have all the external files, scripts, etc.
    None of our scripters are in-house, so there's no one I can
    ask about this. I know just enough actionscript to prevent Flash
    from exploding into a gooey mass (which is how I ended up getting
    tasked with this), but basically my knowledge of flash is limited
    to it as an animation program so I'm not really sure if theres some
    kind of settings I need to change, specifically need to export as
    an .exe (shouldn't be, since the game runs as a .swf), or what.
    I know i'm not providing a whole lot of information about the
    problem, but thats because I'm not really sure what info is
    relevant. Let me know if there's anything people need from me and
    I'll get it to you.
    Thanks!

    Just a had brief look, but shouldn't it be:public class TempConversion extends JFrameIf you post code it is a good idea to use the formatting tags:
    http://forum.java.sun.com/help.jspa?sec=formatting
    Basically the idea is you put [code] at the start of your code and [/code]
    at the end.

  • Need help writing host program using LabView.

    Need help writing host program using LabView.
    Hello,
    I'm designing a HID device, and I want to write a host program using National Instrument's LabView. NI doesn't have any software support for USB, so I'm trying to write a few C dll files and link them to Call Library Functions. NI has some documentation on how to do this, but it's not exactly easy reading.
    I've written a few C console programs (running Win 2K) using the PC host software example for a HID device from John Hyde's book "USB by design", and they run ok. From Hyde's example program, I've written a few functions that use a few API functions each. This makes the main program more streamlined. The functions are; GetHIDPath, OpenHID, GetHIDInfo, Writ
    eHID, ReadHIC, and CloseHID. As I mentioned, my main program runs well with these functions.
    My strategy is to make dll files from these functions and load them into LabView Call Library Functions. However, I'm having a number of subtle problems in trying to do this. The big problem I'm having now are build errors when I try to build to a dll.
    I'm writing this post for a few reasons. First, I'm wondering if there are any LabView programmers who have already written USB HID host programs, and if they could give me some advice. Or, I would be grateful if a LabView or Visual C programmer could help me work out the programming problems that I'm having with my current program. If I get this LabView program working I would be happy to share it. I'm also wondering if there might already be any USB IHD LabView that I could download.
    Any help would be appreciated.
    Regards, George
    George Dorian
    Sutter Instruments
    51 Digital DR.
    Novato, CA 94949
    USA
    [email protected]
    m
    (415) 883-0128
    FAX (415) 883-0572

    George may not answer you.  He hasn't been online here for almost eight years.
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • Hp pevilion :catylist host program is not working

    hi i am using a hp peavilion 15 e015tx with windows 8
    recently the radeon host program has stopped working....
    i have tried re installing the driver using hp recovory manager but it is of no use ...please help me

    Hello susaanth,
    Welcome to the HP Forums.
    I see that recently the radeon host program has stopped working correctly on your Notebook for the graphics. I will try to help you with this.
    As trying to recover the drivers with the recovery manager seems to have fail (if you could provide details on this it may help), also I would like you to try updating the drivers. Here is a link to the update: AMD High-Definition (HD) Graphics Driver.
    Please let me know if this was able to help you. Thank you for posting on the HP Forums.
    I worked on behalf of HP.

  • Compile invalid objects in apps schema

    i make compiled the apps schema by
    adadmin,utlrp.sql,compiled manual but still i am getting INVALID objects .. how to compile these objects ?
    Below is the output
    SQL>
    column owner format A9
    column object_name format A31
    column object_type format A15
    column last_ddl_time format A10
    spool invalids.lst
    select OWNER, OBJECT_NAME,OBJECT_TYPE,LAST_DDL_TIME
    from dba_objects where status='INVALID'
    order by owner;
    OWNER OBJECT_NAME OBJECT_TYPE LAST_DDL_T
    APPS FV_FACTS_TBAL_TRANSACTIONS PACKAGE BODY 03-MAR-13
    APPS IGI_IAC_REINSTATE_PKG PACKAGE BODY 03-MAR-13
    APPS IGI_IAC_RETIREMENT PACKAGE BODY 03-MAR-13
    APPS CST_PERIODIC_ABSORPTION_PROC PACKAGE BODY 03-MAR-13
    APPS FV_SLA_UTL_PROCESSING_PKG PACKAGE BODY 03-MAR-13
    APPS FV_CCR_UTIL_PVT PACKAGE BODY 03-MAR-13
    APPS PSA_AP_BC_PVT PACKAGE BODY 03-MAR-13
    APPS XLA_00200_AAD_S_000012_PKG PACKAGE BODY 03-MAR-13
    APPS AR_RECEIPT_UPDATE_API_PUB PACKAGE BODY 03-MAR-13
    APPS AR_AUTOREC_API PACKAGE BODY 03-MAR-13
    10 rows selected.
    SQL> alter package APPS.FV_FACTS_TBAL_TRANSACTIONS compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.FV_FACTS_TBAL_TRANSACTIONS:
    LINE/COL ERROR
    1742/6 PL/SQL: SQL Statement ignored
    1743/4 PL/SQL: ORA-00918: column ambiguously defined
    SQL> alter package APPS.IGI_IAC_REINSTATE_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.IGI_IAC_REINSTATE_PKG:
    LINE/COL ERROR
    3470/3 PL/SQL: Statement ignored
    3470/10 PLS-00306: wrong number or types of arguments in call to
    'GET_ASSET_RETIRE_REC'
    SQL> alter package APPS.IGI_IAC_RETIREMENT compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.IGI_IAC_RETIREMENT:
    LINE/COL ERROR
    4247/10 PL/SQL: Statement ignored
    4247/18 PLS-00306: wrong number or types of arguments in call to
    'GET_ASSET_RETIRE_REC'
    SQL> alter package APPS.CST_PERIODIC_ABSORPTION_PROC compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.CST_PERIODIC_ABSORPTION_PROC:
    LINE/COL ERROR
    3901/3 PL/SQL: Statement ignored
    3901/3 PLS-00306: wrong number or types of arguments in call to
    'ITERATION_PROCESS'
    SQL> alter package APPS.FV_SLA_UTL_PROCESSING_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.FV_SLA_UTL_PROCESSING_PKG:
    LINE/COL ERROR
    49/7 PL/SQL: Statement ignored
    49/22 PLS-00302: component 'PSA_XLA_ERROR' must be declared
    SQL> alter package APPS.FV_CCR_UTIL_PVT compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.FV_CCR_UTIL_PVT:
    LINE/COL ERROR
    2926/3 PL/SQL: Statement ignored
    2926/19 PLS-00302: component 'CONTACT_NAME' must be declared
    2928/4 PL/SQL: Statement ignored
    2928/20 PLS-00302: component 'CONTACT_PHONE' must be declared
    2929/8 PL/SQL: Statement ignored
    2929/24 PLS-00302: component 'CONTACT_PHONE' must be declared
    2931/3 PL/SQL: Statement ignored
    2931/19 PLS-00302: component 'CONTACT_EMAIL' must be declared
    2932/3 PL/SQL: Statement ignored
    2932/19 PLS-00302: component 'CONTACT_FAX' must be declared
    SQL> alter package APPS.PSA_AP_BC_PVT compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.PSA_AP_BC_PVT:
    LINE/COL ERROR
    291/11 PL/SQL: Statement ignored
    291/26 PLS-00302: component 'PSA_XLA_ERROR' must be declared
    346/13 PL/SQL: Statement ignored
    346/28 PLS-00302: component 'PSA_XLA_ERROR' must be declared
    835/7 PL/SQL: Statement ignored
    835/12 PLS-00313: 'ISPREPAYDIST' not declared in this scope
    1002/15 PL/SQL: Statement ignored
    1002/34 PLS-00201: identifier 'J' must be declared
    1014/13 PL/SQL: Statement ignored
    1014/48 PLS-00201: identifier 'I' must be declared
    1020/13 PL/SQL: Statement ignored
    LINE/COL ERROR
    1020/43 PLS-00201: identifier 'I' must be declared
    1022/13 PL/SQL: Statement ignored
    1024/73 PLS-00201: identifier 'I' must be declared
    1055/11 PL/SQL: Statement ignored
    1055/48 PLS-00201: identifier 'I' must be declared
    1057/11 PL/SQL: SQL Statement ignored
    1057/51 PLS-00201: identifier 'I' must be declared
    1080/80 PLS-00201: identifier 'I' must be declared
    1080/80 PLS-00201: identifier 'I' must be declared
    SQL> alter package APPS.XLA_00200_AAD_S_000012_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.XLA_00200_AAD_S_000012_PKG:
    LINE/COL ERROR
    157514/2 PLS-00103: Encountered the symbol "THEN" when expecting one of
    the following:
    ( - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql stddev sum variance
    execute forall merge time timestamp interval date
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string> pipe
    <an alternatively-quoted string literal with character set
    specification>
    <an alternatively-quote
    LINE/COL ERROR
    SQL> alter package APPS.AR_RECEIPT_UPDATE_API_PUB compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.AR_RECEIPT_UPDATE_API_PUB:
    LINE/COL ERROR
    0/0 PL/SQL: Compilation unit analysis terminated
    1/14 PLS-00201: identifier 'AR_RECEIPT_UPDATE_API_PUB' must be
    declared
    1/14 PLS-00304: cannot compile body of 'AR_RECEIPT_UPDATE_API_PUB'
    without its specification
    SQL> show err
    Errors for PACKAGE BODY APPS.AR_AUTOREC_API:
    LINE/COL ERROR
    2724/9 PL/SQL: SQL Statement ignored
    2740/27 PL/SQL: ORA-00904: "EXT"."SEQ_TYPE_LAST": invalid identifier
    note:application v12.0.4 database 10.2.3

    SQL> alter package APPS.FV_FACTS_TBAL_TRANSACTIONS compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.FV_FACTS_TBAL_TRANSACTIONS:
    LINE/COL ERROR
    1742/6 PL/SQL: SQL Statement ignored
    1743/4 PL/SQL: ORA-00918: column ambiguously defined
    SQL> alter package APPS.CST_PERIODIC_ABSORPTION_PROC compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.CST_PERIODIC_ABSORPTION_PROC:
    LINE/COL ERROR
    3901/3 PL/SQL: Statement ignored
    3901/3 PLS-00306: wrong number or types of arguments in call to
    'ITERATION_PROCESS'
    SQL> alter package APPS.AR_RECEIPT_UPDATE_API_PUB compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.AR_RECEIPT_UPDATE_API_PUB:
    LINE/COL ERROR
    0/0 PL/SQL: Compilation unit analysis terminated
    1/14 PLS-00201: identifier 'AR_RECEIPT_UPDATE_API_PUB' must be
    declared
    1/14 PLS-00304: cannot compile body of 'AR_RECEIPT_UPDATE_API_PUB'
    without its specification
    SQL> alter package APPS.XLA_00200_AAD_S_000012_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.XLA_00200_AAD_S_000012_PKG:
    LINE/COL ERROR
    157514/2 PLS-00103: Encountered the symbol "THEN" when expecting one of
    the following:
    ( - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql stddev sum variance
    execute forall merge time timestamp interval date
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string> pipe
    <an alternatively-quoted string literal with character set
    specification>
    <an alternatively-quote
    LINE/COL ERROR
    SQL> alter package APPS.FV_CCR_UTIL_PVT compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.FV_CCR_UTIL_PVT:
    LINE/COL ERROR
    2926/3 PL/SQL: Statement ignored
    2926/19 PLS-00302: component 'CONTACT_NAME' must be declared
    2928/4 PL/SQL: Statement ignored
    2928/20 PLS-00302: component 'CONTACT_PHONE' must be declared
    2929/8 PL/SQL: Statement ignored
    2929/24 PLS-00302: component 'CONTACT_PHONE' must be declared
    2931/3 PL/SQL: Statement ignored
    2931/19 PLS-00302: component 'CONTACT_EMAIL' must be declared
    2932/3 PL/SQL: Statement ignored
    2932/19 PLS-00302: component 'CONTACT_FAX' must be declared

  • Play Framework - Compilation error[object inject is not a member of package javax]

    I would like to add to the table "Person" when you press the button "Add a Person" but I get an error:
    play.PlayExceptions$CompilationException: Compilation error[object inject is not a member of package javax]
    at play.PlayExceptions$CompilationException$.apply(PlayExceptions.scala:27) ~[na:na]
    at play.PlayExceptions$CompilationException$.apply(PlayExceptions.scala:27) ~[na:na]
    at scala.Option.map(Option.scala:145) ~[scala-library-2.11.1.jar:na]
    controller is in the class Application:
    package controllers
    import play.api._
    import play.api.mvc._
    import play.api.data.Form
    import play.api.data.Forms._
    import play.api.libs.json.Json
    import models._
    import javax.inject._
    class Application @Inject() (db: DB) extends Controller {
      def index = Action {
       Ok(views.html.index())
      val personForm: Form[Person] = Form {
       mapping(
       "name" -> text
       )(Person.apply)(Person.unapply)
      def addPerson = Action { implicit request =>
       val person = personForm.bindFromRequest.get
      db.save(person)
      Redirect(routes.Application.index)
    I do not know how to add a library javax.inject-1.jar ?
    Is there another solution . Thank for you help in this matter.

    If this is still an outstanding issue, and you have a valid CSI, a BDB support license, please access MOS (MyOracle Support) and review Note 1198943.1: "Building BDB XML 2.5.16 with STLPort on Solaris using Sun Studio". If you cannot access MOS, drop me an e-mail at andrei dot costache at the obvious domain, and I will send the details.
    Regards,
    Andrei

  • Program to list 'Z' objects to translate

    I need to create a program to translate 'Z' objects (domain, text Elements, data elements, tables, reports, etc..)   to rollouts to another countries.
    I saw table TADIR, contains all Z objetcs created.
    I didn't find the table contains the description of all objects.
    Please, tell me which tables contains these descriptions.
    Thank's

    Hi Jorge,
    please set up a [translation environment |http://help.sap.com/saphelp_nw70/helpdata/en/ef/ca8f2c28ce11d5b2be0050da3f31b1/content.htm] once and use it for years.
    Here you can define according to your needs and the system will help you to manage the process.
    Regards
    Clemens

  • Program to Insert BI Objects in a Transport

    Hi Experts,
    I am looking for a function module/program to insert BI Objects in a transport request (i need to include this in another code).
    Thanks in advance for your help.
    Arminder

    No solution, so just closing the thread

  • The extraction program does not support object 6BEREC_REP_CH_PERFORMANCE1

    Hai friends,
    I am pulling data from Oracle database to BW through UDConnect. When I check in RSA3 for the datasource 6BEREC_REP_CH_PERFORMANCE1, I get the following error:
    "The extraction program does not support object 6BEREC_REP_CH_PERFORMANCE1"
    What does it mean? Kindly help.
    Regards,
    Neha Solanki

    Hi,
    It's not Absolute version. It's obsolete version(means No more)
    This will help you:----
    The extraction program does not support object 0JOB_ATTR
    Regards,
    Suman

Maybe you are looking for

  • Transparent Tunneling and Local Lan Access via VPN Client

    Remote users using Cisco VPN 4.2 connect successfully to a Cisco Pix 515 (ver. 6.3). The client is configured to allow Transparent Tunneling and Local Lan access, but once connected to the Pix, these two options are disabled. What configuration chang

  • Macbook keyboard cutting out at times, 10.5.1 installed.

    Hello. Here's the problem. I have everything back to normal on my Macbook, OS X Leopard, boot camp, windows, and etc. However, being the upgrade conscious person, i upgraded my Mac to 10.5.1, and for some reason, my built-in keyboard will cut out at

  • My mac came with iMovie, deleted it planning to re-download now it wants me to pay?

    So my Macbook Air running 10.10.2 was having problems opening iMovie. I had submitted the report to Apple over a month ago and it just wouldn't get past the "loading clips" section. I got advice to delete and re-download iMovie but when I went to re-

  • Run the program in Background

    Hello All, I have selection screen where i have parameters for programs, classes and filename. When i give program name and filename and execute. A Popup appears and asks the path for the file to be saved in xml format. This is done through foregroun

  • Workshop Weblogic config questions

    I'm using Oracle Workshop for WebLogic 10.3 and I'm hoping someone can answer some setup/config questions. When I double click on the server (WebLogic Server v10.3 at localhost) a window opens with various settings that manage how workshop and weblog