on 06-17-2014 12:29 PM
Hello all,
To set 'Resource Type' & 'Default Resource', i have added the following in Z_ProductionOrderRequest.xslt.
ResourceType is working but Resource is not set. Is the syntax correct?
<sch:ResourceTypeRef>
<sch:ResourceType>VP1</sch:ResourceType>
</sch:ResourceTypeRef>
<sch:ResourceRef>
<sch:Resource>311877</sch:Resource>
</sch:ResourceRef>
Version:
MEINT: 6.1.0.0
ME: 6.1
Thanks for your help..
Thanks,
Hi,
Usually Ref means that object handle should be used. For resource it should look like 'ResourceBO:1010,311877'. Where 1010 is your site. To compose such a handle system needs site value, i.e.:
<me:ResourceRef>
<me:SiteRef>
<me:Site>?</me:Site>
</me:SiteRef>
<me:Resource schemeID="?" schemeAgencyID="?">?</me:Resource>
</me:ResourceRef>
Same is relevant for ResourceTypeRef.
Regards,
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Konstantin,
In <sch:RouterStepList> >> <sch:RouterStep> & <sch:OperationListIn> >> <sch:Operation>, i have the following, but still its not working. Am i missing something?
<sch:ResourceRef>
<sch:SiteRef>
<sch:Site>A311</sch:Site>
</sch:SiteRef>
<sch:Resource>ResourceBO:A311,BVLBLD</sch:Resource>
</sch:ResourceRef>
Thanks for your help.
Thanks,
Shridhar
Hi,
I have tried with and without Handle, its not working. Works from operation maintenance screen.
Here is the Request xml:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gdt="http://sap.com/xi/SAPGlobal/GDT" xmlns:meint="http://sap.com/xi/MEINT" xmlns:sch="http://sap.com/xi/ME">
<soapenv:Header/>
<soapenv:Body>
<meint:ProductionOrderUpdateRequest_sync>
<meint:ProductionOrder>
<sch:SiteRef>
<sch:Site>SDK</sch:Site>
</sch:SiteRef>
<sch:ShopOrderIn>
<sch:SiteRef>
<sch:Site>SDK</sch:Site>
</sch:SiteRef>
<sch:ShopOrder>EP0200091837-4</sch:ShopOrder>
<sch:ShopOrderTypeRef>
<sch:OrderType>PRODUCTION</sch:OrderType>
</sch:ShopOrderTypeRef>
<sch:StatusRef>
<sch:Status>501</sch:Status>
</sch:StatusRef>
<sch:PlannedItemRef>
<sch:Item>504640-20-49-30</sch:Item>
<sch:Revision>#</sch:Revision>
</sch:PlannedItemRef>
<sch:Priority>500</sch:Priority>
<sch:PlannedStartDate>2013-10-03T06:00:00</sch:PlannedStartDate>
<sch:PlannedCompleteDate>2013-10-03T13:40:58</sch:PlannedCompleteDate>
<sch:QuantityToBuild>1</sch:QuantityToBuild>
<sch:QuantityOrdered>1</sch:QuantityOrdered>
<sch:PlannedBOMRef>
<sch:Bom>504640-20-49-30-1-1</sch:Bom>
<sch:Revision>#</sch:Revision>
</sch:PlannedBOMRef>
<sch:PlannedRouterRef>
<sch:Router>50123097-16</sch:Router>
<sch:RouterType>U</sch:RouterType>
<sch:Revision>#</sch:Revision>
</sch:PlannedRouterRef>
<sch:ErpOrder>true</sch:ErpOrder>
<sch:AllowInqueueSfcOnSoClose>true</sch:AllowInqueueSfcOnSoClose>
<sch:ErpUnitOfMeasure>EA</sch:ErpUnitOfMeasure>
</sch:ShopOrderIn>
<sch:BOMIn>
<sch:SiteRef>
<sch:Site>SDK</sch:Site>
</sch:SiteRef>
<sch:Bom>504640-20-49-30-1-1</sch:Bom>
<sch:StatusRef>
<sch:Status>201</sch:Status>
</sch:StatusRef>
<sch:Description>504640-20-49-30</sch:Description>
<sch:ErpBom>10435747</sch:ErpBom>
<sch:EffectivityControl>R</sch:EffectivityControl>
<sch:CurrentRevision>true</sch:CurrentRevision>
<sch:BomComponentList/>
<sch:CustomFieldList>
<sch:CustomField>
<sch:Attribute>ERP_MATERIAL</sch:Attribute>
<sch:Value>504640-20-49-30</sch:Value>
</sch:CustomField>
</sch:CustomFieldList>
</sch:BOMIn>
<meint:Routing>
<sch:RouterIn>
<sch:SiteRef>
<sch:Site>SDK</sch:Site>
</sch:SiteRef>
<sch:Router>50123097-16</sch:Router>
<sch:RouterType>U</sch:RouterType>
<sch:Description>504640-20-49-30</sch:Description>
<sch:StatusRef>
<sch:Status>201</sch:Status>
</sch:StatusRef>
<sch:EffectivityControl>R</sch:EffectivityControl>
<sch:CurrentRevision>true</sch:CurrentRevision>
<sch:TemporaryRouter>false</sch:TemporaryRouter>
<sch:EntryRouterStepRef>
<sch:RouterRef>
<sch:Router>50123097-16</sch:Router>
<sch:RouterType>U</sch:RouterType>
</sch:RouterRef>
<sch:StepId>10</sch:StepId>
</sch:EntryRouterStepRef>
<sch:RouterStepList>
<sch:RouterStep>
<sch:ReportingStep>0010</sch:ReportingStep>
<sch:Rework>false</sch:Rework>
<sch:RouterStepRef>
<sch:StepId>10</sch:StepId>
</sch:RouterStepRef>
<sch:ErpSequence>0</sch:ErpSequence>
<sch:QueueDecisionType>C</sch:QueueDecisionType>
<sch:IsLastReportingStep>false</sch:IsLastReportingStep>
<sch:ResourceTypeRef>
<sch:ResourceType>VP4</sch:ResourceType>
</sch:ResourceTypeRef>
<sch:ResourceRef>
<sch:Resource>BVLBLD</sch:Resource>
</sch:ResourceRef>
<sch:Sequence>1</sch:Sequence>
<sch:RouterOperationList>
<sch:RouterOperation>
<sch:OperationRef>
<sch:Operation>50123097-16-0-0010</sch:Operation>
<sch:Revision>#</sch:Revision>
</sch:OperationRef>
<sch:MaxLoop>1</sch:MaxLoop>
<sch:StepType>N</sch:StepType>
<sch:CustomFieldList>
<sch:CustomField>
<sch:Attribute>CONTROL_KEY</sch:Attribute>
<sch:Value>INDT</sch:Value>
</sch:CustomField>
</sch:CustomFieldList>
</sch:RouterOperation>
</sch:RouterOperationList>
<sch:RouterComp>
<sch:RouterOperation>
<sch:RouterStepRef>
<sch:StepId>10</sch:StepId>
</sch:RouterStepRef>
</sch:RouterOperation>
</sch:RouterComp>
<sch:StepId>10</sch:StepId>
</sch:RouterStep>
</sch:RouterStepList>
<sch:CustomFieldList>
<sch:CustomField>
<sch:Attribute>ERP_MATERIAL</sch:Attribute>
<sch:Value>504640-20-49-30</sch:Value>
</sch:CustomField>
</sch:CustomFieldList>
</sch:RouterIn>
<sch:OperationListIn>
<sch:Operation>
<sch:Operation>50123097-16-0-0010</sch:Operation>
<sch:Revision>A</sch:Revision>
<sch:Description>0010</sch:Description>
<sch:CurrentRevision>true</sch:CurrentRevision>
<sch:MaxLoop>1</sch:MaxLoop>
<sch:ResourceTypeRef>
<sch:ResourceType>VP4</sch:ResourceType>
</sch:ResourceTypeRef>
<sch:ResourceRef>
<sch:Resource>BVLBLD</sch:Resource>
</sch:ResourceRef>
<sch:StatusRef>
<sch:Status>201</sch:Status>
</sch:StatusRef>
<sch:Type>N</sch:Type>
<sch:EffectivityControl>R</sch:EffectivityControl>
</sch:Operation>
</sch:OperationListIn>
</meint:Routing>
</meint:ProductionOrder>
</meint:ProductionOrderUpdateRequest_sync>
</soapenv:Body>
</soapenv:Envelope>
any help would be highly appreciated.
Thanks,
User | Count |
---|---|
103 | |
14 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.