cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Mapping - ABAP class was not shown in Mapping Program

Former Member
0 Kudos

Hi Experts,

I am working with ABAP mapping scenario.

I had created ABAP Class in ABAP workbench. This class was activated successfully.

Before this I had done ABAP mapping related as followed.

In IntegrationBuilder ->IntegrationBuilder.Repository -> com.sap.aii.repository.mapping.additionaltypes

enter the value of

R3_ABAP|Abapclass;R3_XSLT|XSL (ABAP Engine)

In Integration Repository, I have created Interface Mapping.

- Provided Source Interface and Target Interface.

- Save

- Click on ‘Read Interfaces’.

- Under Request column, Source Message item was populated with my Message Interface (ex : MT_Input_Order) and Target Message was populated with my Message Interface (ex : MT_Output_Order).

In ‘Mapping Program’, I have selected ‘Type’ as ‘Abap-class’.

But ‘Name’ item field was shown as blank. I could not able to select my ABAP class.

Could some one, please guide me to resolve this issue.

Thanks in Advance.

..Sree

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

There is no help-value or match-code, you have to write to name of the class manually.

Strange but it's so.

Regards,

Sandro

Former Member
0 Kudos

Hi Sandro,

Thank you so much for your reply. I will try now.

Points awarded.

..Sree

Former Member
0 Kudos

Hi Sandro,

I have tried with by entering ABAP Class name (under Name column). But I could not able to select the NameSpace value.

Can i proceed to 'Activate' without providing NameSpace.. to work with ABAP mapping.

Please suggest.

..Sree

MichalKrawczyk
Active Contributor
0 Kudos

hi,

you don't need a namespace in this case:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4...

just save and activate

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi Michal,

Thank you for your reply.

I had saved and activated. It was activated successfully.

I am working with File to File scenario using ABAP mapping. For this I had put mytest.xml file in input folder (i.e in Source). I have chosen processing mode as 'Delete'. So after polling time (i.e after 30 sec) provided input file was deleted. But I am expecting that, the input .xml file will be transferred to Output folder (i.e Target folder), after ABAP mapping. I could not able to see the output .xml file.

But in SXMB_MONI, i got Red flag message and it was shown in the Information window with the text as " Error in mapping program (type R3_ABAP,kernel error ID UNCAUGHT_EXCEPTION) " .

Can you please suggest where it went wrong? Is there any issue with ABAP mapping ?

Thanks.

..Sree

Former Member
0 Kudos

It looks a mapping problem, maybe you have a DUMP in ST22 ?

I think you will find these helpfull:

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4">How to ABAP Mapping</a>

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d4900e81a30c">How to debug XI</a>

Regards,

Sandro

Former Member
0 Kudos

Sree,

Most likely your data format is wrong somewhere and you are not handling the exception within ABAP mapping. check the ST22 dump if available.

Please save the input payload and test the mapping in integration repository.

Answers (0)