Application Development and Automation 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: 
Read only

Issue with perform...

Former Member
0 Likes
425

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
400

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

2 REPLIES 2
Read only

Former Member
0 Likes
401

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

Read only

Former Member
0 Likes
400

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