More then one BAPI execution in XI

Hi People
  How to call more then one BAPI in a single scenario ( XI ).
I need to execute 'BAPI_ xxxx ' and  'BAPI_TRANSATION_COMMIT'.  Since If i execute only 'BAPI_.XXX', data will not save in SAP, so I need to execute  'BAPI_TRANSATION_COMMIT'.
Please reply as early as possible...
Thanks & Regards
shekar
Edited by: raja shekar on May 28, 2008 11:26 AM

Hi,
Check des, they would help u definitely.
How to use Commit RFC?
COMMIT for Custom RFC
Re: BAPI_TRANSACTION_COMMIT
Thanks,
Vijaya.

Similar Messages

  • DSU Execution Error: More then one instance found for name: DVEBMGS00

    Hello,
    try to start an Upgrade from SAP4.7x110 to ECC6.0 EHP4 SR1 by running the statup.but. I recieve immediatly the error. DSU Execution Error: More then one instance found for name: DVEBMGS00.
    The System is a fresh homo.sys-copy (comming from DVEBMGS00). On the harware was running in former times an instance DVEBMGS00 but the SID was a different. I allready looked if there is still something on the host from this last installation but nothing found.
    Any suggestions
    Peter

    Hi,
    Please see the link below..Hope this will help you..
    Upgrade stuck in Pre- Processing
    DSU Execution Error
    /thread/1948457 [original link is broken]
    Regards

  • How to use 'BAPI_GOODSMVT_CREATE'  for more then one row selected ???

    Hi,
    I am using bapi , BAPI_GOODSMVT_CREATE  ,  my requirement is that first perform ALV display with check boxes & then user can selsct any number of rows  & then on clicking execute button  this bapi is triggered , now my ques is that  if i am selecting rows one by one & executing , then am able to post data successfully, but if am selecting  more then one row at a time then its giving me error
    " exactly one serial no must be selected  (instead of more then two / three ) ."
    plz help me .
    this is how i am filling data in BAPi & bapi call
    FORM FILL_BAPIDATA .
      wa_GOODSMVT_HEADER-PSTNG_DATE = sy-datum.
      wa_GOODSMVT_HEADER-doc_DATE = sy-datum.
      wa_goodsmvt_code-gm_code = c_gmcode.
      LOOP AT it_final INTO wa_final.
        wa_GOODSMVT_ITEM-MOVE_TYPE = c_movtype.                 " '313'.
        wa_GOODSMVT_ITEM-material =  WA_final-MATNR.
        wa_GOODSMVT_ITEM-ENTRY_QNT = wa_final-verme.
        wa_GOODSMVT_ITEM-plant =  WA_final-WERKS.               "'DB10'.
        wa_GOODSMVT_ITEM-STGE_LOC =  WA_final-LGORT.
        wa_GOODSMVT_ITEM-BATCH = WA_final-CHARG.
    wa_GOODSMVT_ITEM-BATCH = l_charg.
        append wa_GOODSMVT_ITEM to IT_GOODSMVT_ITEM.
        clear: wa_GOODSMVT_ITEM.
      ENDLOOP.
      LOOP AT it_final INTO wa_final.
        wa_serialnumber-SERIALNO = wa_final-sernr.
        APPEND wa_serialnumber to it_serialnumber.
        CLEAR wa_serialnumber.
      ENDLOOP.
      LOOP AT it_position2 INTO wa_position2.
        wa_serialnumber-MATDOC_ITM = wa_position2-wepos .
        MODIFY it_serialnumber INDEX sy-tabix from wa_serialnumber TRANSPORTING MATDOC_ITM .
      ENDLOOP.,
    data: begin of mthead.
            include structure bapi2017_gm_head_ret.
    data: end of mthead.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          GOODSMVT_HEADER               = wa_GOODSMVT_HEADER
          GOODSMVT_CODE                 = wa_GOODSMVT_CODE
       IMPORTING
          GOODSMVT_HEADRET              = mthead
        MATERIALDOCUMENT              = w_MATERIALDOCUMENT
        MATDOCUMENTYEAR               = w_MATDOCUMENTYEAR
        TABLES
          GOODSMVT_ITEM                 = IT_GOODSMVT_ITEM
          GOODSMVT_SERIALNUMBER         = IT_SERIALNUMBER
          RETURN                        = IT_RETURN
      GOODSMVT_SERV_PART_DATA       =
      EXTENSIONIN                   =
    APPEND w_MATERIALDOCUMENT to it_GOODSMVT1 .
    IF sy-subrc = 0 .
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    *MESSAGE text-016 TYPE 'I'.
    PERFORM msg_log  .
    ENDIF.

    Hi,
    Did u check the serial numbers table before calling the BAPI. Might be the case tht same serial number is assigned for all items, in this case the goods movement may be possible with same serial number for all items.
    Reagrds,
    Aditya
    Edited by: aditya on Aug 11, 2009 11:46 AM

  • How do I get the text to flow throughout more then one page.

    Hello,
    I am currently using LiveCycke Designer to create a scholarship for my company. I created fields for the form and I would like to insert a text to describe the scholarship. When I insert the text, it doesn't flow onto the next page. I've tried creating a subform and clicking "flowed" and "allow page breaks within content". I also clicked auto-fit for the height, but it just makes a line. For the text box, I've clicked "Expand to fit on the height". It is also a dynamic XML Form. Is there anything else I should be doing?
    I could always send the file to someone to see if they can figure it out.
    Thank you,
    Natalie

    Thank you so much !
    but the link doesn't seem to work. It says that the URL is not in the correct format for an Acrobat.com document link.
    Natalie
    Date: Wed, 12 May 2010 07:53:12 -0600
    From: [email protected]
    To: [email protected]
    Subject: How do I get the text to flow throughout more then one page.
    Here is the corrected form..Even you you set the Subform type to "Flowed" to the subform where the Text box resides, you did not set the Page1 to Flowed (which is the key)..But when I make the Page1 type to "Flowed", all your fields above the Scholrship text boxes' Subform will go one below another.. To fix this, first I have select all the fields and wrap them into a subform and then set the Page1 to Flowed..
    https://acrobat.com/#d=XQ1yfV8fCk85M7sRLD*-gg
    Thanks
    Srini
    >

  • How can I restrict more then one user to access the table?

    Hi !
    I have a problem and two solutions and I am a bit confused as to
    which one is the best one and/or can there be any better way of
    handling the problem ?
    Problem : I have to update a key field of a table when I update
    it in the form 5.0 screen. I am basically doing a maintenance of
    a table and if a certain field is updated then the change has to
    be reflected in two more tables. But the issue is that the field
    is a part of the key in those two tables. So all I can think of
    is that I need to insert new set or rows for that new value of
    the field and delete the old set of records for old values of
    the field.
    There are two ways of doing it;
    1.One option can be to explicitely define two cursors separately
    and fetch the values in them one by one and then insert the new
    records and then delete the old records in both the tables. This
    I feel will be a cumbersome process both in terms of processing
    time and the coding.
    2.Second option I was thinking can be to create two flat tables
    (without keys) and insert the values in them and update the
    changed field there and then insert the rows in the respective
    tables. Delete the old records in the main tables and delets the
    records in these flat tables. This is a bit more faster and
    easier to predict and code. This seems to be a better option for
    me.
    Any comments on these ?
    In both the cases I was thinking of making some provision so
    that more then one person can't update the table simultaneously.
    Since if there are more then one persons doing the processing
    then some inconsistency might creep into the whole process.
    This is easier to do in the second process as if I check the
    data in the flat tables and if there is some data then I can
    presume that some one is doing the processing and I can ask the
    other person to hold for a while. But in this case how can I
    stop more then two people to simultaneously check for the empty
    table and start inserting the record ?
    I was just thinking of having a sepatare table having only one
    field and this will be a key field and as the process begins the
    process will insert a fix value say 'Y' in the key field and at
    the end of the process the record will be deleted and this way
    we can restrict the user to access the process more then one at
    a time..? Since you can't have same value of the key in a table
    more then once.
    Any better way of handling it will be deeply appreciated.
    How about locking the table at the begining and releasing the
    lock at the end ? Will there be any issue in that? since I am
    inserting and deleting the rows in the same transaction.
    Comments welcome,
    Shobhit
    null

    How about performing the update IN the database using a stored
    procedure?
    By using non-database fields on your form to get the
    information, you can then call the procedure in the database to
    perform the updates. If an error occurs in the procedure you
    rollback, if necessary, and send a message or status back to the
    form. If it succeeds you might wish to commit and then re-
    execute the form's query -- using either the original key values
    or the new key values...
    null

  • HOW DO I USE MORE THEN ONE ITUNES WITH MY IPHONE WITHOUT ERASING MY MUSIC?

    I have two different laptops with iTunes on it. I use both of them but my iPhone only works with one iTunes. I plug it into the computer and it says that my iPhone cannot use more then one iTunes. Is there a way I can use both or no?
    YES I AM CLICKING MANUELLY ADD SONGS TO MY iPhone.
    I just bought my iPhone about a week or so ago.
    Please help ASAP.

    I clone my library to a portable drive using SyncToy 2.1, a free tool from MS. I run this both at home & work so that I essentially have three identical copies of my library for backup redundacy, any of which I can use to update my iPods and my iPhone. I use iTunes Folder Watch occasionaly in case I've managed to download, for example, a podcast at one location but overwrite the library with a newer copy updated at the other. It can be done but you need to take considerable care...
    tt2

  • Can I use more then one apple ID on my computer/osx app store

    Hi,
    I use my MBP/iMac/ipad/iphone for both business and home.  Right now everything is setup to my home apple id (and I have made quite a few purchases with that).  With the release of the osx app store and FCPX,  my company wants to buy these for my computers.  But they want to do this on their apple id.  Can I run more then one id on a mac?  How can I make this work as I know they will want me to start getting more apps as they are released.

    You can have apps from multiple Apple IDs on one Mac. The issue will be that to update Mac apps bought with A ID #1 will require signing into A ID #1 in the MAS. And later when apps bought with A ID #2 need an update you will need to sign into A ID #2 in the MAS to update them. If you can keep that straight and can abide that requirement, there should be no issues.
    The same will be true to update iOS apps, but using iTunes.

  • Since iTunes 7 can't import more then one song at a time

    When I use File> Add file to library, I can no longer import more then one song. If I select more then one file, iTunes wont import anything. I have my music download to my main iTunes folder, therefor I dont want to use add a folder, also there often is other songs I dont want to import at that time. I can drag and drop from explorer, but its annoying.
    Not a terrible bug, but another in the long list for iTunes 7.
    custom   Windows XP Pro   P4 2.8, 1 Gig Ram, Radeon x1600pro, Asus mobo

    Thanks Rachyl, I'll try that when I get off of work. What about the album art? How can I make sure I get it every time in the future. Can I rip my CD's using another software to make sure they are tagged right?
    BTW I used to live in NC not too long ago and went to school there....GO HEELS!

  • Is there a way to Search (List search) for more then one field text from a column for Bulk uploading?

    I've been trying to find more information on this and I apologies if this has already been answered. I just don't know the correct way to ask this. We have a SharePoint List at the company that we have people input information into different columns. The
    problem is most of those information are very repetitive. Is there a way for me to search more then one field text in the column and just input that same information in?
    ex:
    Column 1
    Column 2
    Date:
    883851
    MidWest
    User input 
    8831518
    MidWest
    User input
    On the search field in the SharePoint List, I would need to search for 883851, 8831518 etc,  would view those requested numbers, then I would click edit and change dates to those rows. Does that make sense? I'm sorry I'm fairly new at sharepoint.

    I think what you're asking is about having repetitive options in a list, show up easily for new items being created.
    This can be done by setting the columns that contain repetitive information to Choice fields.  In the configuration of the Choice field, check the box for "Allow custom values".  Now as users are entering data into the list, the dropdown of options
    for a given field grows and users can quickly see and select previously entered and thus repetitive values for the given fields.
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • HT1296 How can i get my contacts to show on itunes on my laptop?  Or at least delete more then one at a time on my iphone 4s???

    How can i delete more then one contact at a time on my iphone 4s or bring my contacts up on itunes on my laptop?? please help

    No.
    Iphone will sync with one and only one computer a a time.  Syncing to another will erase the current content from the iphone and replace with content from the new computer.

  • More then one student license on same account

    Hello. Can i have more then one student license on same account. The 60% of thingy. One for home, one for work and one for the notebook. They may run simultaneously because of the friends using the computer. All 3 computers will use same account name and password.

    You may install software on up to two computers. These two computers can be Windows, Mac OS, or one each.
    If you install on a third computer, it will request you to de-activate on the other two computers.  You can then reactivate one of the previous two computers, and use Creative Cloud apps on it.
    If you regularly need to use the Creative Cloud on more than two computers then it would be best to purchase an additional subscription.  This is the same licensing btw which we have for our prepetual product.  An advantage though for Creative Cloud over the perpetual product is that you can install on Mac and Windows with the same subscription!
    As it stands, the EULA states that you can install it on up to two computers at a time, however, you cannot use applications on those computers simultaneously. This is the case even when you are not using the same application
    http://www.adobe.com/legal/licenses-terms.edu.html
    Regards
    Rajshree

  • How do I select more then one channel to view in tdms file viewer graph panel

    I have a TDMS file that I can view with the labview 2013 TDMS file viewer and I can select one signal out of 15 signals to view on the graph panel. however I would like be able to look at 2 or 3 signals
    on the same graph but can't seem to be able to select more then one signal at a time. Is there a way to select more then one to view?  

    I've modified the TDMS viewer in the past to allow selecting multple channels.  It's a little bit of a pain because the tree control in the viewer only allows you to select one item.  You have to edit the tree to allow multiple items.  Now your selection is an array instead of a scalar.  This means the rest of the code has to be updated, and the references to the tree in subVIs need to be updated.  Not impossible but it takes some time.  Alternativly open it in Excel with the free add-in then you can select the two columns you want and insert a graph.  Not as simple for the user but using Excel, which users should be familiar with might mean users need less training on data files.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Printing salesinvoices, is it possible to do it for more then one invoice?

    Is there a method to use VF03 with a selection for more then one sales invoices?
    I want to print them as pdf file, so I have to fill in the field billingdocument, but I need it for more then one invoice at the same time.
    I tried but it seems not to work. Is it not possible? Or is there another solution to print more then one invoices at the same time?

    Hi,
    check in the Commnication method of your Output type whether In the NUMBER OF MESSAGES field was maintained as 4
    No of messages field will control the Number of invocies to print
    check this and revert
    thanks
    santosh

  • HT4994 how do i delete more then one contact at a time

    how do you delete more then one contact at a time

    george's iphone wrote:
    how do you delete more then one contact at a time
    If you sync your contacts with iTunes on a Mac you can go to address book and delete all or some of your contacts.

  • Hdiutil and creation of more then one partition in a dmg and sparse image?

    Hello,
    My main question,
    after reading the man page and googling, I can't find any way to create a DMG file with more then one partition. Is this even possible?
    My finaly goal is to attach those with -mountRandom and - nobrowse from inside a cocoa.app.
    I need the return value to get the random path to those partitions.
    hdiutil attach test.dmg -mountrandom /Users/dev/Desktop/testdmg
    /dev/disk7 GUIDpartitionscheme
    /dev/disk7s1 Apple_HFS /Users/dev/Desktop/testdmg/dmg.A43MrA
    But I see that when I use a mutli partition dmg ( here simulated ) I will have to look for one or more random paths, something like this.
    hdiutil attach test.dmg -mountrandom /Users/dev/Desktop/testdmg
    /dev/disk7 Applepartitionscheme
    /dev/disk7s1 Applepartitionmap
    /dev/disk7s2 Apple_HFS /Users/dev/Desktop/testdmg/dmg.A43MrA
    /dev/disk7s3 Apple_HFS /Users/dev/Desktop/testdmg/dmg.7IaUpK
    What is the best way?
    to grep a line wich contains '/dmg./ and then awk print $3 ?
    path=/Users/dev/Desktop
    hdiutil attach $path/test.dmg -mountrandom $path/testdmg | grep '/dmg.' | awk '{ print $3 }'
    but what when I attach f.e a sparse image not using the -mountRandom, then I have no '/dmg.' just volumes?
    Is that doable in one universal piece of code?

    I can only answer your question re:multi partition on a .dmg with:
    doug-penningtons-power-mac-g4:Desktop dougp$ diskutil list
    /dev/disk0
    #: TYPE NAME SIZE IDENTIFIER
    0: Applepartitionscheme *57.3 Gi disk0
    1: Applepartitionmap 31.5 Ki disk0s1
    2: Apple_Driver43 28.0 Ki disk0s2
    3: Apple_Driver43 28.0 Ki disk0s3
    4: AppleDriverATA 28.0 Ki disk0s4
    5: AppleDriverATA 28.0 Ki disk0s5
    6: Apple_FWDriver 256.0 Ki disk0s6
    7: AppleDriverIOKit 256.0 Ki disk0s7
    8: Apple_Patches 256.0 Ki disk0s8
    9: Apple_HFS Joe 57.1 Gi disk0s10
    /dev/disk1
    #: TYPE NAME SIZE IDENTIFIER
    0: Applepartitionscheme *10.0 Mi disk1
    1: Applepartitionmap 31.5 Ki disk1s1
    2: Apple_HFS me 10.0 Mi disk1s2
    doug-penningtons-power-mac-g4:Desktop dougp$ diskutil partitionDisk disk1 2 HFS+ leroy 5M HFS+ madge 5M
    Started partitioning on disk disk1
    Creating partition map
    Formatting disk1s2 as Mac OS Extended with name leroy
    Formatting disk1s3 as Mac OS Extended with name madge
    [ + 0%..10%..20%..30%..40%..50%..60%..70%..80%..90%..100% ]
    Finished partitioning on disk disk1
    /dev/disk1
    #: TYPE NAME SIZE IDENTIFIER
    0: Applepartitionscheme *10.0 Mi disk1
    1: Applepartitionmap 31.5 Ki disk1s1
    2: Apple_HFS leroy 5.0 Mi disk1s2
    3: Apple_HFS madge 5.0 Mi disk1s3
    Message was edited by: doug pennington

Maybe you are looking for

  • Doubt : retaining the value between the calls

    hi, Which statement would you use to declare a variable, within a Function Module/Form-routine, so as it will retain the value between the calls?" Gaurav

  • Needing to use xml data source to populate richfaces tree nodes

    Hey I cant seem to figure this out. I know I probably need to write some java code but Im not sure how it should look. I have some xml and I need to use the data from within the elements to populate some nodes on a richfaces tree. I know how to use a

  • Point of Sale machines to create sales orders

    Hello, We are on 4.7 and not able to use Netweaver for the moment.  Does anybody have any ideas about moving point of sale information from the machines into SAP?  The machines do not come with a data converter, this would be done in an ABAP program.

  • HCM Processes & Forms : Migrating from JSPs to Web Dynpro for ABAP

    We are pretty well invested in HCM Processes and Forms.  We currently use JSP based forms as the UI for our notifications.   We do not, use Adobe Forms. For a number of reasons, we want to transition to forms based in Web Dynpro for ABAP. We want to

  • Screensaver does not run

    Since the recent security update, my screen saver (Cosmos, supplied by Apple) no longer runs when I move into a "hot corner", although the display does sleep immediately when I move into one of those hot corners. Has anyone else seen this? Am I missi