How and when to use WAIT parameter in BAPI_TRANSACTION_COMMIT? Help!
Hi Experts,
In the BAPI_TRANSACTION_COMMIT function module there is an input parameter "WAIT".
What is the significance or use of WAIT?
How do we use it? What values does it take?
For which case do we use WAIT and for which not?
KIndly help me understand this.
Thanks
Gopal
Hi,
This method executes a COMMIT WORK command. It is required for transactions developed externally to the R/3 System that change data in the R/3 System via BAPI calls.
When you call BAPIs in your program that change data in the R/3 System, afterwards you must call this method to write the changes to the database.
The default value of this parameter is SPACE. If the parameter contains the value SPACE or it does not contain a value at all, then a simple COMMIT WORK is executed.
If the parameter WAIT contains a value other than SPACE, a COMMIT WORK AND WAIT command is executed.
The result is that the data within a Logical Unit of Work (LUW), changed by one or more BAPIs after the BAPI 'BapiService.TransactionCommit' has been called, is immediately available in the database.
The following values are possible:
The command 'COMMIT WORK' is executed - the program does not wait, until COMMIT WORK is completed. When the database is next accessed directly, all the old data may still be able to be read.
'X'
The command 'COMMIT WORK AND WAIT' is executed - the program waits until the COMMIT WORK is completed. When the database is next accessed, the updated data is read.
reference : function module documentation.
thanx.
Edited by: Dhanashri Pawar on Sep 18, 2008 6:41 AM
Similar Messages
-
Composite mode (control click or right click) and how and when to use
Hello,
I would like to learn how and when to utilize the composite mode (control click or right click on your timeline)and all of its functions. Do you have a recommendation as to who might be able to explain what each of the composite mode functions do? Editors keep referring to how great this feature in FCP is.
Thanks,
JordanHave a read through the manual first. It explains what Composite Mode does and the theoretical underpinnings. Book III- Chapter 18- Page 361 (in FCP 5.1) is a good place to start.
If you have questions, come back.
Have fun.
x -
Anyone some info on how and when to use SafeMapping ?
Tried: "MYCOL", "String"
and "MYCOL", "System.String"
MYCOL is a VARCHAR2
{System.InvalidCastException}
[System.InvalidCastException]: {System.InvalidCastException}
Object: {System.InvalidCastException}
_COMPlusExceptionCode: -532459699
_className: Nothing
_exceptionMethod: Nothing
_exceptionMethodString: Nothing
_message: "Specified cast is not valid."
_innerException: Nothing
_helpURL: Nothing
_stackTrace: {System.Array}
_stackTraceString: Nothing
_remoteStackTraceString: Nothing
_remoteStackIndex: 0
_HResult: -2147467262
_source: Nothing
_xptrs: 0
_xcode: -532459699
Message: "Specified cast is not valid."
InnerException: Nothing
TargetSite: {System.Reflection.RuntimeMethodInfo}
StackTrace: " at Oracle.DataAccess.Client.OracleDataAdapter.Fill(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
at Oracle.DataAccess.Client.OracleDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
at GetTrailBlank.GetTrailingBlank.Button1_Click(Object sender, EventArgs e) in E:\DevProjs\VSNet\GetTrailBlank\GetTrailBlank.vb:line 103"
HelpLink: ""
Source: "Oracle.DataAccess"
HResult: -2147467262For how to use Safe Type Mapping you can refer
Safe Type Mapping Sample at
http://otn.oracle.com/sample_code/tech/windows/odpnet/content.html
When to use :
Safe Type Mapping is a feature that allows OracleDataAdapter to populate a DataSet with .NET type representations of Oracle data without any data or precision loss. ODP.NET defines corruptible types (DATE, TIMESTAMP, INTERVAL DAY TO SECOND and NUMBER types) which can potentially loose precision when converted to their corresponding .NET types during database operations. By using the Safe Type Mapping feature of ODP.NET these types can be safely retrieved as String or a byte array as against their default .NET types in the DataSet to avoid precision loss.
HTH
Jagriti -
I just purchased Export PDF, and when I use it, it opens them in WordPad (which I never use) instead of Word. Thus, the pictures are not there, and the fonts are changed. How do I get them imported into Word?
Hi,
I checked your account,your Export PDF subscription is in 'Pending' status.
Once it gets confirmed you will be able to use it.
Please let us know if you require further assistance.
Regards,
Florence -
I've connected my digital camera to my 2013 mac mini and used iPhoto to import photos from the camera.
HOW and WHEN can I safely remove the camera please?Dismount the camera by clicking on the unmount icon on the right in the iPhoto source pane. Once it is unmounted remove it
LN -
I have photoshop elements 12 and when I use the font tool it crashes the program, how can I fix this?I have a macbook pro
Use the crop tool.
On the tool's option bar, type 300 px & 200 px, and the desired resolution. -
RT - PID Gains - where and when to use them
The attached is example code for controlling a temperature chamber. The question is where and when to use PID Gains? This code looks as though the PID Gain is used for the variable/parameter temperature (i.e. the temperature is the controlled variable).
So would there be just one PID Gain per controlled variable/parameter (temperature in this case) or would each device controlling temperature in the system get a PID Gain?
In this example, the fan and lamp are controlling the temperature.
Attachments:
Exercise 8-1.zip 171 KBRuss_in_Louisville wrote:
I came here for help as this is where NI pointed me in their failure. I did not come here to get my "mental model" attacked.
Can you accept that your model of the system might be wrong, though? In this thread from a few weeks ago, multiple experienced users told you that what you had on your block diagram was an array, and yet you insisted - repeatedly - that what you had was a cluster. Your model was that the item on the block diagram was a cluster, leading to the question "how do I get an index display on it?" which made no sense, because the item was in fact an array. And, when you finally realized you were wrong, you couldn't even admit it or thank the people who pointed out your error - it just "turned out" that the constant wasn't what you thought it was. I am trying to tell you that you are making a similar error here by asking questions about the system that do not correspond to what the system actually does.
"Parameter/variable" isn't clear. There is correct terminology. A PID controller has, as inputs, a process variable and a setpoint. The process variable is the parameter you want to control, such as temperature. The setpoint is the desired value of the process variable. Let's say you do have a temperature control system where there is both a heating system and a cooling system (again, not the situation in your sample code). The two systems could both be driven by PID and share the same setpoint and process variable. Some control options for this system:
- a single PID controller with one set of gains, where a negative output drives the cooling system and a positive output drives the heater (or some variation on this), if both the heater and chiller have similar performance characteristics.
- two PID controllers, each with a set of gains, one controlling the heating and one controlling the cooler.
- a combination of these two: a single controller with gains that are selected based on the setpoint or process variable, which is known as gain scheduling. The advantage to a single controller is that you'd never have the two controllers fighting each other.
You could also have a code that controls several similar processes (for examply, multiple identical temperature chambers). In that situation you could have a single set of PID gains but multiple controllers each with a different setpoint and process variable.
So there's not a simple yes/no answer to when you need a separate set of PID gains or an additional PID controller. It depends on the characteristics and design goals of your system. Does that help? -
How and when to create a fact table
hi every1,
I am new to oracle and specially to Data Warehousing. I am using OWB 11g on windows XP.
I have created the dimensional for a database, now i am in the implementation phase.
i have the following questions.
1. I don't know how and when to create a fact table. I have already created the dimensions (ROLAP).
2. Do i need to create a mapping for a Cube. if yes, then how to load them from 4 different dimensions. how will be the join condition, they don't match?
3. I will also try for aggregation, do i need to use MOLAP for the dimensions or ROLAP works?
Please, give a quick reply.
regards
RFYou should ask your question here:
Warehouse Builder
where it is on topic. -
when do games get saved? Can i do it manually? I often lose most recent game if i restore it from iCloud
You'd need to ask the developer. How and when individual apps use iCloud is up to the developer of that particular app,
-
Usage of G/L interim Account - How and When to offset it ?
Hello,
To use this account, we have to specify that the payment method is connected to this type of account.
After, we have to assign the G/L Interim account to the bank master data.
This method is only available with payment transfer.
But if the posting following the bank transfer is duly put onto this transitory account, how and when can you offset it against a genuine Bank Account?
Thanks
StéphaneStéphane,
The Checking Account clearning (Interim account) is mainly used when there is a step after the Incoming payment and before the money is actually realized in the Bank. This is mainly true in case of Checks, Credit Card and Cash Deposits.
The Deposit function which is performed for the above mentioned 3 types of transaction actually offsets the Interim Account.
The JE for the Deposit function typically is
Bank Account Debit
Interim Account Credit
Let me know if you have further questions
Suda -
How and when the database release a row lock?
Dear experts,
We are using the following statement to obtain a row lock in a table in the database(ORACLE of course),
SELECT * FROM {TABLE_NAME} WHERE ID = 1 for update
and if we succeed grabbing the row lock we will continue to issue a update statement every 30 seconds to preserve the lock as far as possible.
here is the update statement to preserve the lock,
UPDATE {TABLE_NAME} SET time = ? WHERE ID = 1.
As you see more longer we keep holding the row lock , more update statements are submitted in the pending transaction.
In normal case our application can grab the exclusive row lock and works for a long time,however sometimes a connection reset exception is thrown
and our application will close the connection(I assume the pending transaction will be rolled back by the database) and exit the JVM.
Since other applications will keep trying to grab the same row lock to become the master role,
we expect one of them can succeed but they are all failed because the database has not released the row lock as expected.
Can someone explain more details about how and when the row lock can get released in our use case?
Thanks,
SuoNayi
Edited by: SuoNayi on 2013-5-30 上午8:12Hm. Is this part of an XA transaction by any chance? I know that Oracle maintains separate bookkeeping for such transactions which can cause rows to stay 'locked' even when the regular DBA views will indicate there is no user currently locking the record at all. I have no idea about the actual details and what you need to do to clean up such a situation, that is something a DBA should know and do.
If not... well this is more of a question for people who know the DBMS, which makes it a target for the Oracle DBMS forums. Java developers don't tend to have DBA-level knowledge of the database, you should ask the question where you have more chance of people with expertise answering stuff:
General Database Discussions -
I have IPhone 6 and when I using Viber Siri is actives itself ones I turn it off is actives my player itself as well. What can I do to stop that happen.
Try turning off Siri in your Settings. Follow the steps on this page: http://www.imore.com/need-disable-notification-center-control-siri-access-lock-s creen-heres-how-ios-8
If this doesn't help, try resetting your iPhone. This won't delete your data stored on the phone.
Press and hold the Sleep/Wake button
Press and hold on the Home button
Keep holding both buttons until the display turns off and back on with Apple logo on it.
Alternatively, you may go to Settings - General - Reset - Reset All Settings -
I just upgraded to OSX Mavericks and when i use the gestures on my magic track pad it responds oddly. Sometimes it won't recognize when my simple gesture of scrolling through a document.
Gestures is not working like it did before. The side to side, forward back swipe, is very picky. Sometimes it takes four or five tries before it works. And yes I know how to do it. I have had a magic trackpad for about one year. And was greatly pleased by how it worked, BEFORE Mavericks. It has has indeed changed.
-
When will you make an IPad YouTube app. There is one for iPhone and when you use it for the iPad the quality is bad since you have to zoom in. Please fix
If you lost sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted.
System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
If you have the side switch set to lock screen rotation then the system sound control is in the control center if you are running iOS 7. Swipe up from the bottom of the screen to get to control center . Tap on the bell icon and system sounds will return.
If you are running iOS 5 or iOS 6, the system sound control is in the task bar at the bottom. Double tap the home button and swipe all the way to the right in the task bar to get to the speaker icon on the left side. Tap on that and the sounds will return.
If you have the side switch set to mute system sounds, then the screen lock can be accessed in the same manner as described above.
This support article from Apple explains how the side switch works.
http://support.apple.com/kb/HT4085 -
How come when I use a Internet that I have already used it doesn't automatically connect
How come when I use an Internet that I have already used it doesn't automatically connect?
Does the iPod connect to other networks?
Does the iPod see the network?
Any error messages?
Do other devices now connect?
Did the iPod connect before?
Try the following to rule out a software problem:
- 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.
- Power off and then back on the router
- Reset network settings: Settings>General>Reset>Reset Network Settings
- iOS: Troubleshooting Wi-Fi networks and connections
- iOS: Recommended settings for Wi-Fi routers and access points
- Restore from backup. See:
iOS: How to back up
- 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
Maybe you are looking for
-
Pages 5.2 app won't open older cwk documents
Is it possible to reload the former version or Pages from the Snow Leopard installation disc?
-
One or more hard drives in Server Backup are not connected
A year ago I moved from Windows Home Server to Server Essentials 2012 as a backup solution for my simple home configuration - 2 Windows 7 Professional desktops. It was a perfect solution and works flawlessly - and has saved my tail on numerous occas
-
AOA How to remove the text from cells of JPanel. Just to refresh the GUI. regards
-
E5 with missing functionality?
I've had Nokia phones since the 5110, and so there are a number of functions I expect to find in a nokia phone. Having recently "upgraded" from a 6500slide to an E5, I am somewhat stunned that certain functionality appears to have dissappeared. For
-
How dod i fix apple application support error
how do i fix application support problem