Hi All,
I have written a custom program to update the duty type in header logistics tab for some old declarations. I have basically used the FM '/SAPSLL/CUHD_VAL_QUA_CUMULATE' to calculate duties, and a Z-FM which is a copy of standard FM '/SAPSLL/CUSTOMS_DOC_CHANGE' , because the standard FM did not work as this line was commented es_obj = is_obj. So, I copied to Z-FM and un-commented this line and the remaining code is the same. I even copied the entire function group to Z and added all the standard includes. The duty type is successfully getting updated, no problem with that.
Now the issue is, the change to duty type done from the custom program is not captured in the change documents. Environment-->Change documents. However, if I change the duty type manually in the document and Save, the change document is getting captured. My client wants this also to be captured when executed from the custom program. Kindly provide your valuable inputs, how I can achieve this. Thanks much in advance.
Regards
Shankarnarayan.K.