on 04-12-2024 7:46 AM
Hello, I am faced with the following scenario: A custom Fiori/freestyle application should be developed which would then display as a print preview some standard form out of the SAP S/4HANA output management. Theoretically let's say that this form should be the Purchase Order PDF form.
In S/4 Hana on-prem/private cloud you would use the NAST output and the spool id to get the document as a binary data so that it can be sent to the frontend using a OData service.
I fail to figure out how I am supposed to read the PDF document that was/will be generated when creating a new Purchase Order.
So the flow should be the following :
End user creates a Purchase Order -> the Purchase Order PDF is generated and stored in the system - > end user opens the custom Fiori/Freestyle application -> he is able to use a button to get the same document on his screen using the PDF Viewer control.
I would love to have some ideas if this is even possible, and if so how 🙂
The PDF document is stored in an archive via archive link. You find the connection in the tables TOA01. The archive gives you an URL to display the document. Alternatively you can read the binary of the document by SMCS* function modules or you can read the binary of the pdf during generation and store it temporarily in the DB.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The PDF document is stored in an archive via archive link. You find the connection in the tables TOA01/02/03. The archive gives you an URL to display the document. Alternatively you can read the binary of the document by SMCS* function modules or you can read the binary of the pdf during generation and store it temporarily in the DB.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
8 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.