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

Function module not returning table

dayakar_sama
Explorer
0 Likes
597

Hi All,

I am using the function module ALM_ME_MOBILE_STATUS_CHANGE for deleting a system status by passing the object number.

But is not returning the messages.

Please help.


regards,

Sama

Moderator message: please do not post duplicates.

Message was edited by: Thomas Zloch

2 REPLIES 2
Read only

Former Member
0 Likes
544

Hi sama,

I guess, the FM ALM_ME_MOBILE_STATUS_CHANGE would return message only when it has failed to delete the system status, Please check the following lines 44-78,151- 184.

To my understanding, it would return message only when it failed to delete the system status. Please correct me if am wrong.

Cheers,

Sherif

Read only

Puneet_Gupta
Contributor
0 Likes
544

hi dayakar,

Agree with Sherif, if you look at the code,   line 172 right after the status update, the message is returned only when there is a failure. If the call is successful (sy-subrc = 0)  then it goes straight to commit .

For your requirement please ensure whether you need to pass the order id or the notif id and the commit flag is set to 'X' for update.

- Puneet