Changing the Page Format dynamically in a Smartform
Sometimes, it is required to change the pageformat of the smartform based on some condition like Plants etc.In those cases, it is redundant to copy the same form and make changes in the page format for each plant. Instead,this requirement can be easily achieved via the use of field symbols.
The page format is stored in the global structure ‘%header’, in the field ‘pageformat’ , of the main program of the generated Function Module of the Smartform.This can be changed by making use of a field symbol.Please check the below screen shots:
Be the first to leave a comment
You must be Logged on to comment or reply to a post.