Urgent...OADB Transaction.....

Hi,
I want to write an insert statement using OADB Transaction.... Can any one help me...
I written this code....
DBTransaction txn=oaapplicationmodule.getDBTransaction();
CallableStatement cstmt=txn.createCallableStatement("insert into test_appl values(s1)",0);
csmt.excute();
it is giving errors like...
DistsExtCO.java:330: cannot find symbol
symbol : class DBTransaction
location: class oracle.apps.icx.por.req.webui.DistsExtCO
DBTransaction txn=oaapplicationmodule.getDBTransaction();
^
DistsExtCO.java:330: cannot find symbol
symbol : method getDBTransaction()
location: interface oracle.apps.fnd.framework.OAApplicationModule
DBTransaction txn=oaapplicationmodule.getDBTransaction();
^
DistsExtCO.java:331: cannot find symbol
symbol : class CallableStatement
location: class oracle.apps.icx.por.req.webui.DistsExtCO
CallableStatement cstmt=txn.createCallableStatement("insert into test_appl values(s1)",0);
^
DistsExtCO.java:332: cannot find symbol
symbol : variable csmt
location: class oracle.apps.icx.por.req.webui.DistsExtCO
csmt.excute();
^
4 errors

Hi Avaneesh,
Still i am getting the errors...
DistsExtCO.java:330: cannot find symbol
symbol : class OADBTransaction
location: class oracle.apps.icx.por.req.webui.DistsExtCO
OADBTransaction txn=oaapplicationmodule.getOADBTransaction();
^
DistsExtCO.java:331: cannot find symbol
symbol : class CallableStatement
location: class oracle.apps.icx.por.req.webui.DistsExtCO
CallableStatement cstmt=txn.createCallableStatement("insert into test_appl values(s1)",0);
^

