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

Former Member
0 Likes
545

How to handle warning messages in BDC-call transaction method,

The process is continuing only if i press 'enter' manually,how to handle this.

Plz help me out..

Thanks a lot.

Ramya

5 REPLIES 5
Read only

Former Member
0 Likes
522

Hi

No need to worry about the warning message in call transaction

in 'N' Mode they are automatically taken care.

Just check for a single record by eeping the bdc mode 'N'

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

Former Member
0 Likes
522

hi,

you give the update mode as <b>A</b>

regards velu....

Read only

Former Member
0 Likes
522

hi,

try like this....

you can execute the call transaction technique in NO-DISPLAY mode in that case no user interaction is required to processing, all the error records are placed in the BDCMSGCOLL table.

CALL TRANSACTION <name> USING bdcdata
                                              MODE N
                                              UPDATE <S/A>
                                              MESSAGES INTO bdcmsgcoll.

after format the messages using FORMAT_MESSAGES function module.

<b>or</b>

you can execute the call transaction technique in NO-DISPLAY mode in that case no user interaction is required to processing.

CALL TRANSACTION <name> USING bdcdata

MODE N

UPDATE <S/A>.

IF SY-SUBRC <> 0.

*****here call session method for handling error records.

CALL FUNCTION BDC_OPEN_GROUP. "for crating session.

CALL FUNCTION BDC_INSERT. " to add transaction name and bdcdata table with error records.

CALL FUNCTION BDC_CLOSE_GROUP. "for closing the session.

now all the error records are available in log file, for handling error records you must work with SM35.

regards,

Ashok Reddy

Read only

Former Member
0 Likes
522

Hiii

you can also set the Options of BDC ..

Define a structure

l_opt type CTU_PARAMS

then pass the values to this

l_opt-DISMODE = 'A'.

l_opt-UPDMODE = 'S'.

l_opt-CATTMODE = ' '.

l_opt-DEFSIZE = ' '.

l_opt-RACOMMIT = ' '.

l_opt-NOBINPT = 'X'.

l_opt-NOBIEND = ' '.

then write

call transaction '' using table options fron l_opt .

This will solve ur problem

Reward points if helpful

Regards

Hitesh

Read only

Former Member
0 Likes
522

And also, most importantly, you can press the F1 button in the ABAP editor and get help about BDC's and call transactions and you would have been able to see all this for yourself.

Gareth.