Insert code in prgram to check sales order exits in your own program
I want to insert a coding in IDOC , can anyone write in abap coding and show .....The program is to check if sales order for category PSTYV ( CATEGORY ) for items ...
if found set flag true else set flag false...
to check s/o for ZTAC item found
set flag = true
set flag = false
So how can I write a a code in ABAP
Thanks in advanced