Change a Reversed Treasury Transaction
Hi Experts,
I have this reversed Spot/Forward transaction which i want to modify in order to change the Partner bank. However, the system does'nt allow me to edit the transaction. Is there possibilty to update the reversed transaction? Anyway, my main goal here is to delete the Bank Details in BP, this Bank Details is being use as Partner Bank of this reversed Spot/Forward Transaction.
Thanks in advance!
Hi,
You cannot edit a reversed treasury transaction. Moreover could you be more specific as to why you want to delete the partner details because, if you have created a forward transaction with this partner, then it will be reversed with this partner. Hence there will be no outstanding against this partner.
If you have posted the FI document for the transaction in tbb1, then you can post the reverse document in TPM10 in ECC6.0 or tbb2 in older versions. If you have not posted the FI document, then you need not worry.
Anyway, if you want to edit the partner details, you can do it in the transaction code BP for the depository bank role and for this company code.
Regards
Ravi
Similar Messages
-
Years of Treasury transactions lost (TM_55)
Our Treasury team was trying to post a debt service payment for our fiscal year-end. They posted to the wrong date when the cash was sent to the trustee. They tried to reverse the one posting error by using TM_55. What the system did was reverse the entire life of the bond/transaction. Every treasury transaction since Go Live was reversed. Every accrual and debt service payment, including the accruals for cost of issuance and premium are gone. However, the GL transactions in accounting were not affected.
We cannot re-run these postings and accruals as we normally do because this would create entries in the GL.
The history of interest rate instrument (TM_59) is now empty. We can still see the data if we run a TPM10, but donu2019t know how to bring it back into treasury. The lost debts transactions have the status "reversed" in TPM10.
Any suggestion to fix the problem and get the data back into treasury would be greatly appreciate
Thanks!
Melanie
Edited by: Melanie Burgener on Oct 22, 2008 3:26 PMhi
you can create the transaction again and than go to transaction TBB1 and in the "posting date" post all the history to the current date and then in FI do storno
what do you say?
meir -
Realized forex in Treasury Transaction
Dear All,
We are getting incorrect realized forex gain/loss once our treasury transaction has been repaid/settled. The total amount in document current is zero but the amount in local currency is not zero. SAP created a realized gain/loss but is does not zero up the local currency value. Is there something missing in our configuration? Appreciate your advise. Thanks.
Regards
FauziHi Fauzi,
one of reasons in my opinion might be incorrect inconsistency in the process between update of FX rates in the system and posting of flows - that's just a guess.
so my suggestion is the following:
- please check whether FX rate in your rate TCURR table is up-to-date;
- depending on te type of your deal, you might need to reverse the Settlement activity of the whole deal or just individual flow and and then check in the standard report TPM13, whether this generated realized FX gain/ loss clears out the difference between amount in local currency at the start and maturity of original flow.
hope this might help you.
Rgds,
Renatas -
While trying to change a BOM with transaction CS02, a runtime error appears
While trying to change a BOM with transaction CS02, a runtime error appears.
In intial screen he entered material ,plant BOM usage and date valid from after executed then id displayed item list in that he wantu2019s delete one item, he has been deleted selected item after that when he was saving he is getting runtime error
Developer trace
ABAP Program SAPLKED1_WRITE_CE4_BPS1 .
Source LKED1_WRITE_CE4_BPS1U01 Line 30.
Error Code SAPSQL_ARRAY_INSERT_DUPREC.
Module $Id: //bas/640_REL/src/krn/runt/absapsql.c#17 $ SAP.
Function HandleRsqlErrors Line 775.
RABAX: level LEV_RX_STDERR completed.
RABAX: level LEV_RX_RFC_ERROR entered.
RABAX: level LEV_RX_RFC_ERROR completed.
RABAX: level LEV_RX_RFC_CLOSE entered.
RABAX: level LEV_RX_RFC_CLOSE completed.
RABAX: level LEV_RX_IMC_ERROR entered.
RABAX: level LEV_RX_IMC_ERROR completed.
RABAX: level LEV_RX_DATASET_CLOSE entered.
RABAX: level LEV_RX_DATASET_CLOSE completed.
RABAX: level LEV_RX_RESET_SHMLOCKS entered.
RABAX: level LEV_RX_RESET_SHMLOCKS completed.
RABAX: level LEV_RX_ERROR_SAVE entered.
RABAX: level LEV_RX_ERROR_SAVE completed.
RABAX: level LEV_RX_ERROR_TPDA entered.
RABAX: level LEV_RX_ERROR_TPDA completed.
RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
RABAX: level LEV_RX_END entered.
RABAX: level LEV_RX_END completed.
RABAX: end RX_RFC
In sm21
Perform rollback
Run-time error "SAPSQL_ARRAY_INSERT_DUPREC" occurred
Short dump "090618 110101 donalda 11557 " generated
Runtime Error SAPSQL_ARRAY_INSERT_DUPREC
Exception CX_SY_OPEN_SQL_DB
Occurred on 18.06.2009 at 11:01:01
The ABAP/4 Open SQL array insert results in duplicate database records.
What happened?
Error in ABAP application program.
The current ABAP program "SAPLKED1_WRITE_CE4_BPS1" had to be terminated because
one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
What can you do?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
neither
caught nor passed along using a RAISING clause, in the procedure
"RKE_WRITE_CE4__BPS1" "(FUNCTION)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
If you use an ABAP/4 Open SQL array insert to insert a record in
the database and that record already exists with the same key,
this results in a termination.
(With an ABAP/4 Open SQL single record insert in the same error
situation, processing does not terminate, but SY-SUBRC is set to 4.)
How to correct the error
The exception must either be prevented, caught within the procedure
"RKE_WRITE_CE4__BPS1"
"(FUNCTION)", or declared in the procedure's RAISING clause.
To prevent the exception, note the following:
Use an ABAP/4 Open SQL array insert only if you are sure that none of
the records passed already exists in the database.
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"SAPSQL_ARRAY_INSERT_DUPREC" CX_SY_OPEN_SQL_DBC
"SAPLKED1_WRITE_CE4_BPS1" or "LKED1_WRITE_CE4_BPS1U01"
"RKE_WRITE_CE4__BPS1"
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.Hi ,
you are getting beacuse u are trying to do mass update to database.
Please check that below note are applicable to your system.
Note 453313 - DBIF_RSQL_ERROR_INTERNAL for mass insert
Note 869534 - AFS MRP doesn't work properly with all BOM item categories
Thanks Rishi Abrol -
Exchg rate from new exch type X is not picked up in Treasury transactions
Dear All,
I am maintaining a new exchange rate type for treasury transactions called "x". I have made all the settings required for this. Following is the series of steps configured to pick up the exchange rate maintained for type "x" for a Interest rate instrument foreign currency transaction.
*Genaral Settings*
1) Define exchange Rate(E Rt) type 'X'.
2) Define translation ratios for curr translation
X usd inr 1:1
X inr usd 1:1
3) Define new doc type "ZF" with exch rate type "X"
4) Define Exch rate calculation indicator
02 X X
*Treasury settings*
5) Define company code additional data
Rate Calculated 02
Rate type(Debit) X
Rate type(crdit) X
6) Assignment of valuation areas to accounting codes
ER type X
7) Define account determination
Doctype "ZF" assigned to the relevant posting specs
Document Splitting
8) Classify doc types for doc splitting
ZF 0000 0001
9) Exch Rate of "X"
X 01.01.2006 usd 47.36 inr
after maintaining all these details I am trying to post an FC transactio using tcode TBB1. Everything is fine no errors nothing I can post the document also but THE EXCHANGE RATE MAINTAINED FOR TYPE X IS NOT PICKED INSTEAD RATE FOR TYPE M IS PICKED UP".
please advise if i missed something. I am not able to trace why the SAP is picking rate from type M when I made settings to pick the rate from type X.
Rgds
KomalHi
Generally for posting FI documents (which is what this T Code does) , M alone is used which is the standard SAP system functionality. For other purposes like valuation, translation, etc. we can have different exchange rate types.
Jayaram -
Not flushing changes made in current transaction
I encounter a problem that KODO doesn't flush changes made in current
transaction. I'm using an external transaction manager (JOTM) and XA
datasource (xapool). From the console output, I know I have an active
transaction. According to the KODO automatic flush behaviour
(http://solarmetric.com/Software/Documentation/3.1.2/docs/ref_guide_dbsetup_retain.html),
given kodo.FlushBeforeQueries is true and kodo.ConnectionRetainMode is
transaction, flush should happen before query.
The code is something like this:
userTransaction.begin();
String field1 = "abc";
long field2 = 10L;
String field3 = "123";
Foo foo = new Foo(); // Foo's PK is field1, field2 and field3.
foo.setField1(field1);
foo.setField2(field2);
foo.setField3(field3);
foo1(foo);
Collection foos = foo2(field1, field2);
System.out.println("foos.isEmpty()? : " + foos.isEmpty());
userTransaction.commit();
public void foo1(Foo foo)
PersistenceManager pm = null;
try
pm = getPersistenceManager();
System.out.println("PM.TX: " + pm.currentTransaction() + " active:
" + pm.currentTransaction().isActive());
pm.makePersistent(foo);
catch (ResourceException e)
e.printStackTrace();
finally
if (pm != null && !pm.isClosed())
pm.close();
public Collection foo2(String field1, long field2)
PersistenceManager pm = null;
StringBuffer filter = new StringBuffer();
HashMap parameters = new HashMap();
StringBuffer paramList = new StringBuffer();
Extent ex = null;
Query query = null;
Collection result = null;
Collection result1 = new ArrayList();
Long field2Long = new Long(field2);
try
pm = getPersistenceManager();
System.out.println("PM.TX: " + pm.currentTransaction() + " active:
" + pm.currentTransaction().isActive());
ex = pm.getExtent(Foo.class, true);
filter.append("field1 == paramField1");
filter.append(" && field2 == paramField2");
paramList.append("String paramField1");
paramList.append(" , Long paramField2");
parameters.put("paramField1", field1);
parameters.put("paramField2", field2Long);
query = pm.newQuery(ex, filter.toString());
query.declareParameters(paramList.toString());
result = (Collection) query.executeWithMap(parameters);
catch (ResourceException e)
e.printStackTrace();
finally
if (pm != null && !pm.isClosed())
pm.close();
return result;
From the console,
PM.TX: kodo.runtime.PersistenceManagerImpl@b34b1 active: true
PM.TX: kodo.runtime.PersistenceManagerImpl@b34b1 active: true
foos.isEmpty()? true
If the userTransaction is committed before invoking foo2(), then, the Foo
object is created and foos.isEmpty() returns false.
I am using KODO version: 3.1.2. Here is the kodo.properties:
javax.jdo.PersistenceManagerFactoryClass:
kodo.jdbc.runtime.JDBCPersistenceManagerFactory
javax.jdo.option.Optimistic: true
javax.jdo.option.RetainValues: true
javax.jdo.option.NontransactionalRead: true
javax.jdo.option.ConnectionFactoryName: jdbc/datasource
javax.jdo.option.IgnoreCache: false
kodo.Connection2UserName: <some user>
kodo.Connection2Password: <some password>
kodo.Connection2URL: jdbc:oracle:thin:@<some host>:1521:<some db>
kodo.Connection2DriverName: oracle.jdbc.driver.OracleDriver
kodo.jdbc.DataSourceMode: enlisted
kodo.jdbc.ForeignKeyConstraints: true
kodo.FlushBeforeQueries: true
kodo.ConnectionRetainMode: transaction
kodo.jdbc.VerticalQueryMode=base-tables
kodo.TransactionMode: managed
kodo.ManagedRuntime :
invocation(TransactionManagerMethod=foo.TransactionManagerUtil.getTransactionManager)
kodo.jdbc.DBDictionary : oracle(BatchLimit=0)
Any ideas are appreciated.
Regards,
Willie VuAbe White wrote:
Do you get the same behavior with local transactions?
I don't see anything immediately wrong with your code, but all our internal
tests are passing, and no other user has reported a problem.In a single transaction, I'm using multiple persistence managers which are
closed after usage (method foo1() and foo2() gets different persistence
managers and close them before return). I don't think I can use local
transactions, can I? -
Bapi / Function module to change the status of transaction crmd_order
Hello team,
I am developing the utility in CHARM for which i need to change the
Status of transaction CRMD_ORDER from "New to "In process" through
report/BAPI / FM etc... I tried to use report
CRM_socm_service_report.But it never puts status " In process" rather i
updates only " "work in progress ".
Also tried FM "CRM_STATUS_CHANGE_EXTERN" , but doen't work.
After the process is put "In process" , i want to create change request
and assign resource". Is there any report / FM /Bapi or anything in the
system to do this.
I tried to write BDC but dropdown list is not recorded in the recording.
Please advice.
Thanks and regards,
SwapnilNot sure I understand your requirement but maybe FM CRM_ORDER_MAINTAIN will be of help to you.
-
Interest frequency of Additional Details in Oracle Treasury Transaction
Dear all,
We are using Oracle Treasury. Our client request to input the time deposit with interest payment period so that the system can generate the interest payment per frequency. i.e. a 2 year time deposit with annual interest payment.
We found that there is a field "Interest Frequency" of additional details in Short Term Money's transaction form.
We try to update the value but it is not effect on calculation of interest rate.
Please advise
1. The use of Interest frequency of Additional Details.
If it is only reference field?
2. how the system can generate interest payment per term period
Regards,
QueenieHi,
Can you please elaborate more on your requirement.
In the FI document, you will not contain the transaction type value filled because not all documents arising from Treasury need to have the transaction type. There may be derived documents also. Same is the case for flow types. For derived documents, you will not have any flow type. But all these document line items will have update type in their item text as default.
For documents relating to transaction types, contract number will be filled, which is the treasury transaction number. Using this you can pick the transaction type from the table VTBFHA.
Regards,
Ravi -
Mass Change in Recipe management (Transaction RMWB) - change specification
Hello ALL,
I am working on a Requirement - Mass Change in Recipe management (Transaction RMWB)
Requirement - for a given specification number get the list of all recipes where this particular specification is used (this is achieved by standard functionality in RMWB)
When a particular recipe is changed in a recipe - perform a mass change of specification across all the recipes.
Things I have found already:
This has to be done in similar fashion as status change is done using ABAP Class -CL_RCP_MSC_STATUS
I would appreciate your help and suggestion in this.
Regards,
NikhilHi Beth,
Yeah actually we did the same thing per your specs: non-status related although confined to preferred recipes, substituting substance X for Y in dependent formulas of recipes.
The only option right I am aware of currently requires custom ABAP work using the Mass-Change framework supplied.
Regards -
Mass change in fk02-payment transaction-bank name
Dear All :
i want to do mass changes in fk02 - payment transaction tab - bank data tab - bank name field
table name is BNKA , field name is BANKA
Please suggest t code for same
vijayAs far as i know the Bank name field is non editable and it flows from Bank key which means the name is bank key specific...so you have to change the bank name of the Bank key...for this i think LSMW or BAPI needs to be created for the Bank key change transaction code FI02.
Regards,
Indranil -
Change the reverse document type for RE.
Hi,
We want to change the reverse document type for document type RE, can any one sugget the possible negative impact.hi
kindly note that if you are creating a new document type to be assigned as the reversal document type for RE then you need to assign the appropriate number range interval for the year.
if you are going to assign an existing document type as the reversal document type for RE then you will not be able to distingush the past and the new documents generated as both of them shall belong to the same document type.
regards
eashwar
Edited by: eashwar1 on Apr 15, 2010 2:38 PM -
"An autonomous transaction does not see any changes made by main transact"
Hi,
I'm trying to reproduce the "An autonomous transaction does not see any changes made by main transaction" reffered on :
Oracle® Database Application Developer's Guide - Fundamentals
10g Release 2 (10.2)
Part Number B14251-01
chapter 2 SQL Processing for Application Developers
Paragraph : Autonomous TransactionsI set up a simple case...
create table emp_ as select * from emp
begin
update emp_ set hiredate=hiredate+100 where empno=7934;
end;
create or replace trigger trg_emp_
after insert or update on emp_
for each row
declare
pragma autonomous_transaction;
emp_var emp.hiredate%type;
begin
select hiredate
into emp_var
from emp_
where empno=:new.empno;
dbms_output.put_line('empno: '||:new.empno);
dbms_output.put_line('old hiredate: '||:old.hiredate);
dbms_output.put_line('new hiredate: '||:new.hiredate);
end;Prior to any change...
SQL> select empno,hiredate from emp_;
EMPNO HIREDATE
5498 21/4/1982
5499 11/10/1981
5411 10/10/1981
5410 10/10/1982
7369 17/12/1980
7499 20/2/1981
7521 22/2/1981
7566 2/4/1981
7654 28/9/1981
7698 1/5/1981
7782 9/6/1981
7788 19/4/1987
7839 17/11/1981
7844 8/9/1981
7876 23/5/1987
7900 3/12/1981
7902 3/12/1981
7934 23/1/1982After the change...
SQL> begin
2 update emp_ set hiredate=hiredate+100 where empno=7934;
3 end;
4 /
empno: 7934
old hiredate: 23/01/82
new hiredate: 03/05/82
PL/SQL procedure successfully completedAccording to the Oracle doc the select of the autonomous transaction should not see the change made to the hiredate column of the table in the main transaction(in the anonymous block)....
What may i do wrong..????
Thank you,
SimSimon:
As Tubby pointed out, your dbms_output commands do not display the value you selected in the trigger. Your trigger based demonstration needs to be more like:
SQL> SELECT * FROM t;
ID DT
1 05-SEP-2009
2 17-JUL-2009
SQL> CREATE TRIGGER t_ai
2 AFTER INSERT OR UPDATE ON t
3 FOR EACH ROW
4 DECLARE
5 PRAGMA AUTONOMOUS_TRANSACTION;
6 l_dt t.dt%TYPE;
7 BEGIN
8 SELECT dt INTO l_dt
9 FROM t
10 WHERE id = :new.id;
11 DBMS_OUTPUT.Put_Line ('ID: '||:new.id);
12 DBMS_OUTPUT.Put_Line ('Old dt: '||:old.dt);
13 DBMS_OUTPUT.Put_Line ('New dt: '||:new.dt);
14 DBMS_OUTPUT.Put_Line ('Aut dt: '||l_dt);
15 END;
16 /
Trigger created.
SQL> UPDATE t SET dt = sysdate WHERE id = 2;
ID: 2
Old dt: 17-JUL-2009
New dt: 25-OCT-2009
Aut dt: 17-JUL-2009
1 row updated.So, the automomous transaction select did not see the changed value of dt.
I know you are just trying to understand automomous transactions here and would never do sometihg like this in production right? :-)
Your trigger, as written, has some interesting side effects because of the automomous transaction. For example:
SQL> INSERT INTO t VALUES(3, sysdate - 25);
INSERT INTO t VALUES(3, sysdate - 25)
ERROR at line 1:
ORA-01403: no data found
ORA-06512: at "OPS$ORACLE.T_AI", line 5
ORA-04088: error during execution of trigger 'OPS$ORACLE.T_AI'
SQL> UPDATE t SET id = 3 where trunc(dt) = TO_DATE('05-Sep-2009', 'dd-mon-yyyy');
UPDATE t SET id = 3 where trunc(dt) = TO_DATE('05-Sep-2009', 'dd-mon-yyyy')
ERROR at line 1:
ORA-01403: no data found
ORA-06512: at "OPS$ORACLE.T_AI", line 5
ORA-04088: error during execution of trigger 'OPS$ORACLE.T_AI'John -
Can we change basic infocube to Transactional cube ?
Hi,
Can we change basic infocube to Transactional cube ?
If so, how to do it?
thanks
murali.Hi dear and welcome on board!
You can do it, sure!
Converting Basic Cube to transactional
Hope it helps!
Bye,
Roberto
...and please don't forget to reward the answers...it's THE way to say thanks here... -
Is it possible to cancel a 10GB storage that i purchased from i cloud for €16. I purchased it accidentally the other day and want to reverse the transaction!?
Find My iPhone Activation Lock
Find My iPhone Activation Lock- Removing a device from a previous owner’s account
The problem is covered in the above links. Unless you know the Apple ID and password used to set up the Find My Phone lock originally, then the phone is useless. If you have proof of ownership and that you are the original purchaser, then you can ask Apple to release it from the activation lock. -
How do you change categories in both transactions and budget report in the personal budget template in Numbers?
I am working on both an iPad mini and a MacBook Air.
Whenever I change the category name in the budget report, it does not actually show up in the transactions tab when I am using the Personal Budget Template.
I have already tried copying and pasting a category in the budget report to add another row but it still does not show up in the transactions tab.Hi golmeda,
Check out this answer here:
Using Numbers Personal Budget template I can't figure out how to change the categories in both tabs (budget and transact…
If it is unclear let me know.
quinn
Maybe you are looking for
-
Location of stubs, skeletons, remote interface ,client and server files
I have a question to the subject mentioned above : In a training example for RMI I red the following : .... stubs, remote interface and client files into client location ... skeletons, remote interfaces, server files and stubs into server location ..
-
Print system variable 71 in page header section
Hi all, I have captured system variable 71 in order to print customer's CST and VAT numberin PLD of A/R Invoice. But it is printing I instead of vat number. I have confirmed the number by View - system information in Tax screen of accounting tab of b
-
I have a website I'm using very other on my company's Intranet, but it requires a username and password. I'd like to see if there's a way to automate the login credentials
-
Hi , I have few basic doubts, we have created a test port in R/3 in transaction WE21 called DEBMDM, and a port in XI in transaction IDX1 called SAPEIT. I am using the business content for Customers, and am able to access the tables in MDM console. Wh
-
Problem in running JCOM - License Exception
Hi, I have checked all the previous links related to License. But i am not able to still find out the solution. Here are the following steps which i followed: (Plz check ) 1) To access the com object Step 1 : I have written an active x dll and i