Symptom
- Custom DMS document type was configured and its Object Links were defined, linking Purchase Order Items to the document type. While creating new document in app CV01N and trying to assign purchase order item through Object Link tab, the page is blank.
- No insert fields are available for Object Links tab in the Create Document or Change Document app for a Custom DMS Document Type
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental"
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Configure the DMS Document Type and define its Object Links, linking Purchase Order Items to the Document Type.
- Attempt to view the Purchase Order and its line items in app Create Document ( App Id CV01N )
Cause
- The issue is due to the DYNPRONR (screen number for different Objects) of the Custom Document Type being incorrectly set as 500.
- This can occur when using the configuration activity 'Define DMS Document Types.' to copying a standard document type and after copying a standard DMS document type and before saving , navigating to the folder Define objects links for the selected custom document type and pressing the "new entries" button to maintaining a new object link object
- The screen number column is not exposed in SSCUI configuration 'Define DMS Document Types.' , users are not able to modify the screen number after the document type has been created
Resolution
1.Enter configuration activity 101090 - Define DMS Document Types.
2. Select 'Define Document Types' in the left panel, select pre-delivered document type for example 'YBO' or 'YP2' that includes the Object Link Object you wish
to include in the new custom document type , click 'Copy As'.
3. Fill in the required attributes field for the custom document type, click 'Copy'.
4. Save the changes and try to create a new document within app Create Document CV01N and check the object links.
Existing Custom Document Types with the issue need to be deleted and recreated again copying a standard document type that supports linking with object type you wish to include
The deletion of a Custom Document Type is not possible if there exist Document Info Records for it .
The existing Document Info Records need to be archived using the archiving object CV_DVS
Keywords
CV01N, Purchase Order Items, Object Links, DYNPRONR, DMS Document Types , MARA , Product , Production Order , KBA , CA-DMS , Document management , Problem
SAP Knowledge Base Article - Public