on 2025 May 05 1:35 PM
Hi together,
May you could help us to understand the topic better and get the best practice implementation for an S/4HANA 2023 on premise system.
The Requirement:
A collegue created an SQ2 View with several Z-Tabels in SAP GUI and would like to have a custom PDF Form for this. Containing our global design (logo, footer, addresses, etc.). There should be a Fiori Elements App with a print button to prin the selected items.
Restrictions:
What we have tried so far / ideas we had to solve the problem:
Created a CDS Datamodel based on the SQ2 view. This dat model was exposed as an Business Object (BOPF) with the action print. The print action calls a traditional print programm (FP_JOB_OPEN, CALL <Generated_Form_Function_Module>, FP_JOB_CLOSE. Fiori Elements App with List Floorplan was created. This approach seems to work.
Created CDS entity from SQ2 View. Created behaviour definition with action print. Implemented the classic print programm into the behaviour definition, but got a shortdump, that SUBMIT statement is not supported inside of RAP, which is used in FM FP_GET_FUNCTION_MODULE_NAME, to get the generated Form. So we had to stop here.
Open Questions
This topic is hard to grasp, in terms of a custom business object, like we have it here, because of the Z-Tables. I understand that SAP implements the connection to the SAP S/4 HANA Output Management into the SAP Standard Application like Goods Movement or Purchase Order and then you can customize it.
I read about Key User Extensiblity and saw that you can create your own business objects and CDS views. Is it somemhow possible to connect these to the S/4HANA Output Management and Adobe Fragment based forms?
I hope you could help us to find the correct approach here.
Thank you in advance and Best regards
Request clarification before answering.
User | Count |
---|---|
34 | |
21 | |
10 | |
8 | |
5 | |
4 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.