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: 

UPDATE( SAPUP50R) to update table of custome infotype ,subroutine abnormal

Former Member
0 Kudos
352

hi,

I am using

PERFORM UPDATE(SAPUP50R).

to update database table pa99XX of a custom infotype ,

this works fine when used in the report program , but the subrioutine UPDATE(SAPUP50R) fails to update the database table when used inside a functional module.

pls help me.

thanks ,

avakash.

1 REPLY 1

Former Member
0 Kudos
95

Make sure that you call that subroutine in exactly the same way as in the report. All the subroutines of SAPUP50R that are called by that report prior and after UPDATE should be probably called in your FM as well, if report calls 'commit work', your FM should do the same.