12-03-2007 12:10 PM
HI,
I have done a BDC in which runs in E mode but some sucess message in Green comes and wait for the user to press enter, Please tell me to over come this.
regards,
Prabhu
Points assured.
12-03-2007 12:17 PM
Hi Prabhu,
data : msgtab type standard table of BDCMSGCOLL.
Use CALL TRANSACTION .... MESSAGES INTO msgtab.
In this case all messages (S,E,I) will be collected in msgtab.
Regards
Megha
12-03-2007 12:13 PM
Hi,
Then you need to handle one more OKCODE before using call transaction.
Regards,
Satish
12-03-2007 2:05 PM
12-03-2007 12:17 PM
Hi Prabhu,
data : msgtab type standard table of BDCMSGCOLL.
Use CALL TRANSACTION .... MESSAGES INTO msgtab.
In this case all messages (S,E,I) will be collected in msgtab.
Regards
Megha
12-03-2007 12:34 PM
for this change the mode to N and check for error messages after call transaction for each record .
this is possible by :
IF sy-msgty NE 'E' AND sy-subrc EQ 0.
this means no error and move this recod in success file
else
this means error is thier and move this record into error file
endif.
this is the best way.
plz reward point if helps.
regards,
rahul