cancel
Showing results for 
Search instead for 
Did you mean: 

How to Confirm SiteLogisticsTask via Webservice?

georgk
Participant
0 Kudos

Dear community,

I would require your help regarding a confirmation call to a SiteLogisticsTask.

The system has an open task (nr. 5), which resulted from an inbound delivery. The task is to put the material on stock, hence an inbound task.

I would like to confirm the task with the actual quantity (in this example open quantity = actual quantity).

I do get a "5Saved Successfully" response, but the task is still marked as open and I don't see the confirmation on the UI.

Do you have any ideas on what might be the issue here?

What is missing / too much to trigger the creation of a confirmation?

Thanks in advance for your help!

Here's the XML request:


<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">

   <soap:Header/>

   <soap:Body>

      <glob:SiteLogisticsTaskBundleMaintainRequest_sync_V1>

         <BasicMessageHeader>

         </BasicMessageHeader>

         <SiteLogisticsTask>

            <SiteLogisticTaskID>5</SiteLogisticTaskID>

            <SiteLogisticTaskUUID>00163e0b-682b-1ed4-b295-7ddb8fb821ec</SiteLogisticTaskUUID>

           

            <ReferenceObject>

               <ReferenceObjectUUID>00163e0b-682b-1ed4-b295-7ddb8fb841ec</ReferenceObjectUUID>

               <OperationActivity>

                  <OperationActivityUUID>00163e0b-682b-1ed4-b295-7ddb8fb721ec</OperationActivityUUID>

                  <DeliverySplitIndicator>false</DeliverySplitIndicator>

                  <MaterialInput>

                     <MaterialInputUUID>00163e0b-682b-1ed4-b295-7ddb8fb761ec</MaterialInputUUID>

                     <ProductID>00.BW</ProductID>

                     <SourceLogisticsAreaID></SourceLogisticsAreaID>

                     <ActualQuantity unitCode="TNE">0.101</ActualQuantity>

                  <LogisticsDeviationReasonCode>1</LogisticsDeviationReasonCode>

                  </MaterialInput>

              

                  <MaterialOutput>

                     <MaterialOutputUUID>00163e0b-682b-1ed4-b295-7ddb8fb781ec</MaterialOutputUUID>

                     <ProductID>00.BW</ProductID>

                 <TargetLogisticsAreaID>A00000-10-1</TargetLogisticsAreaID>

                 <ActualQuantity unitCode="TNE">0.101</ActualQuantity>

                     <LogisticsDeviationReasonCode>1</LogisticsDeviationReasonCode>

                  </MaterialOutput>

               </OperationActivity>

            </ReferenceObject>

         </SiteLogisticsTask>

      </glob:SiteLogisticsTaskBundleMaintainRequest_sync_V1>

   </soap:Body>

</soap:Envelope>

Accepted Solutions (1)

Accepted Solutions (1)

stefan_resag
Advisor
Advisor
0 Kudos

Hi Georg,

this is a SOAP request which worked in my system for a putaway taks in a two-step inbound:

As you can see the response was successful:

georgk
Participant
0 Kudos

Hi Stefan,

was the putaway task acutally confirmed? I don't see any changes on the putaway task...

The only difference I can spot regarding your code is the following:

I can't define a SourceLogisticsArea ("Logistics area reporting not ermitted"). Could this be the problem? If so, what do I need to configure / change to be able to set the SourceLogisticsArea.

The process behind this is the following:

PurchaseOrder --> InboundDelivery --> SiteLogisticsTask

Thanks and best regards,

Georg

stefan_resag
Advisor
Advisor
0 Kudos

Hi Georg,

the putaway was confirmed successfully. I used a two-step inbound, where for the putaway task a source logistics area is aready determined via the unload step. Did you use a one- or two-step inbound process?

Best regards,

Stefan

georgk
Participant
0 Kudos

Hi Stefan,

the putaway task is a one-step process.

Thx,

Georg

stefan_resag
Advisor
Advisor
0 Kudos

Hi Georg,

just tried it out with a 1-step and it worked for the following SOAP request:

