on 03-29-2007 8:03 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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á
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.