This is an SAP question and would be better addressed in one of the SAP forums.
But I can make a stab at it. If the incoming ORDCHG is updating the PO in SAP, or if the order is being changed manually, a record of the data that was changed is stored in the change document database. Change pointers can be set up in the ALE IMG to automatically generate IDocs thru program RBDMIDOC whenever a change is recorded to particular fields within an order. Now whether or not that would set any change flags in the generated IDoc would be a matter for testing but the Action field of header segment E1EDK01 does contain qualifiers that flags changes to the header or item. If your flags are not automatically set thru this change process, you may need to write a little user exit code when your ORDRSP is generated after a change. I’ve done this with the outbound Bill of Materials, using IDoc BOMMAT, where I had to identify changes in the change document database and record them in custom segments before exporting the IDoc. This stuff is not very difficult to do but you need to know ABAP. Good luck. Emmanuel Hadzipetros SAP-EDI Consultant Be sure to read my book "Architecting EDI with SAP IDocs", now available at: http://www.sappress.com/product.cfm?account=&product=H3003 Check out my website at: http://sap-idoc2edi-consulting.com/ And my blogs at: http://blogs.ittoolbox.com/sap/ehadzipetros http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/u/252038725 From: [email protected] [mailto:[email protected]] On Behalf Of Leah Halpin Sent: Thursday, October 14, 2010 9:19 AM To: Sven Buttler; [email protected] Subject: Re: [EDI-L] POCA message with SAP backend Hi Sven, Is this a trick question? You received an ORDCHG, that means there was a change. Or are you asking how to tell a "change" response ORDRSP from another type of ORDRSP? I've not used these, so I can't tell you, but I was wondering which question you were asking. The answer will lie within SAP, though, this is an ERP function, not an EDI one. Or at least it shouldn't be. Leah ________________________________ From: Sven Buttler <[email protected] <mailto:sven.buttler%40de.enersys.com> > To: [email protected] <mailto:EDI-L%40yahoogroups.com> Sent: Thu, October 14, 2010 10:16:53 AM Subject: [EDI-L] POCA message with SAP backend Hi all, I have a customer that is asking us to send a Purchase order change acknowledgement message (basically an Edifact ORDRSP with change indicators) for each ORDCHG they send us. We set up ORDRSP IDocs in SAP for this customer and enabled ORDRSP change messages ("change message" checked in WE20) however the ORDRSP that gets generated on order changes (e.g. VA02) does not carry any change flag. Any idea how I will be able to tell if any changes have been made in the order? Thanks & best regards Sven Hawker GmbH Dieckstrasse 42 58089 Hagen Deutschland Internet http://www.enersys.com Sitz der Gesellschaft/Gerichtstand: Hagen Registergericht: Amtsgericht Hagen, HRB 3291 Steuernummer: 321/5717/1673 Geschaeftsfuehrer: Wolfgang Glittenberg Diese Mitteilung erfolgt vertraulich und nur zum Gebrauch durch den oder die Adressaten. Sie kann Betriebs- oder Geschäftsgeheimnisse oder sonstige geschützte Informationen enthalten. Sollten Sie diese Mitteilung irrtümlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielfältigung oder Weitergabe dieser Nachricht ausdrücklich untersagt. Bitte benachrichtigen Sie uns und löschen Sie diese Nachricht und alle Anhänge. Vielen Dank. This message is confidential and only intended for the use of the addressees. It may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this message by mistake, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and delete this message and all attachments. Thank you. [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] [Non-text portions of this message have been removed] ------------------------------------ ... Please use the following Message Identifiers as your subject prefix: <SALES>, <JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC> Job postings are welcome, but for job postings or requests for work: <JOBS> IS REQUIRED in the subject line as a prefix.Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/EDI-L/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/EDI-L/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
