09-22-2008 5:29 PM
Hello everyone,
In the sapscript form produced by a payment notice, i would like that all those forms that will be sent via e-mail could be retained for 2 days, and sent only after spending that time.
I have an idea, but don't know really well what to do with it: in the BTE 2040 (function SAMPLE_PROCESS_00002040), i can setup parameters for the form to be sent (via e-mail, immediate print, send immediatly or only at night...)
Is this possible ? is so, can anyone guide me in some direction ?
09-23-2008 4:42 AM
hai,
while passing print parameters pass the field TDLIFETIME(Spool retention period)...
shan..
09-23-2008 4:33 AM
HI,
You will have to ask the BASIS team to retain the spool for 2 days. Once that is done, create a Z program, to pick up the spool nos from TSP01 table where STRTDATE = current date - 2.
Convert the spool to PDF & send as email. If you search on this form for "Convert to PDF & send mail" you will get the code.
Best regards,
Prashant
09-23-2008 4:42 AM
hai,
while passing print parameters pass the field TDLIFETIME(Spool retention period)...
shan..