Printer using in Smartforms
I have the job to change all old sapscript orders to be printed with co01/02/03 from DIN A4 to DIN A5 and decided to recreate them in smartforms now. The boxes and stuff were created dynamically and to change that big forms and printprograms in sapcript to DIN A5 is like You have to change everything.... The sapscript masters know, what I mean! ;o)
So now I have made the design of the forms in Smartforms. I wanted to use the data-selection of the old print programs. When You print an order in Co01/02/03, You have to choose a list in combination with the printer destination.
In the old programs, I´m getting a structure called PRINT_CO and PRINT_OPT with the list option I have chosen for the print. This structure has a field called "DESTI", but this field is only the size of 4 characters.
The smartforms structures CONTROL_PARAMETERS and OUTPUT_OPTIONS need the full tddestination content, like the printername. And that field is in size 8 char.
How can I get this destination using the field DESTI and pass it to smartforms. Or is there a better way, to use the chosen options of the lists in CO01/02/03?
I hope, You can understand my problem!