on 2025 Jan 30 1:55 PM
Hello SAP Community,
In SAP Cloud Applications Studio, I am trying to generate a pdf form with this function:
var formTemplateCode : OutputRequestFormTemplateCode;
formTemplateCode.content = "ME_08";
var formTemplateLanguage = "E";
var binary :BinaryObject;
binary = OutputManagementUtilities.GetPDF(this, formTemplateCode, formTemplateLanguage);
The code is in the Root-AfterModify.absl of an OutboundDelivery business object extension and I am trying to generate a Delivery Note form.
When testing with debug, we are going through those lines but the result of "binary" always is empty.
I have read the documentation of "OutputDocumentUtilities" and it seems to be usable in the SDK for SAP ByDesign.
Do someone has any ideas of hat can be the problem here?
Thank you for your help,
Marion Marolany
Request clarification before answering.
Hello,
It seems to work with a custom form, so it is okay now.
This function doesn't work with standard forms or is it fossible that I didn't get the right formTemplateCode ? If so, where can I find it ?
Thank you,
Marion
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
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.