Skip to Content
0
Former Member
Jan 11, 2011 at 09:44 AM

Problem in using FM READ_TEXT to read Material Sales Text.

1882 Views

Hi Guys,

I am developing a Customer Outstanding report in which I display all the invoices of a particular customer.

I need to read "Material Sales Text" which comes under "Item Text" tab in transaction FBL5N.

I have used READ_TEXT in my program. I have identified the Object, and ID but I am stuck up with the Name. I dont know what Name to pass. I have tried passing the Invoice Number in "Name" but couldnt get the text.

Request you to please help me out. Please check the below code.

CALL FUNCTION 'READ_TEXT'

EXPORTING

  • CLIENT = SY-MANDT

id = '0001'

language = SY-LANGU

name = -


???????????????

object = 'VBBP'

  • ARCHIVE_HANDLE = 0

  • LOCAL_CAT = ' '

  • IMPORTING

  • HEADER =

tables

lines = tl001

EXCEPTIONS

ID = 1

LANGUAGE = 2

NAME = 3

OTHERS = 8

Thanks.