Skip to Content
0
Former Member
Jul 03, 2007 at 09:14 AM

Help

14 Views

Hello Genuis

I m inserting values in database throught screen

i had made a button with SAVE fcode

<b>when 'SAVE'.

select max( empno ) from zsun_emp INTO MM.

MM = MM + 1.

WA_ZSUN_EMP-EMPNO = zsun_emp-empno.

WA_ZSUN_EMP-ENAME = ZSUN_EMP-ENAME.

WA_ZSUN_EMP-DOJ = ZSUN_EMP-DOJ.

WA_ZSUN_EMP-COMM = ZSUN_EMP-COMM.

WA_ZSUN_EMP-SAL = ZSUN_EMP-SAL.

WA_ZSUN_EMP-DEPTNO = ZSUN_EMP-DEPTNO.

INSERT INTO ZSUN_EMP FROM WA_ZSUN_EMP.</b>this code i had written and its giving some error

that error is

<u>"VALUES field.", "CONNECTION ... VALUES field.", "CLIENT SPECIFIED

VALUES field.", or "CLIENT SPECIFIED CONNECTION ..." expected after

"ZSUN_EMP". </u>

please tell me how to solve it

Please reply urgent as i m goin on with that

i m new to Module Pool tooo

With Best Regards

Ruby

Hoping for Quick Reply