First install the prerequirement packages and than this package. Install the code with https://abapgit.org.
This package contains code about the Sales Order Business Object ZSD_SALES_ORDER_BO.
The functionality is for now limited to
- Creating a Sales Order PDF document
- Sending an Email with attached the Sales order PDF document
For more information see SAP Blog post: https://blogs.sap.com/2022/05/27/abap-oo-design-part-7-step-3-reuse-optimization-example-send-sales-order-document-by-email-to-customer/
Methods:
- ZSD_SALES_ORDER_BO_I~CREATE_DOCUMENT
- ZOPM_OUTP_PRINT_OUTPUT_I~EXECUTE
Methods:
- ZSD_SALES_ORDER_BO_I~CREATE_EMAIL
- ZOPM_OUTP_EXTERNAL_SEND_I~EXECUTE
- ZEXC - Exception : https://github.com/alwinvandeput/zexc_exception
- ZTXD - SAPscript texts : https://github.com/alwinvandeput/ztxd_sapscript_texts
- Class with unit test: ZTXD_TEXT_OBJECT -Class with unit test: ZTXD_TEXT_LABELS_OBJ
- ZADB - Adobe : https://github.com/alwinvandeput/zadb_adobe
- Class with unit test: ZADB_ADOBE_DOCUMENT
- ZEML - Email : https://github.com/alwinvandeput/zeml_email
- Class with unit test: ZEML_EXTENDED_EMAIL_BO
- ZBO - Generic Business Object : https://github.com/alwinvandeput/zbo_generic_business_object
- ZOPM - Classic Output Management : https://github.com/alwinvandeput/zopm_classic_output_management
Class ZSD_SALES_ORDER_BO contains unit test class UNIT_TEST. First turn all the test off and than test them each by each.