I have created one ABAP mapping class with the method IF_MAPPING~EXECUTE.I tried to test the mapping program in a report by passing the source(XML document as a string).The call to the mapping method is done as follows:
CALL METHOD CLASS1=>IF_MAPPING~EXECUTE
source = sxml
result = sxml1.
When I try to activate the above call, I get an error message which says that You can only use class=>method with static methods.This is happening in SAP WAS6.20.I understand that ABAP mapping can be tested in dynamic calls only in XI.
So the only option left is to test the ABAP mapping in Integration repository Design -Interface mapping.When I include ABAP mapping class in the interface mapping and run the whole scenario,I get error message in SXMB_MONI.
Is there an easy way out to test the ABAP mapping than including it in the Interface mapping?If you have some ideas,please inform.
Thanks in advance,