Similar Messages

  • Urgent: EJB Transaction mechanism and Database Transaction mechanism

    Anybody please clarify me how EJB transaction mechanism use the underlying database transaction mechanism? Here my concern is that in the context EJB transaction, how much reponsibilities are performed by EJB container and how much responsibilities are performed by underlying database server. I will deem it a great favor if you kindly explain the whole story with example(s).

    Actually the ejb container is managing the persistence.
    It will be like this.
    if u r using entity beans or statefull beans
    while creating entity bean class you have to specify in the
    deployment descriptor, which table in the database this bean is representing .
    On the runtime , when you are creating an instance of a entity bean ,that instance will be corresponds to a row in the mapped table.
    what all changes you have made to that instance's attributes ie;
    columns in that row that all will be avilable in the session
    When you commit this particular session .this changes will be written to disk.
    that's how the change is managed ...
    assume if one user is modifying the particular row and another user is deleting it ..which ever transaction commits first will be get effected.
    if modification is committing first and then delete the row will be deleted last.but if first delete and then modify while commiting modifycation..
    you should get an error saying that particular row is missing from storage
    this how ejb container is manging the persistence
    in all cases even in case of synchronus acess
    i think u r cleard with this much

  • Urgent Urgent javax.transaction.TransactionRolledbackException

    Hey all,
    How are you dudes, I stuck up with the problem again, the ejb's create is not working properly even with the files you sent to me, and it throws the javax.transaction.TransactionRolledBackException everytime, I have attached a copy of the log files and the files what you have sent to me on the other day, ie. the ear,war, jar files and the .java files incl the servlet file as a company.Iplanet.zip file. please download the file.
    The exact error descriptions is as follows
    javax.transaction.TransactionRolledbackException
    at com.kivasoft.eb.EBExceptionUtility.idToSystem(Unknown Source)
    at com.kivasoft.ebfp.FPUtility.replyToException(Unknown Source)
    at com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_CompanyHo
    me.java:323)
    at
    com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHome.java:
    88)
    at
    com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)
    I am using the oracle 8i as the database and I have attached the schema files also along with this mail. please have a look at them and let me know what went wrong. Please please help me in this regard man, I owe you a lot. Please send me the working files to me ASAP as tomorrow morning I have to tell to my client as how much time it will take to convert all the beans from bea weblogic to Iplanet. I wish if there was any automated tool from Iplanet which can automatically convert the bea beans to Iplanet.
    please male use of the oracle schema files I gave along with the zip file and let me know what went wrong...why the bean is unable to excute the ejbCreate(....) method properly
    Thanks in advance
    Regards
    Shravan

    I had the same error about 45 minutes ago. I got past it though. I believe it was a nested SQL exception. Double check all of your SQL statements for errors. Look for missing and/or extraneous spaces and/or punctuation. Also, go in and catch some more exceptions at a lower level.

  • Linking Documents in Change Request Management

    Dear all,
    We are using Solution Manager 4.0 and the change request management functionality.Before implementing this we were storing the test results in the test case management of project management.But now when a tester do the testing,in urgent correction transaction,there is a option to upload the document to the particular urgent correction in the transcation tab.Can we link this document we store in the urgent correction to the test case tab in solar02 of the particular maintenance cycle?
    Thanks in advance,
    Avinash.

    Stefan,
    Have you checked SAP note 987927? It can help.
    Regards,
    Raquel Cunha

  • Authorization check without writing password?

    Hi experts!
    I could really use a help with this issue...
    There are several statuses available for transport requests in our SManager. Those are:
    1. import of request
    2. development finished
    3. transported to test
    4. test finished
    5. approval
    6. transported to production
    Now we're facing the problem that every SOL user can set any status he wants, which is not very wise thing to do (some external programmer can easily set status 'approval for production').
    We tried to accept usage of digital signature (method: System signature) but couldn't deal with it, because it takes to much time to enter password for each and every one of the requests you want to change status... Everybody is full of administration and we want some kind of user exit that will perform authority check and inform user is he or is he not able to set the status.
    Now, I realize there is another possibility to implement digital signature using another kind of method, but don't know what to do, where should I start with my programming :)?
    I suppose I need to have some kind of Z* function module or BAPI or ABAP program to provide this?
    Please help me.... Any kind of information will be useful...
    Thanks and best regards,
    Sanja

    Hey Sanja,
    My answer to this question would differ depending on our scenario..
    Since your are working with URgent or normal corrections which are also classifed as change transaction, your best bet would be to go for use of authorizartion code..
    Detailed xplanations:
    This could be done using Authorization codes assigned to status..
    Now there is an authorization object B_USERSTAT which can be used to achieve this..
    So Follow these steps:
    1) SPRO-> SAP solution manager->scenario specific settings-> status profile-> Change Status profile for user status..
    Now here navigate to the status profile attached to your Urgent correction transaction type..
    Generally status profile is SDHFHEAD.
    If your using a Z status profile navigatte to that status profile.
    2) After this done, against each status, you will find auth Codes assgned to status
    For Status 30 ZUTE Zu testen( TO be tested) find the corresponding auth code, generally ( SDHF_02).
    Similarly for status 60 PROD Produktiv( production) find the corresponding auth code..
    3) Assign the relevant auth code to appropiatate roles by including new authorization object in that role( B_USERSTAT) so assign relevant values to that roles..
    Important:
    if you dont want to use standard auth codes, you can also create custom auth codes..
    i dont remember exact path in spro, but just search for keyword authorization codes and you will get it.
    So only users with valid auth codes can set that particular status and no other user can set it, if he/she tries the system will throw an authorization error..
    Please do reward points for usefull answers...
    Revert for any clarifications..
    Regards,
    Anand..

  • Revaluation Depreciation Area

    Hi Guys,
    I had created a new revaluation depreciation area in OADB transaction.
    My question is, this new area should be set up as "area posts in real time" or "Area does not post"?!?
    Thanks

    Hi,
    May I add some more information regarding posting indicator 1 in OADB:
    You can have more than one area posting real time to general ledger, however not all of them can have APC values.
    In most cases, depreciation area 01 is set with indictor "posting to GL = 1" and manages APC   
    values.
    Please check the definition of your revaluation area in that way that the depreciation does not manage APC at all (T093-VZANSW = "0"). In this case you can use also posting indicator 1 for your revaluation area.  
    Kind regards,
    Brigitte

  • How to find the tcode for relation between tables

    Hi all
    Just wanted to know the tcode that will show/give graphycal/ nongraphycal relation between tables if there is any..
    Very urgent, please.

    Transaction code to find relation between tables(Very urgent.)
    Please do NOT open duplicate posts.
    Regards,
    Ravi
    Note - Please mark the helpful answers

  • Not able to generate the spool from transaction cv02n .Kindly help,urgent..

    Hi ALL,
            I have a problem in transaction CV02N. Actually i am an ABAPER, but i need some help of PP Guys.
    The requirement is as follows:-
       The client says that they have uploaded a  '.PS'  file into the transaction cv02n.Here in the first screen they give doc, doc type,doc part, doc version. when clicked on enter it take us to second screen , where they enter the '.PS' file path under 'originals' , in the tab 'document data'.   Later they goto transaction CO01 and release an order at the operation level and save it.
    Then it generates a spool. Now if we goto SP01 and check the spool with the number generated during saving CO01. We will be getting the scripts and the '.PS' file separately in a different spool in the production system in 4.6. But in my new upgraded system(6.0), i am not able to view the '.PS' file in the output spool.It seems to me that, it is not getting generated. Pls suggest me, as it is a very urgent issue. Need to close it by today at 1.00pm.
    Regards,
    Manasa.S

    dear friend,
    there would be several reasons for that.
    first, check out your Output Device (your user in SU01) - goto to tab Defaults and look at Spool Control.
    did you tick the 'output immediately' checkbox?
    Fix it if nessesary. Just in case run SPAD to check out your device.
    second, check out the 'output' config for Document Management (because you use t-code CV02N).
    also make sure that relevant output condition exists.
    third, ask someone to do the same - another user with another output device. does he/she have the same problem?
    and the last, try to find out the functional guy or documentation.
    also ask your basis guy regarding the lost transports or any other issues...
    do not worry, life is good.
    good luck!

  • Urgent--==creation of object type in MASSOBJ transaction

    hi all:
    Could any one urgently tell me how to create object type in Massobj transaction.(this is done to delete purchase requisition in bulk in transaction 'Mass' (AND not in 'MASSOBJ').)
    i have created in Massobj transaction by pressing 'new enteries' button, but several elements are missing.
    so it give short dump after running transaction Mass.
    Object type is created in Massobj transaction and executed in Mass transaction.
    could anyone find solution for this urgetly.
    thanx in advance
    regards
    raj

    Hi,
    There is an standard object BUS2105 to for the mass maintanance purpose.
    You can directly go to MASS transaction and give the object type BUS2105 at the intial selection screen and don't mention any variant name.Execute it and displays the next screeen whereas you have the option to select the field you want and execute it again.Go to the next screen and specify the PR number range and specify the new value for the mass maintanace.After that you got to select the push button 'Carry out a mass change'.
    I hope this would help you.
    Thank you.
    Regards,
    karun.M

  • For one Urgent Change during performing the Approval(chnging the status to 'To be Tested') system does not recognize any changes using the CTS WBS BOM in the development system. The transaction is therefore incorrect or the status was reset by the system.

    For one Urgent Change while performing the one of the Approval before changing the status to 'To Be Tested'
    We are getting below error.
    The system does not recognize any changes using the CTS WBS BOM in the development system. The transaction is therefore incorrect or the status was reset by the system.
    COuld anyone please help us to know, How it can be resolved?
    We also have this below error.
    System Response
    If the PPF action is a condition check, the condition is initially considered as not met, and leads to another warning, an error message, or status reset, depending on the configuration.
    If the PPF action is the execution of a task in the task list, and the exception is critical, there is another error message in the document.
    Procedure
    The condition cannot be met until the cause is removed. Analyze all messages in the transaction application log.
    Procedure for System Administration
    Analyze any other messages in the task list application log, and the entries for the object /TMWFLOW/CMSCV
    Additional Information:
    System cancel RFC destination SM_UK4CLNT005_TRUSTED, Call TR_READ_COMM:
    No authorization to log on as a trusted system (Tr usted RC=0).
    /TMWFLOW/TU_GET_REQUEST_REMOTE:E:/TMWFLOW/TRACK_N:107
    For above error Table /TMWFLOW/REP_DATA_FLOWwas refreshed as well but still the same error.

    If you are in Test System, you can use function module AA_AFABER_DELETE to totally delete the depreciation area (tcode SE37, specify chart of depreciation and depreciation area), After that recreate your depreciation area and run AFBN. But before you do that, have you created a retirement transaction type that limits the posting on your new depreciation area? If not create one.
    Hope this helps.
    Thanks!
    Jhero

  • V v urgent ...  how to get the selected rows in the vl02n transaction

    Hi ,
    I have requirement that i have selected the line items in the vl02n transaction.
    If I select only one row there is option gs_get_cursor-line.
    If I select more than one line item at a time I am getting only the last value in to gs_get_cursor-line.
    Can anybody let me know how to get the multiple line items  that are selected
    It is very urgent ..
    Plz Help

    Hi,
    can you check the E_row_id .
    v_row type LVC_S_ROW
    read table itab index E_ROW-index.
    regards,
    Ajay
    Edited by: Ajay on Feb 14, 2008 6:22 PM

  • Urgent Please - Receiving Transaction Processor Issue

    Hi,
    We are on 11.5.10. I am trying to create PO receipts using the interface program "Receiving Transaction Processor". I inserted data into the rcv_headers_interface and rcv_transactions_interface tables. As this dta is for contract labor, i am assuming that there is no need to insert data into shipment_related interface table. Following shows the insert statement I made sure that I am running the process from the correct org (the org that i used in the filed destination_oprganization field). But still the process completes normally but po_interface_errors has a record with error message as :
    "RVTSH-189: Subroutine rvtshiline() returned error
    Cause: Subroutine rvtshiline() returned an internal error.
    Action: Note this error number and the actions you are trying to perform.
    Contact your system administrator for"
    The receipt gets created succesfully from the form. Anyone knows the issue? Please help me...thanks
    Here are the insert statements...
    --Insert data into Interface tables
    INSERT INTO rcv_headers_interface
    (header_interface_id,
    GROUP_ID,
    processing_status_code,
    receipt_source_code,
    transaction_type,
    auto_transact_code,
    last_update_date,
    last_updated_by,
    creation_date,
    created_by,
    expected_receipt_date,
    comments,
    validation_flag,
    packing_slip,
    vendor_id,
    vendor_site_id,
    ship_to_organization_id
    VALUES (rcv_headers_interface_s.NEXTVAL,
    rcv_interface_groups_s.NEXTVAL,
    'PENDING',
    'VENDOR',
    'NEW',
    'RECEIVE',
    SYSDATE,
    fnd_global.user_id,
    SYSDATE,
    fnd_global.user_id,
    SYSDATE,
    'test',
    'Y',
    'ABC',
    po_headers.vendor_id,
    po_headers.vendor_site_id
    po_distributions.destination_organization_id
    --Insert record in transactions_interface
    INSERT INTO rcv_transactions_interface
    (interface_transaction_id,
    header_interface_id,
    processing_status_code,
    receipt_source_code,
    transaction_date,
    GROUP_ID,
    last_update_date,
    last_updated_by,
    creation_date,
    created_by,
    transaction_type,
    processing_mode_code,
    transaction_status_code,
    quantity,
    unit_of_measure,
    source_document_code,
    po_header_id,
    po_line_id,
    po_line_location_id,
    po_distribution_id,
    to_organization_id,
    comments,
    interface_source_code,
    employee_id,
    auto_transact_code,
    destination_type_code,
    attribute_category,
    category_id,
    item_description
    VALUES (rcv_transactions_interface_s.NEXTVAL,
    rcv_headers_interface_s.CURRVAL,
    'PENDING',
    'VENDOR',
    SYSDATE,
    rcv_interface_groups_s.CURRVAL,
    SYSDATE,
    fnd_global.user_id,
    SYSDATE,
    fnd_global.user_id,
    'RECEIVE', --'NEW',
    'BATCH',
    'PENDING',
    2,
    po_lines.unit_meas_lookup_code,
    'PO',
    po_headers..po_header_id,
    po_lines.po_line_id,
    po_line_locations.po_line_location_id,
    po_distributions.po_distribution_id,
    po_distributions.destination_organization_id,
    'TEST',
    'RCV',
    1234, --employee_id
    'RECEIVE',
    'RECEIVING',
    po_distributions.destination_organization_id,
    45074,
    'Standard'
    );

    Pl see you duplicate post here - PO Receipts Interface Error!!
    For urgent issues, pl open an SR with Support
    Srini

  • Urgent Issue in FBL5N transaction

    Hi Experts,
    I need your very urgent help.
    I am executing FBL5N then enter inputs as  'Customer Account' , 'Company Code' and Check "Check Box: Parked Items and Open key date "today's date". Rest of the input fields are left blank. Press F8
    I see Customer Line Item display as expected.
    Now Issue begins here. In Quality, When I double click on any line item...It opens *Display parked customer invoice XXXXX( Transaction FV73,Program SAPMF05A Sub-Screen SAPLFDCB)
    In Production, When I double click on any line item...It opens  Display Parked  Document : Overview  ( Transaction FBL5N ,Program SAPLF040  Screen 700)
    Could anybody please let me know...Why is such dual behavior of system. For same double click on Customer item line, SAP is displaying the different screen in quality and different one in Production.
    Thanks in Advance.
    Ratnesh

    This is a user specific setting
    Ask the user to go to FB00 transaction,
    In that go to the line item tab and there you will find a setting "Item selection goes to", select the option you want there and the system will change the behaviour.
    Thanks
    Naveen

  • Urgent Please - Receiving Transaction Processor

    Hi,
    We are on 11.5.10. I am trying to create PO receipts using the interface program "Receiving Transaction Processor". I inserted data into the rcv_headers_interface and rcv_transactions_interface tables. As this dta is for contract labor, i am assuming that there is no need to insert data into shipment_related interface table. Following shows the insert statement I made sure that I am running the process from the correct org (the org that i used in the filed destination_oprganization field). But still the process completes normally but po_interface_errors has a record with error message as :
    "RVTSH-189: Subroutine rvtshiline() returned error
    Cause: Subroutine rvtshiline() returned an internal error.
    Action: Note this error number and the actions you are trying to perform.
    Contact your system administrator for"
    The receipt gets created succesfully from the form. Anyone knows the issue? Please help me...thanks
    Here are the insert statements...
    --Insert data into Interface tables
    INSERT INTO rcv_headers_interface
    (header_interface_id,
    GROUP_ID,
    processing_status_code,
    receipt_source_code,
    transaction_type,
    auto_transact_code,
    last_update_date,
    last_updated_by,
    creation_date,
    created_by,
    expected_receipt_date,
    comments,
    validation_flag,
    packing_slip,
    vendor_id,
    vendor_site_id,
    ship_to_organization_id
    VALUES (rcv_headers_interface_s.NEXTVAL,
    rcv_interface_groups_s.NEXTVAL,
    'PENDING',
    'VENDOR',
    'NEW',
    'RECEIVE',
    SYSDATE,
    fnd_global.user_id,
    SYSDATE,
    fnd_global.user_id,
    SYSDATE,
    'test',
    'Y',
    'ABC',
    po_headers.vendor_id,
    po_headers.vendor_site_id
    po_distributions.destination_organization_id
    --Insert record in transactions_interface
    INSERT INTO rcv_transactions_interface
    (interface_transaction_id,
    header_interface_id,
    processing_status_code,
    receipt_source_code,
    transaction_date,
    GROUP_ID,
    last_update_date,
    last_updated_by,
    creation_date,
    created_by,
    transaction_type,
    processing_mode_code,
    transaction_status_code,
    quantity,
    unit_of_measure,
    source_document_code,
    po_header_id,
    po_line_id,
    po_line_location_id,
    po_distribution_id,
    to_organization_id,
    comments,
    interface_source_code,
    employee_id,
    auto_transact_code,
    destination_type_code,
    attribute_category,
    category_id,
    item_description
    VALUES (rcv_transactions_interface_s.NEXTVAL,
    rcv_headers_interface_s.CURRVAL,
    'PENDING',
    'VENDOR',
    SYSDATE,
    rcv_interface_groups_s.CURRVAL,
    SYSDATE,
    fnd_global.user_id,
    SYSDATE,
    fnd_global.user_id,
    'RECEIVE', --'NEW',
    'BATCH',
    'PENDING',
    2,
    po_lines.unit_meas_lookup_code,
    'PO',
    po_headers..po_header_id,
    po_lines.po_line_id,
    po_line_locations.po_line_location_id,
    po_distributions.po_distribution_id,
    po_distributions.destination_organization_id,
    'TEST',
    'RCV',
    1234, --employee_id
    'RECEIVE',
    'RECEIVING',
    po_distributions.destination_organization_id,
    45074,
    'Standard'
    );

    Pl see your triplicate post here - PO Receipts Interface Error!!
    For urgent issues, pl open an SR with Support.
    Srini

  • Urgent - BDC program to update technical objects using transaction VA42

    Hi,
    Currently my program updates technical objects details at item level as well as BOM header level.
    But my client insists on updating at contract level i.e when u go to va42 transaction and without selecting any item, we need to go to menu,technical objects where the client  wants all the items to be displayed.
    How to do this way?, is it possible, please advise on this regard.
    Very urgent!
    Thanks in advance
    Anandh.B

    I went into va42 and tried to extras->technical objects but it saying to select the item. Without selecting any item it is not going into technical objects.
    You can only do BDC if is possible manually, since its not possible you cannot do BDC for that.
    Cheers,
    Satya

Maybe you are looking for

  • Ipod not being recognised by computer.

    I have followed all the steps of turning off Ipod and turning off computer..re installing Itunes and my computer and Itunes are still not recognising my Ipod. When I hook up my Ipod the "autoplay folder opens and then browses and then closes. The Itu

  • Unable to call from my office desk

    Hi Team, I have got India Unlimited Subscription. I have registered 4 numbers out of 5 and on of its my office desk phone. Am unable to use/dial the "skype to go numbers" from that Cisco (Office desk) phone. Pls advice in this regard

  • Display of relationships between nodes of multiple trees

    Hello, I am trying to develop a gui to display the relationship between multiple trees. Tree1:------|---------------Tree2:----------------|--------Tree3: ------------|-------------------------------------|-------------- Root -------|----------------R

  • Oracle 8i vs Windows 2000 profesional

    Hi! Guys Need help please! I 'm trying to install Oracle 8i on windows 2000 and I keep getting the error "No top level NT products". I tried chnging the symcjit.dll to symcjit.old as sugested in other forums but I'm still not winning. Please help guy

  • Sent FCP project to Soundtrack Pro but how do I get it back into FCP?

    Hi everyone, I just sent to project from FCP to Soundtrack Pro and now I am wondering how do I send the Soundtrack project back to FCP with the audio adjustments? I know this is possible I'm just having a barin ** moment today. Thanks