Triggering Output Type
I have a report program which displays all the delivery. If select a delivery and press a print button (customized one), then the delivery has to be printed.
I am using BAPI_LIKP_PROCESS_MSG_DIRECT to print the delivery.
Now the problem is, only when i goto the delivery (VL02N) ->Extras--> delivery output->header and press save, I am able to print the delivery. Else i am getting Error message <b>'No messages for initial processing exist'</b>. I think i need to trigger the output type from the report and then print the delivery using BAPI.
Can any one tell me how to trigger the output type from the report? Is any FM or BAPI available ?