Hi Abhisek, thanks for your time posting. The link (Waman post) is exactly what i was looking for about point 3.
I still have a question about point #1. Could you explain me under what circumstances i see this error message KE396
My test include variants of :
+ Create Sales Order, OutboundDelivery, Goods Issue, Invoice. System create PA-DOC 551, with PA-Segment 502
+ Change KEQ3, set Customer as NotUsed.
+ Reverse Invoice, and reverse the OutboundDelivery & Goods Issue. System create PA-DOC 552 with PA-Segment 504
Here is KE24 and CE4 table
In all my test i dont see error message KE396. In the reverse document, the system create a new PA-Segment.
+ In table CE1, the original document and the reverse doc have different PA-Segments.
+ I debug the PA segment creation ( program RK2Axxxx_POST) and what i understand is the system online determine the PA Segment (not use the CE1 field PA-Segmen). Because the key in the select is not compleate (field CUSTOMER is BLANK in the reversal due to the change in KEQ3), dont find the OLD PA segment ( 502 in my example) and create a new one.
Thanks.