Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Delete output types from sales documents

Former Member
0 Kudos
988

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

4 REPLIES 4

Former Member
0 Kudos
157

Hi,

Sorry i dont think u can delete output types

programatically.

Regards,

Amey

Former Member
0 Kudos
157

Hi,

Check in table TNAPR, this has the link for the output type , form name & program associated with it,

Rgds,

Former Member
0 Kudos
157

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

0 Kudos
157

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