I found this thread while researching the same question. By creating an implementation of BADI IDWTREP_ADOBEPRINT, you'll be able to add your custom forms to the filter values of your BADI implementation after which program RFIDYYWT will recognize them. You'll need to add code to the PREPARE_ADOBE_PRINT method of your implementation in order to print your custom forms.
In my scenario, I needed to copy the SAP delivered 1099-Misc Adobe forms in order to create a custom version of them. The steps I performed were:
- Copy SAP Adobe forms IDWTCERT_US_1099MISC and IDWTCERT_US_1099MISC1 to create custom versions of them (ZIDWTCERT_US_1099MISC and ZIDWTCERT_US_1099MISC1).
- Created ZIDWTREP_ADOBEPRINT implementation of BADI IDWTREP_ADOBEPRINT.
- Added my custom forms ZIDWTCERT_US_1099MISC and ZIDWTCERT_US_1099MISC1 to the filter values of my implementation.
- The code I added to the PREPARE_ADOBE_PRINT method was copied directly from the SAP class CL_IM_IMPUS_IDWTREP_ADOBE method IF_EX_IDWTREP_ADOBEPRINT~PREPARE_ADOBE_PRINT. The only change I had to make to the copied code was to replace the references to the SAP forms with the values for my custom forms.
Now with our custom forms in place, we're able to produce Copy B, as well as Copy 1 and Copy 2 when printing our 1099 MISC forms.