Documentation says not to use Commits inside the FM in the actions.. what about BAPI Commits?

I see in the customization documentation that we should not be using Commit statements in the FMs inside the Actions.. what about when we're calling BAPIs and they require a BAPI commit call?
thanks,
Robert

Hi Robert,
For BAPIs you need to set the commit level in the action definition as for function modules. SAP help portal provides following information about BAPIs and COMMIT WORK:
"The BAPI transaction model must afford the user explicit transaction control. Therefore, if several BAPIs are called together, the caller can decide him/herself when to execute a COMMIT WORK (or, as the case may be, a ROLLBACK WORK). This means that BAPIs themselves cannot (generally) execute a COMMIT WORK command."
I hope this infomration can help
Best wishes
Christoph

Similar Messages

  • "Do not include a break inside the TD tag" is ignored

    In Edit | Preferences | Code Format in DW CS5, the setting "Do not include a break inside the TD tag" is ticked but DW is still putting a line break in the tag like this...
    <td> </td>
    Any idea why the setting is being ignored?
    Malcolm

    Artisan Internet wrote:
    Both fair comments, many thanks. The reason I want to remove the space is because it's impossible to have an empty row with a height of less than about 6 pixels (used as a spacer or for coloured divider lines of different thicknesses) when there's a space within the TD tag. The space counts as a character which means that the row can't be less than the height of a character.
    I know I could make a transparent spacer GIF, and create custom styles for different horizontal rules in the stylesheet, but it's always been a lot quicker to simply use a table row with a height.
    Looks like I'll just have to carry on deleting the spaces from the code.
    Malcolm
    Your best solution is to insert a transparent spacer.gif and give it the dimensions you want. That will overrule all the 'empty' defaults. Please remember, the spacer need only be in one cell of the row. All other cells, unless they have larger content, will follow suit... applies to rows and columns.
    (The 'height' attribute by itself, as you've discovered, is kind of dicey. So is the width.)

  • HT1766 When I turn iPad on I get a box that says Not Enough Storage and neither the Closeor Settings buttons do anything. The iPad turns off on its own. It is full charged.

    When I turn iPad on I get a box that says Not Enough Storage and neither the Closeor Settings buttons do anything. The iPad turns off on its own. It is full charged.

    Try this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up

  • Why the bottom of the screen of my ipod can not be used to open the application but the application could be to shift

    why the bottom of the screen of my ipod can not be used to open the application but the application could be to shift, please help me

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                                              

  • HT4970 I have chosen not to use iCloud for the time being, and cannot get the Reminders i input on my Mac to replicate to my iphone and iPad?  any help is appreciated.

    I have chosen not to use iCloud for the time being since the syncing was inconsistently working with the calender and contacts;  and cannot get the Reminders on my Mac to sync/replicate onto my ios device, neither iphone nor ipad.  Help is appreciated in respect to Reminders.  Thank you.

    ok, thanks.  couple other questions...
    1. will it sync to my reminders on my MAC too if i enter via icloud?  if not, what's the reason for  having the reminder list available on my Mac if it can't sync? 
    2. I have 2 different email accounts, one with a .mac address and another with .msn.  both can be accessed via icloud.  i ran a test using my msn acct as the signin and it logged the reminder onto both the iphone and ipad fine.
    however, when i try with my mac address, it only shows up on my iphone, which list reminders under icloud(which worked on both devices and then under mac which worked only on the iphone, not ipad.  any idea why that might be happening?
    thanks for your help.

  • I cant sync my ipad because I get a message that says 'not enough free space' but the more I delete, the less space I have.

    I cant sync my ipad because I get a message that says 'not enough free space' but the more I delete, the less space I have.  Does anyone else have this issue?

    http://support.apple.com/kb/TS1503
    http://www.apple.com/support/ipad/syncing/

  • He writes that my phone ID, can not be used to activate the phone. my ID, was used from the start. help

    He writes that my phone ID, can not be used to activate the phone. my ID, was used from the start. help

    Welcome to the Apple community.
    Unfortunately, you cannot do very much with your phone unless you get assistance from the previous owner, they should either provide you with the password to unlock it or remove their account from the phone entirely remotely through iCloud.com > Find My Phone.

  • The instrument by which the sim is taken out is broken and stuck inside the hole.what to do?

    The instrument by which the sim is taken out is broken and stuck inside the hole.what to do?

    The problem is that I have allready tryed all of this you told me on any forum and any issue solved is this answer but it`s not helpfull for me Now my iPhone when starts it`s starting with the itunes icon and data cable i cannot enter in the menu or get the start up bar for sliding as usual.Thanks for your hard work to help me but it`s not the right answer.:( so It starts as I said and nothing happened stays like that for a while and sometimes restarts in same mode.After a while the itunes dissapear and I get the battery on a red color and it starts chargind and after 10 20 minutes something like that it shows up again the itunes logo. Thanks all of you who try helping me.

  • I was up dateing my itunes and now  on my ipod touch screen its says itunes and a picture of the lead what do i have to do

    i was up dateing my itunes and now  on my ipod touch screen its says itunes and a picture of the lead what do i have to do

    Having finally managed to update itunes to the current version in order to sort the lock screen of itunes ;logo and usb lead, i find that i dont have on the left side of itunes lists,  the DEVICES heading for me to click on in order to back up/restore etc..... How do i access this..?   I seem to be going around in circles and getting nowhere fast.
    Is there any logical reason why the "devices" catogory wouldnt be showing..? or is there any way i can proceed manually without access to this...? HELP..... PLEASE.. THANKS......

  • HT4759 I have a iPhone and iPad can't use my iPad as it says not enough storage and that the iPad can't be backed up and I can't get use my iPad but all messages and notifications r showing but can't get into them what should I do?

    Got new iPad 4 a week ago and it's saying not enough storage and when I go to tap on settings nothing is happening and I won't switch off!

    If your device is frozen and unresponsive, reset it by holding the power and home buttons at the same time until you see the Apple logo, then release.

  • My iCloud account does not lock my device says that my account can not be used to unlock the device

    what would be the solution to this problem because my data is correct but I get the message that can not be used to unlock

    Do you have a used device, or did you purchase the device new and set it up. If this was a used device, then the iCloud ID that you see is more than likely the original owner and they did not remove it from their account. The only way to activate the device is to make contact with the original owner to have them remove it. If you cannot contact them, then you will not be able to activate the device. There is no way around it and Apple will not assist you in unlocking it or contacting the former owner.

  • Can't play libray 'could not be used b/c the original file can't be found"

    Dell Inspiron 9300   Windows XP  
    When I try to play the songs In my library I get an error message saying " could not be used because the original file could notbe found. Would you like to locate it?" This is the same for both my uploaded and purchased music. This happened all of a sudden and I don't know why. I did not remove any music files from my computer. Can anyone help me please?
    Dell Inspiron 9300   Windows XP  
    Dell Inspiron 9300   Windows XP  

    You get exclamation marks or dead tracks because iTunes can’t find the file. This can happen for a number of reasons:
    The song file or a folder in its path was renamed
    The song file or the folder it is in has been moved
    The song file has been deleted
    The device containing the song files e.g. external drive is not accessible.
    So, did you move or delete anything? Do you have any other software that might move things - such as another music player reorganising your files?
    You can use Windows Explorer to try and locate the music files, also look in the recycle bin.
    Windows search can also look for music files.
    Don't allow your iPod to synchronise as this may delete files from your iPod and you may need it to recover your music if the files really have gone from your HD.

  • I get this message when trying to authorize my  computer. This apple id has not been used yet with the itunes store. Do i have to purchase first

    get this message when trying to authorize my  computer. This apple id has not bee used with the itunes store.
    Do i have to purchase something, before i can authorize my computer.Thank you in advance for any answers received.

    You cannot buy anything from the iTunes Store until you authorize the computer. Are you unable to authorize it? If so see the following:
    Authorization
    Macs:  iTunes Store- About authorization and deauthorization.
    Windows: How to Authorize or Deauthorize iTunes | PCWorld.
    In iTunes you use the Authorize This Computer or De-authorize This Computer option under the Store menu in iTunes' menubar. For Windows use the ALT-S keys to access it. Or turn on Windows 7 and 8 iTunes menus: iTunes- Turning on iTunes menus in Windows 8 and 7.

  • This apple id can not be used to activate the phone

    hi
    i restored my phone days later but i dont why i can activate my phone
    i have my id and pass
    but when i enter to activate always getting error (xxx @gmail.com id can not be used to activate this iphone )
    how to solw now ?

    When your account becomes disabled, Apple provides the following recommendation:
    "This message means that someone tried and failed to sign in to your account multiple times. The Apple ID system disables the account to prevent unauthorized people from gaining access to your information. You need to reset your password, following the instructions at the Apple ID website".
    Visit iForgot.com and follow the instructions there.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    Providing you are simply updating your existing details and not changing to another account, when you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
    In order to change your Apple ID or password for your iCloud account on your computer, you need to sign out of the account from your computer first, then sign back in using your updated details. (System Preferences > iCloud, click the sign out button)
    In order to change your Apple ID or password for your iTunes account on your iOS device, you need to sign out from your iOS device first, then sign back in using your updated details. (Settings > store, scroll down and tap your ID)
    If that doesn't help you might try contacting Apple through iTunes Store Support

  • Need help on whether or not I should go to the genius bar about battery

    I have one of the mid-2012 Macbook pro. I had checked by battery health today and had noticed that my battery health is 79% even though I only have 470 charge cycles. I was reading from the Apple website that the battery health is only suppose to be lower than 80% at approximately 1000 cycles. The thing is that I haven't gotten any of the "Servive battery" messages yet. Coulde I potentially go to the genius bar and ask about a replacement battery considering my battery health is already below 80% even though my charge cycle is less than half of what Apple states?
    Thanks in advance

    charging cycles mean NOTHING.
    what matters is short term ABUSE, not charging cycles.
    1. did you often drain the battery very low?
    2. did you often /always have your macbook on charge,......or did you often / always BOTH have your macbook on charge AND in sleep mode?
    3. did you often /always play realistic heavy graphics games ON battery on your notebook?
    1 or 2 and 3 are harsh on the battery chemistry and therefore its longevity
    all batteries are consumables meant to replaced either in their own "due time" or early due to abuse / misuse.
    Proper understanding of a battery charge cycle
    A charge cycle means using all of the battery’s power, whether that is at once, or over several shorter battery discharges and recharges.
    Two examples for clarification:
    As a first example, where one fully charged battery is discharged down to 10%, then fully recharged, then using 10% of that full charge, this counts as 1 cycle since the total of both discharges is 100% of a full charge of use.
    In the second example, where one fully charged battery is discharged down to 40%, then fully recharged, then using 40% of that full charge, this also counts as 1 cycle since the total of both discharges is 100% of a full charge of use.
    While both examples are that of a single charge cycle, the first example is more aggressive against the lithium battery chemistry than is the second example. In short, collective overall gentle shallow or mid-range draining of your lithium battery is a better use condition than is the first example of deep-draining of the battery.  While both are quantitatively identical as a single charging cycle, they are wholly different qualitatively on the battery chemistry, which is directly related to its ultimate longevity and health.
    In short, it is the near and mid-term life of the battery as relates to its proper care (or lack thereof) that is to be looked after.
    Priorities in order of decreasing importance for battery care are:
    1. Avoiding deep discharges of the battery.
    2. Avoiding having your battery constantly on charge or on charge and in sleep mode.
    3. When playing graphics intense games, use your notebook plugged in when possible.
    4. Reduction of battery cycles by plugging into power when on the go, or when accessible.
    A person who has, for example, 300 charge cycles on their battery and is recharging at say 40% remaining of a 100% charge has a better battery condition state than, say, another person who has 300 charge cycles on their battery and is recharging at say 10-15% remaining on a 100% charge. DoD (depth of discharge) is vitally important on the wear and tear on your Macbook’s battery, much more so than is the counting of charge cycles. There is no set “mile” or wear from a charge cycle in specific. Frequent high depth of discharge rates (draining the battery very low) on a Lithium battery will greatly hasten the lowering of maximum battery capacity.
    Understand that a charge cycle is a general parameter of use, but is not directly related to the short-term or mid-term abuse of the battery, which can rapidly hasten a shorter lifespan, regardless of what the actual cycle count on the battery indicates.
    Proper considerations for near-term care of the battery is of utmost importance. Abuse of the battery is entirely avoidable, long-term eventual old age deterioration of the battery is entirely unavoidable.
    Apple’s adaptive charging system mitigates much potential for accidental battery misuse or abuse; however it is still readily possible to abuse the battery and thereby affect battery health.
    General consideration of your MacBook battery
    Contrary to popular myths about notebook batteries, there is protection circuitry in your Macbook and therefore you cannot ‘overcharge’ your notebook when plugged in and already fully charged.
    However if you do not plan on using your notebook for several hours, turn it off (plugged in or otherwise), since you do not want your Macbook ‘both always plugged in and in sleep mode’.
    Do not perform “battery calibration” on your current Macbook. There is no calibration of current Apple portable Macbooks with built-in batteries.
    A lot of battery experts call the use of Lithium-Ion cells the "80% Rule", meaning use 80% of the full charge or so, then recharge them for longer overall life. The main quantified damage done in the use of Lithium Ion batteries are instances where the internal notebook battery is “often drained very low”, this is bad general use of your notebook battery.
    All batteries in any device are a consumable meant to be replaced eventually after much time, even under perfect use conditions.
    If the massive amount of data that exists on lithium batteries were to be condensed into a simplex, helpful, and memorable bit of information it would be:
    1. While realistically a bit impractical during normal everyday use, a lithium battery's longevity and its chemistry's health is most happy swinging back and forth between 20% and 85% charge roughly.
    2. Do not purposefully drain your battery very low (10% and less), and do not keep them charged often or always high (100%).
    3. Lithium batteries do not like the following:
    A: Deep discharges, as meaning roughly 10% or less. Avoid this in all instances if you can. This is hard on your battery.
    B: Rapid discharges as referring to energy intensive gaming on battery on a frequent basis (in which case while gaming, if possible, do same on power rather than battery).
    C: Constant inflation, as meaning always or most often on charge, and certainly not both in sleep mode and on charge always or often.
    From Apple on batteries:
    http://www.apple.com/batteries/notebooks.html
    http://support.apple.com/kb/HT1446
    "Apple does not recommend leaving your portable plugged in all the time."

Maybe you are looking for

  • Mouse Clicks' Queue when Button is Disabled

    Hi, I was wondering about the Disable property for UI Components. In the docs it says that when the component is disabled it ignores all interaction whatsoever - in particular - user interaction. In my case, the button is disabled for a few seconds r

  • Adobe Flash Player don't show videos on YouTube after some point - Black Screen only

    Hello. I have a problem with Flash Player on YouTube. It has crashed many, many times so I decided to open this thread for let you know about it if you don't know already. Now, I've got no crash reports or anything but it crashes after some point. Ev

  • Problems Syncing Photos

    My iPod Touch 3G has been working perfectly until recently. I manage my photos using Adobe PSE 6.0 and I have selected 3 albums to sync with my iPod. I have created a new album in Photoshop Elements and made some additions and deletions to pictures i

  • ITunes and iOS 5

    I have the most up-to-date version of iTunes (have just uninstalled and reinstalled it), and am trying to download iOS5.  Everything says iTunes should present me with the option to do this, but it doesn't.  When I use the iTunes search box it just r

  • Redirection is not happeing with higher version of Fire Fox (v 2.0.0.16)

    Hi, We are using sundirectory service (version 6.x) for login authentication via LDAP protocal. On entering the invalid user info on the prelogin page, it should redirect to the prelogin page with an error message, but it's not happening as expected