2005 Nov 29 9:25 AM
Hi,
Can we programatically delete an output type from a sales document. Suppose we have an output type in a sales order. From the output type the control goes into the processing program & form routine for that output type. Now in the processing program, I want to programatically check some conditions and then delete the output type that is visible in the sales order
extras - > output - > .
Is there anyway to do that.
Regards,
Vijay
2005 Nov 29 9:27 AM
Hi,
Sorry i dont think u can delete output types
programatically.
Regards,
Amey
2005 Nov 29 9:30 AM
Hi,
Check in table TNAPR, this has the link for the output type , form name & program associated with it,
Rgds,
2005 Nov 29 9:42 AM
Hi Vijay,
In first place, why do you want to delete output types? Any specific reason. Or, what you want to do if any of your conditions are met?
Can you be more elaborate.
Regards,
Raj
2005 Nov 29 10:18 AM
Hi,
Output types triggered from sales order, I want to stop processing them, if some of the fields in the sales order are empty. I can stop the output from processing, it ends in the output showing red color in the sales order. I was wondering if I could just remove the output type frm the sales order output screen altogether. It would give a feel as though since the field value is not there, the output type is not triggered(even though it has). Do you understand the requirement.
Regards,
Vijay