check sales order exits for category ZTAC
I have a requirement to modify the iDOC interfaced program,
In the routien which checks for the existence of a production order, I have to modify the following
1. Inspect each item on the sales order
2. If (and only if) there is atleast one item with a category of "ZTAC" then check for a production order otherwise processing the order in the usual manner.
Could anyone tell me how to check (Is there a sales order) if no then display error message if yes then is there a production order if no display error message if yes Create confirmation .......................
I want to know how to write a coding to check sales order exits from table VBAP,VBAK Etc., .
Thanks in Advanced
Hi Eslam ,
check program MV45AFZZ user exit.