PO Idoc To XML File
My scenario is Idoc to File, when ever i create a Purchase Order in R/3 automatically idoc is triggered and the file is placed in appropriate location, my requirement is i have field with name action the action may be insert or update or delete. when ever he creates a PO the mode is insert. And when ever we change it either it is update or insert or delete. if i create a new item in PO then the action is insert, if make any changes in the item then the action is update if the user deletes the item in PO then the action is delete. How to handle this situation. Kindly suggest.