Document Item not created by CRM_ORDER_MAINTAIN

Problem: you create a document in CRM using CRM_ORDER_MAINTAIN FM but document items are not created. Yet, there are no exceptions or messages returned from the function.

Solution: First thing you should do is to got to TCODE SLG1 and check log for the time when you executed the CRM_ORDER_MAINTAIN FM. There should be some information about what is happening and probably few of these will be marked as errors.

If one of them says something like „PROCESS_TYPE missing” then you should check the INPUT_FIELDS of the CRM_ORDER_MAINTAIN call. Most probably you have a PROCESS_TYPE field missing for the ORDERADM_H row or ORDERADM_H row does not exist at all.

Komentowanie jest zakończone.