on 10-24-2008 10:10 AM
Hi Guys,
Please help me about my problem in message mapping..
Im quite knew in XI version 7.0.
How come Only the constants are showing up in the target values. my constant values are only doc_type and partn_role.
The rest are data from sql. How can I solve this..Please help.
This is the result of my test tab
Left side - sender
<?xml version="1.0" encoding="utf-8"?>
<ns:MT_TRAVEL_SENDER xmlns:ns="HTTP://TRAVEL.COM/TRANSACTIONS">
<row>
<DOC_TYPE>ZTRV</DOC_TYPE>
<SALES_ORG>4000</SALES_ORG>
<DISTR_CHAN>40</DISTR_CHAN>
<DIVISION>41</DIVISION>
<SALES_GRP>411</SALES_GRP>
<SALES_OFF>4101</SALES_OFF>
<PURCH_DATE>2008-10-24</PURCH_DATE>
<PMNTTRMS>Z015</PMNTTRMS>
<PURCH_NO_C>AVADIUDS </PURCH_NO_C>
<PARTN_ROLE>AG</PARTN_ROLE>
<PARTN_NUMB>0001100074</PARTN_NUMB>
<INSERTED>1</INSERTED>
</row>
</ns:MT_TRAVEL_SENDER>
right side -test result under receiver
<?xml version="1.0" encoding="UTF-8"?>
<ns1:BAPI_SALESORDER_CREATEFROMDAT2 xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
<ORDER_HEADER_IN>
<DOC_TYPE>ZTRV</DOC_TYPE>
</ORDER_HEADER_IN>
<ORDER_HEADER_INX>
<UPDATEFLAG>I</UPDATEFLAG>
<DOC_TYPE>X</DOC_TYPE>
<SALES_ORG>X</SALES_ORG>
<DISTR_CHAN>X</DISTR_CHAN>
<DIVISION>X</DIVISION>
<SALES_GRP>X</SALES_GRP>
<SALES_OFF>X</SALES_OFF>
<PURCH_DATE>X</PURCH_DATE>
<PMNTTRMS>X</PMNTTRMS>
<PURCH_NO_C>X</PURCH_NO_C>
</ORDER_HEADER_INX>
<ORDER_PARTNERS>
<item>
<PARTN_ROLE>AG</PARTN_ROLE>
</item>
</ORDER_PARTNERS>
</ns1:BAPI_SALESORDER_CREATEFROMDAT2>
check the mapping bettwenn source field n target field in message mapping, also use the test tab and check the output result in message mapping.
chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
tocde for BPM is SXMB_MONI_BPE.
did u followed the below steps to check.
1) Put the data in source strucutre.
2) Run the test message
3) check the target data.
4) Go to message mapping and right click on node and check display queue option and check the same with soruce and target element.
r u using any constant function in ur mapping.
chirag
Hi..Ava,
Check if you are getting the data from the sql first. See also your mapping whether u have mapped correctly or not.
Regards,
Leela
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi leelaratnam morampudi ,
How can I check if im getting the data in sql? I think it get the data but dont pass the value in bapi
this is the test result in sender
<DOC_TYPE>ZTRV</DOC_TYPE>
<SALES_ORG>4000</SALES_ORG>
<DISTR_CHAN>40</DISTR_CHAN>
<DIVISION>41</DIVISION>
<SALES_GRP>411</SALES_GRP>
<SALES_OFF>4101</SALES_OFF>
<PURCH_DATE>2008-10-24</PURCH_DATE>
<PMNTTRMS>Z015</PMNTTRMS>
<PURCH_NO_C>AVADIUDS </PURCH_NO_C>
<PARTN_ROLE>AG</PARTN_ROLE>
<PARTN_NUMB>0001100074</PARTN_NUMB>
<INSERTED>1</INSERTED>
Hi,
mapp Properly all the Parent Nodes From Source to target also
REgards
Seshagiri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ava,
How do you think we can debug your message mapping?
Most of the fields in your target message seems to be mapped with X value. Check your mapping in design tab using "Display Queue" functionality yourself.
Regards
Jaishankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.