Calling form using BADI
Friends and Experts,
I am having the following question regarding adobe forms. I am working on adobe print form in GTS Customs Management module.
When the user executes an activity message, the adobe print form has to be called. Some of the data for the form comes from R3 via BADIs. I have created the interface for the form. The form gets the data and is printed.
I am trying to call the adobe print form but am unable to do so. I have located a BADI (/SAPSLL/BADI_CDOC_CUS_COM) that seems appropriate for the purpose. I want to know if i can include the BADI in the program that runs in the background when the activity message is executed so that when the activity message is executed, the BADI gets called in turn triggering the form.
Please help me with this issue.