Application Development and Automation 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: 
Read only

BDC running inconsistent

Former Member
0 Likes
929

Hi,

We have made a BDC which opens a project in CJ20n transaction. Project is scheduled and saved and BDC is over.

This is running perfectly in quality system. But in production system BDC program runs 2-3 times correctly and then it stops working. After debugging we found that BDC is opening the project and sceduling the project correctly in CJ20n tcode but on saving the project after some seconds of processing it just throws to SAP initial screen and project did not get saved.

Kindly suggest.

Thanks,

Harsh.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
852

Hi,

We debugged till the end and found the issue. Issue was coming because of some user exit is written for SD module. That particular exit ends the CJ20n BDC without any updates.

We have made changes to that exit and now our BDC is running fine.

Also, for enjoy transaction we can have BDC but we have to care that screen flows remain constant each time.

Thanks,

Harsh.

5 REPLIES 5
Read only

former_member201275
Active Contributor
0 Likes
852

It could be because CJ20N is an Enjoy SAP Transaction, it is not really easy to use this effectively in BDCs. Also there are popups in this transaction and these are difficult to take care of.

Maybe try:

BAPI: BAPI_PROJECT_MAINTAIN to create & maintain a Project. check the BAPI documentation for the details.

Else use Tx. CJ20 in the BDC.

Read only

0 Likes
852

Yes, this being an Enjoy t-code will not work smoothly.

Read only

gurunathkumar_dadamu
Active Contributor
0 Likes
852

Hi Harsh,

Yes while uploading the data for Enjoyable transactions is not easy task by using BDC. better to have use BAPI -  'BAPI_PROJECT_MAINTAIN'.

Regards,

Gurunath Kumar D

Read only

former_member201275
Active Contributor
0 Likes
852

Hi Harsh,

Did any of the answers help or fix your issue?

Read only

Former Member
0 Likes
853

Hi,

We debugged till the end and found the issue. Issue was coming because of some user exit is written for SD module. That particular exit ends the CJ20n BDC without any updates.

We have made changes to that exit and now our BDC is running fine.

Also, for enjoy transaction we can have BDC but we have to care that screen flows remain constant each time.

Thanks,

Harsh.