Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BDCMSGCOLL unwanted messages?

Former Member
0 Likes
491

HI all,

After executing my CALL TRANSACTION ,I am capturing message into BDCMSGCOLL.

Now i am passing these message to FORMAT_MESSAGES FM,Its giving all success messages in display.

Which are not required to capture.

Like

2 items were selected.

Amount is too large for clearing

I just want to display posted document number or error document number.

Can any body suggest reg this.

Sachin.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
449

Hi,

u can get the message no of the success message and while passing to the format nessage pass only messages with

1. message type 'E' this is for ERROR messages

2. message type 'S' message no '324' --- this no must be the success message no of the document post

so will get the required messages only

HI all,

After executing my CALL TRANSACTION ,I am capturing message into BDCMSGCOLL.

Now i am passing these message to FORMAT_MESSAGES FM,Its giving all success messages in display.

Which are not required to capture.

Like

2 items were selected.

Amount is too large for clearing

I just want to display posted document number or error document number.

Can any body suggest reg this.

Sachin.

2 REPLIES 2
Read only

Former Member
0 Likes
450

Hi,

u can get the message no of the success message and while passing to the format nessage pass only messages with

1. message type 'E' this is for ERROR messages

2. message type 'S' message no '324' --- this no must be the success message no of the document post

so will get the required messages only

Read only

0 Likes
449

In addition to Madhukar's suggestons, I would include those messages of type 'A' to pick up any additional error messages.