Skip to Content
author's profile photo Former Member
Former Member

BDC for ME01 to delete vendors in the source list

Hi ABAP'ers,

I am trying to write a BDC program to delete a particular vendor from ME01 TCODE. My program runs well till deletion after i delete a record it is showing a pop up to confirm and on clicking yes the vendor is deleted. But the source list is not getting saved, or in other words the BDC flow stops after deletion, though i have handled save ok code in my BDC internal table. is there a solution for this.

thanx $ regrds

thrinath k

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2011 at 11:57 AM

    Run in mode 'E' and fix whatever you have missed on your BDC.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 12, 2016 at 03:08 PM

    Hello,

    there's a problem in standard IDOC inbound processing - it can handle only INSERT entries into the source list. Not modify, not delete entries.

    If you are ok with only inserting new entries, I'd suggest you to go th IDOC way.

    Otherwise you can use BDC, but here you can face issues with adressing the correct row with its index (e.g. you can't modify line item on 50th row)

    But I managed to create own code to manipulate with source list items via FM ME_DIRECT_INPUT_SOURCE_LIST - you can check at my blog oprsteny.com

    Add comment
    10|10000 characters needed characters exceeded