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 not working in MODE "N"

Former Member
0 Kudos

Hi All,

I have written a BDC for F-37, which is working fine in all screen mode

but not working in "N" mode..

P.S. I have BDC as the only option.

Thanks in advance,

Kalyan Venigalla.

1 ACCEPTED SOLUTION

former_member784222
Active Participant
0 Kudos

If you look at the documentation of CALL TRANSACTION you can pass BDC options which is of type CTU_PARAMS. In this assign 'X' to field 'RACOMMIT' and try to run the BDC in 'N' mode.

DATA: OPT TYPE CTU_PARAMS.

OPT-DISMODE = 'N'.

OPT-UPMODE = 'L'.

OPT-RACOMMIT = 'X'.

CALL TRANSACTION 'F-37' USING BDC_TAB OPTIONS FROM OPT MESSAGES INTO MESSTAB.

Thanks and regards,

S. Chandramouli.

8 REPLIES 8

rob_postema
Participant
0 Kudos

What are the messages you get back in your bdc_message_table?

(PS: you don't have a hard/soft breakpoint set? so the bdc in background (mode N )is waiting for input at that stage?

Former Member
0 Kudos

HI ,

Do one thing use Mode 'P', insted of 'N'.

u want no screen display

Former Member
0 Kudos

HI,

Can you tell me the error thrown by bdc....

Also try using the E mode....

Regards,

Rohan.

former_member784222
Active Participant
0 Kudos

If you look at the documentation of CALL TRANSACTION you can pass BDC options which is of type CTU_PARAMS. In this assign 'X' to field 'RACOMMIT' and try to run the BDC in 'N' mode.

DATA: OPT TYPE CTU_PARAMS.

OPT-DISMODE = 'N'.

OPT-UPMODE = 'L'.

OPT-RACOMMIT = 'X'.

CALL TRANSACTION 'F-37' USING BDC_TAB OPTIONS FROM OPT MESSAGES INTO MESSTAB.

Thanks and regards,

S. Chandramouli.

0 Kudos

will it supress these no screen field messages??

0 Kudos

No, this option does not suppress the 'NO SCREEN-FIELD' messages.

The option which I mentioned will be typically useful while doing BDC with transactions VL01N(Delivery), F-58(Check payment) transactions. BDC in these transactions run successfully in All screens mode even without using this option, but fail if it is run in 'N' mode. It does not return the document number generated. In such scenario we can use this option.

Thanks and regards,

S. Chandramouli.

0 Kudos

Thanks for the reply....

Former Member
0 Kudos

Thanks for all the responses.

There were no error messages collected in message tab after call transaction.

but there were messages like no screen field, which I thought are just warning messages.

when I cleared those its working fine now.