Wednesday, June 23, 2021

Adobe Forms Tips and Tricks - From SCN Members

 


Source:  https://blogs.sap.com/2017/09/27/sap-adobe-form-tips-and-tricks/

This blog is about tips and tricks and not about describing how something works.

1st tip is to have some calming substance nearby – you will need it. 🙂 (Something your country and company policy allows of course…)

2nd tip – Adobe form has serious caching issues. Anything you do might or might not be saved and activated. Keep this in mind during testing. If something doesn’t work but it should that is possibly not your fault – caching got you. Some caching problems can be negated by using FM IQS1_REFRESH_ALL. This FM will delete some of the cache Adobe Form is using but not all!!! So if something still doesn’t work that can be still a caching issue. You can try to make a big change to the form, interface, and activate them again. This is the last thing I can recommend if that doesn’t work then you can ask basis to restart the server. 🙁

3rd tip – Adobe form links data to the individual elements in a very time-consuming way. And this link can be easily wiped during repositioning of the elements. So during repositioning be very careful what you are doing. Perform all logic in the interface before you call the form. Put your data into nicely named fields/structures/tables. Never count on the link. The link might be there or not. Don’t use the import structures/tables. Copy your data instead to global data and link those. If the link is gone you can relink the whole thing a lot more easily.

4th tip – Adobe form performs checks on the context data. These checks are not performed on the import data. SAP has set up a few import data structures that will immediately break the Adobe form if they are moved to the context data. Break means short dump. If you experiencing a short dump during development this might be the reason. Your global structures need to be correct. For example, unit and currency field dependencies cannot point outside of the structure.

5th tip – Translation works. Sometimes it doesn’t – because translation is cached too. If the translation doesn’t work you can run a program that wipes the template cache. The program is FP_PDF_TEST_26. You can disable template cache to avoid the problem altogether see OSS note 2258036.

If you have more tips and tricks leave a comment. I check and put them into the post.


User Comment

Thanks for the tip with the translation cache. I experienced this error tons of times. My solution so far was to do a dummy change on the layout, add the translation to the transport manually and import the TA. Your solution seems more comfortable

No comments:

Post a Comment