Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

no long text on CRM_SLFN_ORDER_SERVICE_01

Hi all,

when we print or e-mail via form CRM_SLFN_ORDER_SERVICE_01 we get no long-text. After a long time of debugging we found out that the form in not able to print the text because of a missing document flow in function module : CRM_DNO_READ_DOCFLOW_* is not available. The table STXH is filled with textheaders of the support message.

Who has a solution for this problem.

Richard Middelburg

Former Member
Former Member replied

Hey Richard,

I assume that you are aware of SAP solution manager Service desk and its configurations and its use...

SAP has made this smartforms assuming that we create Support Message from Help->Create Support Message...

When you create a Support Message from Help->create Support Message, there is a notification nos that gets generated...

This document or notification nos is the Precedding document of the autual CRM transaction Or document ( SLFN Trans Type).. So when you use FM RM_DNO_READ_DOCFLOW_* with Support messages created thru Help->create Supp Msg, this will work prefectly alright....

However when you create support message directly in SOLMAN using Tcode CRMD_ORDER, you dont generally have the Notifcation Nos coming into pictz...

Thats the reason why you dont get any long texts....

Now the workaround for this is to use FM CRM_DNO_READ_ORDER_TEXT

This FM will give you the Texts in the CRM transaction Nos.....

So nos you will have an internal table with all the texts in the CRM transaction nos rather than the notification nos...

Now this internal table needs to displayed or printed, which is not a big deal..

Just ask any Abaper to do it for you...

Earlier as per STD SAP smartform, it gets the precceding doc of the current support Msg and read texts in that Notifcation document which was the problem..

The above FM will read the Texts in the CRM document directly without refering to the Precedding document...

Now for this to be implemented, just copy that SAP STD smartform into Z smartforms and make suitable ammendments.....

Also when you use the Z smartform, you also need to make suitable changes to Action defination which prints the messge..

Just Change the smartform name from SAP std to your Z smartform for this to materialize....

And Please Reward points for usefull answer.....

Regards,

Anand.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question