cancel
Showing results for 
Search instead for 
Did you mean: 

Unique COUNT of records in Transfer rules

Former Member
0 Kudos

Hello Experts,

I have an Infoobject say ZCOUNT and I want this to be a KEY in ODS.

so that every record is treated as unique in the ODS as

ZCOUNT

1

2

3...so on.

Can any one tell me how to have a ZCOUNT incremented sequentially in the transfer rules for every incoming record.

Can Formula in TS works? or do I need to have a transfer routine?

If so ,please give me steps as I did not find relevant answers in SDN.

Any help is much appreciated !

---Jb

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

create a number range object and update your infoobject via a routine. In the routine call the fm

'NUMBER_GET_NEXT' to get the next higher number and so each record will be unique.

Siggi

Former Member
0 Kudos

Thanks Siggi,

But can you please tell me what I am supposed to give in the export parameters.

nr_range_nr = ? (may be '01')

object = ?

and I uncommented the import parameter NUMBER

DATA:RESULT1 TYPE /BIC/OIZOC_COUNT

Export

nr_range_nr = ? (may be '01')

object = ?

Import

Number = RESULT1

RESULT = RESULT1.

Thanks,

JB