SAP Knowledge Base Article - Public

3379692 - Web Service ManageKitItemListIn Does not Work.

Symptom

Execution of standard web service: ManageKitItemListIn to update product quantity is not working hence throwing an error  <MaximumLogItemSeverityCode>3</MaximumLogItemSeverityCode> 

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Open Soap UI
  2. Create new SOAP project.
  3. Select WSDL file XYZ(where XYZ is the Request payload)
  4. Copy XML from attachment and paste on Request.
  5. Choose Submit.

system throws an error

<MaximumLogItemSeverityCode>3</MaximumLogItemSeverityCode>

Cause

<soap:Header/>
   <soap:Body>
      <glob:KitItemListBundleMaintainRequest_sync>
         <KitItemList>
            <ActionCode>04</ActionCode>
            <ComponentsListCompleteTransmissionIndicator>true</ComponentsListCompleteTransmissionIndicator>
            <OutputMaterialKey>
               <ProductTypeCode>1</ProductTypeCode>
               <ProductIdentifierTypeCode>1</ProductIdentifierTypeCode>
               <ProductID>000000000000000000000000000000000000000000000000000000XXXX</ProductID>
            </OutputMaterialKey>
            <OutputMaterialQuantity unitCode="EA">1.0</OutputMaterialQuantity>
            <Description>
               <ActionCode>04</ActionCode>
               <Description languageCode="EN">ABCDEF</Description>
            </Description>
            <Components>
               <ActionCode>04</ActionCode>
               <ID>ZZZZ</ID>
               <InputProductKey>
                  <ProductTypeCode>1</ProductTypeCode>
                  <ProductIdentifierTypeCode>1</ProductIdentifierTypeCode>
                  <ProductID>000000000000000000000000000000000000000000000000000000YYYY</ProductID>
               </InputProductKey>
               <InputProductQuantity unitCode="ZPC">1.0</InputProductQuantity>
               <InputProductQuantityTypeCode>ZPC</InputProductQuantityTypeCode>
               <InputProductBaseQuantityTypeCode>ZPC</InputProductBaseQuantityTypeCode>
               <DistributionPercentage>100.0</DistributionPercentage>
            </Components>
         </KitItemList>
      </glob:KitItemListBundleMaintainRequest_sync>
   </soap:Body>
</soap:Envelope>

Where :

XXXX is the Kit ID &

YYYY is the Product ID

ZZZZ is the ID

Resolution

Adding additional two zeros and execute the query and the product quantity is being changed without any error.

 Example :

For the KIT ID: XXXX  Used : 00XXXX

Similarly for the Product ID: YYYY Used :00YYYY 

We used the below query:

<n0:KitItemListBundleMaintainRequest_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global">
 <KitItemList>
  <ActionCode>04</ActionCode>
  <ComponentsListCompleteTransmissionIndicator>true</ComponentsListCompleteTransmissionIndicator>
  <OutputMaterialKey>
   <ProductTypeCode>1</ProductTypeCode>
   <ProductIdentifierTypeCode>1</ProductIdentifierTypeCode>
   <ProductID>00000000000000000000000000000000000000000000000000000000XXXX</ProductID>
  </OutputMaterialKey>
  <OutputMaterialQuantity unitCode="EA">1.0</OutputMaterialQuantity>
  <Description>
   <ActionCode>04</ActionCode>
   <Description languageCode="EN">ABCDEF</Description>
  </Description>
  <Components>
   <ActionCode>04</ActionCode>
   <ID>ZZZZ</ID>
   <InputProductKey>
    <ProductTypeCode>1</ProductTypeCode>
    <ProductIdentifierTypeCode>1</ProductIdentifierTypeCode>
    <ProductID>00000000000000000000000000000000000000000000000000000000YYYY</ProductID>
   </InputProductKey>
   <InputProductQuantity unitCode="ZPC">1.0</InputProductQuantity>
   <InputProductQuantityTypeCode>ZPC</InputProductQuantityTypeCode>
   <InputProductBaseQuantityTypeCode>ZPC</InputProductBaseQuantityTypeCode>
   <DistributionPercentage>50.0</DistributionPercentage>
  </Components>
 </KitItemList>
</n0:KitItemListBundleMaintainRequest_sync>

Keywords

managekititemlistin , maximumlogitemseveritycode , Product quantity update , KBA , SRD-MD-PRD-PRD , Product , Problem

Product

SAP Business ByDesign all versions