cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

What Architecture / Porgraming Modell to use when creating a custom Adobe Form

Dominik232
Newcomer
0 Kudos
156

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:

  • SAP System is on premise S/4HANA 2023 AS ABAP 7.58
  • Adobe Form Technology should be used

 

What we have tried so far / ideas we had to solve the problem:

  • Application Programming Model for SAP Fiori

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.
 

  • RESTful Application Programming

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

  • What about the S/4HANA Output Management and Fragment based Adobe Forms (with ODATA Service as data provider)?

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.

 

  • But how to do this with a custom Application like we have it here? Is this even possible?
  • Can we utilize the Fragment based Forms only with the SAP S/4HANA Output Management?
     
  • What about Key User extensiblity Tools?

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

Accepted Solutions (0)

Answers (0)