cancel
Showing results for 
Search instead for 
Did you mean: 

Need help in ABAP MAPPING

former_member229310
Active Participant
0 Kudos

Hi All,

I am receiving following while testin ABAP mapping through SXI_MAPPING_TEST. I have configured the data type,message type,service interface,operation mapping ( Abapclass) in ESR and sender/receiver communication channels in ID.

<?xml version="1.0" encoding="iso-8859-1" ?>

- <Top>

<First>BeginTrace</First>

<Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>

<Trace level="2" type="T">......attachment XI_Context not found</Trace>

<Trace level="3" type="T">Mapping is determined</Trace>

<Trace level="1" type="T">No mapping configured</Trace>

<Trace level="1" type="E">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>

</Top>

emp_node_collection = idocument->get_elements_by_tag_name_ns( name = 'MT_Emp_Det' ).

"MT_Emp_Det" is my source message type.

Below is the xml format,

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_Emp_Det xmlns:ns0="http://xyztest.com">

<EMPLOYEE>

<PERSONAL>

<EMPID>103</EMPID>

<FIRSTNAME>sari</FIRSTNAME>

<MIDDLENAME>JK</MIDDLENAME>

<LASTNAME>kum</LASTNAME>

<AGE>25</AGE>

<GENDER>M</GENDER>

</PERSONAL>

<JOB>

<COMPANY>HPL</COMPANY>

<DEPARTMENT>PI</DEPARTMENT>

<DESIGNATION>JS</DESIGNATION>

<BEGINDATE>2010</BEGINDATE>

<ENDDATE>9999</ENDDATE>

<SALARY/>

</JOB>

</EMPLOYEE>

</ns0:MT_Emp_Det>

Let me know if I have missed anything.

Accepted Solutions (0)

Answers (2)

Answers (2)

ernesto_cruz
Participant
0 Kudos

Hi Hari, today I created my first Abap mapping and I have obtained the same trace that you and I created the class as Local object.

Please verify the following:

Verify that all objects are activated, methods, class, etc

Test it with SXI_MAPPING_TEST

Regards.

stefan_grube
Active Contributor
0 Kudos

> <Trace level="1" type="T">No mapping configured</Trace>

Your interface mapping is not in cache.

Change anything and reactivate (don't forget release of change list)

if this does not help, force cache update with SXI_CACHE

former_member229310
Active Participant
0 Kudos

I did the same as mentioned.Complete cache refresh done. The mapping name s showing under Mapping in runtime cache.

Pls let me know if I need to check anything more.

former_member229310
Active Participant
0 Kudos

Also i put a break point in my method. But when I execute SXI_MAPPING_TEST transaction by givin payload the debugger is not stopping in execute method.

stefan_grube
Active Contributor
0 Kudos

Do the same for integration directory. change and reactivate interface determination, where your mapping is applied, and check chache status for ID.

former_member229310
Active Participant
0 Kudos

Thanks for your reply,

Still there is no change. I am getting same message in Trace. I did full cache and delta refresh.

stefan_grube
Active Contributor
0 Kudos

Have you checked in trace if your receiver det. and interface det. is used?

Former Member
0 Kudos

Hi,

<Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
<Trace level="2" type="T">......attachment XI_Context not found</Trace>
<Trace level="3" type="T">Mapping is determined</Trace>
<Trace level="1" type="T">No mapping configured</Trace>
<Trace level="1" type="E">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>

This states that in IS the pipeline service is detecting the ABAP class.

I guess you have some issues in the ABAP class itself might be in some loop or something.

check your ABAP class minutely.

cheers,

Abhishek.

stefan_grube
Active Contributor
0 Kudos

> <Trace level="1" type="E">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>

>

> This states that in IS the pipeline service is detecting the ABAP class.

CL_MAPPING_XMS_PLSRV3 is a standard SAP class, not the customer mapping program.

former_member229310
Active Participant
0 Kudos

I am not sure where I need to look further. I do not see the debugger stopping in my method only.

Should I check with any adminstration perspective any settings. Also I created the abap class as local object. There is no transport attached to this.

Thanks in advance for ur valuable inputs.