Idoc To File
I am handling idoc's when a purhcase order is created and changed using message types "ORDERS" and "ORDCHG".
My requirement is when i create a purchase order an idoc is triggered automatically, by using idoc to file scenario i will send xml file to target system with the fields( purchase order, delivery date, vendor, item number, material number and quantity) then my client will send an xml file with the fields ( Purchase order, reference PO, item number and reference item number) then i need to update the PO using file to rfc(z_bapi_po_change) scenario for the fields (Your reference, item text). But if i change the same purchase order for the next time either quantity or delivery date or vendor or material number This time by using idoc to file scenario i have to send xml file with fields (purchase order, Reference PO, delivery date, vendor, item number, Reference item number, material number and quantity). So finally what i want to say is when i update the fields Your Reference and Item text of PO using file to rfc scenario the file should not be send to target system but if i change quantity or delivery date or vendor or material number using fiel to rfc then only file should be send to target system. And one more thing is my bapi will update only those two fields Your Reference and Item Text. But in current situation xml file is sending to target system when i update the PO using file to rfc scenario this should not happen. How can i handle this situation in XI . Is it possible to do like this.
Your help is greatly appreciated.
Thanks & Regards,