Hi,
as you know, after running KE24 we get a table CE1****,
i need to know how can i group lines by sales sale order?
For example, for a specific sales order (KAUFN) 12345678, how can i find the lines with credit note(s) or other entries associated to this same sales order? The objective is, for exemple, i have a sale order of 20€, but a credit note of 8€, how can i group lines and obtain 12€ (the difference?)
Must i join other tables to CE1**** in a way to group lines by sales order? I'm analysing tables VBRP and VBAP and i can see in NETWR the 20€, my problem are:
- identify where or how is calculated the credit (the 8€)
- connect back to KE24 (by KAUFN), to identify exactly the line with the 8 euros to subtract.
the credit note seems to be placed in structure DOCUMENT_FLOW_ALV_STRUC attrbiute RFWRT...
i also know that this specific credit note nr is 814000857, in what table is this placed??
Regards