SAP Knowledge Base Article - Public

2637273 - How to Populate Notes Field Under 'Item' Tab Via Web Service

Symptom

You are trying to enter a note information in a Sales Order via web service, but the information is not reflecting in the system.

Environment

SAP Business ByDesign - all its versions.

Reproducing the Issue

  1. Go to the SOAP UI tool.
  2. Create the relevant communication between SOAP UI and SAP ByDesign system.
  3. Run the payload bellow:

            <Item>
               <ID>ZZ</ID>
               <FulfilmentPartyCategoryCode>HH</FulfilmentPartyCategoryCode>
               <ItemProduct>
                  <ProductID>ABC</ProductID>
                  <UnitOfMeasure>EA</UnitOfMeasure>
               </ItemProduct>
               <ItemScheduleLine actionCode="04">
                  <ID>ZZ</ID>
                  <TextCollection>
               <Text>
                  <TypeCode>YYYYY</TypeCode>
                  <ContentText>Customer information test</ContentText>
               </Text>
               </TextCollection>
               </Text>
                  <Quantity unitCode="EA">1</Quantity>
               </ItemScheduleLine>
            </Item>

Cause

You are using the tag <TextCollection>, but once the field is under item level, you must use the tag <ItemTextCollection>.

Resolution

Use the tag <ItemTextCollection> and you'll be able to fulfill the note field.

            <Item>
               <ID>ZZ</ID>
               <FulfilmentPartyCategoryCode>HH</FulfilmentPartyCategoryCode>
               <ItemProduct>
                  <ProductID>ABC</ProductID>
                  <UnitOfMeasure>EA</UnitOfMeasure>
               </ItemProduct>
               <ItemScheduleLine actionCode="04">
                  <ID>ZZ</ID>
                  <ItemTextCollection>
               <Text>
                  <TypeCode>YYYYY</TypeCode>
                  <ContentText>Customer information test</ContentText>
               </Text>
               </ItemTextCollection>
               <Quantity unitCode="EA">1</Quantity>
               </ItemScheduleLine>
            </Item>

Keywords

<ItemTextCollection>; <TextCollection>, Item Notes; Sales Order; Notes; Web Service; SOAP UI , KBA , SRD-CRM-ORD , Orders & Contracts , Problem

Product

SAP Business ByDesign all versions