cancel
Showing results for 
Search instead for 
Did you mean: 

include text

Former Member
0 Kudos

i need to include text in smart form from VF03 transaction code

iam getting all the fields except TEXT NAME in the include text in form

How can i get the TEXT NAME from VF03 T code

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

u will get the text in any other fields, to get the text related to the invoice u have to use the READ_TEXT funnction module.. and loop the table TLINE and print the data..

i have done this way

 V_TDNAME = IS_BIL_INVOICE-HD_GEN-BIL_NUMBER.

  CALL FUNCTION 'READ_TEXT'
    EXPORTING
      ID                      = '0002'
      LANGUAGE                = V_LANGU
      NAME                    = V_TDNAME
      OBJECT                  = 'VBBK'
    TABLES
      LINES                   = IT_TLINE
    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.
    CLEAR IT_TLINE.
  ENDIF.

Please Close this thread.. when u r problem is solved. Reward all Helpful answers

Regards

Naresh Reddy K

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Rasheed

to get the text and name parameters do this way.

Vf03 -> click header details icon -> go with header text tab.

check that if there is any text entered if there is no text then you will have to create one by going with vf02 , and if there is any text then double click on that text area or you can click on the call log icon .

it will take you to a screen,from there you can get the four paramters

ID , object,Text name and langu.

Plz reward points if its helpful.

Regards

Zarina

Former Member
0 Kudos

Hi!

You can create the text name yourself.

It is containing the invoice document number. If the text is at item level, it will contain the document number and the item number also, and they are concatenated.

For example here's an item text:

2006300572000001 (2006300572=invoice number, 000001=item number)

You can read them from STXH, STXL tables also.

Regards

Tamá