Hello, When i make docommit, i get api_exception.e_concurrencyVialotion. For me need datasource name , what have problems.

Example

Procedure BTN_SAVE
is
  grp_ds api_datasource.tt_datasourcenames; 
Begin
     grp_ds(0) := 'DS_1';
     grp_ds(1) := 'DS_2';
     grp_ds(2) := 'DS_3';
    api_datasource.docommit(grp_ds); 
Exception 
  When api_exception.e_concurrencyVialotion then
         er_Debug.debug('e_concurrencyVialotion' || ?????WHAT_DATASOURCE_NAME ??????);

End;

Thanks

asked 02 Dec '13, 06:51

AlfAbetas's gravatar image

AlfAbetas
611417
accept rate: 9%

edited 02 Dec '13, 07:14

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5


Hi,

Please try committing the datasources one by one instead of as a group. This way, you can tell which one has failed if there is an error.

Kind regards,
Yalim

link

answered 02 Dec '13, 08:10

Yalim%20Gerger's gravatar image

Yalim Gerger ♦♦
1.8k5
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×5

Asked: 02 Dec '13, 06:51

Seen: 908 times

Last updated: 02 Dec '13, 08:10


© Copyright Gerger 2017