I am trying to create multiple emails (the number can vary based on vendor) based on emails stored in XK02 in the communication section of the address tab. We are currently using a smartform tied to a custom version of ybus_fm06p.
I added code at the bottom of the processing_po subroutine after the read table of spoolids. If I have a spool request created already in SP02 and use that, I can successfully send the emails. However, I tried calling up the first line of the ls_job_info-spoolids, and the table is blank.
I am looking for suggestions on a better way to automatically generate these emails or what I may be missing using ybus_fm06p.
Thanks!