Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problems using BDC and/or HR_INFOTYPE_OPERATION

Former Member
0 Kudos

Hi Gurus.

Our team is developing several inbound HR interfaces but in integrated test in QAS env something really strange is happening during the tests.

We are using BDC data for data input in infotypes 0000 and 0001 through PA30 and for all the other infotypes we use HR_INFOTYPE_OPERATION.

Sometimes data input for 0000 and 0001 works, sometimes no, our table log gives us that the data was processed but when we check on the infotypes there is no data there. The BDC mapping was checked several times and we did some tests in another enviroment, everything is ok, the data is processed but in QAS we are having this problems.

With HR_INFOTYPE_OPERATION, when we run in background mode it give us strange error logs like "a complex application error occurs" but when i did a debug inside of that FM there is nothing missing or nothing wrong.

The enviroment seems to be very instable but basis teams says that there is no log error, but i've never seems errors like these, sometimes works, sometimes no.

The last info that i had is QAS instance that we are using was deleted 3 weeks ago and restored again.

Any suggestions?

Thanks a lot.

1 ACCEPTED SOLUTION

Emre_tr
Active Participant
0 Kudos

hi,

did you check ST22 transaction it gives you something i think. i had seen an error like yours in background , the reason was personel pictures in PA30 and error was CNTL_ERROR. when i removed this personels picture, the batch worked successfully.

4 REPLIES 4

Emre_tr
Active Participant
0 Kudos

hi,

did you check ST22 transaction it gives you something i think. i had seen an error like yours in background , the reason was personel pictures in PA30 and error was CNTL_ERROR. when i removed this personels picture, the batch worked successfully.

Former Member
0 Kudos

Hi Hastan.

In fact there is no DUMP message about it in ST22.

Thanks.

Former Member
0 Kudos

Hi,

If your BDC mapping is correct, check the return code after your BDC is excuted with - BDCMSG. Make sure that you give Refresh BDCDATA for every loop.

Having said this, I have also had issues with BDC every there was no error at the end, however the infotype never got updated.

Please double check all the relevant screens. I found that for a particular Inf that I was updating, the subtypes belonged to differnt screens. Can you test with the same data in your Dev or some other box? If that doesnt work, there might be a data issue.

Generally the complex application error occurs when a screen have been modified to prohibit batch processing. It is very difficult to diagnose the error in such cases. Make sure that you are passing all the important data to the FM. You might be able to get more help by searching in this forums as well.

Regards, Liz

0 Kudos

Hi Liz. Thanks for your reply.

I will try.