As you can see I completely skipped the section for the source logistics area as well as for the LogisticsDeviationReasonCode. Please try out.

Best regards,

Stefan

georgk
Participant

Hi Stefan,

this seems to be very strange. I made the XML to be almost exactly like yours and still don't get a confirmation posted. Do you have any ideas what might be the reason behind this behavior?

Thanks,

Georg


<glob:SiteLogisticsTaskBundleMaintainRequest_sync_V1>

         <BasicMessageHeader>

            <ID>6</ID>

         </BasicMessageHeader>

         <SiteLogisticsTask>

            <SiteLogisticTaskID>6</SiteLogisticTaskID>

            <SiteLogisticTaskUUID>00163e0b-682b-1ee4-b390-8f74aef75fdd</SiteLogisticTaskUUID>

            <ReferenceObject>

               <ReferenceObjectUUID>00163e0b-682b-1ee4-b390-8f74aef77fdd</ReferenceObjectUUID>

               <OperationActivity>

                  <OperationActivityUUID>00163e0b-682b-1ee4-b390-8f74aef65fdd</OperationActivityUUID>

                  <MaterialInput>

                     <MaterialInputUUID>00163e0b-682b-1ee4-b390-8f74aef69fdd</MaterialInputUUID>

                     <ProductID>00.BW</ProductID>

                     <ActualQuantity unitCode="TNE">0.102</ActualQuantity>

                  </MaterialInput>

                  <MaterialOutput>

                     <MaterialOutputUUID>00163e0b-682b-1ee4-b390-8f74aef6bfdd</MaterialOutputUUID>

                     <ProductID>00.BW</ProductID>

                     <TargetLogisticsAreaID>A00000-10-1</TargetLogisticsAreaID>

                     <ActualQuantity unitCode="TNE">0.102</ActualQuantity>

                  </MaterialOutput>

               </OperationActivity>

            </ReferenceObject>

         </SiteLogisticsTask>

      </glob:SiteLogisticsTaskBundleMaintainRequest_sync_V1>

stefan_resag
Advisor
Advisor
0 Kudos

Hi Georg,

your ProductID looks somehow strange as well as your actual quantities. Is the product ID really '00.BW'? In addition the quantity of 0.102 could be a rounded quantity. Maybe you can first try out with another product id (only CAPITAL characters) and a quantity w/o any digits. Can you also maybe provide me with the response information of the SOAP request?.

Best regards,

Stefan

georgk
Participant
0 Kudos

Hi Stefan,

the ProductID is correct. Here's the screenshot from the material-master:

georgk
Participant
0 Kudos

Hi Stefan,

The actual quantities are in tons, hence 0.102 are 102 kilograms. I tried numbers without quantities and got the same response...

Any other ideas?

Thanks and best regards,

Georg

stefan_resag
Advisor
Advisor
0 Kudos

Hi Georg,

have you tried another Product ID w/o a dot? And do you still get a success message? If this does not work we should maybe do a web session to have a closer look.

Best regards,

Stefan

georgk
Participant
0 Kudos

Hi Stefan,

we tried another Product ID and we still got the sucess message without any sign of confirmation in the UI.

Could we set up a web session? My mail address is georg.krenn@b4b-solutions.at.

Best regards,

georg

stefan_resag
Advisor
Advisor
0 Kudos

Hi Georg,

I meanwhile was able to reproduce the issue. In my system it always appears, when I use a non-discrete UoM like tons. However with EA it still works. I therefore propse that you raise an incident and provide me with the incident ID, so that I can follow up internally.

Best regards,

Stefan

stefan_resag
Advisor
Advisor
0 Kudos

http://scn.sap.com/community/business-bydesign/blog/2015/03/26/using-barcode-field-for-warehouse-tas...

Hi Georg,

see also my blog post on how to use the bar code field instead as a workaround until the issue is fixed.

Best regards,

Stefan

senthil23
Participant
0 Kudos

Hi stefan.resag, Georg,

I too have same issue, the response for the payload is success but it has no impact in warehouse task, I couldn't confirm the task. Could you share how you resolved.?

Best Regards,

Senthil

Answers (0)