Doubt About Message Mapping
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
Khanna
Hi 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
Similar Messages
-
hi Experts,
I have small doubt in Message Mapping.
My doubt is in my Scenario if X=1 i want to go for message mapping1,if X=2 want to go for message mapping2,if X=3 i want to go for mapping3.
How it possibleKalam,
You can use dynamic interface determination. Please see this thread for this:
Re: Dynamic interface determination
Regards,
---Satish -
Doubt about message in SmsAdminUI.log
Hi guys,
I have a doubt about this message error in SmsAdminUI.log occur when I open console SCCM 2012:
[6, PID:18032][DATE 08:13:35] :System.Runtime.InteropServices.COMException\r\n\r\n at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
[1, PID:9828][DATE 11:53:21] :Property: 'Compatible'\r\nSystem.Management.ManagementException\r\nNot found \r\n at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
My console open normally, any help?
Thanks.I would not worry about it as long as the console works as expected.
Torsten Meringer | http://www.mssccmfaq.de -
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. -
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 -
XI to Xi communication( doubt about message interafce)
hi ALL.. AGAIN WE ARE BACK
https communicaion
WITH SOME ISSUE IN <b>File/Idoc - XIA--|Internet|--
XIB - File </b> scenario.
1.at XIA we are using XI Adapter, with HTTPS protocol to post data to XIB server
2.at XIB we are using same XI adapter with HTTP protocol to receive data.
the issue is which <b>message type</b> we shall use for these 2 interfaces.
<b>a)</b> is it possible to export the idoc structure as XSD and use this XSD file as External
Definition at both interfaces at XIA and XIB system...or some standered datatype template is there..
<b> b)</b> what in case the 2 interface has different message type ?
regards,
ashutoshHi all
for connecting XIA & XIB,
at XIA as we are using XI adapter at receiver communication channel..
i am specifying the path as :
<b>http://<host >:<8001>/MessagingSystem/receive/AFW.</b> host = host XIB.
do i require to remove the "receive" in the url... pointed in the below blog by stefan..
XI to XI - XI adapter communication
Regards,
ashutosh -
Hi Experts,
How many message interfaces we have to create per scenario.If it is a synchronous or Asynchronous.One is enough or should we create two
Regards
KhannaHi Khannan,
If it is Asynchronous and Synch we need to create two interfaces one outbound interface and one Inbound interface.
Pleas let me know if you have any qureies..!
Thanks and Regards,
Chandu.
Message was edited by: -
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 -
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 -
Different options for message mapping in BPM
Hey guys
i m in the learning phase of BPM and am kinda confused with the different ways we can do message mapping in a BPM scenario.
first of all we can do message mapping before BPM,we can also do after BPM and lastly we can do inside BPM(ofcurse this is not recommended as its too resource consuming)
i have bene through starters blog on BPM by Krishna moorthy and Arpit seth,and now am wondering how to use the mapping in diff. ways
suppose i m doing a simple File to File with BPM(just for practise purpose)
now here is what i have designed in IR
DT_sender_File DT_receiver_File
MT_sender_File MT_receiver_File
MI_Outbound_sender(async,outbound), MI_Inbound_receiver(async,inbound)
AI_sender(abstract,async) AI_receiver(abstract,async)
MM_File_File(using MT_sender_File and MT_receiver_File)
now i want to clear some doubts about interface mapping.my understanding is
if i do interface mapping between MI_Outbound_sender and AI_receiver,this will be interface mapping before BPM.
if i do interface mapping between AI_sender and MI_Inbound_receiver,this will be interafce mapping after BPM
and if i do interface mapping between AI_sender and AI_receiver then it will be mapping inside BPM.
is my understanding correct?if yes,then does that means we can we any of the above mapping in our scenario.(if we dont consider the performance issue as of now)
thanx
saifHi Saif,
<i>
is my understanding correct?</i>
Yes, thts correct
<i>if yes,then does that means we can we any of the above mapping in our scenario</i>
Of course, u can use any of them (overlooking the performance issue)
Regards,
Prateek -
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 -
[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 -
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
ShaHi 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 -
Doubt in fields - message mapping (file 2 idoc scenario)
while doing message mapping in file 2 idoc scenario, i could not able find the values for some field names
( i am following this wiki help
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC& )
cremas04 idoc
vendorNo LIFNR
vendor name Name1
Pur_org ? ( I could not able locate field with the similar desc in idoc MT side)
Company code ?
Acc_Grp ?
Search term MCOD1
Address ADRNR
City ORT01
Pin_code PSLTZ
could you help me out with this?
Message was edited by: praba
prabahi,
I got the answer. -
Hi Experts,
Im stuck up with a message mapping issue. Need your advice if I can handle this in message mapping or should I changed the FCC.
FILE to RFC scenario.
Input file sample.
1|OPENED|153-01-19|T001|005151|0237|20100705|17:35:55|001 |20100705
101|A005152|1|20100705|11:46:38|001 ||||001||1|N|SALE
111|WCAKE004|1.000|42.00|42.00||G||0.00|LIQUOR|||N|42.00|0.00|$|0.00|WCAKE004
111|WCAKE004|-1.000|42.00|42.00||G||0.00|LIQUOR|||N|-42.00|0.00|$|0.00|WCAKE004
111|WCAKE005|1.000|38.00|38.00||G||0.00|LIQUOR|||N|38.00|0.00|$|0.00|WCAKE005
121|38.00|0.00|0.00|0.00|0.00|I|N||0.00|0.00
131|T|CASH|S$|1.0000000|38.00||||38.00
141|G|0.00
1|CLOSED|153-01-19|T001|005162|0237|20100705|17:35:55|001 |20100705
After the FCC the message comes into XI in the format (Source message) .
GMRSTORES
--CODE1
1
OPENED etc..
--CODE101
101
A005152
1 etc..
--CODE111
111 etc..
--CODE111
111 etc..
--CODE111
--121
--131
--141
--1
The problem is on the target side when I try to map the Code111 (line item) to the targert RFC it comes only once or all the Code111 nodes comes under the same "ITEM_LI" The target RFC structure is like.
--/POSDW/CREATE_TRANSACTIONS_EXT
IT_TRANSACTION
ITEM
RetailLIne Item
ITEM_LI (here is the problem I expect 3 ITEM_LI nodes for each CODE111)
Pls advice.
Thanks
PrasannaThe problem is on the target side when I try to map the Code111 (line item) to the targert RFC it comes only once or all the
Code111 nodes comes under the same "ITEM_LI"
here is the problem I expect 3 ITEM_LI nodes for each CODE111
1) Ensure that you have raised the Context of the source node (CODE111) to a higher node.
2) Is your mapping logic proper..... is the ITEM_LI node or its parent node mapped properly so that when the CODE111 repeats, the target is also able to repeat?
3) did you check the max occurence of ITEM_LI node.....it should be more than 1
Regards,
Abhishek.
Maybe you are looking for
-
I have been using the itunes program for a while and just the other day i tried opening it and this error message popped up. ITUNES has encountered a problem and needs to close. we are sorry for the inconvenience. Then there is two buttons.... send t
-
How can i impliment on a B1 screen?
Hi, Using this article (Associate a Crystal Report to your own form), i implimented the code in custom screens... but how can i impliment this on a B1 screen? Please help me. Thanks Prasanth
-
How to create a Worklist in BPS for Forecasting?
Hi In BPS, we are Forecasting for several company Codes. I would like to cretae a Worklist in BPS so that Users can choose a company Code for planning. I am not sure how to create this. Can some please suggest a method. I think it has to to do with
-
JAXB looking for tag type rather than tag name?
Hi everyone. I'm trying to use JAXB to load an xml file, [http://www.unimod.org/xml/unimod.xml|http://www.unimod.org/xml/unimod.xml] . The schema is at [http://www.unimod.org/xmlns/schema/unimod_2/unimod_2.xsd|http://www.unimod.org/xmlns/schema/unimo
-
Hi all can anyone send me the codes for creating POS sales order via BAPI. my Z* program should have the following featuer.: 1. Feature to get executed with read data from FILE and to get executed with read data from Z-Table 2. Create the SAP Sales