cancel
Showing results for 
Search instead for 
Did you mean: 

What is the problem, using web service ManageProductionProposalIn?

former_member200995
Contributor
0 Kudos

Hi experts,

I execute the ManageProductionProposalIn in SOAP ui, I try as the document:

<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:CreateProductionProposal>
<!--1 or more repetitions:-->
<CreateProductionPlanningOrder>
<SequenceNumber>4</SequenceNumber>
<SupplyPlanningAreaID>72990000</SupplyPlanningAreaID>
<MaterialID>1001</MaterialID>
<MaterialAvailabilityDateTime timeZoneCode="UTC">2016-12-05T12:00:00.1234567Z</MaterialAvailabilityDateTime>
<Quantity unitCode="TNE">3</Quantity>
<QuantityTypeCode>TNE</QuantityTypeCode>
</CreateProductionPlanningOrder>
</glob:CreateProductionProposal>
</soap:Body>
</soap:Envelope>

But the result is:

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Header/>
<env:Body>
<n0:CreateProductionPlanningOrderResponse xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:LCW:/1SAI/TAE47CE34C124351201BE46:804">
<ProductionProposalsCreated>
<SequenceNumber>4</SequenceNumber>
</ProductionProposalsCreated>
<Log>
<Item>
<Note>Creation failed for sequence number 4;Technical error PRPO 015</Note>
</Item>
</Log>
</n0:CreateProductionPlanningOrderResponse>
</env:Body>
</env:Envelope>

The SequenceNumber, I use 1 2 3 4 ...10, it is the same result.

What is the problem?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member200995
Contributor
0 Kudos

Hi Pradeep,

Thanks, the QuantityTypeCode "TNE" is not correct. I search the list from studio, it is "MASS".

Code Value Description
AREA area
BREADTH breadth
DIM_LENGTH dimensional length
E49 working day
EA each
ENERGY energy
GROSS_VOL gross volume
GROSS_WT gross weight
HEIGHT height
KA cake
KT kit
LENGTH length
MASS mass/weight
NET_VOL net volume
NET_WT net weight
PD pad
SR strip
STK stick, cigarette
TIME time
VOLUME volume
WCD cord
X5L Bag, textile
X5M Bag, paper
XBA Barrel
XBG Bag
XBX Box
XCH Chest
XCI Canister
XGB Bottle, gas
XLT Lot
XPK Package
XSX Set

Answers (5)

Answers (5)

former_member200995
Contributor
0 Kudos

Hi experts,

The unit is "PCS", which QuantityTypeCode is?

Thanks.

Benny

former_member186648
Active Contributor
0 Kudos

Hi Bin,

&3 is the product, which should be "1001".

There is some conversion error, you could remove the unitCode="TNE" for quantity and try.
Also the QuantityTypeCode "TNE" is not correct.

Thanks, Pradeep.

former_member200995
Contributor
0 Kudos

See below:

former_member200995
Contributor
0 Kudos

Hi Horst,

Thanks. When I create the document in system, the UoM and the Planning UoM is "t", where is the "&3", what need to do?

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Bin,

The text of the message is

  • Conversion of UoM '&1' to planning UoM '&2' not possible for product &3

So I assume there is no conversion of any unit of measure for the material 1001 to "TNE".

HTH,
Horst