Transaction process in Abap

HI,
There is a way to do transaction process in Abap (interaction between two process),
Thanks,
Micheal

hi...
to do so you can see link
http://help.sap.com/saphelp_nwpi71/helpdata/en/8c/5ff22a5f584772a088d460719e20a7/content.htm
regards

Similar Messages

  • Timeout Error in Call Transaction on Asynchronous Abap Proxy

    Hi Gurus!!
    We have a problem with a Call Transaction on Asynchronous Abap Proxy. When the process of Call Transaction (transaction CO02) takes more than 10 minutes, the process is cancelled with sy-subrc 1001 and the Abap Proxy continues with the execution. Strangely, there is a short dump in ST22 on transaction CO02, although on the ABAP Proxy we don't get any dump.
    When this process is called from a Background Job no dumps are get.
    Somebody knows if there is a problem with the Asynchronous ABAP Proxy executing CALL TRANSACTION statementent?
    Thanks and regards,
    Manuel.

    and the message after recording is
    Number               1
    Transaction          F-22
    SY-SUBRC             0
    Messages
    FB01                SAPMF05A                                0301WEZ001                066
    FB01                SAPMF05A                                0300WEZ001                066
    FB01                SAPMF05A                                0300EEZ001                073
    I F5 573                   Correct the error reported before on the next screen
    FB01                SAPMF05A                                0300WEZ001                066
    FB01                SAPMF05A                                0300EEZ001                073
    I F5 573                   Correct the error reported before on the next screen
    FB01                SAPMF05A                                0330WEZ001                066
    FB01                SAPMF05A                                0301WEZ001                066
    FB01                SAPMF05A                                0301WEZ001                066
    FB01                SAPMF05A                                0301WEZ001                066
    S F5 312                   Document 100001677 was posted in company code 3100

  • Parallel Processing through ABAP program

    Hi,
    We are trying to do the parallel processing through ABAP. As per SAP documentation we are using the CALL FUNCTION STARTING NEW TASK DESTINATION.
    We have one Z function Module and as per SAP we are making this Function module (FM)as Remote -enabled module.
    In this FM we would like to process data which we get it from internal table and would like to send back the processed data(through internal table) to the main program where we are using CALL FUNCTION STARTING NEW TASK DESTINATION.
    Please suggest how to achieve this.
    We tried out EXPORT -IMPORT option meaning we used EXPORT internal table in the FM with some memory ID and in the main program using IMPORT internal table with the same memory ID.  But this option is not working even though ID and name of the internal table is not working.
    Also, SAP documentation says that we can use RECEIVE RESULTS FROM FUNCTION 'RFC_SYSTEM_INFO'
    IMPORTING RFCSI_EXPORT = INFO in conjunction with CALL FUNCTION STARTING NEW TASK DESTINATION. Documentation also specifies that "RECEIVE is needed to gather IMPORTING and TABLE returns of an asynchronously executed RFC Function module". But while creating the FM remote-enabled we cant have EXPORT or IMPORT parameters.
    Please help !
    Thanks in advance
    Santosh

    <i>We tried out EXPORT -IMPORT option meaning we used EXPORT internal table in the FM with some memory ID and in the main program using IMPORT internal table with the same memory ID. But this option is not working even though ID and name of the internal table is not working</i>
    I think that this is not working because that memory does not work across sessions/tasks.  I think that the
    IMPORT FROM SHARED BUFFER and EXPORT TO SHARED BUFFER would work.  I have used these in the past and it works pretty good.
    Also,
    here is a quick sample of the "new task" and "recieve" functionality.   You can not specify the importing parameters when call the FM.  You specify them at the recieving end.
    report zrich_0001 .
    data: session(1) type c.
    data: ccdetail type bapi0002_2.
    start-of-selection.
    * Call the transaction in another session...control will be stop
    * in calling program and will wait for response from other session
      call function 'BAPI_COMPANYCODE_GETDETAIL'
               starting new task 'TEST' destination 'NONE'
                   performing set_session_done on end of task
        exporting
          companycodeid             = '0010'
    * IMPORTING
    *   COMPANYCODE_DETAIL        = ccdetails
    *   COMPANYCODE_ADDRESS       =
    *   RETURN                    =
    * wait here till the other session is done
      wait until session = 'X'.
      write:/ ccdetail.
    *       FORM SET_session_DONE
    form set_session_done using taskname.
    * Receive results into messtab from function.......
    * this will also close the session
      receive results from function 'BAPI_COMPANYCODE_GETDETAIL'
        importing
           companycode_detail        = ccdetail.
    * Set session as done.
      session = 'X'.
    endform.
    Hope this helps.
    Rich Heilman

  • Urgent!!  How to call a custom transaction or an ABAP program in BSP?

    Urgent!!  How to call a custom transaction or an ABAP program in BSP?
    We are pretty new on BSP.  Would be very appreciated if any expert here give us the detailed steps on how to build up the application to just call a custom transaction (e.g., t-code: ztest) or an ABAP program.  Would we have to create a button or event handler to do that?  And the detailed steps?
    Thanks in advance and we will definately give you reward points!

    hi Durairaj,
    During the time to wait for your answer, we copied Bernd's code from your last link, but when activating it, get the 1st error msg:
    Field "CLIENT" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. "DATA" statement."DATA" statement. The error shows up here:
    <td>
    <htmlb:inputField id = "client"
    value = "<%= client %>" />
    </td>
    Then we added Client to the page attribute and define it as type String, then get another error:
    The field "EVENT" is unknown, but there is a field with the similar name "EVENT_ID"."EVENT_ID". This error shows up at the beginning in the Event Handler:
    OnInputProcessing:
    code
    • event handler for checking and processing user input and
    • for defining navigation
    • event handler for data retrieval
    event = cl_htmlb_manager=>get_event( runtime->server->request ).
    IF event->name = 'button' AND event->event_type = 'click'.
    button_event ?= event.
    How to resolve this unknown Event error, need to define in Page Attribute tab? but with what type?
    Actually we only want to run an ABAP4 program in BSP, the code is complicated, could you show us an easy way of doing this in BSP?

  • Purchasing - A/P Transaction Processing for Services and Non Inventory Item

    On of the main areas of concern that businesses have is in the area of Purchasing, Goods Receipts and AP Invoices Processing - There is a requirement that businesses have widely referred to as 3-way matching.
    While SAP Business One has this functionality covered quiet well via the following, there is still some need for enhancements so that the application can correctly reflect the AP Accruals:
    - Purchase Order processing with Approval Process (if configured)
    - Ability to perform Goods Receipts for Services.
    - Matching of AP Invoices to Goods Receipts with AP Invoice Approval Process (if configured)
    The above transactions serve the 3-way matching quiet well for all purchases however when it comes to accuring for Services that have been provided, the application does not do this. The Goods Receipt transaction processing to acknowledge the service delivery is allowed however the related posting to the allocation account is missing.
    The process that is followed by the application is same for Items that have not Inventory Items in Item Master.
    As a result of the above, the business have to manually work out what the Accurals for services provided but not invoiced should be.
    With little enhancement to the product this shortfall could very easily be overcome.

    Hi,
    Once there are transactions, we cannot make existing Inventory type item to Non Inventory type item.
    Check SAP note:937297 which states as follows :
    Symptom
    Changing the status of the Inventory Item checkbox (in Item Master Data) for items with inventory transactions and documents, might lead to inaccuracies in the calculations of inventory value.
    Other terms
    Inventory Item, Non-inventory Item, Item Master Data, Continuous Stock, Perpetual Inventory, Inventory Valuation, 2004, 2005, 2005 A SP01
    Reason and Prerequisites
    Consulting Note
    Solution
    The status of an item (Inventory Item/Non-Inventory item as selected in the Inventory Item checkbox in the Item Master Data window), cannot be changed once an A/P, A/R, or Inventory document is posted for the item.
    Regards,
    Jitin Chawla

  • How can i implement a Transaction Processing procedure in my web app ?

    Im planning to enhance my web app servlet.
    the web app is about Online Banking.
    since it is Online banking, there would be time where simultaneous user accessing their account. mean several connection is made on my db.
    I read some article about Transaction processing, so i think it is wise for me to
    implement on my web app but i not sure where to start and in what way can i integrate it with my web app.
    here are several thing i have in mind..
    making the admin able to monitor , or better if can coordinate the transaction.determine the network traffic on my web app. etc.
    any advise or wise opinion please ..thank you for time reading too.

    Im planning to enhance my web app servlet.
    the web app is about Online Banking.
    since it is Online banking, there would be time where
    simultaneous user accessing their account. mean
    several connection is made on my db.
    I read some article about Transaction processing, so
    i think it is wise for me to
    implement on my web app but i not sure where to start
    and in what way can i integrate it with my web app.
    here are several thing i have in mind..
    making the admin able to monitor , or better if can
    coordinate the transaction.determine the network
    traffic on my web app. etc.
    any advise or wise opinion please ..thank you for
    time reading too.Read about ACID properties, isolation, and locking mechanisms. It's a database issue, not a network traffic problem.
    Please tell me that this is just a homework assignment. If not, please tell me the name of the bank that employs you so I can be sure to never have dealings with them.
    %

  • Process Type ABAP does not work properly via process chain

    Dear SDNers
    I am running a process chain and it contains process type ABAP program. ABAP program was running correctly till now via this process chain. ABAP program process type generally takes approximately 2 hours to run. But now, this process type for ABAP program just run for less than 1 minute and finishes successfully. The issue is that ABAP program does not run at all.
    I ran the ABAP program in background and it took approximately 2 hours to run. ABAP Program is local means in our BW system and does not involve Remote Function call. We have BI7.0 system
    Has some one came across this type of issue?
    Best Regards
    Pradip

    Has the aleremote user or which ever user you have defined for background scheduling changed permissions recently?
    What happens if you create an adhoc chain and include this ABAP variant, does it run then?
    What does the log say in SM37 when run via process chain?
    Cheers
    Craig

  • CALl Transaction Failing in ABAp Proxy

    Hi All,
    We are trying to CALL the VL02n Transaction in our ABAP Proxy Class Code. But the System is somehow not able to CALL The Transaction.
    But if we create a BDC Session the session is getting created.
    Any inputs as to why this is falling.
    Regards,
    Arunava

    Hi there,
    Arun and I are working on this issue together.
    We have tried the Call Transaction with mode 'N', and it does not work.  We get sy-subrc = 1,001 from the Call transaction statement.  We we run it in Mode 'A', we get kicked out from the session completely.  The user we are using to connect from XI to ECC has SAP_ALL, and is also a Dialog user.
    Any help/ideas would be very well apprciated...
    Regards,
    Jawwad

  • How to call transaction in an abap program

    how do we open a transaction thru an abap program and pass a parameter to it

    Use call transaction. You can fill up the parameters in the BDC internal table
    DATA:   bdc_tab LIKE bdcdata    OCCURS 0 WITH HEADER LINE.
    DATA:   messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
    CONSTANTS: c_tcode LIKE t130m-tcode VALUE 'FB01'. "Tcode you want to call
            CALL TRANSACTION c_tcode
                 USING  bdc_tab
                 MODE   'N'
                 UPDATE 'S'
                 MESSAGES INTO messtab.
    Error message will be captured in the messtab.
    You can goto the SAP help on Call transaction to see all the details and options.
    <b><REMOVED BY MODERATOR></b>
    Thanks.
    Message was edited by:
            Alvaro Tejada Galindo

  • Start BPM process from ABAP report. Need some investigations.

    Hi there!
    I have to start a BPM process from ABAP report. I found an article http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d75b45-7fef-2b10-bc8e-c6012e0a9457?QuickLink=index&overridelayout=true and have done everything it describes but the process doesn't start.
    What I've done:
    1) Created a service proxy in SE80.
    2) Created a logical port in SOAMANAGER.
    3) Write a code to start a WebService in ABAP Report.
    But when I start a program nothing happens, no errors.
    What analysis I did:
    1) See logs and traces in SOAMANAGER - there is nothing appears after I start the report.
    2) Tried to test connection to my WebService in SM59 - the connection works, but it use a POST method instead of GET:
      Error: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET.
    But I think it is OK and from the report it use a right method.
    3) Tried to delete a logical port - the error of communication problem appears. So it means that all settings are right.
    4) No logs in NWA logs
    My thoughts - if there is not any errors and no result, it can be because the user authorization. E.g. it tried to start a process by a user who doesn't have SAP_BPM_SuperAdmin role. But I can't find a way how to check what really happens. So I want to ask for a help, colleagues:).

    Dear Kirill Zhuklinets,
    Can you share your solution as i am facing the same error while trying to consume BPM webservice from SRM ECC
    Error Message from SRM ECC :
    Exception occurred in communication framework:Error in HTTP Framework:405Method Not Allowed
    Log from BPM Web service
    Error: process()
    [EXCEPTION]
    com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: com.sap.engine.services.webservices.espbase.server.additions.wsa.WSAddressingException: com.sap.SOA.wsr.030104 - Expected request method POST. Found GET.
    Please share your solution..
    Regards,
    Yasin

  • Transaction Process not rolling back

    Hi Experts,
    I am testing the Transaction Process which uses a DB Adapter (which calls a procedure) to insert data into a table. There are 2 fileds in the table (employee id and employee name) and in this employee id is the primary key. In the same scope I invoke this DB Adapter PL twice and for the first invoke it went fine but for the second invoke it has thrown me a unique constraint exception (as again I am passing the same data). I am catching the exception with a catch all block which is working absolutely fine.
    The problem is in the table I am getting the data entry for the first invoke which should have roll backed as i am using the *'transaction=participate'* property and respective changes have been done in bpel.xml for supporting the transaction.
    There should be no entry in the table but yet I am getting it. Please help me.
    Where could I have gone wrong?????
    I am using BPEL-10.1.3.1 version.
    Thanks in advance.
    Cheers,
    Ankit
    Edited by: user11083689 on Apr 24, 2009 4:41 AM

    hi,
    There are two mechanisms to force a rollback from a BPEL process.
    Explicitly — throw a bpelx:rollback fault within your flow:
    <throw name="Throw" faultName="bpelx:rollback"/>
    Invoke a partner link that marks the JTA transaction for rollback only.
    For example, in Oracle SOA Suite for 10.1.3.1.0, if Oracle BPEL Process Manager invokes an Oracle Enterprise Service Bus (ESB) flow that in turn fails to call a Web service endpoint, the JTA transaction is marked for rollback. Since the Oracle ESB flow enlists its local transaction in the JTA transaction, a rollback on the JTA transaction impacts Oracle BPEL Process Manager's ability to dehydrate (as the JTA transaction is used by Oracle BPEL Process Manager for persistence).
    regards
    Rajesh

  • Parallel Processing in ABAP

    Hi,
    I have a internal table that has object references in it. Each item in the table are indepenent of the other. I want to extract info from each object and convert it into a internal table so that i can pass it to an RFC function.
    So how can i do this extraction of the info from the objects in internal table in parallel.
    To use the STARTING NEW TASK, i created a fn module that is RFC enabled.... then i can't pass the object reference to this module. So how can do this?
    Also i read that this function module call will create a main or external session which has a limit of 6 per user session.Is this correct?
    If above can be done, I also wanted to restrict the no of parallel processes being executed at any point of time to be 5 or so.
    thanks in advance
    Murugesh

    Hi Murugesh,
    Parallel processing can be implemented in the application reports that are to run in the background. You can implement parallel processing in your own background applications by using the function modules and ABAP keywords.
    Refer following docs.
    <b>Parallel Processing in ABAP</b>
    /people/naresh.pai/blog/2005/06/16/parallel-processing-in-abap
    <b>Parallel Processing with Asynchronous RFC</b>
    http://help.sap.com/saphelp_webas610/helpdata/en/22/0425c6488911d189490000e829fbbd/frameset.htm
    <b>Parallel-Processing Function Modules</b>
    http://help.sap.com/saphelp_nw04s/helpdata/en/fa/096ff6543b11d1898e0000e8322d00/frameset.htm
    Dont forget to reward pts, if it helps ;>)
    Regards,
    Rakesh.

  • Distributed Transaction Processing Services in Oracle RAC 11.2

    Hi,
    Do we have to set the DTP parameter to TRUE for workload services that are going to be used for distributed transaction processing?
    Something like this ...
    srvctl modify service -d crm -s xa_01.service.us.oracle.com -x TRUE
    Oracle 11.2 document is not very clear on this requirement. At one stage it says...
    "Tightly coupled XA transactions no longer require the special type of singleton services (that is, Oracle Distributed Transaction Processing (DTP) services) to be deployed on Oracle RAC database. XA transactions are transparently supported on Oracle RAC databases with any type of services configuration."
    But at the end of the same section...
    "An external transaction manager, such as OraMTS, coordinates DTP/XA transactions. However, an internal Oracle transaction manager coordinates distributed SQL transactions. Both DTP/XA and distributed SQL transactions must use the DTP service in Oracle RAC."
    So do we have to use DTP services with RAC or not?
    Thanks,
    -Sanjeev
    Edited by: user12219014 on 28 Jan, 2011 8:04 PM

    Hi Sanjeev,
    I have some critical applications using Tuxedo on 10gR1/R2 RAC databases and there is no doubt to have with this versions.
    Starting with 11gR1 it seems the main limitation is over...but there are still limitations ! To be honest I will keep the DTP parameter to true after the migration in 11.2 to avoid any problem. It is still recommended even if not mandatory :
    To provide improved application performance with distributed transaction processing in Oracle RAC, you may want to take advantage of DTP services. Using DTP services, you can direct all branches of a distributed transaction to a single instance in the cluster. To load balance across the cluster, it is better to have several groups of smaller application servers with each group directing its transactions to a single service, or set of services, than to have one or two larger application servers.
    Also check note 462060.1.
    Best regards
    Phil
    Edited by: Philippe Florent on Jan 30, 2011 10:07 AM -- add documentation precision

  • Intergrate any ABAP transaction in a ABAP WD application (not via ITS!)

    Can I integrate any standard ABAP transaction in a ABAP Webdynpro application, for instance in a  Popup? (not ITS!).
    My workaround is:
    To create an iView for the ABAP transaction in the portal and to call the iView using the iVIEW URL. This works, but should be a workaround only.

    hi andre......
                        you cannot call an abap transaction from webdynpro for that gui is not supported in webdynpro.
    ---regards,
       alex b justin

  • Starting SAP transaction in between ABAP code

    Hi,
    How can I start a particular transaction in between ABAP code if certain condition is true.
    Regards,
    Tushar.

    If a program has a transaction code, there are two ways of starting it from another program.
    If you do not want to return to the calling program at the end of the new transaction, use the statement:
    LEAVE TO TRANSACTION <tcod> [AND SKIP FIRST SCREEN].
    This statement ends the calling program and starts transaction <tcod>. This deletes the call stack (internal sessions) of all previous programs. At the end of the transaction, the system returns to the area menu from which the original program in the call stack was started.
    If, on the other hand, you do not want to return to the calling program at the end of the new transaction, use the statement:
    CALL TRANSACTION <tcod> [AND SKIP FIRST SCREEN] [USING <itab>].
    This statement saves the data of the calling program, and starts transaction <tcod>. At the end of the transaction, the system returns to the statement following the call in the calling report. If the LEAVE statement occurs within the called transaction, the transaction ends and control returns to the program in which the call occurred.
    You can use a variable to specify the transaction <tcod>. This allows you to call transactions statically as well as dynamically.
    The addition AND SKIP FIRST SCREEN allows you to prevent the initial screen of the new transaction from being displayed. The first screen to be displayed is then the specified Next screen in the screen attributes of the initial screen. If the first screen calls itself as the next screen, you cannot skip it.
    Furthermore, the AND SKIP FIRST SCREEN option works only if all mandatory fields on the initial screen of the new transaction are filled completely and correctly with input values from SPA/GPA parameters.
    The USING ITAB addition in the CALL TRANSACTION statement allows you to pass an internal table <itab> to the new transaction. <itab> has the form of a batch input table. For further information about batch input tables, refer to Importing Data With Batch Input.
    Cheers
    Nishanth

Maybe you are looking for

  • 3TB Time Capsule Disk Error

    Just bought a new 3TB 4th Gen Time Capsule.  Have managed to get the wireless network up but cannot find the disk for time machine back up.  It comes up with an disk error message. Am I missing something or is the Disk damaged?  I thought is was supp

  • Form acting as child in parent child reference

    Hi guys, I have a custom fields form. This form basically uses other forms in our systems information as a parent-child relationship. It uses FORM NAME and ID from that form name to query custom fields form i.e. If you go into for example a customer

  • How do I make my vector character shrink well?

    I created a character in illustrator that I plan to use in animations and on the web. When I shrink the vector to the size of, for example, a small avi picture for social media, I significantly lose line quality. How can I maintain the quality of det

  • Adobe Flash CS3 serial number with trial version problem

    I have been trying to install Adobe Flash CS3 but when i click on the icon it tells me my trial version has expired, to enter the serial number so I do but it does not work. I have manage to install Flash CS3 but everytime I click on the icon to star

  • Color consistence between photo and video

    Hi there! I am a pro photographer at a online store. I have profound knowledge about everything photo, hence am sort of new to video. We are shooting fashion for an online store. At the same time, during the shooting, we also record a video of the st