Symptom
Assign an attribute of one journal entry item to another journal entry item.
Environment
SAP S/4HANA Public Cloud
Resolution
In the app Manage Substitution/Validation Rules all created rules are either addressing a single Journal Entry Item or the Journal Entry Header individually.
If it is necessary to access the whole accounting document for example header and line items, for substitutions use BAdI journal entry FIN_ACDOC_SUBSTITUTION, for validations use FIN_ACDOC_VALIDATION, using the ABAP cloud extensibility BAdIs for Substitution for Journal Entries
Keywords
copy data of another field via substitution,Journal Entry Item, BAdI , KBA , FI-SL-VSR-2CL , Validation, Substitution and Rules (Public Cloud) , How To
SAP Knowledge Base Article - Public