cancel
Showing results for 
Search instead for 
Did you mean: 

Document flow

kuhn_tobias
Explorer
0 Kudos

Hello,

A while ago I created an document flow for one of my PDI Solutions based on the available blog post (

https://blogs.sap.com/2015/07/22/pdi-enablement-of-business-document-flow-feature/).

There are currently two points within the implementation which are not documented how to use them and I'm not show if they are even possible to archive.

1. Change the title of the BO to something user friendly

Even in the original guide the BO Name was shown instead of an real representation of the BO name for the end user.

SAP seams to have the possibility to do this with their BO titles but my tries where not successfully.

2. Insert an Status Description to the BO

In the blog posts there is a "SpecialPropertyIndicator" with the value 1 (DocumentLifeCycleStatus) listed but no sample code how to use this in the context. I tried many combinations and ideas but none of them got the feature working.

Has someone solved one of this "problematic" parts in the past and can please provide the way he/she did it?

Best regards

Tobias

Accepted Solutions (1)

Accepted Solutions (1)

kuhn_tobias
Explorer

I rechecked this with the cloud support and can now solve this question.

1) It is currently not possible


2) It's possible with the correct Data Type

var link_prop : DataType::BusinessDocumentFlowPropertyStructureforPDI;

link_prop.PropertyID = "Y8NZNDLLY_207C1E660E58FD49";
link_prop.PropertyValue.Code = StatusText;

link_prop.PropertyValue.Name.languageCode = LanguageCode.ParseFromString("DE"); // other languages should also be possible
link_prop.SpecialPropertyIndicator = SPECIALPROPERTYDOCUMENTLIFECYCLESTATUS;

The Data Type "Y8NZNDLLY_207C1E660E58FD49" can only be found (to my knowledge) in an run definition (XML file) with an field containing this data type or in the back end with an incident to the SAP cloud Support.

A huge thanks for supporting me in this questions to Cian.

Answers (0)