Please Help using BAPI_TRANSACTION_COMMIT in BDC session

Hi,
  I am using custom transaction to create vendor invoices by using function module BAPI_INCOMINGINVOICE_CREATE and it creates the invoice and go to BAPI_TRANSACTION_COMMIT to commit the database updates. 
The problem is when i am creating the invoice for multiple PO's using BDC session method this program executes only of one PO's and commits created invoice data and comes out of the program with out continuing to further steps after BAPI_TRANSACTION_COMMIT FM execution. Please advise me how to resolve this.
Regards,
Challa

Hello Challa
The command
CALL TRANSACTION USING...
has to optional addition
OPTIONS FROM ls_options.
where ls_options is of type CTU_PARAMS.
In the documentation of CALL TRANSACTION is says that if RACOMMIT = 'X' then CALL TRANSACTION USING... is not completed by COMMIT.
I guess the commit work does prematurely finish your BDC session if this option is initial.
Regards
   Uwe

Similar Messages

  • Please help using Helix Tookit for Wpf

    Im using helix 3d toolkit for wpf and i want to plot a surface parametrically given the arrays
    x[u,v],y[u,v],z[u,v]
    here u and v are the parameters of the surface. I looked at the surfaceplot demo and couldnt figure it out please help thanks.

    Unfortunately, since this is third party, not supported by Microsoft.
    That means that msft are unlikely to offer advice.
    You might get lucky and find someone here has used it - not looking good so far though.
    Otherwise, you are best advised to ask on stack overflow as the documentation says:
    https://helixtoolkit.codeplex.com/discussions
    Good luck.
    Hope that helps
    Please don't forget to upvote posts which you like and mark those which answer your question.

  • PLEASE PLEASE help!!! Telnet session echo problem

    All,
    I posted this question before but did not get any solutions. I am posting this again and hopefully someone can help me this time.
    The implementation:
    I have created a GUI based telnet session which simulates UNIX X-term window. I used the JTextArea to gather the input from user and to display the output received from the socket output pipe. I have 1 thread does nothing but listen to the socket output pipe and append whatever received to the text area, the KeyListener interface was used on JTextArea to retrieve user inputs. Every time when key is typed the getKeyChar() is sent to the socket thru the input pipe.
    The problem:
    As mentioned above every time the getKeyChar() is sent to the socket it will be displayed on the TextArea twice (One is user typed and one is received from the socket I guess). So, it's like when you type "ls" it will display "llss". Other than this everything else works fine.
    Can someone PLEASE give me some advice?
    Thank you in advance.
    Leo

    If you can't make the service that you're connecting to stop echoing the characters back to you (which is probably not what you want), you'll need to filter the characters received and strip out the ones you've sent.
    or
    There might be a way to implement a Keyboard input listener and trap the key presses preventing them from being entered into the text area which would solve your problem. The characters in the text area would be the echoed ones.

  • Please  help me to understand BDC !

    ASAP

    Hi ,
    BDC Document Links:
    Go thur these
    http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm
    http://****************/Tutorials/ABAP/BDC/withoutBDC.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sap-img.com/bdc.htm
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sapdevelopment.co.uk/bdc/bdchome.htm
    http://www.planetsap.com/bdc_main_page.htm
    Table Control in BDC
    HI,
    Refer the link:
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    The concept is easy: it has to indicate the index of the table control in the field name, so if you have to populate the first record of table control:
    BDC-FIELDNAME = <FIELDNAME>(01).
    If you fill the second row:
    BDC-FIELDNAME = <FIELDNAME>(02).
    and so....
    Now the problem is usually on how many records you have to load, because u can fill only the rows of table control available in the screen, If you have more records than it can be displayed yuo have to simulate the command to go next page.
    The number of recod can be displayed can depend on pc resolution and many program haven't command to go to next page (in this case it could be impossible create a BDC program9.
    A way to create a bdc program resolution indipendent is to work on the first and second row.
    - Place the first hit in the first row of bdc;
    - Place the second insert in the second row of bdc;
    - Place the last hit to the top of table control;
    - Place the next hit in the second row;
    - Place the last hit to the top of table control;
    - Place the next hit in the second row;
    - .... and so
    For more info: Search in SDN with TABLE CONTROL IN BDC.
    Will get a lot of related links.
    Reward points if this Helps.
    Manish

  • Please help, used my credit card

    Hello
    Maybe somebody could tell me how to contact with skype with this problem? Somebody used my credit card or online banking to pay for his skype account. How should I contact with skype to get information about account witch was paid?

    you may need to contact Skype's customer service as well as your bank to know what your possible options are;
    How to Contact Skype Customer Service
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

  • Please help using substring()

    char[] data = new char[80];
                int len = 0;
                while ((len = br.read(data, 0, data.length)) != -1 ) {
                    //You do now have len characters available in the data.
                     line = new String(data, 0, data.length) + ",";
                     String firstName = line.substring(0,10) + ",";
                     String lasttName = line.substring(10,27) + ",";
                     String startDate = line.substring(27,35) + ",";
                     String address1 = line.substring(35,45) + ",";
                     String address2 = line.substring(45,55) + ",";
                     String city = line.substring(55,65) + ",";
                     String state = line.substring(65,67) + ",";
                     String country = line.substring(67,70) + ",";
                     String zip = line.substring(70,80);
                     String record = firstName+lasttName+startDate+address1+address2+city
                                              +state+country+zip;
                } I'm reading is a file with the code above, and then breaking the lines up into substrings manu with different sized fields. Using this sample input file:
    Bob Smith 12 North Rd Denver CO USA 12435
    Tom Jones 82 State St Miami FL USA 95764
    It reads in the first line fine (Bob, Smith, 12 North Rd, Denver, CO, USA, 12345), but the second line doesn't formatting like it should (ex: Jo,nes 82, State St Mi,ami ...etc)
    My guess is that maybe the last element may be causing the problem as in its reading the zip and reading out to 10 chars, but the zip is only 5, and I believe it mayb be overlapping and starting to read the next line somehow.
    Any help would be GREATLY appreciated.

    From the API documentation:
    Returns:
    The number of characters read, or -1 if the end of
    the stream has been reached. I'm assuming this is regarding the read(byte[]) method of BufferedInputStream?
    So how does it know it's reached the end of the
    stream(-1) if the actual end of the stream is beyond
    80 characters?If there is nothing to read when you call read() then it will return -1. If there is anything to be read, it will return the number of characters read.
    I'm asking because I don't know the answer, which I
    believe is the solution.No, this has nothing to do with the solution to your problem. The problem is that you're reading to much at a time, you should only read one line at a time.

  • Please help: Using integration transformation

    Hello,
    I have the following xml:
    <params>
    <param>
    <name>parameter1</name>
    <value>somevalue</value>
    </param>
    <param>
    <name>parameter2</name>
    <value>somevalue</value>
    </param>
    </params>
    This XML is the entry point of my process. I want to select, for example, parameter2 and set process String variable named "parameter2" with the xml value.
    When I set transformation using workshop I get the following source code:
    data($x0/ns0:param[1]/ns0:value)
    But I want to select "parameter1", not the element 1 of the XML. How I can do this using workshop?
    Thanks
    Srp.

    The transformation you need is based on condition, you want to traform data based on the value of another tag, so you need to define if statement, something like -
    if ($x0/ns0:param[1]/ns0:name = "parameter1") then
    data($x0/ns0:param[1]/ns0:value)

  • So how can I use my iPhone or stream music on the ATV without having use of the computer?. I am limited I have wifi iPhone ATV and hd TV. My ATV has a setting for AirPlay as well. Please help :)

    So how can I use my iPhone or stream music on the ATV without having use of the computer?. I am limited I have wifi iPhone ATV and hd TV. My ATV has a setting for AirPlay as well. Please help :)

    Use AirPlay.

  • BDC session : Error records

    I used a Bapi function module. In that i handled the error message and display as output in alv format but they changed the requirement like
    it has to create a session with those error recrods. is it possible?
    Please help
    Thank you

    Hi Pydi Reddy,
    Session to be created with error records? I couldn't understand, why they want to create a session with error records? do they mean that you have to create a BDC for the same T.Code and once BAPI fails to update those records then BDC should be used for those error records?
    Ask them what exactly they mean to schedule a session with error records.
    Thanks & Regards,
    Faheem.

  • BDC Sessions in Error Status

    Hello!
    I have a customer that usually have error status in BDC Sessions and they expect that original users clean up their sessions.
    But they are looking for some task in background to help them, is it possible?
    And he has another doubt:
    "How does the system store the data used in the BDC session?  If we have an error and need to correct the data or re-run the session, where will the tool pull the data for that session?  We are trying to determine if failed sessions are leaving data on the unix filesystems, etc."
    Thanks in advance,
    Daniel Kaoro Kobashigawa

    Hi,
    If you are using the BDC session methos then the error logs and other ino are stored in teh session in SM36
    We can re-process the sessiions that are error ones seen in the Error records.
    Search SDN more on this.
    We have many threads on this issue.
    If you are using the Call Transaction then we dont get the exact error but we can see the error records using BDCMSGCOLL.
    Usually both are combined to handle the data in a accurate manner.
    Regards
    Lekha

  • Adobe Reader for Android issue.... Please help!

    When I open certain pdf files on my HTC Evo they open appear completely blank. Does this have something to do with security settings? If so how to I fix it? I am able to open these files just fine on my pc! This is so frustrating. Please help.

    Use the forum 'Adobe Reader for Android'.

  • Please help with Layer Mask

    I have been painting in Photoshop using layer masks. Using the pen tool I would outline my image, control>R-click>select create layer mask, then I would paint as desired. When doing so it would create a grey layer mask background in the layers window and everything would work100%. But now all of a sudden when I do this process the layer mask square turns white and it seems as the mask I have created is inverted. I paint everything but the mask I want. I have no clue how to turn it back to the original grey colour I was using. Please help.

    Using the pen tool I would outline my image, control>R-click>select create layer mask,
    So are you using a Vector Mask or a Layer Mask?
    Could you post a screenshot?
    What are the Paths’ Area settings?

  • HT203164 My newly installed burner works fine from i-tunes, except the burned disk won't work in my car CD player. The old burner's disks work just fine in the car. Please help.

    My newly installed burner works fine from i-tunes, except the burned disk won't work in my car CD player. The old burner's work just fine in the car. Please help.

    Using my new G5 I have the same problem, which I did not know using my old G4 with an external LaCie burner. The CD-Changer in my car is not able to read audio-cds, also my cd-player in my home hifi-system. The only way to play these audio-cds is (strange...) to put them directly in the main tuner of my car (usually used for the navigation cd), not using the Changer.
    Maybe the problem really depends on the quality of the CD-Rs. I have used CD-Rs from Sony (it´s a brand, I think?) and will try Verbatim.
    Regards, Horst

  • I reset my ipad1 to factory settings to put my apple id in instead of my dad's. Now we cannot activate it. We tried connecting it to itunes and to our wifi. We then turned off the ipad and took out the sim card and tried again. nothing worked. Please help

    please help.

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    http://tinyurl.com/32drz3d
     Cheers, Tom

  • How do i filter recordsets using session variable???  Please help this is driving me mad...!!

    I am having the same problem as user "Gabe the animator" in a post sent in 2007.
    "my recordset that drives a dynamic table won't filter results based on a session variable. I know session variables are working because I have the session variable echo on the page (dragged-n-dropped my session variable from the Bindings panel to my page), and that works fine. So why can't I filter my recordset with the same session variable???"
    here is the code:
    <?php require_once('Connections/mockconn.php'); ?>
    <?php
    session_start();
    ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    if(!session_id()){
    session_start();
    $colname_info = "-1";
    if (isset($_SESSION['email'])) {
      $colname_info = $_SESSION['email'];
    mysql_select_db($database_mockconn, $mockconn);
    $query_info = sprintf("SELECT name, last_name, email, password FROM registration WHERE email = %s", GetSQLValueString($colname_info, "text"));
    $info = mysql_query($query_info, $mockconn) or die(mysql_error());
    $row_info = mysql_fetch_assoc($info);
    $totalRows_info = mysql_num_rows($info);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>home</title>
    </head>
    <body>
    <div id="info">hello <?php echo $row_info['']; ?></div>
    <?php
    if (isset($_SESSION['email'])) {
              echo 'your email: '.' '. $_SESSION['email'] .' '.'good job';}
                        ?>
    </body>
    </html>
    PLEASE PLEASE HELP.... I have been at this for day's...
    how do I get the record set to filter based on the value of the session variable

    Sorry I forgot to mension the error I am getting?
    ( ! ) Notice: Undefined index: in C:\wamp\www\mock\home.php on line 59
    Call Stack
    Time
    Memory
    Function
    Location
    1
    0.0093
    389024
    {main}( )
    ..\home.php:0
    Why is this error coming up?

Maybe you are looking for