2013 Nov 06 8:37 AM
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
2013 Nov 06 8:44 AM
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
2013 Nov 06 8:53 AM
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
2013 Nov 06 9:10 AM
Check once again your SHDB recording other wise
share you code to know your problem...
2013 Nov 06 9:10 AM
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
2013 Nov 06 9:38 AM
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
2013 Nov 06 9:47 AM
Hi Raymond,
In BAPI , I am not able to find total cost plan field.
thats why I am going for BDC.
Regards,
Abhinav
2013 Nov 07 8:29 AM
Hi All,
Thanks for your reply. My issue got resolved through BAPI.
Regards,
Abhinav
2013 Nov 07 12:33 PM
So I can assume you finally found total cost plan field
Regards,
Raymond
2013 Nov 07 3:52 PM
Yes Raymond I got that field in BAPI it was fix value.
Regards,
Abhinav