‎2007 Nov 15 7:24 AM
Hi
i am populating 0requester by calling this form "bbp_get_requester"
when this doent find any values then what wud be the return code and how i will handle it? because when this form doent find values it is not allowing to load data instead it throws an error "Record 1 :No value found for attribute 0REQESTER for InfoObject 0USERNAME = ".
please tell me how will i handle it?
following is the code for 0REQUESTER in transfer rules.
DATA: l_s_errorlog TYPE rssm_s_errorlog_int.
DATA: l_s_errorlog TYPE rssm_s_errorlog_int.
data: l_rc type i.
perform bbp_get_requester using TRAN_STRUCTURE-afnam
RECORD_NO
g_s_minfo
changing RESULT
g_t_errorlog
l_rc.
returncode <> 0 means skip this record
RETURNCODE = l_rc.
abort <> 0 means skip whole data package !!!
ABORT = 0.
Full points will be assigned.
Thanks & Regards,
Vijaya
‎2007 Nov 15 7:27 AM
Hi the returncode will come to L_RC. If the l_rc value is zero then you can consider that as Success. Not equal to zero means treat that as no data found. That's it. Generally the return code will be 4 or 8 for not found. But any not zero value indicates error.
‎2010 Dec 21 8:27 AM