cancel
Showing results for 
Search instead for 
Did you mean: 

Purchase order notes in ManagePurchaseOrderIn

former_member606838
Participant
0 Kudos

Hi.

I am trying to create some internal notes for an external purchase order using web service ManagePurchaseOrderIn Just like in this case

I have trying to see this using QueryPurchaseOrderQueryIn and the payload was :

      <n0:PurchaseOrderSimpleByElementsResponse_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:LBZ:/1SAI/TAS05B6BFBB03520E661520:804">
         <PurchaseOrder>
            <PurchaseOrderID>179</PurchaseOrderID>
            <PurchaseOrderUUID>00163e75-38d7-1ee9-baeb-92513940e2e1</PurchaseOrderUUID>
            <SystemAdministrativeData>
               <CreationDateTime>2019-10-10T12:54:51Z</CreationDateTime>
               <CreationIdentityUUID>00163e74-9f5f-1ed9-85cd-1728b1208e06</CreationIdentityUUID>
               <LastChangeDateTime>2019-10-10T13:03:23Z</LastChangeDateTime>
               <LastChangeIdentityUUID>00163e74-9f5f-1ed9-85cd-1728b1208e06</LastChangeIdentityUUID>
            </SystemAdministrativeData>
            <CurrencyCode>AED</CurrencyCode>
            <TotalNetAmount currencyCode="AED">100.0</TotalNetAmount>
            <PartyBuyerPartyKey>
               <PartyTypeCode>200</PartyTypeCode>
               <PartyID>T1000</PartyID>
            </PartyBuyerPartyKey>
            <PartyResponsiblePurchasingUnitPartyKey>
               <PartyTypeCode>200</PartyTypeCode>
               <PartyID>P1100</PartyID>
            </PartyResponsiblePurchasingUnitPartyKey>
            <PartySellerPartyKey>
               <PartyTypeCode>147</PartyTypeCode>
               <PartyID>1000070</PartyID>
            </PartySellerPartyKey>
            <ApprovalStatusCode>1</ApprovalStatusCode>
            <DeliveryProcessingStatusCode>1</DeliveryProcessingStatusCode>
            <InvoiceProcessingStatusCode>1</InvoiceProcessingStatusCode>
            <InvoicingStatusCode>1</InvoicingStatusCode>
            <PurchaseOrderConfirmationStatusCode>9</PurchaseOrderConfirmationStatusCode>
            <PurchaseOrderDeliveryStatusCode>1</PurchaseOrderDeliveryStatusCode>
            <PurchaseOrderLifeCycleStatusCode>1</PurchaseOrderLifeCycleStatusCode>
            <DataOriginTypeCode>1</DataOriginTypeCode>
         </PurchaseOrder>
         <ResponseProcessingConditions>
            <ReturnedQueryHitsNumberValue>1</ReturnedQueryHitsNumberValue>
            <MoreHitsAvailableIndicator>false</MoreHitsAvailableIndicator>
            <LastReturnedObjectID>00163E7538D71EE9BAEB92513940E2E1</LastReturnedObjectID>
         </ResponseProcessingConditions>
         <Log/>
      </n0:PurchaseOrderSimpleByElementsResponse_sync>

I am not sure if it's possible to add a note using the maintain web service or not. Anyone can help?

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

former_member606838
Participant
0 Kudos

Found it.

Can be done using Text Collection

		<TextCollection actionCode="01">
			<Text actionCode="01">
				<TechnicalID>13</TechnicalID>
				<TypeCode>10029</TypeCode>
				<TextContent actionCode="01">
					<TechnicalID>14</TechnicalID>
					<Text languageCode="EN">Hellotext</Text>
				</TextContent>
			</Text>
		</TextCollection>

Answers (1)

Answers (1)

Dear Mousa,

Please use the details in the below Link and edit your Xml accordingly .

https://answers.sap.com/questions/9972907/how-to-add-notes-in-lead-sectionbydesign-webservic.html

Please give us the payload that you tried which is not working to check it further

If the above details solved your issue, please mark it as answered.

Thanks and Regards

Deena

former_member606838
Participant
0 Kudos

@ deena.karkampalli2
We are talking about 2 different web services here 🙂 MaintainLeadIn does have a note tag.

<Note actionCode="?">
<ObjectNodeSenderTechnicalID>?</ObjectNodeSenderTechnicalID>
<ContentText>?</ContentText> </Note>

However, in ManagePurchaseOrderIn (as I have attached the whole web service up) doesn't have notes section, this is why I am asking if any one have any way to add it or to use some sort of turn around.