on 05-10-2016 3:30 PM
hello Experts:
when I use the production web service: WIP Change to modify the shop order,
The SFC will be hold
But when I use the activity : Change production, the status of SFC still releasable.
How can I avoid the hold status ?
ME version : 6.0.4.46
Thank you
Hi!
Have you tried ChangeProduction WS instead of WIPChange WS?
Regards,
Sergiy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sergiy
please find the request :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME" xmlns:gdt="http://sap.com/xi/SAPGlobal/GDT">
<soapenv:Header/>
<soapenv:Body>
<me:ChangeProductionRequest_sync>
<!--Optional:-->
<me:MessageHeader>
<!--Optional:-->
<gdt:ID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">?</gdt:ID>
<!--Optional:-->
<gdt:UUID>?</gdt:UUID>
<!--Optional:-->
<gdt:ReferenceID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">?</gdt:ReferenceID>
<!--Optional:-->
<gdt:ReferenceUUID>?</gdt:ReferenceUUID>
</me:MessageHeader>
<me:ChangeProductionRequest>
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
<!--1 or more repetitions:-->
<me:SfcRequest>
<me:SfcRef>
<!--You may enter the following 2 items in any order-->
<me:Sfc>406153230147</me:Sfc>
<!--Optional:-->
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
</me:SfcRef>
</me:SfcRequest>
<!--Optional:-->
<me:ShopOrderRef>
<!--You may enter the following 2 items in any order-->
<me:ShopOrder>?</me:ShopOrder>
<!--Optional:-->
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
</me:ShopOrderRef>
<!--Optional:-->
<me:ProcessLotRef>
<!--You may enter the following 2 items in any order-->
<!--Optional:-->
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
<me:ProcessLot>?</me:ProcessLot>
</me:ProcessLotRef>
<me:NewItem>
<!--You may enter the following 3 items in any order-->
<me:Item>?</me:Item>
<!--Optional:-->
<me:Revision>?</me:Revision>
<!--Optional:-->
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
</me:NewItem>
<me:NewRouter>
<!--You may enter the following 4 items in any order-->
<!--Optional:-->
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
<me:Router>?</me:Router>
<!--Optional:-->
<me:Revision>?</me:Revision>
<!--Optional:-->
<me:RouterType>?</me:RouterType>
</me:NewRouter>
<me:PlacementOperation>
<!--You may enter the following 3 items in any order-->
<!--Optional:-->
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
<me:Operation>?</me:Operation>
<me:Revision>?</me:Revision>
</me:PlacementOperation>
<me:StepId>?</me:StepId>
<me:NewBom>
<!--You may enter the following 4 items in any order-->
<me:Bom>?</me:Bom>
<!--Optional:-->
<me:Revision>?</me:Revision>
<!--Optional:-->
<me:BomType>?</me:BomType>
<!--Optional:-->
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
</me:NewBom>
<me:NewShopOrder>
<!--You may enter the following 2 items in any order-->
<me:ShopOrder>OF_TRSITE-253656145_A_10052016</me:ShopOrder>
<!--Optional:-->
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
</me:NewShopOrder>
<me:Comments languageCode="?">TRAN</me:Comments>
<!--Optional:-->
<me:ActivityRef>
<!--Optional:-->
<me:Activity languageCode="?">XML</me:Activity>
</me:ActivityRef>
<me:UserRef>
<!--You may enter the following 2 items in any order-->
<!--Optional:-->
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
<me:UserId>G521813</me:UserId>
</me:UserRef>
</me:ChangeProductionRequest>
</me:ChangeProductionRequest_sync>
</soapenv:Body>
</soapenv:Envelope>
Hello:
I have this message:
Le site "?" n'est pas valide. (Message 10022).
this is the request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME" xmlns:gdt="http://sap.com/xi/SAPGlobal/GDT">
<soapenv:Header/>
<soapenv:Body>
<me:ChangeProductionRequest_sync>
<!--Optional:-->
<me:MessageHeader>
<!--Optional:-->
<gdt:ID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">?</gdt:ID>
<!--Optional:-->
<gdt:UUID>?</gdt:UUID>
<!--Optional:-->
<gdt:ReferenceID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">?</gdt:ReferenceID>
<!--Optional:-->
<gdt:ReferenceUUID>?</gdt:ReferenceUUID>
</me:MessageHeader>
<me:ChangeProductionRequest>
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
<!--1 or more repetitions:-->
<me:SfcRequest>
<me:SfcRef>
<!--You may enter the following 2 items in any order-->
<me:Sfc>406153230147</me:Sfc>
<!--Optional:-->
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
</me:SfcRef>
</me:SfcRequest>
<!--Optional:-->
<me:ShopOrderRef>
<!--You may enter the following 2 items in any order-->
<me:ShopOrder>?</me:ShopOrder>
<!--Optional:-->
<me:SiteRef>
<me:Site>?</me:Site>
</me:SiteRef>
</me:ShopOrderRef>
<!--Optional:-->
<me:ProcessLotRef>
<!--You may enter the following 2 items in any order-->
<!--Optional:-->
<me:SiteRef>
<me:Site>?</me:Site>
</me:SiteRef>
<me:ProcessLot>?</me:ProcessLot>
</me:ProcessLotRef>
<me:NewItem>
<!--You may enter the following 3 items in any order-->
<me:Item>?</me:Item>
<!--Optional:-->
<me:Revision>?</me:Revision>
<!--Optional:-->
<me:SiteRef>
<me:Site>?</me:Site>
</me:SiteRef>
</me:NewItem>
<me:NewRouter>
<!--You may enter the following 4 items in any order-->
<!--Optional:-->
<me:SiteRef>
<me:Site>?</me:Site>
</me:SiteRef>
<me:Router>?</me:Router>
<!--Optional:-->
<me:Revision>?</me:Revision>
<!--Optional:-->
<me:RouterType>?</me:RouterType>
</me:NewRouter>
<me:PlacementOperation>
<!--You may enter the following 3 items in any order-->
<!--Optional:-->
<me:SiteRef>
<me:Site>?</me:Site>
</me:SiteRef>
<me:Operation>?</me:Operation>
<me:Revision>?</me:Revision>
</me:PlacementOperation>
<me:StepId>?</me:StepId>
<me:NewBom>
<!--You may enter the following 4 items in any order-->
<me:Bom>?</me:Bom>
<!--Optional:-->
<me:Revision>?</me:Revision>
<!--Optional:-->
<me:BomType>?</me:BomType>
<!--Optional:-->
<me:SiteRef>
<me:Site>?</me:Site>
</me:SiteRef>
</me:NewBom>
<me:NewShopOrder>
<!--You may enter the following 2 items in any order-->
<me:ShopOrder>OF_TRSITE-253656145_A_10052016</me:ShopOrder>
<!--Optional:-->
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
</me:NewShopOrder>
<me:Comments languageCode="?">TRAN</me:Comments>
<!--Optional:-->
<me:ActivityRef>
<!--Optional:-->
<me:Activity languageCode="?">XML</me:Activity>
</me:ActivityRef>
<me:UserRef>
<!--You may enter the following 2 items in any order-->
<!--Optional:-->
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
<me:UserId>G521813</me:UserId>
</me:UserRef>
</me:ChangeProductionRequest>
</me:ChangeProductionRequest_sync>
</soapenv:Body>
</soapenv:Envelope>
hello:
I have this message :
newItem non renseigné(e)
This is my request :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME" xmlns:gdt="http://sap.com/xi/SAPGlobal/GDT">
<soapenv:Header/>
<soapenv:Body>
<me:ChangeProductionRequest_sync>
<!--Optional:-->
<me:MessageHeader>
<!--Optional:-->
<gdt:ID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">?</gdt:ID>
<!--Optional:-->
<gdt:UUID>?</gdt:UUID>
<!--Optional:-->
<gdt:ReferenceID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">?</gdt:ReferenceID>
<!--Optional:-->
<gdt:ReferenceUUID>?</gdt:ReferenceUUID>
</me:MessageHeader>
<me:ChangeProductionRequest>
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
<!--1 or more repetitions:-->
<me:SfcRequest>
<me:SfcRef>
<!--You may enter the following 2 items in any order-->
<me:Sfc>406153230147</me:Sfc>
<!--Optional:-->
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
</me:SfcRef>
</me:SfcRequest>
<me:NewShopOrder>
<!--You may enter the following 2 items in any order-->
<me:ShopOrder>OF_TRSITE-253656145_A_10052016</me:ShopOrder>
<!--Optional:-->
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
</me:NewShopOrder>
<me:UserRef>
<!--You may enter the following 2 items in any order-->
<!--Optional:-->
<me:SiteRef>
<me:Site>4680</me:Site>
</me:SiteRef>
<me:UserId>G521813</me:UserId>
</me:UserRef>
</me:ChangeProductionRequest>
</me:ChangeProductionRequest_sync>
</soapenv:Body>
</soapenv:Envelope>
Keep the message as simple and small as possible.
In 6.1, this works:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mep="mepapi:com:sap:me:production" xmlns:prod="http://www.sap.com/me/production">
<soapenv:Body>
<mep:changeProduction>
<mep:Site>XXXX</mep:Site>
<mep:Request>
<prod:changeProductionContextType>
<prod:newShopOrder>YYYYYYYY</prod:newShopOrder>
</prod:changeProductionContextType>
<prod:sfcList>ZZZZZZZ</prod:sfcList>
<prod:comments>comments</prod:comments>
</mep:Request>
</mep:changeProduction>
</soapenv:Body>
</soapenv:Envelope>
There is no userRef tag in 6.1, so check your syntax too. Error messages can be very misleading from webservices.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.