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: 

Message Type is Empty ?

Former Member
0 Kudos

Hello All,

I'm calling a standard Function Module .

After the processing depending on the sy-subrc values it has to raise the exceptions.

But in my case the message type is coming as space and so it's going for a dump.

How should i handle this ?

Regards,

Deepu.K

4 REPLIES 4

Former Member
0 Kudos

Hello,

This is because of the error in the input parameters you are passing to the FM:

SAP doesn't have the approitiate message for this error.

So corrects the input to the FM and check.

Regards,

Vasanth

Former Member
0 Kudos

Sometimes the SY-MSG* fields don't get populated after the call to a function module. Instead, when SY-SUBRC <> 0, issue your own custom message based on the exception raised.

0 Kudos

Hello all,

I want to know why the sy-msgty is not being populated.

My Input parameters are correct But the data is not there for my Input.

I knew it .....But still tried to check .

I don't want to give my message Instead I want to know why SAP is not populating that or is there any error from my side ?

Regards,

Deepu.K

Former Member
0 Kudos

Sometimes the SY-MSG* fields don't get populated after the call to a function module. Instead, when SY-SUBRC <> 0, issue your own custom message based on the exception raised.