Hello,thank you for the answer, it solved my problem using Function Module WS_DELIVERY_UPDATE_2 to update picking and posting goods issue.I had error message no. BS001 "No status object is available for HU ...." before.
At 30.01.2017 SAP has changed Function Module ERP_IDOC_INPUT_DEBITOR.There is a new form FILL_APPL_STRUCTURES2 with no Customer-Function.It seems that you could use BAdI "CUSTOMER_ADD_DATA_BI".