Skip to Content
0
Former Member
Feb 01, 2007 at 09:48 PM

ABAP Mapping - Can it be made simple?

18 Views

Hey mates,

I'm looking at the ABAP mapping option for transforming source format to target format. I see that we need to have class implementing IF_MAPPING and implement the method EXECUTE and then parse the source message, process it and render the target message. And, here I dont have the data in the form of an internal table which is easy for processing..rather I've to use methods like "get_elements_by_tag_name", "get_item ( index = x)" etc.

Why cant SAP make it simple...in the sense.. similar to the way inbound & outbound proxies are handled?

In inbound proxies, I dont have to worry about parsing the incoming message...I readily have it in data dictionary structures and table types.

In outbound proxies, I dont need to bother about rendering the XML message, I can pass my data dictionary structures & internal tables the EXECUTE_(A)SYNCHRONOUS method.

Are there any disadvantage of this approach? What do u say folks?

thx in adv

praveen