Quantcast
Channel: SCN : Discussion List - Service-Oriented Architecture (SOA) and SAP
Viewing all articles
Browse latest Browse all 143

Units of Measure in Enterprise Services

$
0
0

Hi,

 

I tested some SAP enterprise services for material handling and production orders.

So far every time an unit of measure was used by an enterprise service it was the ISO-Code, which is defined in T006 for the internal UOM in the backend.

 

Now I'm trying to create ProductionConfirmation for production order by SAP Enterprise Service ECC_PRODUCTIONCONFCRTRC.

 

The following message, sent by the shop floor system, to the service at sap backend, creates a partial time ticket for operation 0010 of production order 7284094 for 12 pieces yield and a goods receipt movement for 12 pieces of batch 0728409400

 

The odd thing is, that I have to use unitcode PCE for the time ticket section and unitcode ST for the goods movement.

 

ST is the internal UOM in T006 and PCE is the ISO-Code for ST.

 

If I try to do the goods movement with PCE, then the service responds with ok, but the goods movement isn't executed and there is an error in the Confirmation of production order (co14).

"No language-specific unit defined in language EN for internal unit PCE"

or in german

"Zur int. Maßeinheit PCE ist in Sprache DE keine sprachabh. Einheit gepflegt"


This leads me to the assumption that the enterprise service interprets the unitcode in the goods movement section as SAPs internal UOM.


In addition there must be a failure in the service implementation, because it must not sent an ok message, if the goods movement isn't done.


Is there a rule, that enterprise services should use ISO-Codes as unitcodes?


Are there further ideas?

 

Regards

Roland


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"    xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">   <soapenv:Header/>   <soapenv:Body>      <glob:ProductionConfirmationCreateRequest_sync>         <MessageHeader>            <UUID>365d2b3f-4f1f-44eb-abf8-e991d83411bf</UUID>         </MessageHeader>         <ProductionConfirmation>            <ProductionOrderID>7284094</ProductionOrderID>            <ProductionOrderOperationID>0010</ProductionOrderOperationID>            <PlantID>662L</PlantID>               <!-- Linie 62 -->            <WorkCentreID>80060050</WorkCentreID>               <!-- Teilrückmeldung -->            <RecordTypeCode>L20</RecordTypeCode>               <!-- 12 Gutteile -->            <ConfirmQuantity unitCode="PCE">12</ConfirmQuantity>            <GoodsMovementInformation>                  <!--                        für Material 77003228 (Endprodukt des FA) und Charge 0728409400                       12 Stück Wareneingang auf LL62 in den frei verwendbaren Bestand buchen                  -->               <MaterialInternalID>77003228</MaterialInternalID>               <PlantID>662L</PlantID>               <InventoryManagedLocationInternalID>LL62</InventoryManagedLocationInternalID>               <BatchID>0728409400</BatchID>               <ProductionOrderID>7284094</ProductionOrderID>               <GoodsMovementTypeCode>101</GoodsMovementTypeCode>                  <!-- frei verwendbarer Bestand -->               <InventoryUsabilityStatusCode>1</InventoryUsabilityStatusCode>                  <!-- hier muss "ST" verwendet werden, "PCE" liefert keine Fehlermessage, die Buchng funktioniert aber nicht: -->                <InputQuantity unitCode="ST">12</InputQuantity>               <GoodsMovementReferenceDocumentTypeCode>3</GoodsMovementReferenceDocumentTypeCode>            </GoodsMovementInformation>         </ProductionConfirmation>      </glob:ProductionConfirmationCreateRequest_sync>   </soapenv:Body></soapenv:Envelope>

Viewing all articles
Browse latest Browse all 143

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>