cancel
Showing results for 
Search instead for 
Did you mean: 

How to send blank data for update using batch update(PATCH) via SAP CPI

sachin999940
Participant
0 Kudos

Hello
I have a requirement that if we get the value as delete, then I have to update the existing value with blank value.
From CPI I am sending a constant without any value but it doesn't do any updation to the existing value and it remains the same.
Below are the screen shot of mapping and the data which is being sent.

<batchParts>
	<batchChangeSet>
		<batchChangeSetPart>
			<method>PATCH</method>
			<headers>
				<header>
					<headerName>If-Match</headerName>
					<headerValue>*</headerValue>
				</header>
			</headers>
			<FunctionalLocation>
				<FunctionalLocationType>
					<FunctionalLocation>YYYY</FunctionalLocation>
					<FunctionalLocationOID>YYYY</FunctionalLocationOID>
					<BusinessPartnerName1>SS</BusinessPartnerName1>
					<BusinessPartnerName2>SS</BusinessPartnerName2>
					<StreetName></StreetName>
					<Country></Country>
					<MainWorkCenterPlant>MM</MainWorkCenterPlant>
				</FunctionalLocationType>
			</FunctionalLocation>
		</batchChangeSetPart>
	</batchChangeSet>
</batchParts>

Thank you in advance for the help
Regards
Sachin Kumar Singh

Accepted Solutions (0)

Answers (0)