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

Regarding return message from custom transaction

Former Member
0 Likes
710

Hello all,

i have a scenario where i am calling a custom transaction and trying to get return messages, but i am not getting any return message instead i am getting error message in that transaction even if i am using mode 'N' in my call.

Do my custom transaction need to follow some methodology which will return error message, as messages are returned when standard call transaction is made.

Thanks

raju N

4 REPLIES 4
Read only

Former Member
0 Likes
660

Are u using the following command?

CALL TRANSACTION 'SE38' USING BDCDATA MODE 'N'

MESSAGES INTO ITAB.

You have to declare a table itab as type of MESSAGES. In the 'itab-MSG_TYPE' you will find the error or success type and in 'itab-MSG_TXT' you will find the reason of error or success message.

Read only

0 Likes
660

hello abishek,

i am using the same, but calling a custom transaction. even if there are errors i am not getting any return values in to my message table instead its stopping there in that custom transaction and showing error message.

in custom transaction they are using syntax 'message id' to display error message.

Thanks

raju N

Read only

0 Likes
660

are you getting 'itab-MSG_TYPE' value there or you are not getting a empty message table??

Read only

0 Likes
660

hello abi,

i am getting a empty message table, thing is that from the custom transaction they are calling other standard transaction and getting error message. if any error occurs they are using 'message id' syntax and displaying and if any error occurs internally in that transaction they are using 'message e001'. this kind of error messages are returned to my call transaction but the other one is not getting populated.

Thanks,

raju N

Message was edited by:

krishnam Raju N