Skip to Content
avatar image
Former Member

Standard error in BDC

Am automating the creation of service contract tcode ME31K, I have checked for BAPI or BADI i didnt get so i did in BDC - call transaction method.

When the BDC gets into one screen to next screen. From screen level they have set a check for mandatory field(Standard) so it will give us error "Fill all mandatory fields".

Problem is, when error come's BDC will stop.

To avoid the error and run the BDC successful please suggest some solution.

I have attached error screen.
Thanks in Advance,

Vinu Natarajan

bdc-1.jpeg (59.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Mar 24, 2017 at 08:27 AM

    Supply the mandatory data?

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 24, 2017 at 12:24 PM

    BDC will work the same way how u do manual entries, if its asking u mandatory field to enter through manual, then definitely BDC also going to ask u the same things.

    use call Transaction method instead of Session method bec CT will process all the record and at the end of the work it will show u error in BDCMSGCOLL table and u can check the problem later on.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      @Paul - Thank you.

      Am using call transaction method only. BDC is not processing at all when error populate in screen level. Because it is mandatory check error.

    Further commenting has been locked.
  • Mar 28, 2017 at 09:34 AM

    To my knowledge, BDC won't be processed further when an error occurs because that particular BDC has ended with error. Consider you have to execute ME31K thrice for 3 items,

    loop at the main table which holds the 3 items.

    refresh bdcdata.

    populate BDCdata for 1st item.

    call transaction 'me31k' using bdcdata mode 'a' messages into bdcmsgcoll. (in this case if BDC ended in error for 1st item, error messages will be in bdcmsgcoll , then it will proceed to process the 2nd item.)


    Above is the process you need to follow for BDC via call transaction.

    This will process the 2nd item though the 1st item went into error because everything is within loop and bdcdata is populated for each item everytime within loop.

    hope this helps.

    Add comment
    10|10000 characters needed characters exceeded