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

Handling data element with attributes in grahpical mapping

Hi, all

I have created a datatype from importing an external xsd. The xsd is using complex type and when the PI created the following structure:

Note that I am trying to get the graphical mapping to insert values into component->perform and value, key->name and value. I haven't found a way to do so. When I test it with wsnavigator or ABAP proxy, here is what I saw:

However, on the graphical mapping, I don't know how to get to the content. So I can use graphical mapping to put in perform=get or name=EMPLID. But I cannot put in content.

Your advice would be much appreciated.

Thanks,

Jonathan.

test.png (22.5 kB)
test1.png (13.7 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 10, 2014 at 03:12 AM

    Anyone else has seen this problem before?

    Thanks,

    Jonathan.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 10, 2014 at 07:26 PM

    Thanks, Sunil.

    Another question is that is there a way to create 2 records of the key element? For example, I want to generate the following xml in the output.

    <component perform="get">CI_SSEPP_LVE_BAL_R</component>

    <key name="EMPLID">500087156</key>

    <key name="EMPL_RCD">2</key>

    <EMPLID>500087156</EMPLID>

    <EMPL_RCD>2</EMPL_RCD>

    Assume that only emplid = 500087156 is coming from the source, everything else is hard coded. How do you generate the 2 key elements in the output with graphical mapping?

    Thanks,

    Jonathan.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 09, 2014 at 10:54 PM

    if i understand correctly you want to restrict the field values by using enumeration?

    refer the blog -Enumeration in PI 7.1

    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.