About message queue in message mapping?
Hi SDNer,
I have been read help.sap.com and sdn threads about message queue
I hope this thread should be help for all like me.
thank you
Sha
Hi Shankar,
XI uses Queue's to store messages, If you worked on message mapping you can see the how queue look like,
Every queue having context ,it separate the values,it store the messages in highrarchy manner.
Using Context Handling we resoleve context issues.
Using node functions we aceive Context Handling.
Search in SDN there is some good blogs abt Node Functions, if you understand nodefunction you wil understand the Queue concepts.
Regards,
Raj
Similar Messages
-
Hi,about message mapping
why is always disabled the dependencies button in the message mapping editor of IR.
it is for ever gray whether in edit mode or not?Hi,
The dependency button in Message mapping is used to show the Source field mapped to which target field.
Can u explain ur query clearly...
Regards
San
Remember to set the thread to solved when you have received a solution there is a Way. -
Hi Experts,
I have to get list of materials from sap r/3 system which starts with some Alphabate. Where can i do it .And how to do it . I think we can do it in Message Mapping. Please let me know the step by step process.
Helpful Ans wi be reward
Regards
KhannaHi Michal,
Here i am implementing HTTP TO RFC scenario
i have BAPI BAPI_MATERIAL_GETLIST
i have source structure MaterialNo.And in the receiver side i have BAPI.
Now my question is i want to get the materials which starts with some CA*
How can i achieve this in Message Mapping????????
Please Explain me in detail
Regards
Khanna -
Some quesionts about message mapping
becase I need use some pics to explain my question, so I post the question to my googlepage.
<a href="http://wanghui1225.googlepages.com/xi_question_1">http://wanghui1225.googlepages.com/xi_question_1</a>
Regards,
Hui
Message was edited by: Wang HuiHi,
Since you are using collapse context, the SUPPRESS is coming. Functionality of collapse is it delete all values from all contexts from the inbound queue except for the first value. <b>Empty contexts (= ResultList.SUPPRESS) are replaced by empty strings.</b>. Finally, all internal context changes are deleted, so that all values belong to one and the same context.
Give the input queue for collapseContext, then it will be really helpful.
See the input queue had 3 true's followed by false (2) and true (2). As you can see that the starting context itself is false and so SUPRESS came in the output queue.
What i suggest is to check all these queues simultaneously:
1) exist
2) context
3) splitbyvalue
with different values then you will be able to figure out the reason.
Regards
Suraj
Message was edited by: S.R.Suraj -
Issue about message mapping in XI
Hi,
I faced a mapping issue.
Mapping check the decimal pont position in the total string.
suppose value from ABAp side is 9.55
if length is 5.
then XI will give the value is 00955 ( i applied the right justified condition )
This is OK...
But in mapping when no value is coming from ABAP side,that time XI give error.
How do i create this mapping...????????
Regards,
sanghaitraHello,
This is OK...
But in mapping when no value is coming from ABAP side,that time XI give error.
Assuming that the value is null or suppressed, you can use the node function mapWithDefault for your mapping e.g
source -> mapWithDefault:00000 -> target
If the value is a space or blank, you can use this logic
constant:00000 -> \
source -> trim -> equalsS ----> ifThenElse -> target
constant: -> / source -> /
Hope this helps,
Mark
Edited by: Mark Dihiansan on Sep 8, 2011 8:08 AM -
Question about message mapping
Hi,
When I use the visual mapping tool, I specify the condition that:
<SourceValue> equalsA 1, <TargetValue> value is 1; else it's 0.
However in the source XML, sometimes source XML is like:
<Root>
</Root>
where there's no SourceValue element. And now the mapping has exception. Then I try to use IsNil functionality, however then another exception saying "cannot cast '' to decimal" occurrred.
Is there a way for me to judge in the mapping so that I can pass through, e.g., when there's no this element, the target value is also 0.
Best regards,
-StanleyHi ,
Refer these blogs . It will help to u
Workflow in SAP NetWeaver
Visual Composer demo - Customer and Google API
Need to get a SAP NetWeaver component implemented quickly? Try SAP Best Practices
Visual Composer7.1 and Yahoo Maps - Part I
Regards,
Suryanarayana -
Step by step message mapping/testing examples
Hi!
I have read many blogs and SAP literature about message mapping.
However, none of them gives step by step details.
Can anybody give any very detailed mapping procedures?
Thanks a lot!Lee,
Have you seen this three series of weblogs where he is explained very clearlyn (2nd one is for mapping):
/people/james.guanzon/blog/2006/02/22/how-to-support-industry-standards-in-xi-part-i-of-iii--interfaces
/people/james.guanzon/blog/2006/03/23/how-to-support-industry-standards-in-xi-part-ii-of-iii--mapping
/people/james.guanzon/blog/2006/09/09/how-to-support-industry-standards-in-xi-part-iii-of-iii--config-test
If you want to test your mapping go through the weblog:
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
Also check this weblogs for reference on mapping:
/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
/people/daniel.graversen/blog/2006/09/15/message-mapping-verification
/people/harrison.holland5/blog/2006/12/08/mapping-context-changes-in-xi
---Satish -
Display queue in message mapping
Hi ,
I need to know the function of ' display queue ' in message mapping . How do i go about it.
Please help.
Thanx nd regards ,
SresthaHi,
Whenever you do a graphical mapping you can see the intermediate result in the display queue. When you test your input using the test tab of Message Mapping, you can get only the end result (if it is successfull) or an error. You can debug the error by seeing the display queue of each and every elements involved in that specific mapping. Display quue will consists of :
1) Input (in) to the function
2) Output (out) from the function
3) Conext change
4) SNo. (optional)
Hope you got an idea
Regards
Suraj -
Message mapping - Display queue
Hello,
In the Enterprise Service Builder of PI 7.1, I go to message mapping and choose "display queue" to test the result of a mapping but nothing happens. I receive a blank popup without any results. It's the same for all mappings. Note that we have just upgraded from XI 3.0 to PI7.1
Any idea?
Thanks for your help!
Best regards,
Olivier
Edited by: Olivier Vanderperre on Oct 14, 2008 8:11 AMHello,
Thanks for your help.
Test data are provided, all fields are complete and the target field is not disabled..
Best regards,
Olivier -
Message Mapping(Display queue and Suppress Value)
Hi Experts,
In Message Mapping(graphical mapping), upon checking the properties of the nodes,there's one property display queue, in which suppress is there??
What does it mean?? Which queue it points and what value is suppressed??
Thanks & Regards,
SushamaHi Sushama,
SUPPRESS means no value.
suppose we are checking one condition (tdid = "RE" then pass tdline) based on the condition we will send one output. if the condition fails then suppress value goes to the target.
> What does it mean?? Which queue it points and what value is suppressed??
es: if(tdid.equals("WE") ifwithoutelse pass tdline value as output. [tdid is in E1EDKA1 segment and this segment occurance is multiple]
In this case if the condition is satisfied once and failed once (means E1EDKT1 segment comes 2 times) then first time it sends the corresponding tdline value and second time it sends the SUPPRESS value.
Regards
Ramesh -
[RFC to File]Problem about Changing file name in message mapping.
Hi,
my problem:
Type:RFC to File
I change the file name in message mapping.
when I call the RFC to send the data twice at the same time, both of the output file names are changed while I only want to change the second output file name.
thanks
SamIn my MM, the input values to these variables (var1, var2 and var3) are (<ZZCOMBI>array,G499999,END_FIFC0029) ,
var1 is an array of input <ZZCOMBI> item list;
var2 is get from a property file by call another UDF;
var3 is constant value.
the test input data :
I send the data for the first time:
- <rfc:Z_IFCFR821_ZIFCTT82100010 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <T_ZIFCTS82100010>
- <item>
<ZZCOMBI>G000002G000002</ZZCOMBI>
<ZZKYKBN>*</ZZKYKBN>
<ENAME_VE />
<ENAME_Z5 />
</item>
</T_ZIFCTS82100010>
</rfc:Z_IFCFR821_ZIFCTT82100010>
so the input values to these variables (var1, var2 and var3) are (G000002G000002,G499999,END_FIFC0029)
the output file name(File1) :END_FIFC002920090413-171534-053.dat
output record: G000002G000002
because the data what I send is the last record, the system send the dummy data for the second time by program.
- <rfc:Z_IFCFR821_ZIFCTT82100010 xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <T_ZIFCTS82100010>
- <item>
<ZZCOMBI>G499999</ZZCOMBI>
<ZZKYKBN />
<ENAME_VE />
<ENAME_Z5 />
</item>
</T_ZIFCTS82100010>
</rfc:Z_IFCFR821_ZIFCTT82100010>
so the input values to these variables (var1, var2 and var3) are (G499999,G499999,END_FIFC0029)
the output file name(File2) :END_FIFC002920090413-171533-928.dat
output record: G499999
I find that File2(20090413-171533-928) was ouput before File1(20090413-171534-053 ) from the time stamp.
I am not sure about that "XI will create a message ID for each message and the messages are independent." as you mentioned above.
Best regards
Sam
Edited by: YONGHE ZHOU on Apr 15, 2009 3:59 AM -
Change Queue name in Message mapping
Hi
We want to change the queue name dynamically in the message mapping.
We refered the post
Re: EOIO queue name change
http://help.sap.com/saphelp_nw04/helpdata/en/6e/ff0bf75772457b863ef5d99bc92404/frameset.htm
But as said in it, we are not able to access the parameter QUEUE_ID or QUALITY_OF_SERVICE.
Other than these two parameters, we can access all parameters.
Below is the code to access one of them.
while compiling, the message mapping gives error as below.
cannot find symbol
symbol : variable QUEUE_ID
Any pointers.
///// CODE
MappingTrace trace;
String constant;
java.util.Map map;
trace = container.getTrace();
// get constant map
map = container.getTransformationParameters();
constant = (String) map.get(
StreamTransformationConstants.QUEUE_ID);
trace.addInfo("QUEUE ID:" + constant);
return constant;
Regards
AnandanHi Anandan,
As given in help you can only get queue Id if you have Quality of service as ExactlyOnceInOrder. So make sure you have selected that option.
http://help.sap.com/saphelp_nw04/helpdata/en/6e/ff0bf75772457b863ef5d99bc92404/content.htm
Regards,
---Satish -
Display queue for Target field in Message Mapping
Hi Folks,
If i check my Target Field (DT_Req) (Display queue) in Message Mapping, I am getting 2 values like ie [] that means ....in my test result in MM, i should get 2 times DT_Req field.
Is it right?
Plz give some idea how this display queue works on each field?
Thanks
Prabaharan
Edited by: Prabaharan on Sep 10, 2008 12:22 AM
Edited by: Prabaharan on Sep 10, 2008 12:24 AMHi,
In my scenario occurrence of that
target field is 0...unbounded
and in my display queue.. Initially it is
suppress, [], suppress, suppress, suppress,suppress,suppress,suppress,suppress,suppress, [],suppress
in my result i could get only one DT_req field.
Plz throw some idea on this?
thanks -
Query related message mapping: Play with queue.
Hi
i have a text file which i converting using File Content Conversion of file sender adapter. My file was very nested so i couldn't convert it the way i wanted i.e.
<Header></Header>
<Detail>
<Weights></Weights>
</Detail>
<Trailer></Trailer>
So now I m left with this kind of source xml:
<ns: MT_REQ>
<header>
</header>
<Detail>
</Detail>
<Weight>
</Weight>
<Weight>
</Weight>
<Detail>
</Detail>
<Weight>
</Weight>
<Weight>
</Weight>
<trailer>
</trailer>
And i want to map it to the same message type <ns: MT_REQ> but due to queuing of data it gives the following result:
<ns: MT_REQ>
<header>
<Identifier>H</Identifier>
</header>
<Detail>
<Identifier>D</Identifier>
Identifier>
</Detail>
<Detail>
<Identifier>D</Identifier>
</Detail>
<Weight>
<Identifier>W</Identifier>
</Weight>
<Weight>
<Identifier>W</Identifier>
</Weight>
<Weight>
<Identifier>W</Identifier>
</Weight>
<Weight>
<Identifier>W</Identifier>
</Weight>
<trailer>
<Identifier>T</Identifier>
</trailer>
i.e. all detail together then weights and header trailer on top and bottom. Now the problem is there is no relation between the weights and detail except that in the monitoring it comes like
1. First detail tag opens and closes with its data
2 then weights which are the heirarchy detail 1 open and closes
3 then second detail opens and closes and then weights of second detail comes under it before any third detail tag opens
So i was wondering if with the help of functions provided in the message mapping it will generate exact mirror image of my source <ns: MT_REQ> into the target <ns: MT_REQ1> which is the exact replica of the former.
I tried it with FormatByExample but dd not work. Is there any Userdefined function or something foe my problem.
Please help !!
NainaStefen
My Inbound file was coming correctly like this :
record
- detail
- weight
- weight
record
- detail
- weight
but when mapping to the target in same style it was going this way
- detail
- detail
- weight
- weight
- weight
so what i did...i asked the portal people to add an identifier to the details and weights so that i can read it and write a UD to finally map it correctly:
- 1detail
- 2detail
- 1weight
- 1weight
- 2weight
- 2weight
it is working properly now....thanks to you all.....have given the points -
How to use functions in Message Mapping
Hi All,
I am new to SAP XI. I don't know how to use functions in message mapping. Can any body tell me how to use IF condition in message mapping.
Please provide me a good link where I can get the details how to use those functions.
Thanks,
Srinivas.HI Srinivas
Please take a look at these links,
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
This will help you
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/190eb190-0201-0010-0ab3-e69f70b6c257
http://help.sap.com/saphelp_nw04/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/a8/bfc6373c8fea43bdb3541535bcbd43/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8a57d190-0201-0010-9e87-d8f327e1dba7
This will give you a detailed Idea about Context
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db95f835c111d1829f0000e829fbfe/frameset.htm
This will give more explanation on Queue
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/51a39490-0201-0010-5b9f-ae21e8b78195
For understanding node functions this blog will help you
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Not sure you can find a collection of all...
Cheers..
Vasu
<i>** REward Points if found useful **</i>
Maybe you are looking for
-
Tax statement item missing for tax code O3
Hi experts, I'm sorry about my question which can find out a lot in SDN forum, but i still post this here because my case is different, I see some similar Error, but I cant solve my issue. In sales standard process, I do SO, DO, Bill without that err
-
On both computers, I'm running FF 7.0.1, but the problem has been with me on my iMac ever since FF 5. Both computers have the same add-ons, and as far as I can tell all settings are the same as well. But something obviously is limiting the number of
-
Where to find Pick Release Date After Ship Confirm in Order to Cash cycle
Dear All, In Order to Cash cycle how to find Pick Release Date. After performing the Ship Confirm Transaction, how to view when we have performed Pick Release Transaction? Thanks in Advance. Regards, Aditya
-
Cannot Open A Page Because "too Many Redirects Have Occurred"
I am getting the error "Cannot Open A Page Because too Many Redirects Have Occurred" when I try to access URL after changing device language to Espanol (Mexico). It works fine for English option. Tried the solution given TS3320 but no success. URL al
-
Calculation Based on Previous Day's Figure
Hi all, This is a solution I implemented several years ago, which is now causing problems and must be rectified. The intention was to compare a single field across two days and calculate the difference. The only way I could figure out how to do tha