Format for a driver program in a new output type.
I have created a SD invoice in sapscript and its driver program. The program has a sales invoice number parameter and contains a selection of data part, open form, write header and items, close form.
My requirement is to attach this program to a new output type. I have read the forum and I entered NACE, and created a new output type based on the standard RD00. In the processing routines I inserted my program, but in the Form routine I do no know what to insert. I think I have to modify the program format,no? I have entered the standard program and I see it has a specific format. Second, I have to make a connection between the output type and the sales invoice number parameter in my program.
Can you help me?