How to create a savepoint in "BC4J transaction" from a struts Action

Hello,
I need to create a kind of savepoint in a transaction object in BC4J
[    BC4JContext context = BC4JContext.getContext(request);
context.getApplicationModule().getTransaction()."savepoint()" ]
but it seems to me that it doesn't exist!!
How can I do this.
Thanks for help
Mehdi

Mehdi:
BC4J does not support creation of savepoints in its transaction object. Savepoint support is quite tricky in that if we were to support it... If the transaction is rolled back to the SP, we would have to sync the cache back to the state when the SP was taken. And, this can be quite an expensive operation.
Thanks.
Sung

Similar Messages

  • How to create F4 for the standard transaction

    Hi all ,
    How to create F4 for the standard transaction for a particular field .
    Bye

    Santosh,
        You can create F4 values for a field in a standard Transaction .
    1. First search for a standard search help meeting your requirement .
    2. If you don't find one, create your own custom (z) serach help .
    ( 1 is preferable )
    After that, include that serch help to the standard field in the transaction .
    For this u need to go to the screen
    ( F1->F9-> screen-> Field )
    Click on the property of the field and include the search help .
    You ll require the access key from the basisi guys as u r changing standard .
    Hope it helps,
    ~ laxmi
    Reward for helpful answers

  • How to create new project in SPRO Transaction

    How to create new project in SPRO Transaction
    I need to attach my program Transaction code under the created project.
    Please help me how to do?
    Regards,
    Purshoth

    Use SIMGH transaction.

  • How to create a session using call transaction method.

    hi , this is nagaraju,
    How to create a session using call transaction method.

    Hi,
    About Data Transfer In R/3 System
    When a company decides to implement the SAP R/3 to manage business-critical data, it usually does not start from a no-data situation. Normally, a SAP R/3 project comes into replace or complement existing application.
    In the process of replacing current applications and transferring application data, two situations might occur:
    •     The first is when application data to be replaced is transferred at once, and only once.
    •     The second situation is to transfer data periodically from external systems to SAP and vice versa.
    •     There is a period of time when information has to be transferred from existing application, to SAP R/3, and often this process will be repetitive.
    The SAP system offers two primary methods for transferring data into SAP systems. From non-SAP systems or legacy system. These two methods are collectively called “batch input” or “batch data communication”.
    1. SESSION METHOD
    2. CALL TRANSACTION
    3. DIRECT INPUT
    First step for both the methods is to upload the data to internal table. From Internal Table, the data is transferred to database table by two ways i.e., Session method and Call transaction.
    Session is intermediate step between internal table and database table. Data along with its action is stored in session i.e., data for screen fields, to which screen it is passed, the program name behind it, and how the next screen is processed.
    When the program has finished generating the session, you can run the session to execute the SAP transactions in it. Unless session is processed, the data is not transferred to database table.
    A technique similar to SESSION method, while batch input is a two-step procedure, Call Transaction does both steps online, one after the other. In this method, you call a transaction from your program.
    SESSION METHOD
    Data is not updated in database table unless Session is processed.
    No sy-subrc is returned.
    Error log is created for error records.
    Updation in database table is always synchronous
    CALL TRANSACTION
    Immediate updation in database table.
    Sy-subrc is returned.
    Errors need to be handled explicitly
    Updation in database table can be synchronous Or Asynchronous.
    Regards,
    Sruthi.

  • How to create a batch job for transaction SM13 or SM37

    How to create a batch job for transaction SM13 or SM37?
    I want to create a batch job for t-code SM13/SM37, the jobs will send a email to my inbox when the errors occurred in SM13/SM37.
    How to do this? thanks in advance.

    Hi,
    Check the link:
    http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/30237989-0901-0010-70a4-944691eb5e52 [original link is broken]
    Make sure the CCMS agent installation is in place as per the Monitoring setup guide.
    Follow the link Central auto reactions for configuring alert mails.
    Regards,
    Srikishan

  • How to create an RFC for MIGO transaction?

    How to create an RFC for MIGO transaction?
    I want my RFC to accept all details as accepted in MIGO transaction.
    For the entered PO no, display the materials against it and allow user to enter the quantity for the same.
    Then the user should be able to post the PO by executing the RFC.
    Kindly revert asap.
    Thanx in advance,
    Bhakti

    Put good movement header data in structure header
      l_header-pstng_date = sy-datum.
      l_header-doc_date = sy-datum.
      l_header-ver_gr_gi_slip = space.
    Assign goods movement code
      l_wa_goodsmvt_code-gm_code = c_gm_code.
    Add material, plant, and other line item details in
    goods movement item table
      l_wa_goodsmvt_item-material = l_wa_selected-matnr.
      l_wa_goodsmvt_item-plant = l_wa_selected-werks.
      l_wa_goodsmvt_item-stge_loc = l_wa_selected-lgort.
      l_wa_goodsmvt_item-batch = l_wa_selected-charg.
      l_wa_goodsmvt_item-move_type = l_wa_selected-mov_type.
      l_wa_goodsmvt_item-entry_qnt = l_wa_selected-deviceid.
      l_wa_goodsmvt_item-entry_uom = l_wa_selected-meins.
      l_wa_goodsmvt_item-move_plant = l_wa_selected-zwerks.
      l_wa_goodsmvt_item-move_stloc = l_wa_selected-zsloc.
      l_wa_goodsmvt_item-move_batch = l_wa_selected-rec_batch.
      l_wa_goodsmvt_item-serialno_auto_numberassignment = space.
      APPEND l_wa_goodsmvt_item TO l_i_goodsmvt_item.
      CLEAR l_wa_goodsmvt_item.
      l_wa_serial_num-matdoc_itm = l_c_mat_doc_item.
      l_wa_serial_num-serialno = l_wa_selected-sernr.
      APPEND l_wa_serial_num TO l_i_serial_num.
      CLEAR l_wa_serial_num.
    To call BAPI BAPI_GOODSMVT_CREATE to transfer material of transfer
    type one step
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header       = l_header
          goodsmvt_code         = l_wa_goodsmvt_code
        IMPORTING
          goodsmvt_headret      = l_goodsmvt_headret
        TABLES
          goodsmvt_item         = l_i_goodsmvt_item
          goodsmvt_serialnumber = l_i_serial_num
          return                = l_i_return.
    cheers
    Aveek

  • How to create a service entry sheet based from the PO

    how to create a service entry sheet based from the PO
    Gurus,
    I am creating a service entry sheet from the PO but I am getting an error of u201CPlease maintain services or limits Message no. SE029- Diagnosis(You cannot enter data until the PO item has been maintained correctly) u201C
    The document type of the PO is standard NB, account assignment category is Q- (Proj make to order) and the item category is D(service). Then I am trying also create a PR using account assignment category is Q- (Proj make to order) and the item category is D(service) but still cannot proceed, a message asking me to enter a service entry number. What I know the process is create a PO(maybe based from PR) then post the GR then create a service entry sheet in ML81N but I cannot proceed. Just creating a PR or PO using those mentioned account assignment and item category and getting an error of need to enter a service entry sheet number.
    Please help.thanks!

    HI,
    Process for Creating Service Entry Sheet
    Transaction Code :    ML81N
    1)To open the respective Purchase Order, Click on the u2018Other Purchase Orderu2019, then enter the Purchase Order No.
    2)Click on the u2018Create Entry Sheetu2019 icon(3rd Icon on Top-Left)
    3)Give Short Text (e.g. R/A Bill No. 1) and top service entry sheet number also generated.
    4)Click u2018Service Selectionu2019 Icon on the Bottom of the Screen.
    5)For the 1st Time, when we are making Service Entry Sheet for a respective Purchase Order, we need to u201CAdopt Full Quantityu201D by clicking the Check box next to it, then Enter.  (*For the next time, no adoption is required, just continue)
    6)Select the respective Services by clicking on the Left Hand Side, then Click u2018Servicesu2019 (Adopt services) icon on the Top.
    7)Give the completed Quantity, then Click u2018Acceptu2019 icon(a green flag on the top)
    8)Save .
    9)Service Entry Sheet is SAVED and account posting made.
    Hope, it is useful for you,
    Regards,
    K.Rajendran

  • How to create a Blanket Release in iProc from a approved requistion

    Hi Gurus,
    How to create a blanket Release in iProcurement from a approved requisition. I have followed the below steps.
    1. Created a BPA from Front end.
    2. Run Loader Data program.
    3. Above program reflected the BPA in iProc.
    4. Created requisition from BPA.
    5. Requisition has been approved.
    After this i am stuck. How to proceed ahead. I want to create a Blanket Release from approved PR and then receive in iProcurement.
    please help me on this. We are using 11.5.10.2
    Regards,
    john

    911765 wrote:
    Hi Mahendra,
    Thank you so much for your reply.
    So you mean to say that it all depends upon the Sourcing Rule and ASL based upon that system would automatically create a Blanket Release or If its Automatic Release/Review then we have to manually create release through autocreate.
    The reason why i am asking this query is now when i tested it, system is automatically creating release and starngely there is no Sourcing Rule and ASL has been defined.
    But we are looking for a Manual Release through autocreate window.
    It would be great if you could please suggest.
    Regards,
    JohnJohn,
    When you say system is automatically creating release..as far as i know...it should be referencing a PO..correct...in the releases window..
    can you pull that up..and see if you can get any clue..bcz that PO would BPA...
    Also I am not that much into Iproc...I don't know...whether Iproc has some other setups
    HTH
    Mahendra

  • How to create pdf files in UNIX directory from oracle reports

    I would like to know how to create pdf files in UNIX directory from oracle reports.
    Thanks,

    Please make your question more clear . Also mention the reports version.
    1) If you are runnning reports in Unix, you can give
    .... destype=file desformat=pdf desname=<filename>
    in command line
    Please refer docs below.
    2) If by your question you mean
    "My reports server is running in Windows but I want to ftp my files to Unix after creating it"
    then the answer is that you can use pluggable destination "ftp"
    .... destype=ftp desformat=pdf desname=<ftp url>
    Pluggable destinations download
    http://otn.oracle.com/products/reports/pluginxchange/index.html
    Thanks
    Ratheesh
    [    All Docs     ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf

  • How to create a Savepoint in Oracle?

    Hello!
    How can I create a 'savepoint' in Oracle. Thanks in advance.

    what do you mean by saying you were never successful?
    didn't oracle do what you committed?
    have you tried using the oracle classes ? (i don't know whether there are such things as commit or transactions, but I think so)
    maybe it's that oracle cannot "translate" some of that java stuff?
    I had a few problems using java.sql.clobs with oracle so i changed to oracle.sql.CLOB.
    it's probably the same with other things...

  • How to create a folder in RSANWB transaction to contain APD

    Hi,
    How I can create folder (application) in RSANWB transaction to assign a APD in a new folder?
    Regards,
    Mukul

    Hi Mukul,
    I am not sure you can create your own application area.
    Based on the application area you choose, you are given a set of data sources , transformations and data targets.
    I think, SAP have reserved the name space of the application areas and allowed them for peculiar uses, by enabling only a set of objects to work with in them.
    Hope this helps,
    Regards,
    Sunmit.

  • How to create new authorisation object for Transactions?

    Hi,
    How to create new authorisaton object and how to assign that object on a transaction code?
    Case ->
    The transaction code VL01N have the object called V_LIKP_VST under Class "LE_V" that have two auth. fields. one is 'Activity' and other one is "Shipping Point/Receiving Point".
    Here I want to add "Storage location" also. I have created one object called "Z_LIKP_VST" under same calass "LE_V". and added "Activity", "Shipping Poing/Receiving Poing" and "Storage Location". After that I added that object ("Z_LIKP_VST") for particular transaction through "SU24". I maintained the "Display check indicator" for VL01N.
    I created one new role and assigend the particular transacation for a user. but still SAP taking  V_LIKP_VST insted of Z_LIKP_VST.
    How can I change my Z_LIKP_VST on profile.
    Please help
    Thanks in Advance
    Lal

    Hi Kariyath,
    I suppose its not about interest but a MUST.. sorry but.. unless u include the Logic in the program how can SAP pick these custom Z objects ?
    after u create them and assign to a Tcode in SU24 there is no logic to check these objects. Frankly i see no other chance.... unless SAP comes to us with a great easy way to input these Custom objects
    Keep looking and please Update me if u have any Inputs....on this front..
    All the Best
    Br,
    Sri
    Award points for helpful answers

  • How to Create a Savepoint and Rollback to that SavePoint in Web Tests

    Hi Guys,
    I have web tests or web services tests and I want to create a savepoint at the begnining of the execution of the script and restore back to the savepoint at the end of the execution.
    This is for clean-up purposes , so that the junk or dirty data in the application would be deleted and the application will remain in a clean state?

    What do you want to clean up exactly?
    If there are some functions or web services to use to clean up something, you should define a "cleaning script" and call it at the end of your script with a conditional statement.
    JB

  • How to create a Savepoint and Rollback to that savepoint usingXAI Services

    Hi Folks,
    Is it possible to create a savepoint and restore back the savepoint using XAI Inbound service?
    I have a set of operations to do, so initially i want to create savepoint and then perform operations and then restore back the savepoint in order to have my application in a clean state.
    This is on QA/test environment .

    Configure the Service Script (SS) that has the business logic for which you'd like to enable the SavePoint:
    SS: RXS-StartSA - This has only one Edit Data step for demonstration purposes
    --Step 1 - Edit Data:
    terminate with error (90000, 1 %1='Report error/exception for SavePoint');
    --Schema
    <schema>
        <saId mdField="SA_ID"/> 
        <acctId mdField="ACCT_ID"/>
    </schema>SS: RXS-StartSAO - This SS will also have other part of the business logic. It will invoke above SS along with SavePoint handling
    -- Step 1 - Edit Data:
    move "parm/saId" to"RXS-StartSA/saId";
    move "parm/acctId" to"RXS-StartSA/acctId";
    move "RXS-StartSA" to "F1-SavePointDispatcher/scriptData";
    move 'RXS-StartSA' to "F1-SavePointDispatcher/scriptName";
    invokeBS 'F1-SavePointDispatcher' using "F1-SavePointDispatcher";
    if ("F1-SavePointDispatcher/hadError")
      move "F1-SavePointDispatcher/messageCategory" to "parm/exception/messageCategory";
      move "F1-SavePointDispatcher/messageNumber" to "parm/exception/messageNumber";
    end-if;
    --Data Area
    Business Service : F1-SavePointDispatcher
    Service Script : RXS-StartSA
    -- Schema
    <schema>
        <saId mdField="SA_ID"/> 
        <acctId mdField="ACCT_ID"/> 
        <exception type="group">
            <messageCategory/> 
            <messageNumber/>
        </exception>
    </schema>Expose RXS-StartSAO as a XAI Inbound Service, let's call it - RXS-SavePointTest; Refresh XAI Registry using XAI Command.
    Do a XAI Submission:
    --Request
    <RXS-SavePointTest>
       <saId></saId>
       <acctId>1234567890</acctId>
    </RXS-SavePointTest>
    --Response
    <RXS-SavePointTest>
      <saId/>
      <acctId>1234567890</acctId>
      <exception>
        <messageCategory>90000</messageCategory>
        <messageNumber>1</messageNumber>
      </exception>
    </RXS-SavePointTest>You can see above that there was no application error. You could take necessary programmatic actions depending on the hadError switch.
    Now if you ignore SavePoint handling and invoke the Script directly, Framework will terminate the execution and report an error like below:
    <ResponseStatus>F</ResponseStatus>
    <ResponseCode>1016</ResponseCode>
    <ResponseText>Unexpected error during request processing. (Server Message)
         Category: 90000
         Number: 1
         Call Sequence:
         Program Name: LocalServiceSessionHelper$1
         Text: Report error/exception for SavePoint
         Description: 
         Table: null
         Field: null</ResponseText>
    <ResponseData text="Unexpected error during request processing. (Server Message)
         Category: 90000
         Number: 1
         Call Sequence:
         Program Name: LocalServiceSessionHelper$1
         Text: Report error/exception for SavePoint
         Description: 
         Table: null
         Field: null"  category="11011"  numParm="1"  parm1="(Server Message)
         Category: 90000
         Number: 1
         Call Sequence:
         Program Name: LocalServiceSessionHelper$1
         Text: Report error/exception for SavePoint
         Description: 
         Table: null
         Field: null"  number="1016"  />

  • How to create JCo to call R3 transaction

    Hi Expert,
    I am new to CRM Webshop. Can someone tell me whether it is possible to call R/3 transaction from JCo?
    I need to call transaction /AFS/ATPS and display the screen to the user.
    Thanks

    You can not use JCo to call any R/3 (or another SAP) transactions. JCo, the Java Connector can only be used to call RFC function modules from any Java based application.
    So, you can not "call transaction /AFS/ATPS and display the screen to the user" using CRM Webshop.

Maybe you are looking for

  • HP LaserJet 400 Color MFP M475dw Problems in OS 10.9.4

    I'm using a 2013 MacBook Pro, 2.4 GHz Intel Core i7, 9 GB 1600 MHz DDR3.  I connect via wifi to the referenced printer (for almost a year now).  Since updating to OS 10.9.4 I am able to print only one document at a time.  Attempting to print a second

  • Change logs for Exchange profile

    Hi All, Recently we had a problem with parameter "Bufferinstance" which needs to be False and it was changed to true due to which we had a problem with SLD. Now i have to find out who changed this parameter along with user and date/time details. Can

  • Help Me: trigger a pl/sql in oracle 10g

    hi am the beginner in pl/sql..am having the problem in triggering a pl/sql...i cant explain the whole problem here...i explained it in the following link plz click to see my problem... Message was edited by: ana_oracle

  • Node double click ------Any one help....~~~~

    Hi all, I need to process such a scenario: 1,when I double click open project, which is a link in CL_GUI_SIMPLE_TREE. then this will trigger the node double click operation, which will call the node double click handling method. 2,And when I do a ano

  • Wrong date when synchronizing from Photoshop elements 3.0/4.0

    When I synchronize my photos from photoshop elements (I have tried both version 3.0 and 4.0) the dates displayed above the thumbs in the different folders become February 2040. I have put my photos in different collections in PE which are recognized