2006 Oct 24 7:30 AM
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.
2006 Oct 24 7:41 AM
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.