‎2009 Jun 04 8:46 AM
Hi,
I have a bug in following code which is strange
DATA: l_count_age TYPE i.
l_container TYPE string,
*--Find 'Number of Records in ITAB t_msg_tab_age
DESCRIBE TABLE t_msg_tab_age LINES l_count_age.
l_container = l_count_age.
*--Minutes-Value
CLEAR: lt_container.
lt_container-element = 'VALUE'.
lt_container-tab_index = 7.
lt_container-elemlength = 8.
lt_container-type = 'C'.
lt_container-value = l_container.
APPEND lt_container.
CLEAR l_container.
CALL FUNCTION 'SALERT_CREATE'
EXPORTING
ip_cat = t_proact-alrct
TABLES
it_container = lt_container
EXCEPTIONS
alert_category_unknown = 1
alert_no_recipients = 2
alert_error_unknown = 3
OTHERS = 4.
sometimes
l_count_age holds value 1, after the FM also but while getting a alert mail l_count_age value is 0.000
And somtimes
l_count_age holds value 5, after the FM also but while getting a alert mail l_count_age value is 5
Is that there is some problem in FM or a declaration problem please guide me.
Regards,
Savitha.
‎2009 Jun 04 9:04 AM
hai savitha ,
r u getting worng values or what si the problem
declaration is correct and also callign function module
as u r assigning integer to character may be some problem
but after funcion module call u said ur getting 1 as .000
and 5 as 5 can u just clarify that
m.a
‎2009 Jun 04 9:53 AM
Hi,
l_count_age hold N values suppose n = any number
In alert mail l_count_age = N sometimes and sometimes l_count_age = 0.000.
Thanks in Advance,
Savitha.
‎2011 Mar 08 2:02 PM
hai savitha,
can u give me detailed description about this fm please?