Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Fun Mod

Hi,

I have written code for function module but i am not getting the desired result.

The code which i have written in source code is

NEW-PAGE LINE-SIZE p_linewidth.

DATA: P_LINE TYPE I.

P_LINE = P_LINEWIDTH.

WRITE: sy-datum , SY-UZEIT.

WRITE: / SY-REPID.

WRITE:/(p_line) P_TITLE CENTERED.

WRITE:/(p_line) sy-sysid RIGHT-JUSTIFIED.

WRITE:/(p_line) sy-uname RIGHT-JUSTIFIED.

But i am not getting the result in one line .when i remove '/' i am getting syntax error. I have taken P_line and P_title as parameter for import in function module.

Please tell me where i am going wrong.

Tags:
Not what you were looking for? View more on this topic or Ask a question