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

BDC message parameter(MSGTYP) by default coming Success

soumya_ranjan_patel
Participant
0 Likes
842


Hi,

In my BDC program by default the message type is coming success, whatever flat file I pass.

Does anybody have any idea about this, letme know(kind of urgent).

Thanks,

Soumya Ranjan Patel.

5 REPLIES 5
Read only

jogeswararao_kavala
Active Contributor
0 Likes
791

Hi Soumya,

The file should not be open, while you run the BDC program.

Is this the case?

Jogeswara Rao K

Read only

Former Member
0 Likes
791

Can you elaborate?

Read only

jogeswararao_kavala
Active Contributor
0 Likes
791

Hi Soumya,

Please share with the forum how the issue was resolved.

Jogeswara Rao K

Read only

0 Likes
791


Hi Jogeswara,

That particular issue was not xactly sloved. I will say found an alternative way to handle error.

Actually what happened was even after call transaction was failing "BDC_MSGCOLL-MSGtyp" was giving "S" means success. So, to handle  this problem I wrote "SY-SUBRC" check after call transaction statement.

     So when BDC_MSGCOLL-MSGtyp = 'S' and SY-SUBRC NE 0, then only I was cosidering that particular call transaction successful.

So, if you have any other way to handle this issue, kindly share with me.

Thanks.

Read only

0 Likes
791

Thank you, Soumya