Symptom
Attempting to open the extracted XML file for Object "CUSTOMER_CONTRACTS - Open Customer Contracts" in Excel results in an error stating "The File is corrupt and cannot be opened".
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Application and user management work center
- Select Data Extraction View
- Enter required RunID and Select Object "CUSTOMER_CONTRACTS - Open Customer Contracts"
- Select Save then Activate and Run
- Refresh till process completes, Download the extracted file
- Try to Open the XML, we can see error "The File is corrupt and cannot be opened"
Cause
The issue was caused by invalid date type entered in contract record.
Resolution
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
To Check for the corrupt data of contracts record please follow the below steps:
- Go to Sales Orders Work center view
- Select Contracts view
- Choose "All contracts" from drop down
- Select Export tab and choose "To Microsoft Excel®"
- Open the downloaded file and apply filters to all the header rows.
- Review each filter containing dates to identify incorrect data. (Refer below picture for example of incorrect date format)
Resolution:
- Locate the incorrect data from excel and update it in the system to the correct format.
- If the Status of the Contract is in Complete state, create an Incident to SAP
See Also
Keywords
corrupted XML file, data extraction error, CUSTOMER_CONTRACTS, Open Customer Contracts, Excel file error, invalid date type, contract record issue, file cannot be opened, Business ByDesign, customer contract processing , XML file issue, extracted file error, incorrect data format, contract data validation , KBA , AP-CCP , Customer Contract Processing , SRD-CC-MIG-CNT , Migration: Content , Problem
Product
Attachments
| Pasted image.png |
SAP Knowledge Base Article - Public