Skip to Content
avatar image
Former Member

$batch issue - duplicate records

Hi all,

I'm working with OData v2, and I have an issue regarding $batch...

When I make the call, the params have different values:

But the $batch call is sending both records duplicated:

When I'm working with only one record, the $batch call is working fine...

Aditionally, I get the next errors in the $batch call with multiple records:

I'm not sure this is because the records are duplicated, or any other issue...

I've followed all the steps mentioned in others threads, I already redefined the GW methods:

/IWBEP/IF_MGW_CORE_SRV_RUNTIME~CHANGESET_BEGIN

/IWBEP/IF_MGW_CORE_SRV_RUNTIME~CHANGESET_END

/IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_BEGIN

/IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_END

with an EXIT sentence...

Any idea?

Miguel Angel.

create-calls.png (54.7 kB)
errors.png (275.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 17 at 01:56 PM

    Hi again,

    I already fixed the duplicated records, it was a declaration issue... with this declaration works fine:

    oCreateIT9006Data = jQuery.extend({}, this.oCreateIT9006Data);

    BUT I still receiving the same errors when I execute the $batch method with more than 1 record...

    Add comment
    10|10000 characters needed characters exceeded