SAP Message 9J038 - Document type &1 does not allow recipient category &2 (&3) as sender.

Diagnosis
Document type &V1& does not allow you to enter a sender if it is in
combination with recipient category &V2& &V3&.

Procedure
Maintain the appropriate indicator in the table "Maintain RecipientCategories per Document Type" in Customizing.
IF &DEVICE& = 'SCREEN'
Execute function
ENDIF