on 09-13-2007 1:32 PM
dear all,
i need a table and field in which header text of sale docu is stored .i need to print a text entered by user at the tie of vf01 .
so plz tell me the table and way how to print that text in print of invoice
if any function is there for that please also tell me
waiting for positive response
regards & thanks
Check table STXH . but if you want to read header text or item level text we use FM READ_TEXT read the text we need to pass the following parameters.
TDOBJECT Texts: Application Object
TDNAME Name
TDID Text ID
TDSPRAS SPRAS Language Key
If your driver program is not in your control then call external sub-routine form your SAPscript and get the text.
Ex:
Go through this example
Ex.
/: PERFORM <Subroutine name> IN PROGRAM <subroutine prog name>
/:USING &<field name>&
/:CHANGING &<field name1&
/:ENDPERFORM
Then create subroutine pool program and you have to write the code.
FORM ><subroutine name> tables int_cond structure itcsy
outt_cond structure itcsy.
data : value(20), value1(20). "do your own declarations
Read int_cond table index 1.
value = int_cond-value.
value1 = value1 + value.
Read outt_cond table index 1.
outt_cond-value = value1.
Modify outt_cond index 1.
ENDFORM.
Just rough idea given above.
Close the thread once your question is answered.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
To print the Sales Document header text, then there is no need for the table, just follow this way ...
Goto Va02 --> Press enter --> Goto --> Header texts, then the texts will open Double click on any of the texts which you need to print, then a line editor will open and you can view the text in that line editor also, there Goto --> header
then a popup will open, there you find all the attributes of the text,
then goto SE37 Give the function module READ_TEXT and pass all the variables which you get in the Attributes window.
so the same way, you can call the function modules in teh Driver program or in teh Report program to print the Output texts
Regards
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Actually this qn. is answered by Vijayendra Rao.
STXH table contains details of SAPscript text file header.By passing keyfields u can get the value.
In general,
<b>Header details of Sales Document is in table VBAK and for billing it is in table VBRK.</b>
<b><REMOVED BY MODERATOR></b>
Message was edited by:
Sathyaa
Message was edited by:
Sathyaa
Message was edited by:
Alvaro Tejada Galindo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Its stored in STXH table. You need to use READ_TEXT FM to read the data and to call the FM you need to pass the following details.
TDOBJECT Texts: Application Object
TDNAME Name
TDID Text ID
TDSPRAS SPRAS Language Key
check the link below to find how to use it
http://www.sap-basis-abap.com/sapac002.htm
cheers
VJ
Message was edited by:
Vijayendra Rao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use FM READ_TEXT
if you are using in smartform then pass the number to include text and select the table
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Use the READ_TEXT it will display the text
for more infor
http://help.sap.com/saphelp_40b/helpdata/en/d6/0db8c8494511d182b70000e829fbfe/content.htm
Regards
Shiva
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.