Skip to Content
author's profile photo Former Member
Former Member

ABAP Mapping - Can it be made simple?

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Feb 02, 2007 at 08:44 AM

    Hi Praveen,

    u ll get a stream in a abap mapping, not a deep structure like in proxys. U cant use proxy functionality 4 mapping, as proxys only can use XI protocoll, a abap mapping has more power. It is ur decision 2 use the DOM parser, it is not required. U can search and replace fields with easy string operations - if u like.

    Regards,

    Udo

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.