Skip to Content
author's profile photo Former Member
Former Member

Hi

Hi,

I am creating a program. I got the follwing error statement p_num2 is not defined check spelling. This is the program that i wrote

  • DATA DECLARATION

DATA: W_RESULT TYPE I.

  • SELECTION SCREEN

PARAMETERS: P_NUM1 TYPE I.

P_NUM2 TYPE I.

  • CALCULATE SUM

W_RESULT: P_NUM1 + P_NUM2.

WRITE:/ 'SUM IS', W_RESULT

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2007 at 05:48 AM

    Hi,

    • DATA DECLARATION

    DATA: W_RESULT TYPE I.

    • SELECTION SCREEN

    PARAMETERS: P_NUM1 TYPE I,

    P_NUM2 TYPE I.

    • CALCULATE SUM

    W_RESULT = P_NUM1 + P_NUM2.

    WRITE:/ 'SUM IS', W_RESULT .

    *******please reward points if the information is helpful to you***********

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2007 at 05:49 AM

    DATA: W_RESULT TYPE I.

    • SELECTION SCREEN

    PARAMETERS: P_NUM1 TYPE I.

    P_NUM2 TYPE I.

    • CALCULATE SUM

    W_RESULT <b>=</b> P_NUM1 + P_NUM2.

    WRITE:/ 'SUM IS', W_RESULT .

    regards

    shiba dutta

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 02, 2007 at 05:51 AM

    Hi,

    Change your statement as under :

    W_RESULT = P_NUM1 + P_NUM2.

    Regards,

    Sandeep Kaushik

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2007 at 05:54 AM

    Hi,

    DATA: W_RESULT TYPE I.

    • SELECTION SCREEN

    PARAMETERS: P_NUM1 TYPE I, "Change

    P_NUM2 TYPE I.

    • CALCULATE SUM

    W_RESULT = P_NUM1 + P_NUM2. "Change

    WRITE:/ 'SUM IS', W_RESULT .

    THanks,

    Anitha

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2007 at 05:55 AM

    give,

    PARAMETERS: P_NUM1 TYPE I,

    P_NUM2 TYPE I.

    Giove , Not Fullstop.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2007 at 05:56 AM

    Hi,

    • DATA DECLARATION

    DATA: W_RESULT TYPE I.

    • SELECTION SCREEN

    PARAMETERS: P_NUM1 TYPE I<b>,</b>

    P_NUM2 TYPE I.

    • CALCULATE SUM

    <b>W_RESULT = P_NUM1 + P_NUM2.</b>

    WRITE:/ 'SUM IS', W_RESULT<b> .</b>

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2007 at 06:11 AM

    Hi,

    Thanks for the answers.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.