2007 Jun 27 5:22 PM
Hi ,
i am trying to load long text ( , purchase order text ) in MM01 , i would appreciate if some one can give me sample code of that.I am uisng BDC program.
Thanks.
Raghu
Hi ,
i am trying to load long text ( , purchase order text ) in MM01 , i would appreciate if some one can give me sample code of that.I am uisng BDC program.
Thanks.
Raghu
2007 Jun 27 5:54 PM
2007 Jun 27 6:02 PM
Use SAVE_TEXT FM :
data t_long like tline occurs 0 with header line.
constants : c_tdformat type tline-tdformat value '*',"Tag column
c_tdid type thead-tdid value 'PLPO'. " Text ID
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
HEADER = t_header
SAVEMODE_DIRECT = 'X'
OWNER_SPECIFIED = ' '
LOCAL_CAT = ' '
IMPORTING
FUNCTION =
NEWHEADER =
TABLES
LINES = t_long
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
.
Thanks
Seshu
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |