Hi Experts,
I have a requirement where I need to resent counter to default,
my scenario is JDBC to IDoc, and JDBC sender message can have multiple records.
<Row>
<OrderNumber>
<OrderDate>
<InvoiceInfo>
<CraeteDate>
<OderDescription>
</Row>
I create multiple IDocs based on Order number, if same order
number means I create one IDoc with multiple header segment E1EDKA1,but I need
to generate one counter value under E1EDKA1 segment, counter starts with 001
002 003 004 , if I have 4 order records with same order number.
If I have multiple oders records with multiple orders numbers then first IDoc should have counter 001 and even second IDoc header segment
should have counter 001.
Standard Count function not reseting the value to 001 in second record.
Regards,
SAPHELP