Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8451

Re: BDC using HR_INFOTYPE_OPERATION getting error: The requested object is locked by your own transaction

$
0
0

Hi,

 

Try,

 

Sort your internal table by pernr.

 

use control break statements.

 

AT NEW  PERNR.

 

     call function 'BAPI_EMPLOYEE_ENQUEUE'
       exporting
         number        = wa_0008-pernr
      IMPORTING
        RETURN        = l_return1


ENDAT.


AT END OF PERNR.

     call function 'BAPI_EMPLOYEE_DEQUEUE'
       exporting
         number        = wa_0008-pernr
*     IMPORTING
*       RETURN        =

ENDAT.



Hope it helpful,


Regards,

Venkat



Viewing all articles
Browse latest Browse all 8451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>