Getting context changes
Hi,
I want to get the changes made in the context by the user in the component BP_HEAD, at least for a specific node.
For WD components there is the interface if_wd_context.
As BP_Head is a BSP application this interface should not work here.
Is there a similar method or interface for BSP applications?
Thanks
Andreas
Hi,
OK. I understand as follows: You have got a single context node on a single view. On the change of one or more attributes you want to commit a field check.
For this task SAP has introduced the SET_[Attribute] methods on context node level. There they do the comparing of values for you. In the sample SETTER implementation the wizard creates for you, there is a part that says: IF <nval> <> <oval>
There the field is set to the BOL node.
I had such a case a while ago. When the user enters a product number I wanted to load a graphic. For that I needed to check if the product number had changed. I implemented the SET_ORDERED_PROD() method and put some code in there to raise an event.
In my view controller I added an event listener for the event on the context node. This works very well.
Another possiblity is to call some custom conversion exit inside the SET method.
cheers Carsten
Similar Messages
-
User changes in tab strip ui element are not recorded in context change log
Hi All,
We are using a tab strip ui element in webdynpro component. But user changes inside tab strip ui element are not getting recorded to the context change log. I have an input field on the same view besides tab strip ui element. User changes to this input field are getting recorded to the context change log.
Is there any restriction on context change log usage with tab strip ui element?
Could you please suggest If there is any way to record changes inside tab strip ui element.
Thanks,
Sudheer.I think there are some limitations exists, context change logs are not complete when you do value help , i am not sure about tab strip.
[http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/a8e5d273b12fe2e10000000a42189d/content.htm|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/a8e5d273b12fe2e10000000a42189d/content.htm] -
Add a context change after a set of values in a context
Dear experts,
My requirement is as follows:
Scenario: Idoc to Idoc. I need to check if there are line items > 5- I need to do a split. The split is happening properly via my mapping but I have a problem at the header record level on the target- I do not get the values populated correctly. I need to add a context change after 5 values in the queue.
eg:
Say there are 2 Idocs at the source with following unique IDs: called Journal ID:
My source:
Idoc 1: Journal ID 123
Line Itme 1
Line Item 2
Idoc 2: Journal ID 124
Line item 1
Line item 2
Line item 3
Line item 4
Line item 5
Line item 6
Line item 7
So I need to get total of three Idocs in my target:
Idoc 1: Journal Entry 123
Line Item 1
Line Item 2
Idoc2: Journal Entry 124
Line item 1
Line item 2
Line item 3
Line item 4
Line item 5
Idoc3: Journal entry 124
Line item 6(new 1)
Line item 7(new 2)
The split in the target Idoc is working perfectly. But inside the header record the journal ID field(taken from Item record level) is not populating correctly. I am getting this output:
Idoc 1: Journal Entry 123
Header Record-->JournalID Field value= '123'
Line Item 1
Line Item 2
Idoc2: Journal Entry 124
Header Record-->JournalID Field value= '124'
Line item 1
Line item 2
Line item 3
Line item 4
Line item 5
Idoc3: Journal entry 124
Header Record-->JournalID Field value= Null
Line item 6(new 1)
Line item 7(new 2)
So please suggest a UDF/standard function to populate the right values inside header record--->Journal ID field.Something like the below...
public void calculate(String[] var1, ResultList result, Container container) throws StreamTransformationException{
for ( int i = 0; i < var1.length; i++ )
if( var1[i].length() > 5) //here var1 I am passing the Journal ID
result.addContextChange();
Apparently this doesnt work.The first Idoc has two line items and the second idoc has 7 line items. As the split is per 5 line item- the target has 3 Idocs.
Now the problem is that the header value in the target: REF_DOC_NO has to be created as per the number of line items and doesnt come from header record directly. -
Hi,
i am getting small problem in the context change..
i have input as
1
2
3
[3]context change
4
5
[5]conext change
6
7
8
[8]context change
i want out put as
2
3
[3]conext change
5
[5]context change
7
8
[8]context change
my requirement is the element after context change in the input sholud be deleted.
Thank you,
Madhav.Hi Madhav,
Try This
for(int i=0;i<a.length;i++)
if(a<i>.equals(ResultList.CC))
result.addValue(ResultList.CC);
i++ ;
else
result.addValue(a<i>);
"if(a.equals(ResultList.CC))" it should be a(i) but in rect bracket ,Dont know why it is not showing the same in above code
Thanks
Sunil Singh
Edited by: SUNIL SINGH on Nov 19, 2008 5:57 AM
Edited by: SUNIL SINGH on Nov 19, 2008 5:59 AM -
Reg: Logic for context change
Dear friends,
I have a scnario where i need to uploade the sumary of financial entries.
For every one line item i need to create a target side as 2 line item for debit and credit entry.
I achived this by using duplicatesubtree.
Now the issue is for all the entries there should only one debit entry by summing all the line item amout and all the credit item entries.
Even this is achived by using the context change at the sum function.
In fico we can uploade only 900 line item not more that. for this i have make use of counter and udf to resolve this.
But now for context change i need to genarate one debit entry for every 899 credit entrries(input line items).
It mean for 899 input item sum to be taken in to one debit line item at target in the duplicatesubtree
For this i have a udf it gives a counter change after 899 line items.
Now on this change how should i change the context..for sum and create the debit item after every 899.
I have refered this thread .
[context change in message mapping]
Regards
VijayHi Vijay,
To get Sum
Source item (0 .. outbound)
line1 (0..1)
line2 (0..1)
line3 (0..1)
line4 (0..1)
line5 (0..1)
line6 (0..1)
Now map Line6 --> (RemoveContext) u will get all values ===> Write UDF1 ===> Map to first element under Item1
===> Write UDF2 ===> Map to first element under Item1
UDF1
public void CreditSum(String[] a,ResultList result,Container container){
float count = a.length;
float c = count/2;
int d = (int)c;
int sum=0;
String Sum_str = " ";
for(int i=0;i<=d-1;i++)
sum = sum+Integer.parseInt(a<i>);
Sum_str =Integer.toString(sum);
result.addValue(Sum_str);
UDF2
public void Credit2Sum(String[] a,ResultList result,Container container){
//write your code here
//write your code here
float count = a.length;
float c = count/2;
int d = (int)c;
int sum=0;
String Sum_str = " ";
for(int i=d;i<=count-1;i++)
sum = sum+Integer.parseInt(a<i>);
Sum_str =Integer.toString(sum);
result.addValue(Sum_str);
Thx
Srini -
Note works under JDL 1.3.1, but not under JDK 1.2.2. Is there a fix?
C:\bea\wlserver6.1\samples>c:\jdk1.3.1_01\bin\java
examples.jndi.InitialContextExample t3://localhost:9001 system password
WebLogic context created on behalf of "system"
C:\bea\wlserver6.1\samples>java examples.jndi.InitialContextExample
t3://localhost:9001 system password
java.io.StreamCorruptedException: Type code out of range, is 0
at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1280)
at
java.io.ObjectInputStream.SkipToEndOfBlockData(ObjectInputStream.java
:1211)
at
java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
:776)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:353)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:978)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:107)
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:115)
at
weblogic.rjvm.ConnectionManager.readPeerInfo(ConnectionManager.java:6
86)
at
weblogic.rjvm.ConnectionManagerClient.handleIdentifyResponse(Connecti
onManagerClient.java:140)
at
weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:627)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java,
Compi
led Code)
at
weblogic.socket.JavaSocketMuxer.processSockets2(JavaSocketMuxer.java,
Compiled Code)
at
weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java,
Compiled Code)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
--------------- nested within: ------------------
weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested
except
ion:
[java.io.StreamCorruptedException: Type code out of range, is 0]
at
weblogic.rjvm.ConnectionManager.readPeerInfo(ConnectionManager.java:6
88)
at
weblogic.rjvm.ConnectionManagerClient.handleIdentifyResponse(Connecti
onManagerClient.java:140)
at
weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:627)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java,
Compi
led Code)
at
weblogic.socket.JavaSocketMuxer.processSockets2(JavaSocketMuxer.java,
Compiled Code)
at
weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java,
Compiled Code)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
Failed to contact t3://localhost:9001.
Is there a server running at this address?
C:\bea\wlserver6.1\samples>Right. Using WebLogic RMI proprietary implementation (t3) with 6.1 requires
1.3 on the client side. If you absolutely have to use 1.2 on the client side,
IIOP should work - I just tried this and it looks like WebLogic 6.1 implements
EJB spec interop requirements pretty well.
Jonathon Cano <[email protected]> wrote:
I saw an article saying use iiop and then deploy your beans for such. I can
get context over IIOP using jdk1.2.2 to WLS 6.1. I have not yet deployed
beans or recompiled anything to try this all the way. Does this work?
Should I proceed? or is there a gotcha?
"Dimitri Rakitine" <[email protected]> wrote in message
news:[email protected]...
6.1 requires 1.3 on the client. (it uses dynamic proxies, so 1.2 willnot
work).
Jonathon Cano <[email protected]> wrote:
Note works under JDL 1.3.1, but not under JDK 1.2.2. Is there a fix?
C:\bea\wlserver6.1\samples>c:\jdk1.3.1_01\bin\java
examples.jndi.InitialContextExample t3://localhost:9001 system password
WebLogic context created on behalf of "system"
C:\bea\wlserver6.1\samples>java examples.jndi.InitialContextExample
t3://localhost:9001 system password
java.io.StreamCorruptedException: Type code out of range, is 0
at
java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1280)
at
java.io.ObjectInputStream.SkipToEndOfBlockData(ObjectInputStream.java
:1211)
at
java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
:776)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:353)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
atjava.io.ObjectInputStream.inputObject(ObjectInputStream.java:978)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:107)
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:115)
at
weblogic.rjvm.ConnectionManager.readPeerInfo(ConnectionManager.java:6
86)
at
weblogic.rjvm.ConnectionManagerClient.handleIdentifyResponse(Connecti
onManagerClient.java:140)
at
weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:627)
atweblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java,
Compi
led Code)
at
weblogic.socket.JavaSocketMuxer.processSockets2(JavaSocketMuxer.java,
Compiled Code)
at
weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java,
Compiled Code)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,Compiled
Code)
--------------- nested within: ------------------
weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - withnested
except
ion:
[java.io.StreamCorruptedException: Type code out of range, is 0]
at
weblogic.rjvm.ConnectionManager.readPeerInfo(ConnectionManager.java:6
88)
at
weblogic.rjvm.ConnectionManagerClient.handleIdentifyResponse(Connecti
onManagerClient.java:140)
at
weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:627)
atweblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java,
Compi
led Code)
at
weblogic.socket.JavaSocketMuxer.processSockets2(JavaSocketMuxer.java,
Compiled Code)
at
weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java,
Compiled Code)
at
weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,Compiled
Code)
Failed to contact t3://localhost:9001.
Is there a server running at this address?
C:\bea\wlserver6.1\samples>--
Dimitri
Dimitri -
How can I get and change the values of Withholding tax grid in MIRO trx
Hi everyone,
I have a requirement where I need to get and change WT_WITHCD field in MIRO's Withholding tax grid. Is there a function module / Badi to do this? I used MRM_HEADER_CHECK, but the parameters related with this badi doesn't have this value.
Do you have any idea?
Thanks in advance!
Regards.
Leo.Hello Leonardo,
You can change that table with help of the filed-symbol in the BADI MRM_HEADER_CHECK.
LOOP AT ti_drseg INTO ls_drseg.
lv_index = sy-tabix.
LS_DRSEG-MWSKZ = 'I0' . " < For example
MODIFY ti_drseg FROM ls_drseg INDEX lv_index.
ENDLOOP.
FIELD-SYMBOLS: <drseg> TYPE mmcr_tdrseg.
ASSIGN ('(SAPLMR1M)ydrseg[]') TO <drseg>.
<drseg> = ti_drseg[]. " this will modify the data in MIRO with your modified data
Regards,
Naimesh Patel -
How can I get and change the items grid of MIRO trx
Hi everyone,
I have a requirement where I need to get and change the tax code field in MIRO's item grid. Is there a function module / Badi to do this? I used MRM_HEADER_CHECK, but the parameters related with this badi only allows read but not change them.
Do you have any idea?
Thanks in advance!
Regards.
Leo.Hello,
You can change that table with help of the filed-symbol in the BADI MRM_HEADER_CHECK.
LOOP AT ti_drseg INTO ls_drseg.
lv_index = sy-tabix.
***... do your processing
MODIFY ti_drseg FROM ls_drseg INDEX lv_index.
ENDLOOP.
FIELD-SYMBOLS: <drseg> TYPE mmcr_tdrseg.
ASSIGN ('(SAPLMR1M)ydrseg[]') TO <drseg>.
<drseg> = ti_drseg[]. " this will modify the data in MIRO with your modified data
Regards,
Naimesh Patel -
HOW CAN I GET MY CHANGE IN PROCESSING(got it)?
Hi all....
please understand my requiement and get back with your valueble answers...
iam having one table control in one of my screen....
in that....table control it contains three fields.... so as we know three columns...
middle column is for second field...
here i am changing first entry ( 1st row of second column) manually... and clicking one push button of my screen to do some caluclation part combine with table control entries...
ex: table controls looks like.....(before)
1 100 ab
2 200 gh
3 300 vf
4 400 fh
.. .... ...... etc
now manual i changed above like....(after)
1 150 ab <------ only change
2 200 gh
3 300 vf
4 400 fh
.. .... ...... etc
So... here my problem is iam getting my caluculation part with that field as 100 only.... not as 150,
even i debug this variable with defferent conditions like......
READ TABLE ITAB WHERE ITAB-F1 = 1.
SO HOW CAN I GET MY CHANGE IN PROCESSING? WHERE I HAV TO MODIFY MY PROGRAM?
(edited: prevoius ly this value is capturing correctly...because that calculation part is in the module which is added between chain and endchain)
Expect Max marks,
Thanks,
Naveen
Edited by: Naveen Inuganti on May 27, 2008 11:57 AM
dont worry guys i got the answer.... we have to catch that varible in the chain and endchain operater.... by using module.....
thank you all...
bye...
Edited by: Naveen Inuganti on May 27, 2008 3:41 PM
Edited by: Naveen Inuganti on May 27, 2008 4:00 PM
Edited by: Naveen Inuganti on Jun 13, 2008 11:44 AMHi,
I think f2 is a key field in table.So 150 considered as new entry.this case you have to keep 100 for delete from table then add 150 entry.i think you are getting update in itab.But not in table.If you are not getting itab, post your code to check -
How to get the Change node in Production Server!!!!!
Hi Guys,
Kindly let me know how to get the Change node in Production Server for the Transaction Code Pe03 for generating the Acknowledgement No for the year 2008 .
Plz provide me the steps how to get the Change Node for Acknowledgement No so tat i can get the configuration done.
Regards
Ansuman Mohanty.Hi Mr!
If you want to generate the e-file feature 40ACK, do it in our Customization client box (Golden box) & save the request & move to Quality & production.
Still if you need to workout only in Production, than with the help of Basis people you can get the Production change mode for 5 to 10 min time & can generate it. But mostly Basis people wont give us change mode for Production box ... with ur request they can do..try it.
Did u collected 4 quarter TAN no's for 2008 Quarter...if not collect it & generate it at a time.
All the best:-)
Kind Regards,
Saisree.S -
I ordered Illustrator via creative cloud for another user. I received an invitation that was accepted and tried to change the account to the name and email of the person it was ordered for. How can I get this changed and the invitation sent to the right person?
Cloud as a Gift https://forums.adobe.com/thread/1665610
-
Context change by DOM parsing Java Mapping in XI
Hi Team,
I would like to know that how can I handle Context Change by DOM Parser Java Mapping in XI.?
Suppose the source XML structure I have like below:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Header xmlns:ns0="urn:bp:xi:hr:edm:test:100">
<FileName>
<filesub>
<subname>a</subname>
<subname>b</subname>
<subname>c</subname>
</filesub>
</FileName>
<FileName>
<filesub>
<subname>d</subname>
<subname>e</subname>
<subname>f</subname>
</filesub>
</FileName>
</ns0:Header>
Where the field FileName can occur maximum thrice(0...3) but the subname field is (0....unbounded) but in the target source I would like to have as given below:
<?xml version="1.0" encoding="UTF-8" ?>
- <MT_Test4 xmlns="urn:bp:xi:hr:edm:test:100">
- <Header>
<FileName>a</FileName>
<FileName1>d</FileName1>
</Header>
- <Header>
<FileName>b</FileName>
<FileName1>e</FileName1>
</Header>
Header>
<FileName>c</FileName>
<FileName1>f</FileName1>
</Header>
</MT_Test4>
That means the first value from every context of the source field is forming my first and second value in my target first context.Thensecond value from every context is forming my 1st and 2nd value of my target 2nd context and finally 3rd value of every context is forming my 1st and 2nd value of my target 3rd context.Is this possible to done through DOM parsing or we have to do it by UDF only?Hi Atanu,
In my last post I gave an alogorithm to solve the mapping problem. Here is the complete program for the mapping.
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Map;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import com.sap.aii.mapping.api.StreamTransformation;
import com.sap.aii.mapping.api.StreamTransformationException;
public class DOMParser1 implements StreamTransformation{
public void execute(InputStream in, OutputStream out)
throws StreamTransformationException {
try
DocumentBuilderFactory factory=DocumentBuilderFactory.newInstance();
DocumentBuilder builderel=factory.newDocumentBuilder();
/input document in form of XML/
Document docIn=builderel.parse(in);
/document after parsing/
Document docOut=builderel.newDocument();
TransformerFactory tf=TransformerFactory.newInstance();
Transformer transform=tf.newTransformer();
Element root,child,child1=null;
Node textChild;
NodeList l;
int i,n1,j,div,k;
String s[];
root=docOut.createElement("MT_Test4");
root.setAttribute("xmlns","urn:bp:xi:hr:edm:test:100");
l=docIn.getElementsByTagName("subname");
n1=l.getLength();
s=new String[n1];
for(i=0;i<n1;++i)
s<i>=l.item(i).getFirstChild().getNodeValue();
l=docIn.getElementsByTagName("filesub");
div=l.getLength();
j=n1/div;
for(i=0,k=0;i<j;++i)
child1=docOut.createElement("Header");
root.appendChild(child1);
child=docOut.createElement("FileName");
textChild=docOut.createTextNode(s[k]);
child.appendChild(textChild);
child1.appendChild(child);
child=docOut.createElement("FileName1");
textChild=docOut.createTextNode(s [ k + j ]);
child.appendChild(textChild);
child1.appendChild(child);
++k;
docOut.appendChild(root);
transform.transform(new DOMSource(docOut), new StreamResult(out));
catch(Exception e)
e.printStackTrace();
public void setParameter(Map arg0) {
public static void main(String[] args) {
try{
DOMParser1 genFormat=new DOMParser1();
FileInputStream in=new FileInputStream("C:/Apps/my dw/sdnq/apps.xml");
FileOutputStream out=new FileOutputStream("C:/Apps/my dw/sdnq/tgt1.xml");
genFormat.execute(in,out);
catch(Exception e)
e.printStackTrace();
source -> apps.xml
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:Header xmlns:ns0="urn:bp:xi:hr:edm:test:100">
- <FileName>
- <filesub>
<subname>a</subname>
<subname>b</subname>
<subname>c</subname>
</filesub>
</FileName>
- <FileName>
- <filesub>
<subname>d</subname>
<subname>e</subname>
<subname>f</subname>
</filesub>
</FileName>
</ns0:Header>
target structure -> tgt1.xml
<?xml version="1.0" encoding="UTF-8" ?>
- <MT_Test4 xmlns="urn:bp:xi:hr:edm:test:100">
- <Header>
<FileName>a</FileName>
<FileName1>d</FileName1>
</Header>
- <Header>
<FileName>b</FileName>
<FileName1>e</FileName1>
</Header>
- <Header>
<FileName>c</FileName>
<FileName1>f</FileName1>
</Header>
</MT_Test4>
Hope this helps
one more thing in this line "textChild=docOut.createTextNode(s k + j );" somehow the the third braces one opening before k and one closing after j is missing for unknown reasons. Please correct it when you actually run this code.
regards
Anupam
Edited by: anupamsap on Mar 7, 2011 12:47 PM -
How to refresh VO to get the changed value in other AM or backend database
one VO is refrenced by two AMs, when i insert or update data by VO in one AM, how to get the changed data in another AM ?
another case is i have updated some attributes of the record in database by SQL statement ,but the client can not get the updated value at once .
i have tried to use executeQuery() ,but it does not work. now i always do a rollback method ,a bad idea.:)
pls help me ! thanks
Message was edited by:
Guo QinghuaMind that ADF BC (probably like any other persistence framework) caches data. So when you update something in the database other than via ADF BC, you then have in the ADF BC cache what is called 'stale data'. When you try to commit that nevertheless, the database will tell ADF BC that the record in the database has been updated by another user, and a rollback will be done. That is all to be expected.
You can find some more info on how this works here:
http://download-uk.oracle.com/docs/html/B25947_01/bcvoeo007.htm
It also explains how to clear the cache and enforce that data will be read from the database.
Jan Kettenis -
How to get the Change Document Header details for a given date
Hi All,
Can anyone help me on this Change Document Header details(CDHDR).
Better way to pull the information of Change Document Header details(CDHDR). No Index is maintained for the tables.
So please suggest better Optimising techniques to get the Change Document Header details(CDHDR).
Using this Function module : CHANGEDOCUMENT_READ_HEADERS how to import the DATE_OF_CHANGE.
Thanks in advance
Regards
ChakriHI,
Go through the documenattion of the FM u can get the details.. and also where used list
Regards,
Nagaraj -
How to apply context change explicitly?
Hi,
Refer the section context handling page No 19: Explicit Context selection.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f59730fa-0901-0010-df97-c12f071f7d3b
/people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping
Also u can achieve it by writing the code in UDF.Already provided by experts
Thnx
Chirag
Maybe you are looking for
-
Hello world! Sorry if possibly duplicate topic, but I couldn't find the solution here. We have T5220 box with 4 146G HDDs, by the software deployment requirement was that we should build a RAID-10 volume, allocating about 60GB for the root partition,
-
Java.net.SocketException; connection reset by peer. socket write error Java.SQLException; cannot open anymore tables. I am getting this error when i'm using Tomcat 3.3 server. I am using servlet classes and access database.This error comes in 1-2 day
-
How to get SMTP server name and SMTP port
hi i need to send a report to the use to his mail id while configuring the ibot in mail tab it is asking for SMTP server ,and SMTP port how we can get these two,.... ?:( do i have to purchase from vendors, can any one please tell me the process reall
-
Pro 2.0 and CS4 not enough ram and fddshow.
I would be very happy if somebody might help me.. Exporting like above cause that movie is about 100x accelerated and remaining footage is whole black and blind, i mean 100minutes material is squeezed into 1 minute and remaining 99 minutes are black
-
Decimals rounding to quarters possible?
Hello, my bro has a question where he's wondering if it's possible to set Numbers to round to quarters. Example: "I need to round a calculated cell in Numbers to the nearest quarter: e.g. 314.25 or 23.75; but all I can do is to the nearest number of