Symptom
Is there a possibility to attach documents during the creation of the info record and not after its creation i.e. during change/display?
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open app 'Create Purchasing Info Record'
- Enter data for info record
- Click on 'Services for object' -> 'Create attachment'
- Attachment can be uploaded but the file disappears and is not attached.
Resolution
For a document to be attached, the info record must be previously created, so using the Manage Purchasing Info Records application the attachment can be added. The behavior is expected and is consistent for this GUI-based fiori app for Creating Purchasing Info Records.
By default during PIR creation, the Info Record does not yet have a number assigned(before saving), and attachments cannot be saved without this key. Therefore, attachments can only be added during the change Info Record process.
Keywords
attachment, creating, pir, info record, S4HC, S4_1C, S4_PC, X4BC, Manage, change, display, create MM-PUR-VM-REC, GUI, fiori , KBA , MM-PUR-VM-REC-2CL , Info Record (Public Cloud) , MM-FIO-PUR-IR-2CL , Fiori UI for Manage Info Records (Public Cloud) , Problem