Skip to Content
0
Former Member
Jul 18, 2008 at 05:44 AM

bdc message duplication

41 Views

hi experts,

i am done a bdc using transaction 'FBS1 & F.81' programm execute right but i am get the duplication in success message

as like this

SUCCESS MESSAGE.

document no 110005578 posted in company code 9101

PROCESSING COMPLETED----


>DUPLICATE MESSAGE

PROCESSING COMPLETED----


>

for two or more than records in flat file the duplicate error message are increase plz give me tips for this

my code is as

i am write error and succes message in perform statement using forms.

FORM write_message.

LOOP AT it_messtab." INTO wa_messtab .

CLEAR message.

CALL FUNCTION 'FORMAT_MESSAGE'

EXPORTING

id = it_messtab-msgid

lang = 'EN'

no = it_messtab-msgnr

v1 = it_messtab-msgv1

v2 = it_messtab-msgv2

v3 = it_messtab-msgv3

v4 = it_messtab-msgv4

IMPORTING

msg = message.

CASE it_messtab-msgtyp.

WHEN 'S'.

WRITE:/ message.

CLEAR message.

WHEN 'E'.

FORMAT COLOR 6 ON.

WRITE:/ message.

CLEAR message.

ENDCASE.

ENDLOOP.

thanks jayant