Update bundling when using OO Programming
How do I use update bundling when I try to save data to Multile tables, in OO programming concept? In classic SAP, we can use a perform on commit and roll back, but can I achieve this in OO prgramming, without having to create a function module specificly for saving? I am not using a OO transaction.
Thanks
For bundle updates you have to create a special update function module. You can find details here: http://help.sap.com/saphelp_erp2004/helpdata/en/41/7af4cba79e11d1950f0000e82de14a/frameset.htm
Similar Messages
-
How can i turn off all the mails that i recive when use any program form my iPad?
How can i turn off all the mails that i recive when use any program form my iPad?
Everytime i use the my ID recive an e Mail to inform me.
-
Updating FI-SL using sample program RGUREC00
Hi all coders
I used the program RGUREC00 as source for my own report to update budget postings into a customer specific FI-SL(Special Ledger)
But no I have some problems doing the same with actual costs postings. I assume, I have to use another activity code. For the budget postings I used RGL1, and I thought that the RGL0 would do the trick.
Does any one have a quick guide in order to update FI-SL with actual postings?
Regards
Michael PoulsenHugo,
Did you get an answer? I have the same problem.
Even though my load file contains Record Type 1 RGUREC00 rejects it.
Regards,
Johannes Oosthuizen -
When using Vikas' program to load large files getting error
Hello,
I am using Vikas' program to load large data files: http://htmldb.oracle.com/pls/otn/f?p=38131:1
This works fine, except when I click on the button to create table, then I get a "not found" error--
failed to parse SQL query:
ORA-00942: table or view does not exist
What might cause this? I've checked grants and such and reviewed the code, but haven't figured it out...
Thanks!Hello,
I am using Vikas' program to load large data files: http://htmldb.oracle.com/pls/otn/f?p=38131:1
This works fine, except when I click on the button to create table, then I get a "not found" error--
failed to parse SQL query:
ORA-00942: table or view does not exist
What might cause this? I've checked grants and such and reviewed the code, but haven't figured it out...
Thanks! -
My Macbook Pro shuts down when using design programs
I bought the macbook pro about 3 months ago. The shut down screen appeared and asked me to shut down the computer several times when I am using design programs (like photoshop, illustrator cs2 and macromedia flash 8...) since i bought computer. I can't do anything except forcing the computer to shut down, and it's not good for the computer if i have to do this often. The computer is fairly new, and it really upsets me with this problem.
Welcome to Apple Discussions!
It sounds like what you are getting is a kernel panic. Read my FAQ* on the issue:
http://www.macmaps.com/kernelpanic.html
While uncommon, it is not unheard of. There are many possible reasons.
* Links to my pages may give me compensation. -
Wont update application when using itunes
i cant update my apps. when using itunes,
i update all my apps on itunes but when i apply it on my phone it wont take effect??
PLS HELP!! >.<Are you able to update the apps using the App Store on your iPhone?
-
Corrupted Sound When Using IM Programs
I have a HP Pavilion DV5z-1000. When I use IM programs (so far I have tried Windows Live Messenger and Yahoo Messenger), they seem to work fine for a while with both sound and video. However, after a few minutes, the audio becomes "corrupted". I hear a horrible rushing, static-like sound. This will stop after a few minutes but then reoccur. I have a broadband connection, so I don't think the problem comes from a slow connection. Additionally, the corrupted sound does not sound like the typical broken or distorted sound you get from a slow connection. Interestingly, the person on the other end can still hear me and does not hear any of this cacophony.
Any idea what may cause this? I thought it might be Windows Live Messenger but then tried Yahoo and I get the same result.
Thanks.Thanks for the link but it doesn't really solve the problem.
I know it works in VLC, my problem is that I absolutely need to be able to use the clip(s) in iMovie HD because I'm filming a documentary and this is one of the most important interviews.
Even if it means finding a way to split the audio in some other program then importing the audio file I'd be ok with that, but I so far I haven't been able to figure it out...any other suggestions?
Thanks -
Thumbnails stopped updating when using external program and back to Lightroom 5
Any ideas how to fix it? It seems to have started when I upgraded to LR 5. Thanks.
Change the sort order. View->Sort
-
How to compare and edit Resource bundle file using java programe
Hi All
I have two resource bundle with key, value and some comments. I need to write a java code to compare both of the values of the keys and if the values are different then i want to replace the second value with the first value.
Its a programe which will udpate the second file with the first file values.
I tried using Properties class but it didnt worked because when i am saving the file using store method it removes all the comments and the order of text also got disturbed.
How I need to do this any help appriciated.
Please elt me know if someone needs more info.
Thanks in advance.Let's assume the ini file is a mapping type storage (key=value) so lets use Properties object. (works with java 1.4 & up)
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Properties;
public class Test {
private static Properties props;
public static void main(String[] args) throws IOException {
File file = new File("test.ini");//This is out ini file
props = new Properties();//Create the properties object
read(file);//Read the ini file
//Once we've populated the Properties object. set/add a property using the setProperty() method.
props.setProperty("testing", "value");
write(file);//Write to ini file
public static void read(File file) throws IOException {
FileInputStream fis = new FileInputStream(file);//Create a FileInputStream
props.load(fis);//load the ini to the Properties file
fis.close();//close
public static void write(File file) throws IOException {
FileOutputStream fos = new FileOutputStream(file);//Create a FileOutputStream
props.store(fos, "");//write the Properties object values to our ini file
fos.close();//close
} -
Lag when useing simple programs
Hi
ok i have a problem with my macbook pro 13" 2.4GHZ 4GB ram, basically when i use Firefox (mainly Javas and videos) or World of Warcraft the display Laggs a lot and so does the cursor, sometimes so bad i cant quit the program. i have been advised to make a new user to see if that stops it, yet it doesn't.
Can someone please give me some advice. Thankyou, JackGood job Jacksears-
Next step would be to re-install the 10.6.7 Combo_Update. See if this helps especially if you just ran the software updater and installed the "delta update." Repair permissions after installation.
Jacksears wrote:
just scanned the machine for any viruses and its all good.
I do not know what anti-virus you have on your Mac, but some are known to slow things down and are of no value on Mac. YMMV. You might try un-installing the AV package. -
Updating java when using JDK and JRE
Ok, so after you make a program in java and compile it, you then install the new update of java. Wouldn't the virtual machine(JRE) or java development kit(JDK) notice something thats different and bring up an error?
Do you have to use the same JDK as JRE that you have, because if you didn't have the most updated one, wouldn't there come up with an error?
Last question, if you have used the command line to compile a program, then you know that you need to use javac to compile and java to run it. Well when you use the command javac to compile, then you are using the JDK; and if you use the java command to run it, then you are using JRE. This is just a question to make sure that I have this correct, So correct me if I'm wrong.brown16b wrote:
Ok, so after you make a program in java and compile it, you then install the new update of java. Wouldn't the virtual machine(JRE) or java development kit(JDK) notice something thats different and bring up an error? Why? A newer Java version should be able to execute programs compiler for a prior version.
Do you have to use the same JDK as JRE that you have, because if you didn't have the most updated one, wouldn't there come up with an error?Eh, what?
Last question, if you have used the command line to compile a program, then you know that you need to use javac to compile and java to run it. Well when you use the command javac to compile, then you are using the JDK; and if you use the java command to run it, then you are using JRE. This is just a question to make sure that I have this correct, So correct me if I'm wrong.It's correct. -
Problem in update statment when using where condtion
Hi ,
Iam using update statment to update field in Z-Table .My statment is not working fine as per my requirement.The statment is as below,
UPDATE ZFINAL_DATA SET ZDATE_FLAG = SPACE where ZGLOBAL_CODE ( SELECT LIFNR FROM LFA1 WHERE KTOKK = 'ZLIE' ).
But this statment is doing my purpose .
My requirement is , I need to update ZDATE_FLAG = SPACE in ZFINAL_DATA table when LFA1 -LIFNR = ZFINAL_DATA-ZGLOBAL_CODE and LFA1-KTOKK = 'ZLIE'.
Can any correct the update statment which will be helpfull to proceed further .
Regards,
SriramHi Sriram,
Have a look into the logic of the below query. Maybe this will fulfil the requirement.
TYPES: BEGIN OF lt_lifnr,
lifnr TYPE lifnr,
END OF lt_lifnr.
DATA: la_lifnr TYPE TABLE OF lt_lifnr,
wa_zfinal_data TYPE zfinal_data,
la_zfinal_data TYPE TABLE OF zfinal_data.
TABLES: zfinal_data.
SELECT lifnr
FROM lfa1
INTO TABLE la_lifnr
WHERE ktokk = 'ZLIE'.
SORT la_lifnr BY lifnr.
SELECT *
FROM zfinal_data
INTO TABLE la_zfinal_data.
LOOP AT la_zfinal_data INTO wa_zfinal_data.
READ TABLE la_lifnr WITH KEY lifnr = wa_zfinal_data-zglobal_code
BINARY SEARCH TRANSPORTING NO FIELDS.
IF sy-subrc = 0.
wa_zfinal_data-zdate_flag = space.
MODIFY la_zfinal_data
FROM wa_zfinal_data
INDEX sy-tabix
TRANSPORTING zdate_flag.
ENDIF.
ENDLOOP.
MODIFY zfinal_data FROM TABLE la_zfinal_data.
COMMIT WORK. -
Hi ,
When i test the function module HRTRV_IF_GET_TRIP to retrive the ADVANCE AMOUNT for TRIP transaction it giives me correct out put of table ADVANCE AMOUNTS. If i use the same function module inside the program but it gives advanca amount value multiplid by 100. (ex.10 HUF is displayed as 1000 HUF). It is also varying depends on the PERNR i am creating the TRIP. IF i use my personal number i get correc values populated in the FM. IF i use other PERNR to create the TRIP then it given me some other values.
Please clarify.
Regards,
Richard ASAP assigns hardcoded 3 to currency key incase of percentage assignments...
I should be able to assign 10 points to myself for this -
Update problem when using reflection
We have an issue when updating objects. The values are not updated in the DB when we set the values in the domain class using reflection. However when we explicitly set the values using the setter methods, update is ok.
Here is the code for the reflection mechanism:
UnitOfWork uow = session.acquireUnitOfWork();
//domain class which needs to be persisted
Student student = new Student();
//get the clone
Student studentClone = (Student) uow.registerObject(student);
//copy the values from the value object into the
// domain class using reflection
studentClone.setVo(studentVo);
uow.commit();
The setVo method uses reflection to set the values (using invokeMethod). The values are set properly in the domain object. But the values are not updated when we do the commit.
However, if we explicitly set the values in the clone using the "setter" methods, update is okay. So this code works fine.
UnitOfWork uow = session.acquireUnitOfWork();
Student student = new Student();
Student studentClone = (Student) uow.registerObject(student);
studentClone.setName("NBA"); //set the value of name
uow.commit();
Any ideas would be appreciated...
Thanks muchTopLink 10.1.3 tracks changes through working and backup copies by default, so even if you set your changes through reflection they should be picked up. If you were using CMP 2 or EJB 3 or explicitly enabled AttributeChangeTracking, then changes set through reflective field access could be missed. In this case you should use the set methods through reflection, instead of the field directly.
I would check your code that set the changes through reflection, perhaps it is not working as you expect. Check the state of the object after applying the changes and verify they were actually set. Also ensure that you are changing the UnitOfWork clone, not the original object. -
Possiblely a bug - windows update error when using NAT between Hyper-V Virtual Ethernet Adapter
I'm using SCVMM managing my Hyper-V machine.
I have three physical network adapter on my hyper-v host as below:
I'm using SCVMM 2012 SP1 to create two virtual network adapter base on each Realtek controller, Bridge the traffic from the physical adapter, NAT the traffic from the internal virtual adapter to the internet facing virtual adater.
I can access the internet but i got the windows update error as below
If i NAT the internal virtual adapter traffic to the WIFI physical internal facing adapter, windows update is fine.
I'm using my hyper-v server windows NAT feature.
I did google a round, it looks like something wrong when you NAT the two virtual network adatper..
if anyone here can help, that's would be much appreciated.
2013-03-27 18:38:25:627 868 ba4 AU ## START ## AU: Search for updates
2013-03-27 18:38:25:627 868 ba4 AU #########
2013-03-27 18:38:25:627 868 ba4 AU <<## SUBMITTED ## AU: Search for updates [CallId = {F6806137-9A32-4476-AF23-38B11881056E} ServiceId = {7971F918-A847-4430-9279-4A52D1EFE18D}]
2013-03-27 18:38:25:627 868 934 Agent *************
2013-03-27 18:38:25:627 868 934 Agent ** START ** Agent: Finding updates [CallerId = AutomaticUpdates]
2013-03-27 18:38:25:627 868 934 Agent *********
2013-03-27 18:38:25:627 868 934 Agent * Online = Yes; Ignore download priority = No
2013-03-27 18:38:25:627 868 934 Agent * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation'
or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0 and DeploymentAction='Uninstallation' and RebootRequired=1"
2013-03-27 18:38:25:627 868 934 Agent * ServiceID = {7971F918-A847-4430-9279-4A52D1EFE18D} Third party service
2013-03-27 18:38:25:627 868 934 Agent * Search Scope = {Machine & All Users}
2013-03-27 18:38:25:627 868 934 Agent * Caller SID for Applicability: S-1-5-21-759915917-1653667288-1560420946-1106
2013-03-27 18:38:25:627 868 934 EP Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SecondaryServiceAuth URL: "http://ds.download.windowsupdate.com/v10/2/microsoftupdate/redir/muauth.cab"
2013-03-27 18:38:25:627 868 934 EP Got 7971F918-A847-4430-9279-4A52D1EFE18D redir Client/Server URL: "https://fe1.update.microsoft.com/v6/ClientWebService/client.asmx"
2013-03-27 18:38:25:627 868 934 Setup Checking for agent SelfUpdate
2013-03-27 18:38:25:627 868 934 Setup Client version: Core: 7.8.9200.16465 Aux: 7.8.9200.16451
2013-03-27 18:38:25:799 868 934 EP Got 9482F4B4-E343-43B6-B170-9A65BC822C77 redir SelfUpdate URL: "http://fe1.update.microsoft.com/v10/2/windowsupdate/selfupdate"
2013-03-27 18:38:25:799 868 934 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab:
2013-03-27 18:38:25:815 868 934 Misc Microsoft signed: Yes
2013-03-27 18:38:25:815 868 934 Misc Infrastructure signed: Yes
2013-03-27 18:38:26:002 868 934 Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab:
2013-03-27 18:38:26:002 868 934 Misc Microsoft signed: Yes
2013-03-27 18:38:26:002 868 934 Misc Infrastructure signed: Yes
2013-03-27 18:38:26:002 868 934 Setup Skipping SelfUpdate check based on the /SKIP directive in wuident
2013-03-27 18:38:26:002 868 934 Setup SelfUpdate check completed. SelfUpdate is NOT required.
2013-03-27 18:38:26:440 868 934 PT +++++++++++ PT: Synchronizing server updates +++++++++++
2013-03-27 18:38:26:440 868 934 PT + ServiceId = {7971F918-A847-4430-9279-4A52D1EFE18D}, Server URL = https://fe1.update.microsoft.com/v6/ClientWebService/client.asmx
2013-03-27 18:38:28:846 868 934 WS WARNING: Nws Failure: errorCode=0x803d0014
2013-03-27 18:38:28:846 868 934 WS WARNING: Original error code: 0x80072efe
2013-03-27 18:38:28:846 868 934 WS WARNING: There was an error communicating with the endpoint at 'https://fe1.update.microsoft.com/v6/ClientWebService/client.asmx'.
2013-03-27 18:38:28:846 868 934 WS WARNING: There was an error receiving the HTTP reply.
2013-03-27 18:38:28:846 868 934 WS WARNING: The connection with the remote endpoint was terminated.
2013-03-27 18:38:28:846 868 934 WS WARNING: The connection with the server was terminated abnormally
2013-03-27 18:38:28:846 868 934 WS WARNING: Web service call failed with hr = 80240440.
2013-03-27 18:38:28:846 868 934 WS WARNING: Current service auth scheme='None'.
2013-03-27 18:38:28:846 868 934 WS WARNING: Proxy List used: '(null)', Bypass List used: '(null)', Last Proxy used: '(null)', Last auth Schemes used: 'None'.
2013-03-27 18:38:28:846 868 934 WS FATAL: OnCallFailure(hrCall, m_error) failed with hr=0x80240440
2013-03-27 18:38:28:846 868 934 PT WARNING: PTError: 0x80240440
2013-03-27 18:38:28:846 868 934 PT WARNING: SyncUpdates_WithRecovery failed.: 0x80240440
2013-03-27 18:38:28:846 868 934 PT WARNING: Sync of Updates: 0x80240440
2013-03-27 18:38:28:846 868 934 PT WARNING: SyncServerUpdatesInternal failed: 0x80240440
2013-03-27 18:38:28:846 868 934 Agent * WARNING: Failed to synchronize, error = 0x80240440
2013-03-27 18:38:28:862 868 934 Agent * WARNING: Exit code = 0x80240440
2013-03-27 18:38:28:862 868 934 Agent *********
2013-03-27 18:38:28:862 868 934 Agent ** END ** Agent: Finding updates [CallerId = AutomaticUpdates]
2013-03-27 18:38:28:862 868 934 Agent *************
2013-03-27 18:38:28:862 868 934 Agent WARNING: WU client failed Searching for update with error 0x80240440
2013-03-27 18:38:28:862 868 598 AU >>## RESUMED ## AU: Search for updates [CallId = {F6806137-9A32-4476-AF23-38B11881056E} ServiceId = {7971F918-A847-4430-9279-4A52D1EFE18D}]
2013-03-27 18:38:28:862 868 598 AU # WARNING: Search callback failed, result = 0x80240440
2013-03-27 18:38:28:862 868 598 AU #########
2013-03-27 18:38:28:862 868 598 AU ## END ## AU: Search for updates [CallId = {F6806137-9A32-4476-AF23-38B11881056E} ServiceId = {7971F918-A847-4430-9279-4A52D1EFE18D}]
2013-03-27 18:38:28:862 868 598 AU #############
2013-03-27 18:38:28:862 868 598 AU All AU searches complete.
2013-03-27 18:38:28:862 868 598 AU # WARNING: Failed to find updates with error code 80240440
2013-03-27 18:38:28:862 868 598 AU AU setting next detection timeout to 2013-03-27 12:38:28
Rickysome more interesting article i've found so far
http://practicalkungfu.net/2013/03/11/windows-update-error-code-8024402f-on-hyper-v-guests/
http://faultbucket.ca/2012/08/windows-server-2012-windows-update-error-0x80240440/
http://social.technet.microsoft.com/Forums/en-US/winserver8gen/thread/80548a4e-6c68-4700-a37b-9e22890bd8af
Ricky
Maybe you are looking for
-
PSE10: Is there an easy way to add a vignette?
Besides using Filter > Correct Camera Distortion, is there an easy way to put a vignette on a picture? The method I just named doesn't give me the smooth, uniform fade that I need for creating collages, etc. Thanks!
-
Producing DVD's from FCP projects.
The last time I tried authoring my own DVD's was in 2005 on Adobe Premiere and it was a bit of a nightmare. Since then I have been editing on FCP and I am now considering authoring some DVD's from my material. Is it in general terms as complicated as
-
Maybe just a silly question. But when your Mac gets stolen, can't the thieve not go simply into Preferences > iCloud and disabling the "Find my Mac" checkbox? Is there any way to protect this?
-
Multiple Portlets on Same Server?
What is the best way for 2 separate groups in an organization to have (or appear to have) their own instance of the Oracle Portal? We have 2 separate groups ready to begin development in the Portal and are trying to figure out a good way to accomplis
-
I NEED MY SERIAL NUMBER TO MY OLD PHONE THAT WAS STOLEN: MY LG COSMOS
I WOULD LIKE TO GET MY SERIAL NUMBER TO MY OLD PHONE: LG COSMOS xxx-xxx-xxxx >> Personal information removed to comply with the Verizon Wireless Terms of Service << Message was edited by: Verizon Moderator