Hi Raju,We cannot achieve your requirement collectively. You can achieve it separately with the approach I have mentioned above. Provide 2 radioobuttons 1 for print preview and 1 for print. User can select print preview if he wants to see print previ...
Hi Raju,As you see to get otf data, you have to pass below parameters, which means you can't get print preview while converting data to otf. CONTROL_PARAMETERS-PREVIEW = ''. CONTROL_PARAMETERS-NO_DIALOG = 'X'.
Hi Kaustav,Did you check form USEREXIT_FILL_VBRK_VBRP in Include RV60AFZC as suggested above. Just put a breakpoint there and debug. Check the tables available there. You need to do changes in VBRP table.
Hi Raju,You can either take data into otf or you can see the print preview. So, you can provide a radiobutton on your selection screen 1 for print preview, where you can pass ITCPO-TDGETOTF = ' ' and 1 for print (otf), where you can pass ITCPO-TDGE...
What is the data type used for itab-gjahr? I have developed lots of BDCs, but never faced such issue. My be just try to take itab-gjahr value into variable of type gjahr and pass it to BDC. See if it works fine.