Hi,
document types for deliveries, orders, ... are defined by the data element VBTYP.
If I read for example the document flow (VBFA), I want to know what entries mean a delivery, an order and so on. There's no field that says "I'm a delivery", but there is the document type VBTYP, and as far as I know one VBTYP can't be both delivery and order.
At the moment I have written a simple CASE statement with the used constants (7,J,T), but I think this is not a nice solution (and I am not sure that this list is complete, I only read the fixed values of the domain!).
As this is a central thing in SD, I think there could and should be some kind of existing logic for that purpose, a function module or something similar.
Does anybody know such a solution?
Best regards
Martin