on 08-07-2008 4:20 AM
Hi Friends,
In PI 7.1, I created a Data Type Enhancement, which is referred to one of the Data Type.
This Data Type used to send a request to Web Service.
I want to execute a mapping after getting response from Web Service.
Now the problem is, data from fields, which are added in Data Type Enhancement, does not come out from mapping. But I can see that data in Web Service response xml.
This is a problem regarding ns0, which is there with DTE fields in request of Web service, but does not with the response.
Please provide the solution for this problem.
thanks in advance
Regards,
Rohit.
Hi,
Regarding Datatype Enhancements
SAP applications enable customers to enhance application source code without making modifications to meet customer-specific requirements
If customers use applications that exchange messages by using XI, they can define data type enhancements for Integration Repository data types.
Please go refer link for provided below:
http://help.sap.com/saphelp_nw04/helpdata/en/a8/bfc6373c8fea43bdb3541535bcbd43/frameset.htm
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you have a standard message type that you are reusing and then you just need to modify it a bit and rest of the strcutre remains the same.
You can make extensions to this exisiting message type and this will help you reusing the existing Data type and the change will not effect any exisiting interface thats using the same data type.
To exchange messages by using XI, we define data type enhancements for Integration Repository data types
For more details go through the below link.
http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/bfc6373c8fea43bdb3541535bcbd43/frameset.htm
Data Type Enhancements
You can add elements and structures at the top hierarchy level as subelements of the root element.
You can define attributes for the root element or its inserted elements.
You can create elements and attributes at the top hierarchy level as optional fields only. You can create all other elements and attributes as often as you like.
You can define your own facets for newly inserted elements or attributes in the Details column. This is not possible for SAP data type fields.
To use a data type enhancement, you must use ABAP proxy generation to create proxy objects for the data type enhancement in the application system. (Make sure you use the customer-specific software component
Regards,
Suryanarayana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did u test the message mapping?.
Regards,
Gunti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for response. This problem regarding ns0 which is created because of DTE. Any one knows how to handle ns0 from xml file?.
I checked it in message mapping. Because of ns0, DTE fields contain red flag in request structrue and data not able to pass through mapping.
please provide solution for handling of ns0.
Regards,
Rohit.
Make sure u have created data type enhancements in a separate SCV and a separate namespace that ur current SWC. This SWC must be based on the SAP software component version in which the data type to be enhanced is defined.
Can u provide the req and resp payload for better underst of prob?
Regards,
Prateek
Hi,
You can handle it to passing parameters in Module tab.
You can replace, trim and etc. For that please go thru below link.
http://help.sap.com/saphelp_nw70/helpdata/EN/45/202845de34072ce10000000a155369/frameset.htm
Points to be given if worthful.
Regards,
Gunti
Hi,
Any idea to solve this problem????
Regards,
Rohit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.