cancel
Showing results for 
Search instead for 
Did you mean: 

B1i Scenario: Picklist update with multiple items

filipe_felisberto
Discoverer
0 Kudos

Hello all,

We are running SBO 9.1 and our scenario has been working without a problem until we started testing updating pick lists with multiple items.

The items are are batch based and we have bin location.

With the following payload everything works as expected:


<Payload Role="X" id="atom23">

  <PickLists_Lines xmlns="">

  <row>

  <AbsoluteEntry>3521</AbsoluteEntry>

  <PickedQuantity>20.000000</PickedQuantity>

  <LineNumber>0</LineNumber>

  </row>

  </PickLists_Lines>

  <BatchNumbers xmlns="">

  <row>

  <BatchNumber>15070027</BatchNumber>

  <Quantity>20.000000</Quantity>

  <BaseLineNumber>0</BaseLineNumber>

  </row>

  </BatchNumbers>

  <DocumentLinesBinAllocations xmlns="">

  <row>

  <BinAbsEntry>58</BinAbsEntry>

  <Quantity>20.000000</Quantity>

  <SerialAndBatchNumbersBaseLine>0</SerialAndBatchNumbersBaseLine>

  <BaseLineNumber>0</BaseLineNumber>

  </row>

  </DocumentLinesBinAllocations>

</Payload>

But as aforementioned if we have two items like:


<Payload Role="X" id="atom23">

  <PickLists_Lines xmlns="">

  <row>

  <AbsoluteEntry>3520</AbsoluteEntry>

  <PickedQuantity>60.000000</PickedQuantity>

  <LineNumber>0</LineNumber>

  </row>

  <row>

  <AbsoluteEntry>3520</AbsoluteEntry>

  <PickedQuantity>25.000000</PickedQuantity>

  <LineNumber>1</LineNumber>

  </row>

  </PickLists_Lines>

  <BatchNumbers xmlns="">

  <row>

  <BatchNumber>15070027</BatchNumber>

  <Quantity>60.000000</Quantity>

  <BaseLineNumber>0</BaseLineNumber>

  </row>

  <row>

  <BatchNumber>15080042</BatchNumber>

  <Quantity>25.000000</Quantity>

  <BaseLineNumber>1</BaseLineNumber>

  </row>

  </BatchNumbers>

  <DocumentLinesBinAllocations xmlns="">

  <row>

  <BinAbsEntry>58</BinAbsEntry>

  <Quantity>60.000000</Quantity>

  <SerialAndBatchNumbersBaseLine>0</SerialAndBatchNumbersBaseLine>

  <BaseLineNumber>0</BaseLineNumber>

  </row>

  <row>

  <BinAbsEntry>58</BinAbsEntry>

  <Quantity>25.000000</Quantity>

  <SerialAndBatchNumbersBaseLine>1</SerialAndBatchNumbersBaseLine>

  <BaseLineNumber>1</BaseLineNumber>

  </row>

  </DocumentLinesBinAllocations>

</Payload>

If we use

SerialAndBatchNumbersBaseLine 0 and 1, like in the example, we get the following error:

DI Error: (-10) 1470000838 - Invalid SerialAndBatchNumbersBaseLinespecify a valid SerialAndBatchNumbersBaseLine

if we use SerialAndBatchNumbersBaseLine 0 and 0 (zero in both entries as described in the SAP notes) we get the following one:

DI Error: (-4014) Cannot add row without complete selection of batch/serial numbers


Any ideas would be appreciated as we have an UAT very soon and we wouldn't want to postpone it.

Seri

AalAndBatchNumbersBaseLine

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member192773
Active Participant
0 Kudos

Hello,

No solution only a suggestion:

Try to add this manually in SBO and then read the Picklistobject which you did update.

Then check the values in the XML with your input values.

note: a picklist you can change back to the current state and test to update with b1i.

Regards Teun