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

Syntax error

Former Member
0 Likes
5,330

Hi All,

I created a projet in CMOD and than added the enhancement V45A0002.The components shown as EXIT_SAPMV45A_002(Predefined sold to party when making the standard order),i double click on the exit and entered into the function module.After that i double clicked on the include ZXVVZU04 and entered in and wrote E_KUNNR=100171

while activating i got error msg 'The last statement is not complete (period missing)." & i have saved inspite the error .After that i tried to create a order and program terminated error came after entering sold to party no. in sales order

Synatx Error in Program SAPLXVVA

in Include ZXVVAUO4

in Line 4

Last Change by XXXXXX'

Author XXXXX

so now i have deactivated the project which i created in CMOD & deleted the project also inspite of this i am getting the program terminated error while making the order

I would be great ful if somebody helps me cum out of this syntax error.

Thanks

Rishi

Use meaningful subjects for your questions

Edited by: Vijay Babu Dudla on Feb 13, 2009 11:51 PM

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
2,761

It looks like, you missed period for that statement.


E_KUNNR=100171 .

Regards,

Naimesh Patel

9 REPLIES 9
Read only

naimesh_patel
Active Contributor
0 Likes
2,762

It looks like, you missed period for that statement.


E_KUNNR=100171 .

Regards,

Naimesh Patel

Read only

0 Likes
2,761

Hi Naimesh,

Could you tell me briefly how i should get rid of this?I am SD consultant and right now working on IDES.I am not clear as to what you mean that i have missed the period for the statement.Could you please explain me,i would be thankful.I have deactivated the project than also the error is coming while making the order thru T code VA01.

Thanks

Rishi Balani

Read only

0 Likes
2,761

Hello

Just follow Naimesh's advice and add a period to the end of your statement.

Greg Kern

Read only

former_member156446
Active Contributor
0 Likes
2,761

do the same thing again and activate a project and the enhancement and put

E_KUNNR=100171. "dont forget the last dot

and delete every thing and delete all, as you did before.

Read only

ThomasZloch
Active Contributor
0 Likes
2,761

And make it

E_KUNNR = '0000100171'.

while you're at it.

Thomas

Read only

Former Member
0 Likes
2,761

Hi,

E_KUNNR = '100171'.

Ending with a Period '.' , means the particular statement or syntax ends, else it was incomplete, ie., you received error message on activating.

thanks & regards,

GP

Read only

0 Likes
2,761

GP,

Thanks everybody for the prompt response and valuable suggestions.Also Kindly please let me know the solution if i dont want to use this user exit anymore,I mean i dont want the default sold to party/customer as 100171 in the standard order VA01.

Thanks

Rishi Balani

Read only

0 Likes
2,761

A star (*) at the first position in the line is a comment (means following characters in the line are ignored).

* E_KUNNR = '100171'.

You may also deactivate your project in CMOD transaction.

Read only

Former Member
0 Likes
2,761

Thanks everybody,with all your suggestions it is working now.