Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

object vbbk

Former Member
0 Likes
935

i am using fm read_text to read text from va02 in my report.

input parameters are -

client - sy-mandt

id - '0001'

language - sy-langu

name - '0000001541'

object - 'vbbk'

but error occurs saying 'text object vbbk is not available

2 REPLIES 2
Read only

Former Member
0 Likes
559

hi,

i tried this i got the results.

check this code.

report asdas.

data : itab like tline occurs 0 with header line.

CALL FUNCTION 'READ_TEXT'

EXPORTING

  • CLIENT = '510'

id = '0001'

language = sy-langu

name = '1810000002'

object = 'VBBK'

  • ARCHIVE_HANDLE = 0

  • LOCAL_CAT = ' '

  • IMPORTING

  • HEADER =

tables

lines = itab

  • EXCEPTIONS

  • ID = 1

  • LANGUAGE = 2

  • NAME = 3

  • NOT_FOUND = 4

  • OBJECT = 5

  • REFERENCE_CHECK = 6

  • WRONG_ACCESS_TO_ARCHIVE = 7

  • OTHERS = 8

.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

break-point.

<b>Reward if useful</b>

Gaurav

Read only

Former Member
0 Likes
559

hi.,

use uppercase 'VBBK' for object parameter.

Cheers.,

Chandra