‎2009 Apr 15 7:45 PM
Hello,
I am having issue with following perform. It says datatype note defined even if I defined at the beginning of code.
data: MSG_RET like bapiret2 occurs 0 with header line.
perform inv_valid.
if msg_ret[] is initial.
..............
endif.
form inv_valid.
*if .....
msg_ret-type = 'e'.
msg_ret-message = 'Error during validation'.
*endif...
endoform.
Regards,
Ja
‎2009 Apr 15 7:53 PM
hi ,
Check the data declared in Form routine or global.
if it is declared in global it will not show error.
if it is declared in other form and using in other form..
it will thorw error.
check the declartion...where data is declared and check the period kept after data declaration..
Regards,
Prabhudas
‎2009 Apr 15 7:53 PM
hi ,
Check the data declared in Form routine or global.
if it is declared in global it will not show error.
if it is declared in other form and using in other form..
it will thorw error.
check the declartion...where data is declared and check the period kept after data declaration..
Regards,
Prabhudas
‎2009 Apr 15 7:54 PM
Hi Jainam Shah ,
form inv_valid.
*if .....
msg_ret-type = 'e'.
msg_ret-message = 'Error during validation'.
*endif...
endoform. "<< change to endform..
"you mention ENDOform
Regards,
Prabhudas
Edited by: Prabhu Das on Apr 16, 2009 12:25 AM