on 10-12-2008 1:18 PM
How to define text element in Layout SET? and how to put in Driver PRogram?
Explain with Code?
Hi chetty,
[Text Element |http://help.sap.com/saphelp_40b/helpdata/en/d6/0db400494511d182b70000e829fbfe/content.htm]
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
text element in layout set:
/E LIST3 ( you can give any nameover here) for a particular window say MAIN window.
now in driver program use write_form
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'LIST3'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
CODEPAGE = 9
OTHERS = 10.
IF SY-SUBRC <> 0. "#EC *
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
try this, if any query please revert back
Sid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.