Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to answer and analyze the frequently asked questions of SAP document builder

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

How to analyze the answers to SAP document builder common questions? in view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.

If you want to convert DOCX render to PDF format, you need ADS Adobe document service deployed on server. Use report FP_PDF_TEST_00 to check if ADS setup is correct.

If you can see the following ADS version message, it is already ready.

The picture below is an ADS destination that SM59 points to in our system.

The purpose of Reviewe:

Edit the view SWFDEVENA with SM30

Here SAP provides a flexible framework that allows us to bind events that occur on document to a workflow, and we can develop some workflow to respond to these events.

In SAP deliver's standard workflow, there are some that interact with review:

This workflow only adds a process that automatically sends an email to review prompting it to review and reviewer manual processing. Automatic email sending and reviewer processing are implemented by BOR object SELFITEM and DECISION of SAP standard, respectively.

The problem of Navigation failure. I usually use debug to find out the cause of problems like this: the system looks for entry in CRMC_IB_BOR_UIOB.

If you can't find it, report CRM_UIU_CT-022 's message. You enter the breakpoint and then look at the where condition of the SQL statement to know what kind of entry the system is looking for, just follow the maintenance.

The Due icon is displayed as X:

Set a breakpoint on this method

Then see what the url determine of icon on your system looks like:

After getting the url, go to SE80 and mime repository to see if the image of the icon has been uploaded correctly:

In addition, how to extract the approved document from the code?

Can you provide more detailed information? What kind of context do you want to write code under?

If you can get content and document ID in the context of your code, you can get the contents of the document through the following report-stored in ls_output-data:

```ABAP

PARAMETERS: content TYPE / ipro/tdocmnt-content DEFAULT 'DLA'

Document TYPE / ipro/tdocmnt-docmnt_id.

* data: document TYPE / ipro/tdocmnt-docmnt_id value '0000000815.

DATA: lt_contents TYPE / ipro/tt_contents

Lo_content TYPE REF TO / ipro/if_content

Lo_doc_factory TYPE REF TO / ipro/if_docb_factory

Lo_document TYPE REF TO / ipro/if_document

Lv_content TYPE string

Lo_exception TYPE REF TO / ipro/cx_serializer_failed_at

Lv_error_text TYPE string.

Lv_content = content.

CALL FUNCTION'/ IPRO/CONTENT_FACTORY'

EXPORTING

Piv_name = lv_content

IMPORTING

Pet_contents = lt_contents.

READ TABLE lt_contents INTO lo_content INDEX 1.

CHECK lo_content IS BOUND.

Lo_doc_factory = lo_content- > get_docb_factory ().

TRY.

Lo_document? = lo_doc_factory- > open (piv_docmnt_id = document).

CATCH / ipro/cx_serializer_failed_at INTO lo_exception.

Lv_error_text = lo_exception- > get_name ().

WRITE: /, lv_error_text.

ENDTRY.

Data: ls_output TYPE / IPRO/S_OUTPUT.

WRITE sy-uzeit.

Lo_document- > / ipro/if_output~enable ('1').

Ls_output = lo_document- > / IPRO/IF_OUTPUT~GENERATE ('1').

`

This is the end of the question about how to answer and analyze the SAP document builder FAQ. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report