While creating sales order the internal table of type VBAP is sorted based on the fields VBELN, UEPOS and POSEX. VBELN is same for all the items, UEPOS is 0 for all items and POSEX is blank for all items. In a case where line items are 10, 20, 30 to 220, then SORT statement did not have any impact on the internal table. If the line item exceeds 220, say a new line item is added as 230, then the items are sorted descending 230, 220 to 10. Can somebody please explain the reason for this behavior?
Regards,
Vignesh M