Caching values between different executions of a message mapping
Hi all
Like global container object is used for caching values between different user defined functions
within the same message mapping.
Can v have some sort of cachingvalues
between simultaneos exceutions of same message mapping?
Thanks and Regards
Bhasker
Hi Bhasker raj,
This facility is there if you are using seeburger adapters.
YOu can use something called seeburger variables which can hold the data beyong the mapping in some permanent memory.
Alternatively, you can think of creating a ZTABLE in the ABAP stack of XI and storing the data you want in it, using a UDF and get it back in another UDF.
YOu can use the first UDF at last node/field in the message mapping and the
secomd UDF in the first node/field in the mapping.
Regards,
Ravi
Similar Messages
-
How can I share values between different jsp pages?
Hi,
I'm doing a jsp, bc4j application (JDeveloper 9.0.3), and I need to share some values between different jsp pages. To do this,
I have used the tag <jsp:usebean.....></jsp:usebean> in this way:
on pageone.jsp
<jsp:useBean id="param" scope="session" class="MyPackage.Parameters" ></jsp:useBean>
on pagetwo.jsp
<jsp:useBean id="param" scope="session" class="MyPackage.Parameters" ></jsp:useBean>
and so on, in order to refer to the same instance of the class "Parameters".
After deploying, the application works well only if the client is the same pc where the AS resides, otherwise the variables of "Parameters" are null.
Please, could you help me?
Thanks
Nunzio.I am seeing an indication on 9.0.3 that static includes are not static, but instead always dynamic. The compiler generates a call to the included page, and doesn't include the content in the calling page as it should.
-
Pass values between different frames
Dear Friends from Adobe.
I need a lot of help from you.
I have a project with Flash Action Script 2.0 and would like
to know if you have to pass values between different frames.
Example:
Passing a value of a inputbox the frame 1 for a inputbox in
frame 2.
OBS: If possible could pass the solution through e-mail?
Now, very grateful.
Diogo Areas.Using AS2 you can either name the input textfield instance on
the stage or, you can name the variable property of the input
textfield. You can name either of these from the Property Inspector
window. Once named, you can then have access to the value of the
text that is entered. It will be either instanceName.text or
variableName.
The scope of either of these values lasts only as long as the
textfield instance exists. So, if the first textfield is in frame
7, for instance, and is only in frame 7, and you want to use the
value in another frame, say frame 20, then you'll have to store the
value outside of the textfield for later use. You can do this by
creating a variable in the first frame of the movie, and then
placing the text from the textfield in frame 7 into that variable.
Then at frame 20, you can retreive that value and use it in the
textfield in frame 20.
Alternately, you can continue the instance of the textfield
in frame 7 out through frame 20. The content will continue to be
available. You can add keyframes to the layer that the textfield is
in at frame 7, and move the object off the visible area of the
stage, so that it won't be seen, if you like. -
Keeping a connection cache alive between program executions (pool)?
Hey all,
I am using the Oracle Connection Cache to maintain a connection pool. I have a java application that simply retrieves a document from an Oracle 8.1.7 database during each execution. In order to avoid the overhead of establishing a connection every time this simpe application executes, I'd like to use a connection pool/cache. However, I am not sure how to keep this connection cache "alive" between executions of my program. Basically, I would like to keep a connection cache to the database for an infinite amount of time. Does anyone know how I would do that? This way, my Java application will never have to make a new physical connection to the database in order to retrieve a document. I would really appeciate any help as I have spent a lot of time searching/reading/testing.
Thanks,
MarcusAn application server would be the easiest solution, at least from a high level. Application servers exist to provide services like connection pooling to Java applications-- they're very good at it.
If we're talking about code that's already been designed and written and whose deployment would be adversely affected by going to an application server, converting the process to a deamon would probably be the easiest approach.
If you were to go down this road, you'd first have to identify what precisely should trigger the application to run. Perhaps it's a GUI, perhaps it's the creation of a file in a certain directory, etc. Then, you'd need to have a thread that monitored that (or registered as a listner for the appropriate event if we're talking about a GUI) and "woke up" the application.
Justin
Distributed Database Consulting, Inc.
www.ddbcinc.com -
GlobalContainer object values acessed among UDF's in message mapping ?
hi
i have scenario where i am using globalContainer variable functionality in my message mapping.
in edit java section
String usr;
Container container ;
GlobalContainer globalContainer ;
intialize usr = "";
in First UDF
String inlogin_sess = " ashutosh test value" ;
globalContainer.setParameter(usr,inlogin_sess);
return any value :
now if i create another 2nd UDF and use :
String out =globalContainer.getParameter(usr);
return out ;
now 2nd UDF is giving null pointer exception...
for testing the code functionality..
IF i use the SET and GET in 1st UDF :
globalContainer.getParameter(usr); in 1st UDF than it is working sucessfully...
globalContainer.setParameter(usr,inlogin_sess);
String out = globalContainer.getParameter(usr);
return out ;
in help.sap it is mentioned that Globalcontainer objects values can be fetched among UDF's in one message mapping....
[http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm]
i have gone a lot of thread in sdn where Global container are used like sequence no creation etc, but every where the
GET and SET are used in SAME UDF...
any clue where is leak..
Regards,
ashutosh RHi Abhishek
Your point is legimate, but for my their is no such issue..
even i try to use it as :see image..
[http://www.screenshots.cc/show.php/14137_GlobalVariable.JPG.html]
UDF1 :
globalContainer.setParameter(usr,inlogin_sess);
return any value :
and in UDF2
String out = globalContainer.getParameter(usr);
return out ;
mainting the sequence
My concern is object globalContainer is local in UDF1, so it will through nullpointer ,if we try to access in UDF2.
if we declare globalContainer in edit jave -GlobalVariables also, still it is having the error..
Regards
AshutoshR -
Send Multiple field values to Single Target field in Message Mapping
Hi,
My Requirement is to Map Multiple fields to Single field in Target side.I have to send all the values concatenated and pass the same to target Field in Message Mapping.
We can use Concat function,but more that 15 fields are there.If using concat,the mapping will be complex.
Is there any way to simplify this requirement or we can use any UDF for this,kindly suggest.
Regards,
Madhu>>>We can use Concat function,but more that 15 fields are there.If using concat,the mapping will be complex.
I don't think it's complex but just that it occupies more mapping area
Just write a simple UDF - a one line code and pass all your input variables.
return var1+var2+var3+var4+...+var15; -
Navigate from report to dashboard and pass values between different column
Hello
I have a question about navigating from 1 report to a dashboard page while passing the value from column 1 to column 2 in the second report...
In OBIEE 11G, I create action link on report 1, column 1 and this action link is navigate to BI Content and the destination is a dashboard page, which has column 2 used as dashboard prompt and there are 3 reports all use column 2 to filter. Now the column 2 in the dashboard page is an alias of column 1 from report 1, from user's point of view they are the same, but from OBIEE point of view they are different.
My action link is able to navigate to dashboard, however, the value in column 1 which I clicked to execute the navigation, does not get passed to column 2 as the dashboard prompt doesn't get this value upon navigation..
Since I can't put column 1 in dashboard 2 nor can I put column 2 in report 1. Because our data model is done in the way that if I use column 1 or column 2 in both places, it will be circular joins...
Is there a way around this issue?
Let me know if I need to provide more clarification
ThanksSid
Here is the thing..
Let's say we have Dimension 1, dimension 2 and fact 1 and fact 2
In one report, you need to show Dimension 2 and fact 1 so Dimension 2 joins to fact 1.
In some other cases, you need to shown dimension 1 and fact 2 stuffs, but dimension 1 can't get to fact 2 without going through dimension 2. So Dim 1 --> Dim 2 --> Fact 2
Then in some other cases, you need to show Dim 1 and Fact 1 reports..
In means, your model will look at:
Dim1 --> DIm2 and Dim 1 --> Fact 1 and Dim 2 --> Fact 1.. This is just a simpler version of a much more complex model that I am dealing with now..
So in this case, you can't just use Dim 1 attributes across the board. For some dashboards, you will have to create alias of Dim 1, call it A1_Dim1, un-join Dim1 with Dim 2 or to fact 1 to avoid circular joins... Then in different reports, you either use columns from Dim 1 or A1_Dim1..
Now Dim1 and A1_DIM1 are really the same thing, but they are not according to OBIEE...
So my problem is, in report 1 where Dim1 is used, it can't past values to Dashboard 2 where A1_DIM1 is used as dashboard prompt..
I want to know if there is a way around this issue
Hope this makes more sense now
Thanks -
Handling a value between different classes
Hi there!
Can anyone tell me how to handle this problem?
A value is received at a certain event, that value then needs to be stored somewhere so that two other Classes can access it and then use it.
I hope someone can point me in the right direction.. Some outline code would help if possible?
Thanks :)okie dokie:
Comms Class handles received Packet events, if it receives a certain packet with a JID (Jabber Identifier) it then needs to store that somewhere else.
//Some outline code
class Comms {
public receivedPacket( PacketEvent pe ) {
JID getJID = pe.packetEvent;
}ChatWindow handles simple chat to the sender of the JID so it needs to get that received JID somehow
//Some guideline code
class ChatWindow {
sendPacket.add( JID );
}EditorChat handles simple shared editing so it too needs that JID to send a packet using that JID
//Some guideline code
class EditorChat {
sendPacket.add( JID );
}My idea for doing this JID handling is completely shot now, but everything else works (thankfully)!
Is that any good? I want to understand how a receivedPacket that contains a JID (which I've already been able to extract can then be stored somewhere else so the two classes (ChatWindow and EditorChat) can use it..?
thanks :) -
Getting unwanted values between the XML tags in XSLT mapping
Hi Folks
I have come across a very strange situation with my xslt mapping.
I am getting unwated values "11" between xml tags
as follows
<Tag>0001</Tag>
11
<DataID>3</DataID>
I am not sure why I am getting these values in between the tags. Any suggestions would be appreciated.Hi David,
Here is the code fragment where these 2 tags are mapped, FYI, the source is an IDOC message. The unwanted "11" is coming After the <Tag></Tag> and <DataID></DataID>. FYI, Fof the element <Tag></Tag> its a default value. But for <DataID> </DataID> I have the mapping logic.
<Order>
<OrderHeader>
<Tag>009</Tag>
<xsl:for-each select="E1EDKA1">
<xsl:choose>
<xsl:when test="normalize-space(PARVW) = 'WE' and normalize-space(LIFNR) = 'U960'">
<DataID>
<xsl:value-of select="'1'" />
</DataID>
</xsl:when>
<xsl:when test="normalize-space(PARVW) = 'WE' and normalize-space(LIFNR) = 'U300'">
<DataID>
<xsl:value-of select="'3'" />
</DataID>
</xsl:when>
<xsl:when test="normalize-space(PARVW) = 'WE' and normalize-space(LIFNR) = 'U930'">
<DataID>
<xsl:value-of select="'1'" />
</DataID>
</xsl:when>
<xsl:when test="normalize-space(PARVW) = 'WE' and normalize-space(LIFNR) = 'U400'">
<DataID>
<xsl:value-of select="'3'" />
</DataID>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="'1'" />
</xsl:otherwise>
</xsl:choose>
</xsl:for-each> -
Navigate between 2 reports and pass values between 2 different columns
Hello
I have a question about navigating from 1 report to another while passing the value from column 1 to column 2 in the second report...
In OBIEE 11G, I create action link on report 1, column 1 and this action link is navigate to BI Content and the destination is report 2. Now report 2 has column 2, which is an alias of column 1 from report 1, from user's point of view they are the same, but from OBIEE point of view they are different.
My action link is able to navigate to report 2, however, the value in column 1 which I clicked to execute the navigation, does not get passed to column 2 in report 2..
Is there a way around this issue?
Let me know if I need to provide more clarification
ThanksThank you Anirban
I think this is the best solution you just provided.The current post and the post at below looks same
Navigate from report to dashboard and pass values between different column
is it not answered?
Thanks :)
Edited by: Srini VEERAVALLI on May 7, 2013 3:07 PM -
Get the mapping values from one message mapping into another message mappin
Hi All,
I created two graphical message mappings. In first message mapping i created one user defined function and set one global container parameter and I need to use this parameter in my second message mapping user defined function. But the global container parameters can be used in different user defined functions in same message mapping. So is there any way to use the values which are set in one message mapping into another message mapping. If yes, please help me how to get?Hi Koteswara rao,
As you said global container parameters from first message mapping are not accessible from second message mapping program.
i haven't faced situation like this.but, if you have some unmapped field in target message in first message mapping,you can put global variables data in that unmapped field.
anyway the output of first message mapping would be input for 2nd messages mapping,so you can access global data(unmapped field filled with global data in 1st MM) from 2nd mapping program..
Cheers,
Jag -
Accessing container variables from ccBPM in Message Mapping?
Hello Friends,
I have created a ccBPM and require to send response messages to the sending system at different points as the message proceeds from one state to another. I do not want to create multiple message mapping stating different status in every message mapping. The message mapping remains the same only the status is changing. So I am thinking if I can access container elements in ccBPM at message mapping then I should be able to use only one message mapping. Is it possible at all?
Let me know if you have other solutions. Let me know if I am not clear?
Thanks & Regards,
Anand PatilHi Abhishek,
Your suggestion to use Parameterized Mapping did solve my issue. I was looking something like this. Thanks.
Now I have only one Message Mapping and it is used in multiple places. Thanks a lot
Best regards,
Anand Patil -
Message mapping: Passing data at the node level
Hi,
I have a question/requirement, XI Message Mapping program need to read the incoming xml and map to a diffrerent target structure. Incoming xml has a parent node called Description and it has a value "Frauen Hemd Shoes", we need to map this value to target LongText Field but message mapping is ignoring this data while mapping.
A parent node can't hold the value/data while a child node is present. So is there any workaround to read this data to target str?
<Description>
<ShortName>Shoes</ShortName>
Frauen Hemd Shoes
</Description>
Expected result:
<Comments>
<ShortText>Shoes</ShortText>
<LongText>Frauen Hemd Shoes</LongText>
</Comments>
Please let me any clues to resolve the issue.
thanks,
LaxmanI agree , the soruce structure is not a valid one..
The source structure should look like the below:
<Description ShortName='Shoes'>
Frauen Hemd Shoes
</Description>
where ShortName is attribute for the Element "Description".
You add attribute to the element the same way you add subElement, Just choose attribute instead of subelement.
In this case the Mapping would be
Descriprion -
> LongText (target)
ShortName -
> ShortText (target)
This Should work.
Regards.
Jeet. -
Pass values between panels in different UI files
Hi All,
Is there a way to pass values between panels belonging to User Interface files ? Or is it easier to have one .uir and different .c and .h files ?
Thanks,
KanuI should say that it's not possible for you to trap events from the first popup,and this depends on the basic concept of "popup panel".
When you install a popup panel, all user interaction with existing panels is excluded: all focus it aimed at the popup only, no other user interface event is generated. If you launch another popup from the first one, the second popup prevails over the first one and no event can be generated on the first panel until the second one is closed.
Handling a chain of two popup panels while looping on GetUserEvent can lead to unpredictable situation not so easy to untangle.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
Why different Overall requirements value between labor and pool capacity
Hi all,
I create a PM Order with using a PP work center and this PP work has 3 Capacity category: machine, labor, pool.
after I check the PM Order with CM35
and i find out, that Overall requirements value are different between labor and pool capacity. Is this normal?
In my opinion,labor and pool should have same amount requirements of capacities.
thanks®ardsHello,
Please refer the Link [http://help.sap.com/saphelp_47x200/helpdata/en/b1/c03662439a11d189410000e829fbbd/frameset.htm]
Regards,
Rakesh
Edited by: RAKESH ASHOK MANE on Aug 17, 2010 9:42 AM
Maybe you are looking for
-
I think this article is misleading, it seems that "AirPort Disk Utility" no longer exists in 10.7 Lion (and possibly hasn't existed since 10.5).
-
I downloaded iMovie 6.0.3 and it doesn't work!
So I got a MacBook with Leopard and iLife '08 built in. Then I discovered I could get iMovie HD 6 for free, so I downloaded it but whn i'm installing it it says "You cannot install iMovie HD Update on this volume. This update requires iMovie HD versi
-
How to find out the process chain
Hi folks Hope every one is doing good..! in sm37 my job is running (ABAP program) which is in process chain, but i have to find out the process chain name..! Could any one help me on this..!
-
Mailbox database has no mailboxes - Still has data in it
On my exchange server, I have multiple databases set up for different types of users. In the default mailbox, there are no mailboxes according to get-mailbox -Database:"<default database name>" but if I check the database size with Get-MailboxDatabas
-
Ridiculous $800 Security Deposit
Our family has been Verizon customers for 20+ years. My son was recently married and opened his own cell phone account. He had to pay a $800! security deposit to start the account. Yes, if he keeps up with his bills they will get it back in a year. B