Skip to Content
0

$batch issue - duplicate records

Jan 17 at 10:46 AM

41

avatar image
Former Member

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

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

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...


Share
10 |10000 characters needed characters left characters exceeded