Application Development 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: 

BDC message parameter(MSGTYP) by default coming Success

soumya_ranjan_patel
Participant
0 Kudos


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

jogeswararao_kavala
Active Contributor
0 Kudos

Hi Soumya,

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

Is this the case?

Jogeswara Rao K

Former Member
0 Kudos

Can you elaborate?

jogeswararao_kavala
Active Contributor
0 Kudos

Hi Soumya,

Please share with the forum how the issue was resolved.

Jogeswara Rao K

0 Kudos


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.

0 Kudos

Thank you, Soumya