I have enhanced ICCMP_SURVEY to give option to print the Survey Questionnair in PDF format.
I have Enhanced View - ICCMP_SURVEY/SurveyDetailSet and Re-defined 'DO_PREPARE_OUTPUT' in Request Processing. I have coded in this method to convert Survey Questionnair into PDF format.
Re-defined 'IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS ' in Toolbar related method to do the action...Whenever user click on button needs to be open PDF file to print the Survey Questonnair.
But, the problem here whenever I tried to open PDF file it gives me message that
'ADOBE READER COULD NOT OPEN FILE BECAUSE IT IS EITHER NOT A SUPPORT FILE TYPE OR BECAUSE THE FILE HAS BEEN DAMAGED(FOR EXAMPLE,IT WAS SENT AS AN EMAIL ATTACHMENT AND WASN'T CORRECTLY DECODED)'.
Did anyone of you had this issue when you implemented Survery Questionnair into PDF format? Please,advise me.