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: 

Regarding update function module

Former Member
0 Kudos

Hi all,

This is regrding update function module

How to handle errors in update function module

Can exception be used in Update function modules

while calling in update Task

if we can use please let me know how to do so while calling in Update task.

Regards,

siva chalasani.

3 REPLIES 3

Former Member
0 Kudos

Hi,

What kind of errors u wanna rectify,

U can debug the FM in update mode.

vinod_vemuru2
Active Contributor
0 Kudos

Hi,

U can handle ur errors through Exceptions specified in the function module. If it does not work then try to pass one internal table under tables parameter for errors. Collect all the errors in ur FM in this table. After calling this FM u can read this table and give appropriate messages.

Thanks,

Vinod.

0 Kudos

Hi Vinod,

Just wanted to say...

your answer solved my problem.

I needed to pass my error records into a internal table and from there to notepad using GUI_DOWNLOAD.

The following is my function module....

RHPP_Q_PROFILE_WRITE

It has under TABLES-- 'err_profile' to capture error records.

So, I passed a internal table in " err_profile" to capture the errors.

And then passed this internal table in GUI_DOWNLOAD.

Regards,

Hari Kiran

Edited by: HARI KIRAN REDDY on Aug 12, 2008 12:20 PM