Hi,
My requirement is, I have to disable the Print option from PDF form based on some condition when user will press the button.But user is pressing button on std portal application :FITV_POWL_TRIP_DETAIL (He I have done enhancement for passing the data to ABAP / SAP memory). And before displaying the PDF form I have to disable the print option by using the control parameter of std R/3 fun module : FP_JOB_OPRN (Here I have written Import statement).
Sample Code:
Webdynpro Appl : FITV_POWL_TRIP_DETAIL
FREEMEMORYID'ALL'. " 1st Tab Name
EXPORT s_print FROM s_print TO MEMORY ID 'ALL'.
R/3 Std prog: SAPLFPCALL
IMPORT S_PRINT TO F_PRINT FROM MEMORY ID 'ALL'.
IF SY-SUBRC = 0.
FREE MEMORY ID 'ALL'. " 2ND TAB NAME
ENDIF.
I have tried by sing SET / GET parameter, but this is also not working.
Please help.