Hierarchy
⤷ IS-HMED (Application Component) Clinical System
⤷ NMED_DOC (Package) IS-H*MED: Medical Documents
IMG Activity
ID | ISHMED_COM_DOC_BADI3 | BAdI for Filling Created Documents |
Transaction Code | S_PRI_97000121 | (empty) |
Created on | 20070111 | |
Customizing Attributes | ISHMED_COM_DOC_BADI | BAdI for Document Modification (Incoming and Outgoing) |
Customizing Activity | ISHMED_COM_DOC_BADI3 | BAdI for Filling Created Documents |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | ISHMED_COM_DOC_BADI3 |
Use
This BAdI gets a received document and the content for this document. Its task is it, where appropriate, to convert the document content and forward it to the document. The saving of any additional data linked to the document (e.g. within external data modules) can also be prepared.
There is a default implementation which passes received document content unmodified to the new document. A separate implementation is therefore only required if you do not want standard processing or wish to extend it.
Note: implementations of this BAdI may not save the document themselves, but may only transfer the document content to the document. If the BAdI implementation would like to save additional data along with the document, saving has to be performed using the update task. Saving of the document is triggered outside the BAdI in later processing. If the document is error free, the system saves the document, triggering a COMMIT WORK. If the document has errors, the system does not save the document and it triggers a ROLLBACK WORK.
BAdI implementations may neither trigger ROLLBACK WORK, nor COMMIT WORK nor call program sections which themselves do either of the two.
Requirements
Standard settings
Activities
Implement the BAdI and assign for which document formats and/or document categories you wish to call your implementation.
Example
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 3 | Nonrequired activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20070130 |
SAP Release Created in | 700 |