cancel
Showing results for 
Search instead for 
Did you mean: 

Removing "Doc Type" tag

Former Member
0 Kudos

We are using our PI system for sending cxml messages back and forth from customers to our R/3 SAP system.

My question is that when we receive the cxml documents from our customers, we need to remove the <Doc Type> tag for PI to process it. However, when we send the message back to the customer, we always have to add the doc type tag back into the message.

We are currently on PI 7.0.

Is there a fix for this or is this just the way that PI processes it?

Thanks,

Dale Dingmann

Accepted Solutions (0)

Answers (3)

Answers (3)

udo_martens
Active Contributor
0 Kudos

Hi Dale,

add a mapping to each request and response inteface mapping. You can do that by ABAP or Java mapping coz they do not neccecarily parse. So you shouldnt use DOM, just string methods (like replace) to create that mapping. Quite easy.

Regards,

Udo

Former Member
0 Kudos

Thanks for the answers.

We already have the maps created, but what about a server setting or something like that, that would control this.

Just curious.

Dale Dingmann

Former Member
0 Kudos

Hi

As mentioned above, not sure what PI has in store

but normally there is nothing to be set in server & to worry about.. just use the code & proceed..

anyway it is worth trying, reaching so far..

Regards

Vishnu

Former Member
0 Kudos

Hi

I am not sure if this is fixed in PI, but there is a good old trick of doing it by using a Java map

(if this is what you are looking for)

check my posts in these threads

/message/549856#549856 [original link is broken]

also

Regards

Vishnu