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

PROBLEM IN PRINTING TEXT .

Hi

Good morning to all .

i am making a classical report in which i want to print in A4 size paper

here i want to print purchase requisition text like header text ,item text

i am using FM READ_TEXT

PROBLEM IS THAT .

THE OUT PUT COMES LIKE THIS

ABAPERRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR

AFTER ONE LINE I AM NOT GETTING TEXT IN SECOND LINE

PLEASE HELP ME .

REGARDS

RAKESH SINGH

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2008 at 06:37 AM

    Hi,

    see below coding...

    MOVE : VBRK-VBELN TO NAME.

    CALL FUNCTION 'READ_TEXT'

    EXPORTING

    • CLIENT = SY-MANDT

    ID = '0002'

    LANGUAGE = SY-LANGU

    NAME = NAME

    OBJECT = 'VBBK'

    • ARCHIVE_HANDLE = 0

    • IMPORTING

    • HEADER =

    TABLES

    LINES = TLINES

    EXCEPTIONS

    ID = 1

    LANGUAGE = 2

    NAME = 3

    NOT_FOUND = 4

    OBJECT = 5

    REFERENCE_CHECK = 6

    WRONG_ACCESS_TO_ARCHIVE = 7

    OTHERS = 8.

    LOOP AT TLINES.

    WRITE:/ NAME , TLINES-TDLINE.

    ENDLOOP.

    hope it will help...

    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.