Skip to Content
avatar image
Former Member

hi all bdc session

hi all expert please

i want to know how to trap error in session method??

enduser do not want to go to sm35 ..

please note: bdcmsgcoll is for call transaction method only, so pl do not answer releted to call transaction.

is there any way i can trap through coding or using FM or reading table???

thanx

rocky

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 16, 2007 at 10:47 AM

    Hi

    the error handling is not possible in session method u should go sm35 and check in error lod and correct the error records manually if there is a large number of records either u have to change program or flat file

    reward points to all helpful answers

    kiran.M

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 16, 2007 at 04:34 PM

    You see if u are using session method to upload, then u might have to use SM35 to check for errors. but if u are using call transaction, u can do one thing..

    BDC_OPEN.

    loop.

    perform statments.

    call transaction....

    if sy-subrc NE 0.

    BDC_insert.

    endif.

    endloop.

    BDC_CLOSE

    • here u have inserted only error records into session.

    you could get a return parameter from BDC_OPEN which contains the que ID.

    use this que ID... and call transaction SM35 by skipping screen or smting like that.

    i hope it solves your problem.

    C H E E R S

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 16, 2007 at 05:11 PM

    Why don't use standard programs and download it and sent to email..

    I am able to see below programs in 4.6C Version

    RSBDCLOG

    RSBDCOLG

    Thanks

    Seshu

    Add comment
    10|10000 characters needed characters exceeded