TVARVC table not getting updated properly
Hi,
We are facing a strange problem...
First job runs to update TVARVC variable to a new value...let say 6 to 7....
Second job which runs immediatly after first job uses this variable in TVARVC to read the value picks up old value instead of new value....i.e. its using 6 instead of 7.
Also TVARVC variable is Fully Buffered table...Can anyone tell me eventhough this variable is updated with new value, why second job is picking old value..??? also i dint see any COMMIT WORK after updating TVARVC in program...i doubt if buffered and no commit work causing the issue...any thoughts???
Expecting your help.
Thanks
Hari
Hi Hari,
Is your update and the program that uses the update in the same LUW? You can create a function module, and run it "in update task". Then update your TVARV table, and run the other program from the function module.
This will put all the programs in the same LUW.
If for some reason your update to TVARV doesn't happen, and it abends, your other program will not be executed.
Just a thought,
Michelle
Similar Messages
-
Exchange Mails are not getting updated properly without refreshing
From couple of days, exchange mails are not getting updated properly without refreshing.
Kindly suggest.Kindly suggest a solution
-
On reversal of Invoice the table BKPF not getting updated properly
Hi
I have an issue, that when we create the Commercial Invoice, accounting document generated automatically. And after that due to some reason when we reverse the same through VF11, the accounting document which was created while doing the invoicing not getting updated by "reversed with (STBLG)" field and "reversal Indicator (XREVERSAL) field in the table BKPF.
However when I test the some scenario in Development and Quality server the same field is getting updated.
I have already checked the Billing Document Type of SD and accounting document type but found everything in place.
I am unable to get what is missing,and why this is happening in Production server only.
Need your input at the earliest.
Thanks in advance
Regrads
AAHi
thanks to all for their suggestion, the issue resolved with the help of SAP.
For the forum members information :-
This is standard system behaviour.
BKPF-XREVERSAL is only populated/filled in the reversed original
and in the reversal FI document if BKPF-STBLG and BKPF-STJAH
are populated/filled in reversed original and reversal FI document.
BKPF-STBLG and BKPF-STJAH are only populated/filled in reversed
original and reversal FI document if the new/real cancellation
procedure (-> with automatic clearing of the open items) is executed,
and the new/real cancellation procedure is not executed, if an
open item of the original, to be reversed FI document, has already
been cleared (-> also see note 309208).
Regards
Amitesh Anand
Edited by: AA on Apr 25, 2009 11:37 AM -
Custom field in BP_PDBGP table not getting updated
Hi,
i am working in Contract management in SRM 7.0 Pack 6. I have aadded a custom field in partner table which appears in the partner table of contract header. It is a checkbox. when i check it the value gets saved in BBPPDBGP table for the first time after that if i try to uncheck it the value is not getting updated. I checked in the BBP_DOC_CHANGE_BADI, the value which is getting passed is correct but it doesn't update the databse accordingly.
Any suggestions? is this a standard bug?
NehaHi Virendra,
Thanks a lot for your suggestion.
Where should i check? If the data passing to BBP_DOC_CHANGE_BADI is correct then that means at the webdynpro side there should not be any problem and as per the standard after doc_change also it should save properly. i also checked the badi there is not dependent coding done over there. DOC_SAVE badi is also inactive for contract business object. Hence, i am not getting any clue where could be the problem.
Let me know if you want more details inorder to analyse this problem.
Thanks &Regards,
Neha -
Error in Proxy- Table not getting updated
Hi,
This is an Interface between Oracle and SAP SRM. The Middleware used is
SAP XI.XI is fetching the data based on the SQL condition in the JDBC Adapter. The SAP XI JDBC Adapter picks up the
data with a poll interval of 600 seconds and do the required mapping
transformation in SAP XI and it gives XML to SAP SRM. The
receiver XI Adapter used is XI Adapter since there is a Inbound Proxy
program in the SRM system which when receives the XML from SAP X,
updates table . The data which is getting updated is of Bid
Invitation in SRM. I am able to see xml messages in SXMB_MONI in SRM system. But data is not getting updated in the tables.Any idea why this happening.
Thankshave you created the sales order through BDC .... or manually ....check first ...
if it is through BDC ...then error in the Program ...
if it is throught Manual check with function People in SD they would have defined in the Customisation upto 130 lines of Line item ...
orelse the patch should be applied ...
if you ask anydoubt in this message ....please mention your sap version which you are working ...
Girish -
BWFI_AEDAT table not getting updated - FI_GL_4 Delta
Hi Friends,
We have just started loading Delta loads using FI_GL_4.
The Changed records are getting updated correctly for all the documents into BWFI_AEDAT and loaded into BW except in cases of an Intercompany doc.
Is there a particular reason that changes to Intercompany Doc will not get updated in the table or is there a way to find out how this table gets populated so that I can debug this issue.
Any help is highly appreciated..
Ashish.Hi,
How many days after INIT are you going for delta??
If there is entry in BWFI_AEDAT there is no reason why delta should not come.
check for newly created documents in BKPF using CPUDT to see if new documents have been created in this period too.
Regards,
Saurabh -
FAGLFLEXT Table not getting updated
Hello All,
I have activated 0L leading ledger and the document splitting is up and active, however while posting a document, the FAGLFLEXT Table is not getting updated.
Can anybody please help.
Regards,
VikramHello Vikram,
Did you assigned any scenarios to ledger.There are six scenarios like profit center update,prep for consolidation and all....so if you assign these scenarios then the FAGLFLEXT will be updated...
pls let us know if you already assigned and then we need to look in to it...
Thanks,
Sai. -
GLPCA table not getting updated correctly for VBUND
Hi All,
I have come across one issue that the value of trading partner field (VBUND) in table GLPCA are not getting updated correctly for document type KP.
In vendor master this field has different value versus it is showing in GLPCA-VBUND.
Does any one knows about ?
Thanks for your help on it.
Regards,
ManojHi Sridhar,
Thanks for your response on it.
This note is not applicable for our system as we are working on 4.0B with support pack 52.
Also we are getting this worng update of this field (GLPCA-VBUND) while doing MR11 creating document with doc. type KP. This value is not picking from vendor master (LAF1-VBUND) and randamly picking any value. Not sure from where ?
Please advise your thought.
Thanks,
Manoj -
AUSP table not getting updated
Classification data of materials is not getting updated in the AUSP table. only few fileds are getting updated. Can you please guide me on this
AUSP table will update whenever you change characteristics option..
Suppose you are using classification for vendor..
Then whenever you will change characteristics value for vendor, the table will update..
Same as material master..
There are no field for material description in table AUSP.
Regards
Dev -
File to Proxy----Tables not getting updated.
Hi all,
I have File to proxy scnerio, where Data from file is uploaded in to BAPI in turn
updated in to tables.
If i take pay load from Moni and test in SPROXY then tables is getting updated.
But when i run Scnerio form XI tables are not getting updated.
Please help......Hi ,
Check this out if you missed any step.. This is exactly on your senario.
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
hope this will help you.
Regards
Aashish Sinha
PS : reward points if helpful -
C$sync_history table not getting updated
I am doing file based sync using the oracle APIs. While syncing there is no entry in the table showing Sync happened. but C$SYNC_LOG table is getting updated.
Can anybody tell whats the issue.
Thanks and Regards
Lijo LawranceSomething additionaly. If the removeSession throws exception, or does not work as expected, the only way to continue is to extend the HeliosSession Class, and add to history by yourself.
The code for extending the HeliosSession is listed above.
The only thing you need is to call
((HeliosSessionExtended)localHeliosSession).addToSyncHistory(this); //this is the FDSession, or the new one used in constrctor of HeliosSession, or in the createSession Method from syncService)
afert startSession completes successfully.
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.Iterator;
import java.util.LinkedList;
import oracle.lite.sync.HeliosSession;
import oracle.lite.sync.HeliosTransport;
import oracle.lite.sync.SiteDef;
import oracle.lite.sync.Subscription;
import oracle.lite.sync.SyncPubItemStatus;
public class HeliosSessionExtended extends HeliosSession {
public HeliosSessionExtended(HeliosTransport paramHeliosTransport) throws Throwable {
super(paramHeliosTransport);
//override the addToSyncHistory method
void addToSyncHistory(Connection paramConnection) {
//what I said about Sync_history
if (!SiteDef.SYNC_HISTORY) {
return;
Long SessionId = this.getSessionId();
Long DeviceSessionId = this.getDeviceSessionId();
String clientId = this.getClientId();
String memberId = this.getMemberId();
String devicePlatform = this.getDevicePlatform();
int result = this.getResult();
String localHeliosMessage = this.getMessage();
long startTime = this.getStartTimeMs();
long finishTime = this.getFinishTimeMs();
long uploadStartTime = this.getUploadStartTimeMs();
long uploadFinishTime = this.getUploadFinishTimeMs();
int recordCount = this.getUploadRecordCount();
long uploadedByteCount = this.getUploadByteCount();
long compressedByteCount = this.getUploadCompressedByteCount();
LinkedList uploadedPubItems = this.getUploadPubItems();
int uploadPubItemsSize = 0;
if (uploadedPubItems != null) {
uploadPubItemsSize = uploadedPubItems.size();
long downloadStartTime = this.getDownloadStartTimeMs();
long downloadFinishTime = this.getDownloadFinishTimeMs();
int downloadRecordTime = this.getDownloadRecordCount();
long downloadedByteCount = this.getDownloadByteCount();
long downloadedCompressedByteCount = this.getDownloadCompressedByteCount();
LinkedList downloadedPublicationItems = this.getDownloadPubItems();
int downloadPubItemsSize = 0;
if (downloadedPublicationItems != null) {
downloadPubItemsSize = downloadedPublicationItems.size();
int completeRefItemsCount = this.getCompleteRefreshItemCount();
PreparedStatement preparedStatement = null;
try {
String insertString = "INSERT INTO C$SYNC_HISTORY (SESSION_ID,CLIENT_ID,DEVICE_PLATFORM,RESULT,START_TIME,FINISH_TIME,UPLOAD_START_TIME,UPLOAD_FINISH_TIME,UPLOAD_RECORD_COUNT,UPLOAD_BYTE_COUNT,UPLOAD_COMPRESSED_BYTE_COUNT,DOWNLOAD_START_TIME,DOWNLOAD_FINISH_TIME,DOWNLOAD_RECORD_COUNT,DOWNLOAD_BYTE_COUNT,DOWNLOAD_COMPRESSED_BYTE_COUNT,COMPLETE_REFRESH_ITEM_COUNT,DEVICE_SESSION_ID,UPLOAD_PUB_ITEM_COUNT,DOWNLOAD_PUB_ITEM_COUNT,MEMBER_CLIENT_ID) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
preparedStatement = paramConnection.prepareStatement(insertString);
preparedStatement.setLong(1, SessionId.longValue());
if ((clientId != null) && (clientId.length() > 0)) {
SetStringParameter(preparedStatement, 2, clientId);
} else {
SetStringParameter(preparedStatement, 2, " ");
if ((devicePlatform != null) && (devicePlatform.length() > 0)) {
SetStringParameter(preparedStatement, 3, devicePlatform);
} else {
SetStringParameter(preparedStatement, 3, " ");
if (result == 0) {
preparedStatement.setString(4, "SUCCESS");
} else if (result == 1) {
preparedStatement.setString(4, "FAILURE");
} else if (result == -1) {
preparedStatement.setString(4, "UNKNOWN");
} else {
preparedStatement.setNull(4, 12);
SetTimeParameter(preparedStatement, 5, startTime);
SetTimeParameter(preparedStatement, 6, finishTime);
SetTimeParameter(preparedStatement, 7, uploadStartTime);
SetTimeParameter(preparedStatement, 8, uploadFinishTime);
preparedStatement.setInt(9, recordCount);
preparedStatement.setLong(10, uploadedByteCount);
preparedStatement.setLong(11, compressedByteCount);
SetTimeParameter(preparedStatement, 12, downloadStartTime);
SetTimeParameter(preparedStatement, 13, downloadFinishTime);
preparedStatement.setInt(14, downloadRecordTime);
preparedStatement.setLong(15, downloadedByteCount);
preparedStatement.setLong(16, downloadedCompressedByteCount);
preparedStatement.setInt(17, completeRefItemsCount);
if (DeviceSessionId != null) {
preparedStatement.setLong(18, DeviceSessionId.longValue());
} else {
preparedStatement.setNull(18, 2);
preparedStatement.setInt(19, uploadPubItemsSize);
preparedStatement.setInt(20, downloadPubItemsSize);
if (memberId != null) {
preparedStatement.setString(21, memberId);
} else {
preparedStatement.setNull(21, 12);
preparedStatement.executeUpdate();
preparedStatement.close();
preparedStatement = null;
Object localObjcClob;
if (localHeliosMessage != null) {
localObjcClob = new Long[]{SessionId};
Subscription.setCLOB(paramConnection, "C$SYNC_HISTORY", "MESSAGE", localHeliosMessage, "SESSION_ID=? ", (Object[]) localObjcClob);
if (((uploadedPubItems != null) && (uploadedPubItems.size() > 0)) || ((downloadedPublicationItems != null) && (downloadedPublicationItems.size() > 0))) {
insertString = "INSERT INTO C$SYNC_HIS_PUB_ITEMS (SESSION_ID,PHASE,PUBLICATION,PUB_ITEM,DEVICE_TABLE,START_TIME,FINISH_TIME,IS_COMPLETE_REFRESH,RECORD_COUNT,BYTE_COUNT,COMPRESSED_BYTE_COUNT,MESSAGE) VALUES (?,?,?,?,?,?,?,?,?,?,?,?)";
preparedStatement = paramConnection.prepareStatement(insertString);
preparedStatement.setLong(1, SessionId.longValue());
SyncPubItemStatus localSyncPubItemStatus;
if ((uploadedPubItems != null) && (uploadedPubItems.size() > 0)) {
preparedStatement.setString(2, "UPLOAD");
localObjcClob = uploadedPubItems.iterator();
while (((Iterator) localObjcClob).hasNext()) {
localSyncPubItemStatus = (SyncPubItemStatus) ((Iterator) localObjcClob).next();
SetStringParameter(preparedStatement, 3, localSyncPubItemStatus.publication);
SetStringParameter(preparedStatement, 4, localSyncPubItemStatus.pubItem);
SetStringParameter(preparedStatement, 5, localSyncPubItemStatus.deviceTable);
SetTimeParameter(preparedStatement, 6, localSyncPubItemStatus.startTimeMs);
SetTimeParameter(preparedStatement, 7, localSyncPubItemStatus.finishTimeMs);
if (localSyncPubItemStatus.isCompleteRefresh) {
preparedStatement.setString(8, "YES");
} else {
preparedStatement.setString(8, "NO");
preparedStatement.setInt(9, localSyncPubItemStatus.recordCount);
preparedStatement.setLong(10, localSyncPubItemStatus.byteCount);
preparedStatement.setLong(11, localSyncPubItemStatus.compressedByteCount);
SetStringParameter(preparedStatement, 12, localSyncPubItemStatus.message);
preparedStatement.executeUpdate();
if ((downloadedPublicationItems != null) && (downloadedPublicationItems.size() > 0)) {
preparedStatement.setString(2, "DOWNLOAD");
localObjcClob = downloadedPublicationItems.iterator();
while (((Iterator) localObjcClob).hasNext()) {
localSyncPubItemStatus = (SyncPubItemStatus) ((Iterator) localObjcClob).next();
SetStringParameter(preparedStatement, 3, localSyncPubItemStatus.publication);
SetStringParameter(preparedStatement, 4, localSyncPubItemStatus.pubItem);
SetStringParameter(preparedStatement, 5, localSyncPubItemStatus.deviceTable);
SetTimeParameter(preparedStatement, 6, localSyncPubItemStatus.startTimeMs);
SetTimeParameter(preparedStatement, 7, localSyncPubItemStatus.finishTimeMs);
if (localSyncPubItemStatus.isCompleteRefresh) {
preparedStatement.setString(8, "YES");
} else {
preparedStatement.setString(8, "NO");
preparedStatement.setInt(9, localSyncPubItemStatus.recordCount);
preparedStatement.setLong(10, localSyncPubItemStatus.byteCount);
preparedStatement.setLong(11, localSyncPubItemStatus.compressedByteCount);
SetStringParameter(preparedStatement, 12, localSyncPubItemStatus.message);
preparedStatement.executeUpdate();
if (preparedStatement != null) {
preparedStatement.close();
preparedStatement = null;
} catch (Throwable localThrowable) {
//some error logging
} finally {
try {
if (preparedStatement != null) {
preparedStatement.close();
preparedStatement = null;
} catch (SQLException localSQLException2) {
//some sqlexception logging
void SetStringParameter(PreparedStatement paramPreparedStatement, int paramInt, String paramString)
throws SQLException {
if (paramString != null) {
paramPreparedStatement.setString(paramInt, paramString);
} else {
paramPreparedStatement.setNull(paramInt, 12);
void SetTimeParameter(PreparedStatement paramPreparedStatement, int paramInt, long paramLong)
throws SQLException {
if (paramLong > 0L) {
paramPreparedStatement.setTimestamp(paramInt, new Timestamp(paramLong));
} else {
paramPreparedStatement.setNull(paramInt, 93);
Edited by: FlorinA on Jul 6, 2010 12:37 AM
Edited by: FlorinA on Jul 6, 2010 12:45 AM -
Hi
I'm having a problem with updating an item which is not a database item.
I have about 8 fields , Items 1-7 belong to table A and item 8 belongs to table B
I have block level triggers like post-insert, pre-update and pre-delete to take care of the insert, update and delete which are all working fine.
Except when I update Item 8 ONLY , table B does not get updated and I get the message frm-40401 - No Changes To Save
I'm not able to figure out what else is needed. Pls help.
ThanxThere may be a better answer, but try setting the Lock Record property to Yes on the non-base-table item.
If that doesn't work, in the item's when-validate-item trigger, set one of the first seven items values to itself:
:Blk.Itm1 := :Blk.Itm1;
This will cause the record status to be CHANGED, so the record update will take place. -
UJE* tables not getting updated
Hello security experts,
We are currently on BI 7.4 version and have BPC 10 (CPM 801 SP 005) implemented, we are facing issues with the creation of New Teams and Member access profiles in the system.
Ideally when a new team/ Task or Member access profile gets created the respective UJE* tables must also get updated.
We created 3 new Teams and Member access profiles in the BPC front end, while checking the backend tables we found that not all UJE* tables are getting updated as expected.
Tables that got updated are :
UJE_MEMACCESS
UJE_TEAM_AGR
UJE_TEAM_MULTAGR
Tables that didnot get updated:
UJE_TEAM
UJE_PROFILE
UJE_PROFILE_ASIN
UJE_PROFILET
UJE_TEAMT
UJE_USER_TEAM ( we assigned users to the team via front end as well)
Ideally these tables must get updated for every new Team; Member access profile created. Am I missing some configuration which should update these tables?
Thanks & Regards
VeenaHi Veena,
I am also facing the same issue.
Please let me know if you could resolve the issue.
Thanks,
Manohar -
Master Data is not Getting Updated Properly.
Dear Expert,
I am trying to pull the data by Info package but The text is not getting updated.
The Master data object is 0BPARTNER . To update this Master data , we ghave 2 info packages
0BPARTNER_ATTR and 0BPARTNER_TEXT. But the text is not getting updated ( like the fiels E-mail address, Address 1, Address 2, Address 3, Address 4,.... Phone No,Etc.
What could be the Reason for this and How can I solve this issue ?
Tahnks,
UtpalHi,
Could you please check the data in RSA3.
If everything is there in R/3 side.Then,please check are you giving any
condition in the infopackage .
Please run the infopackage without giving any condition.
Thanks,
Saveen Kumar -
PAYR table not getting updated....
Dear all,
We have created one Z program for manual check creation. Z program automatically created manual checks in the system and its working fine.
In some cases system is not updated GL account in PAYR table for checks generated. In normal GL accounts also gets updated in PAYR table..
And this is happening only for few cases...
Please suggestHi,
Check the difference between full clearing / partial clearing OR the type of invoice cleared (like KR / RE).
VVR
Maybe you are looking for
-
Problem in Front end with BW3.5
hi friends, now I am using BI 7.0 with front end BW3.5, it looks good. when i open the BEx, it didnot work...I think there is a component missing... If i use BI 7.0 as front end, I know that will be work.... I want to call BEx from citrix environment
-
I got my cousin's old computer and she still has all of her music and apps on it. I would like to get rid of all of that to get my music on the computer. She did get everything on itunes through icloud so I am scared to delete everything because I do
-
This wasn't the case when FF first upgarded to 37.0.1 but has changed in the last few days. I've checked for updates using the Adobe Reader console and it confirms that I have the latest version with 11.0.10.32. If I do click on update via the status
-
How to omit showing while the value is 0.00
Hi dear friends I am now using a very very simple multıple without java and any special code. By just the simple Multiple Fuction of Adobe Acrobat Pro. I want the field to be compeletly off when its equalling 0. NO that I am usıng somehow the functıo
-
How do I stop Lion from moving desktop icons when I startup?
When I starup my iMac with Lion 10.7.1, the desktop icons that I have on my desktop organized in a particular order, all move to the far right of the desktop and do not stay in the same order. How can I stop this from happening? When I shut down, I