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: 

CJR2 BDC issue

Former Member
0 Kudos

Hi Gurus,

I am facing some issues in CJR2 transaction BDC.

If I logon to the system and executes CJR2 it will ask for controlling area,here I am passing controlling area to screen. But next time it wont display this screen and BDC call transaction  message will give SY-subrc = 1001.

How can I restrict that transaction is exected for the first time. Is there any system variable ?

Regards,

Abhinav

9 REPLIES 9

Former Member
0 Kudos

Hai Abhinav,

Please follow the below link  which is releated to ur issue

http://scn.sap.com/thread/37214

My suggestion is to better opt BAPI rather than BDC.

Please go through the link provided below for BAPI.

http://scn.sap.com/thread/956892

Thanks,

S.Rajendranath Raparthi

0 Kudos

Hi Sesh,

Thanks for your quick response. In CJR2 bapi is not working. thats why I am going for BDC.

the thing is when I executes the transaction and executes the BDC it works fine because I am passing controlling area in screen 300. But for next record this screen wont come. this sets sy-subrc =1001

0 Kudos

Hi

Check once again your SHDB recording other wise

share you code to know your problem...

0 Kudos

Hi,

While recording, can you choose extras -> set controlling area.

I think by this way , every time it will prompt you to enter controlling area value.

Please try and let me know.

Best Regards,

Abirami

raymond_giuseppi
Active Contributor
0 Kudos

This popup will occur everytime the PARAMETER ID 'CAC' is initial. So you could either record a default perimeter in the user default parameter, or add a first call of the transaction without data or manage first and following call with a different recording. If multiple perimeters in your BDC, then record the Extras, Set Controling Area navigation in every transaction.

Dare I ask, what was the problem with the BAPI ?

Regards,

Raymond

0 Kudos

Hi Raymond,

In BAPI , I am not able to find total cost plan field.

thats why I am going for BDC.

Regards,

Abhinav

Former Member
0 Kudos

Hi All,

Thanks for your reply. My issue got resolved through BAPI.

Regards,

Abhinav

0 Kudos

So I can assume you finally found total cost plan field

Regards,

Raymond

Former Member
0 Kudos

Yes Raymond I got that field in BAPI it was fix value.

Regards,

Abhinav