There are <b>IDOCs in status 64</b>(ready to transmitted to application) in ECC R/3 server. Now I need to post these IDOCs <b>only if the corresponding partner data exists</b>. I have a <b>BAPI</b> to check this condition. How do I achieve this ? Can we write a ABAP program ? Please suggest.