on 06-01-2009 5:05 PM
My scenario is that to call the webservice directly from the R/3 and post the data to the third party system (no XI is involved)
From the R/3 program the target payload is as below.
- <nr1:pProduct>
- <nr1:ProductDataArray>
- <nr1:ProductData>
<nr1:Signature>TEST</nr1:Signature>
<nr1:UpcEanCode>96018120007</nr1:UpcEanCode>
<nr1:DimCode>0119</nr1:DimCode>
<nr1:PimCode>PB608405</nr1:PimCode>
<nr1:SizeShade />
<nr1:CoordGroup01 />
<nr1:LaunchDate>0001-01-01</nr1:LaunchDate>
<nr1:Saleable>Y</nr1:Saleable>
<nr1:ProductTypeID>YFG</nr1:ProductTypeID>
<nr1:ProductTypeDesc>FINISHED GOODS</nr1:ProductTypeDesc>
<nr1:RoyaltyType />
<nr1:ItemStatus>A</nr1:ItemStatus>
<nr1:DiscDate>0001-01-01</nr1:DiscDate>
<nr1:Description />
<nr1:PrimaryCasePack>3</nr1:PrimaryCasePack>
<nr1:PrimaryVendorID>L001</nr1:PrimaryVendorID>
<nr1:ProductID>000000000000115600</nr1:ProductID>
<nr1:HierarchyCode>0119</nr1:HierarchyCode>
<nr1:VendorCost>1.9399999999999999E0</nr1:VendorCost>
<nr1:OrigRetail>1.2E1</nr1:OrigRetail>
<nr1:HazMat>E</nr1:HazMat>
</nr1:ProductData>
here my problem is that the "nr1" in the element must be removed from the payload
before we make the call to the webservice
How can we do this? we must do it by transformations?
Pls help me how can i do this....
Regards
Srinivas
Solved the issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Java mapping is also possible. You have to import it as a jar file and call that jar file in interface mapping.
Hope this helps,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not aware of an ABAP Class that can remove NS when you pass the XML Object. (You can explore this option).
But alternatively, you can create a ABAP DOM Object for the XML & then remove the namespace by using the methods remove_attribute_node_ns/ remove_attribute_ns
http://help.sap.com/saphelp_nwpi71/helpdata/en/bb/576670dca511d4990b00508b6b8b11/frameset.htm
Regards,
Siva Maranani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.