on 11-03-2006 11:00 PM
Hello ,
I want to build prototype scenarios using SAP web services and NetWeaver.
Following Web Services are of interest to me. Could you please tell me where can I get some sample values to test WebServices?
A) create Purhase Order: ECC_PURCHASEORDERCRTRC
B) Query Order and Items: ECC_PURCHASEORDER002QR
C) Material Basic Data By ID: ECC_MaterialBasicDataByID000QR
D) Supplier: ECC_SupplierSNAQR
I am using FU2 system.
Thanks,
Apurv.
Hello Apurv,
you can use transaction ME23N to get a list of PO's. I've tried to test ECC_PURCHASEORDER002QR with PO-Number 4500004823 but the result was this error message:
XML Serialization Error. Object content does not correspond to Schema restrictions of type [http://sap.com/xi/APPL/SE/Global][PurchaseOrderItemID].
I allso tried to call ECC_PURCHASEORDER002QR in a ABAP and PHP Client but still have problems. I hope I can find a solution.
Regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
On the Fu2 system:
For web service: ECC_PURCHASEORDER002QR
I entered: 4500017118 as purchase order id in the field "string"
I verified that this PO ID exists in the FU2 system with transaction ME23N, still its throwing this error:
"XML Deserialization Error. XML is not valid. Node child of not described in Schema"
Please let me know if you have any info on this WS.
Thanks,
Apurv.
Hello,
The web services are working fine. There is a problem with the SAP Web Services Test page though. I tested the services using groovy on grails by generating proxies in NWDS and they worked fine. With the same data I tested on the SAP test page and it threw the same XML decentralization error.
Here is the test data I used:
A) create Purhase Order: ECC_PURCHASEORDERCRTRC
Takes:
PurchaseOrderInner:
Processing Type: NB (This is the Standard PO)
Organization Party: 1000
Group Party: 008
SellerID: 0000001003
ItemInner:
ID: 10, 20, and so on.. (for each item it increments by 10)
MaterialID: 100-110
ItemQuantity: 10
Plant: 1000
Returns: Purchase order. These 8 things are mandatory.
B) Query Purchase Order and Items: ECC_PURCHASEORDER002QR
Takes: Purchase Order Number: 4500004823 or 4500017933 any of the PO# in transaction ME23N
Returns: Purchase Order
C) Query Material Basic Data By ID: ECC_MaterialBasicDataByID000QR
Takes: Material # > MaterialBasicDataSelectionByID > ProductInternalID > setSimpleContent
Returns: Material
Hope this will be helpful for someone.
Regards,
Apurv.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.