cancel
Showing results for 
Search instead for 
Did you mean: 

Only the constants are showing up in the target values.

Former Member
0 Kudos

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>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Chirag Gohil

I use the test tab,that why I generate this result..only constant values appeared..how can i check it?

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

How to Test Your Mapping

Regards

Seshagiri

Former Member
0 Kudos

Hi N V Seshagiri ,

How to open Technical workflow log of BPM ?what is the tcode?

Former Member
0 Kudos

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

samiullah_qureshi
Active Contributor
0 Kudos

In your mapping you can also check mapping for the parent nodes for the fields, which are not producing on target side.

Regards,

Sami.

Former Member
0 Kudos

It said

open the Technical workflow log of your BPM

- choose Show container option (from your mapping step)

- choose your inbound message

I open the tcode SXMB_MONI_BPE

whats shall I click? Sorry Im quite new in XI..

Please give procedure step by step

Former Member
0 Kudos

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

Former Member
0 Kudos

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>

Former Member
0 Kudos

Hi,

mapp Properly all the Parent Nodes From Source to target also

REgards

Seshagiri

Former Member
0 Kudos

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

Former Member
0 Kudos

Can I have ur email add?I email u the sample mapping in word doc