I have a SAP Script with 4 page layout
1) FIRST
2) BACK
3) NEXT
4) BACKL
BACK page that is Second page print Term and conditions.
there are some standard text maintain for terms and condition based on particular countries.
so now issue is :
in my case
standard text is not maintain for country CH
so the back page comes always blank
Now requirement is : IF back page is blank or standard text is not maintain for any country restrict printing for BACK page.
There is a perform in back page
DEFINE &F-VKORG& | = &VBDKR-VKORG& |
DEFINE &F-VBTYP& | = &VBDKR-VBTYP& |
DEFINE &F-LAND1& | = &VBDKR-LAND1& |
PERFORM SEARCH-CON-SALES IN PROGRAM YZZF_DOC_SEARCH_DATA
USING &F-VKORG&
USING &F-VBTYP&
USING &F-LAND1&
CHANGING &O_CON_SAL&.
ENDPERFORM
INCLUDE &O_CON_SAL& OBJECT TEXT ID ST LANGUAGE &NAST-SPRAS&
In &O_CON_SAL& standard text is coming based country LAND1.
Please help me how can i restrict printing for 2nd page.