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

A problem of type p in module pool


In a module pool, using type p will make a mistake.

For example:


data: num type p decimals 2.


*& Module STATUS_9000 OUTPUT


  • text


module STATUS_9000 output.

num = 4.

endmodule. " STATUS_9000 OUTPUT

The num will be 0.04, not 4.

Why this occurs?

When I do the same thing in a executable programme, the num will be 4. That's to say, the mistake will not occure in a executable programme.

Waiting for your help.

Best Regards,


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Sep 22, 2008 at 08:06 AM

    If youu Don't specify the Properties of the screen field properly then you get those problems..

    Check the Format specified as DEC

    Try to Refer and Design the Screen fields based on the Program Varibales.

    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.