FUNCTION MODULE TO COMMIT & ROLL BACK.

10-11  Source: Network gathering  Views:0 

Advertisement
Hi all,
I am working on an interface , in case power interruptions  while running file extraction, the program should roll back completely and the the file should be scheduled  later.
could any body give suggest me the solution and  the function module name .
Regards
Sre
Hi,
for BAPI's to commit use FM BAPI_TRANSACTION_COMMIT
to undo all the changes use FM BAPI_CHARACT_ROLLBACK
Related articles
  • FUNCTION MODULE TO COMMIT & ROLL BACK. 10-11

    Hi all, I am working on an interface , in case power interruptions  while running file extraction, the program should roll back completely and the the file should be scheduled  later. could any body give suggest me the solution and  the function modu

  • BAPI/FM to create commitment item which can be commit/roll back externally 11-30

    Hi experts, Is there any BAPI/FM to create commitment item???? I can use BDC but problem is that it can't be roll back. In my requirement  i want to roll back based on condition. i am creating GL and commitment item, if GL creation is failed commitme

  • Function module L_TO_CREATE_MULTIPLE and commit 11-30

    Hi, Does anyone knows if in one report I call function module L_TO_CREATE_MULTIPLE with parameter I_COMMIT_WORK = SPACE and if in the main report after the call of the function module i do a commit command that allows that the transfer order is creat

  • Difference between Function Module Vs Method in Class Module 11-30

    1) Can you please tell the difference between the Function module used in abap program and the method of the class module used in abap programming. 2) does it necessary to do commit statement after calling the function module. Thankyou for you time.

  • Problem with BAPI_TRANSACTION_COMMIT function module 11-30

    I am updating the two fields of a custom table through a custom BAPI function module. After this I am using "BAPI_TRANSACTION_COMMIT" function module to commit the LUW. but after calling this FM one field is updated in the table and another fiel

  • Commit for Asynchronous Function Module 10-11

    Halo Experts, I am working on an Perfomance Optimization project . I am trying to optimize the program by scehduling the individual methods inside the program via asynchronous function modules . By this way I can run this independent methods parallel

  • Invalid COMMIT WORK in an update function module. 11-30

    Hi,Experts,      Currently We got a problem for posting PO's GR with t-code MIGO. Our requirement is that can create Delivery by automaitcly after PO's GR is saving. Then I have tailored a program for creating delivery.The program will be triggered i

  • Differences between Commit work, Logical Unit of Work and Roll back work 11-30

    Hi all, Can any one explain me in details what is the difference between Commit Work, Logical Unit of Work and Roll back work. Pls explain by providing some example. and also explain me where and when these are used and what are the importance of usi

  • Not able to use Commit after the function module STATUS_OBJECT_CREATE 10-11

    I am using function module   STATUS_OBJECT_CREATE    CALL FUNCTION 'STATUS_OBJECT_CREATE'           EXPORTING            CHGKZ         = 'X'            CLIENT        = SY-MANDT             OBJNR         = LV_OBJNR3             OBTYP         = 'IWE'  

  • How to take back the control from RFC function module to calling program 10-11

    Hi, In our system landscape, more than 200 child systems are connected to Solution manager(SMP). I have copied a RFC enabled function module into all the child systems and calling that FM from Sol Man in sychronous mode. Here goes my code in SolMan.

  • Function module to read Comma Seperated File (CSV) 10-11

    Hi, Is there any Function module to read CSV file from presentation server or Application server? Regards, MadhuHi madhukeshwar, 1. Exactly for this purpose, i have developed an independent FORM where we give inputs a) file name (eg. abcd.txt) b) sep

  • Invalid COMMIT WORK in an update function module. in VKM1 Tcode 11-30

    Hi All, I am getting the short dump with message "Invalid COMMIT WORK in an update function module. " Calling a COMMIT WORK in an update process is not allowed because the function modules triggered in a Logical Unit of Work cannot then be proce

  • Does Update function module gets executed after Commit Work? 11-30

    Hi Gurus, I have a BAPI with a Commit work. Does update function module V1 , V2 - i need mainly about the sequence of V2, gets executed after Commit work or before Commit work. ThanksPl refer to SAP help on the same as follows. https://help.sap.com/s

  • Function Module to find the Last Execution date of Back ground Job 11-30

    Hi, Is there any function module to find the <b>last execution date of back ground job</b>. So that I can transfer the data from SAP to Legacy system based on the document creation date should be in between last execution date and current date

  • Commit work in RFC function module 11-30

    hi all. What will happend if i give commit in the RFC function module . why we need to use BAPI_Commit after updating through BAPI function module. regards, MadhaviFirst read some documentation like [SAP LUW|http://help.sap.com/saphelp_bw/helpdata/en

  • Multiple Transaction with Fully Rolled Back 10-11

    Hi there, I've the scenario for a project that require multiple transaction as a subsequent process. I'll have one RFC Function Module that wrap multiple BAPI inside there. This RFC will be publish as a webservice and will be consumed by .NET applica

  • Issue while mail triggering using function module SO_NEW_DOCUMENT_SEND_API1 10-11

    Hi all, I have requirement to send mails from BADI.For that i used following function modules-SO_NEW_DOCUMENT_SEND_API1 and SO_NEW_DOCUMENT_ATT_SEND_API1, Both of these two function module requires to use COMMIT WORK statement. But if we use COMMIT W

  • Call function module in backgrouns task and in update task 11-30

    Hi Gurus,Pls crear me on the " <b>Call function module in backgrouns task and in update task</b>". how it works and waht is the link with LUW  releated to these . also heard that commit work statement aslo linked with this. Pls clarf

  • Dynamically call function module in the date rule 11-30

    Hi Experts I am currently working on service request.I am facing a problem in the date management there.In my service request i have 5 statuses .One of my status is "Pending with consumer".I am using duration settings of service request.By durat

  • Examples for using function modules and BApis. 10-11

    My Dear FRNDS, I am very new to ABAP. And I have read the documentation for  function modules but i am not that clear to practice them.So I would be very happy if u people share a little bit of ur experience with me. Please provide me some examples o