on 2014 May 13 4:52 PM
Hi,
i'm trying to use the web service proposed in BYD "ManageSiteLogisticsTaskIn" to confirm the Warehouse task (for example a pick-up task), but i have a problem.
using this message schema, i would like to confirm a logistic task specifying a LogisticsDeviationReasonCode to close the open quantities less than the order quantity, but when the service is called, the system register the right quantity without put to zero the open quantity.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header/>
<soapenv:Body>
<glob:SiteLogisticsTaskBundleMaintainRequest_sync_V1>
<BasicMessageHeader></BasicMessageHeader>
<!--Zero or more repetitions:-->
<SiteLogisticsTask>
<!--Optional:-->
<SiteLogisticTaskID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">36411</SiteLogisticTaskID>
<!--Optional:-->
<SiteLogisticsTaskUUID>00163e06-cce2-1ee3-b6d3-94438703fca0</SiteLogisticsTaskUUID>
<!--Zero or more repetitions:-->
<ReferenceObject>
<!--Optional:-->
<ReferencedObjectUUID>00163e06-cce2-1ee3-b6d3-944387041ca0</ReferencedObjectUUID>
<!--Zero or more repetitions:-->
<OperationActivity>
<!--Optional:-->
<OperationActivityUUID schemeID="?" schemeAgencyID="?">00163e06-cce2-1ee3-b6d3-944387015ca0</OperationActivityUUID>
<!--Zero or more repetitions:-->
<MaterialInput>
<!--Optional:-->
<MaterialInputUUID schemeID="?" schemeAgencyID="?">00163e06-cce2-1ee3-b6d3-94438701bca0</MaterialInputUUID>
<!--Optional:-->
<ProductID schemeID="?" schemeAgencyID="?" schemeAgencySchemeID="?" schemeAgencySchemeAgencyID="?">100003</ProductID>
<!--Optional:-->
<ActualQuantity unitCode="EA">60.0</ActualQuantity>
<LogisticsDeviationReasonCode>3</LogisticsDeviationReasonCode>
</MaterialInput>
<MaterialOutput>
<!--Optional:-->
<MaterialOutputUUID schemeID="?" schemeAgencyID="?">00163e06-cce2-1ee3-b6d3-944387021ca0</MaterialOutputUUID>
<!--Optional:-->
<ProductID schemeID="?" schemeAgencyID="?" schemeAgencySchemeID="?" schemeAgencySchemeAgencyID="?">100003</ProductID>
<!--Optional:-->
<ActualQuantity unitCode="EA">10.0</ActualQuantity>
<SplitIndicator>true</SplitIndicator>
<LogisticsDeviationReasonCode>3</LogisticsDeviationReasonCode>
<TargetLogisticsAreaID>1400</TargetLogisticsAreaID>
</MaterialOutput>
<MaterialOutput>
<!--Optional:-->
<ProductID schemeID="?" schemeAgencyID="?" schemeAgencySchemeID="?" schemeAgencySchemeAgencyID="?">100003</ProductID>
<!--Optional:-->
<ActualQuantity unitCode="EA">50.0</ActualQuantity>
<SplitIndicator>true</SplitIndicator>
<LogisticsDeviationReasonCode>3</LogisticsDeviationReasonCode>
<TargetLogisticsAreaID>1900</TargetLogisticsAreaID>
</MaterialOutput>
<!--Optional:-->
</OperationActivity>
</ReferenceObject>
</SiteLogisticsTask>
</glob:SiteLogisticsTaskBundleMaintainRequest_sync_V1>
</soapenv:Body>
</soapenv:Envelope>
Please can someone said to me where i'm getting wrong? Maybe there is an error into the message trace?
Ilaria
Request message:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header/>
<soapenv:Body>
<glob:SiteLogisticsTaskBundleMaintainRequest_sync_V1>
<BasicMessageHeader></BasicMessageHeader>
<!--Zero or more repetitions:-->
<SiteLogisticsTask>
<!--Optional:-->
<SiteLogisticTaskID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">36418</SiteLogisticTaskID>
<!--Optional:-->
<SiteLogisticsTaskUUID>00163e06-cce2-1ee3-b6ee-cbad957a9d67</SiteLogisticsTaskUUID>
<!--Zero or more repetitions:-->
<ReferenceObject>
<!--Optional:-->
<ReferencedObjectUUID>00163e06-cce2-1ee3-b6ee-cbad957abd67</ReferencedObjectUUID>
<!--Zero or more repetitions:-->
<OperationActivity>
<!--Optional:-->
<OperationActivityUUID schemeID="?" schemeAgencyID="?">00163e06-cce2-1ee3-b6ee-cbad95791d67</OperationActivityUUID>
<!--Zero or more repetitions:-->
<MaterialOutput>
<!--Optional:-->
<MaterialOutputUUID schemeID="?" schemeAgencyID="?">00163e06-cce2-1ee3-b6ee-cbad9579fd67</MaterialOutputUUID>
<!--Optional:-->
<ProductID schemeID="?" schemeAgencyID="?" schemeAgencySchemeID="?" schemeAgencySchemeAgencyID="?">103710</ProductID>
<!--Optional:-->
<LogisticsPackageOutput>
<LogisticsUnitUUID>00163E02-9014-1EE2-B59B-41414BCA31E9</LogisticsUnitUUID>
<LogisticsUnitID>1000</LogisticsUnitID>
<LogisticsUnitQuantity unitCode="PAL">2</LogisticsUnitQuantity>
</LogisticsPackageOutput>
<ActualQuantity unitCode="EA">2.0</ActualQuantity>
</MaterialOutput>
<!--Optional:-->
</OperationActivity>
</ReferenceObject>
</SiteLogisticsTask>
</glob:SiteLogisticsTaskBundleMaintainRequest_sync_V1>
</soapenv:Body>
</soapenv:Envelope>
Response message:
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header/>
<soap-env:Body>
<n0:SiteLogisticsTaskBundleMaintainResponse_sync_V1 xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:HCZ:/1SAI/TAS0047630E4F7F23F4510C:804">
<SiteLogisticsTaskResponse>
<TaskID>36418</TaskID>
<SiteLogisticsTaskLog>
<SiteLogisticsTaskNodeName>MATERIAL_OUTPUT</SiteLogisticsTaskNodeName>
<SiteLogisticsTaskNodeID>00163E06CCE21EE3B6EECBAD9579FD67</SiteLogisticsTaskNodeID>
<SiteLogisticsTaskSeverityCode>E</SiteLogisticsTaskSeverityCode>
<SiteLogisticsTaskNote>Cannot perform Logistic Unit update for Material_Output node:00163E06CCE21EE3B6EECBAD9579FD67</SiteLogisticsTaskNote>
</SiteLogisticsTaskLog>
</SiteLogisticsTaskResponse>
</n0:SiteLogisticsTaskBundleMaintainResponse_sync_V1>
</soap-env:Body>
</soap-env:Envelope>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
8 | |
6 | |
6 | |
5 | |
5 | |
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.