on 03-23-2010 8:11 AM
plz help me inthat how and where header text stored in any tcode and how to get that header text in smart forms?
Hi,
To get ur header text write the piece of code in Program lines and Display ur text with the Filed &IT_TLINE-TDLINE&
TDNAME = IT_VBRK-VBELN.
*--- Call FM Read Text to get the Long Text for Mode of Dispatch Details
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'V007'
LANGUAGE = SY-LANGU
NAME = 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.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Here TDNAME, ID all these Fields can be Viewd by clicking on the Header Text node in ur Transaction and Go to -
>Change Header u will get the Technical Details
Regards,
Vijaya Lakshmi.T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Once you got the Text ID, Text Object, Text Name as guided by Venkata.
Then to get that header text in Smartforms follow the following steps :
- Create a new text node. A node with text type u2018Text elementu2019 is created by default.
- Change it to u2018Include Textu2019.
- Provide the Text Name, Text Object and Text Name.
Hope this helps.
Regards,
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you go inside any tcode say for example ME51n there u will find a tab called Texts inside which u can header texts tab. If you doesnot find that texts tab in some tcodes like VA01 then use the following navigation to get the header text tab.
Use the following steps to print the header text in the smartforms. Here I am taking ME52n as an example
1) Go inside the tcode and then navigate to the header text tab by using the above navigation.
2) Double click on the header text window then it will take to a bigger window where u can enter the header text manually.
3) In that window use the following navigation to get the header text details.
Go To -> Header.
In that one retrieve the Text ID, Text Object, Text Name.
4) Use these detials in the include text in Smartforms to display the header text in smartforms.
Regards,
Venkat.
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 use Include Text in smartforms.
For that you will require the text ID , text object of the header text.
Regards,
Bharat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.