Skip to Content
0
Former Member
Jul 11, 2014 at 09:18 AM

How to create new records and append them in result package?

316 Views

Hello Experts,

I have a requirement like this:

1.Firstly we will be having a record(marked in blue) like this in result package.

2.Then based on the Range From and Range To values we need to look up values which lies with that range from q-table of master data 0COSTELMNT.

3.If record is found append the same as new records(marked in red) in the same result package.

I have created an internal table all the data of q-table.Now how can we compare the stored values of internal table which lies in between Range From and Range To of result package and populate the same as new records in the same result package?

Please help.

ID

InfoObject

Node name

Level

Range From

Range To

6.0

0HIER_NODE

COGBV11110 001

6

COGB0000401100

COGB0000401112

6.1

0COSTELMNT

COGB0000401101

6 6.2

0COSTELMNT

COGB0000401104

6 6.3

0COSTELMNT

COGB0000401108

6 6.4

0COSTELMNT

COGB0000401110

6

Thanks and Regards,

Soumya Roy.