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: 

BDC_OKCODE

Former Member
0 Kudos
205

Hi Guys,

I would like to asked for your help regarding BDC_OKCODE. I need the system to accept automatically the BDC_OKCODE rather than ticking the check box to accept the BDC_CODE. Thanks in advance!

Regards,

Michael Nacionales

1 ACCEPTED SOLUTION

Former Member
0 Kudos
150

try changing the mode in which you are calling the transaction.

if you use the mode N the pop up will not appear.

and if you use mode E then the pop up will appear only in case of an error.

CALL TRANSACTION <tcode>

USING <bdc_data_table>

MODE <A/E/N>

UPDATE <S/A/L>

MESSAGES INTO <message_table>.

  • MODES -> mode of transaction

  • A - interactive

  • E - Screen only on Error

  • N - Background

  • UPDATE -> update for transaction

  • S - Synchronous

  • A - Asynchronous

  • L - Local

7 REPLIES 7

Former Member
0 Kudos
151

try changing the mode in which you are calling the transaction.

if you use the mode N the pop up will not appear.

and if you use mode E then the pop up will appear only in case of an error.

CALL TRANSACTION <tcode>

USING <bdc_data_table>

MODE <A/E/N>

UPDATE <S/A/L>

MESSAGES INTO <message_table>.

  • MODES -> mode of transaction

  • A - interactive

  • E - Screen only on Error

  • N - Background

  • UPDATE -> update for transaction

  • S - Synchronous

  • A - Asynchronous

  • L - Local

0 Kudos
150

when I am calling the transaction

example:

CALL TRANSACTION 'ME21N'

USING li_bdctab

MODE 'N'.

It doesnt go to the transaction ME21N. Nothing Happens. Is there a problem with my code? without the MODE 'N'. It works properly though. THanks!

0 Kudos
150

this means that there is some error in your bdc. try calling the transaction with mode E and check for any error.

0 Kudos
150

It's not working... But I think your right there are errors in my BDC. Thanks for helping!

0 Kudos
150

most definitely, to give you one more tip, check if you are populating the bdctab properly. and check if you are trying to access a field thats not present in that screen. and also check if you are marking the field dynpbegin(may not be the exact field) as X when you move one from one screen to another.

0 Kudos
150

Ei. its working! thanks for helping using MODE E really helped me solving my problem. The field I am populating is not yet present on the screen. I needed to drop down the screen to make the field present in the screen and populate it after. Thank you very much! cheers!

Regards,

Michael Nacionales

0 Kudos
150

Not a problem, happy to know you got it working...