Hi,
We can use ECC BADIs - MM0A and MM0B for PO and IBDs resp.
Generic (dummy) materials needs to be created in GTS using FM - /SAPSLL/API_6850_SYNCH_MASS. Custom logic needs to be written in ECC BADI's to pass the dummy to GTS to update in GTS Customs documents for PO/IBD text materials which will help to make customs document complete.
Thanks & Regards,
Pushpraj