The Get_Print_Parameters , if called with parameters as :
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING MODE = 'BATCH'
REPORT = 'SDBILLDL'
LAYOUT = 'ZLAY-TST'
IMPORTING OUT_PARAMETERS = PARAMS
VALID = VALID.
get the settings for the layout specified in the Parameter. I tried this and it says the layout is not defined for so and so printer , when i go and see the F4 for layouts it actually pops up the format(X_jjj) not the layout that i have defined and passed in the paramaeter.
Is there any way that we can run a report with a layout , the way we can run it with variant ?? If not then what is the use of layout ?