07-09-2007 7:27 AM
Hello ,
Can any body have idea how we can use function module SAVE_TEXT to update the master recipe header and operation long text.
I want to use this functional module to update the master recipe long text
step by step procedure is highly appreciated
thanks & regards
siddhasrth
07-09-2007 7:32 AM
Hi,
Check this,
http://help.sap.com/saphelp_40b/helpdata/en/d6/0db8ef494511d182b70000e829fbfe/content.htm
Reward if useful!
07-09-2007 9:39 AM
Thanks Prasad and Pawan for your valuable response ,another thing i want to regarding this is Can we use text file or any other type of file..to update the long text with this functional module like we use in LSMW or BDC..if yes then how can i use that ...
thanks in advance
siddharth
07-11-2007 8:16 AM
Yes siddarth you can use this SAVE_TEXT to upload data of bdc
Regards
Pavan
07-09-2007 7:33 AM
Hi
SAVE_TEXT
SAVE_TEXT writes a text module back to the text file or the text memory, depending on the storage mode of the corresponding text object.
You can use this module either to change existing texts or to create new texts. If you know for sure that the text is new, use the parameter INSERT to indicate this. The system then does not have to read the text first, which improves the performance of the function module.
If the lines table passed with the function module is empty, the system deletes the text from the text file.
Function call:
CALL FUNCTION 'SAVE_TEXT'
EXPORTING CLIENT = SY-MANDT
HEADER = ?...
INSERT = SPACE
SAVEMODE_DIRECT = SPACE
OWNER_SPECIFIED = SPACE
IMPORTING FUNCTION =
NEWHEADER =
TABLES LINES = ?...
EXCEPTIONS ID =
LANGUAGE =
NAME =
check thi sample code
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
.
Reward all helpfull answers
Regards
Pavan
07-10-2007 9:44 AM
Hello .
Can any body have idea how to use SAVE_TEXT to update the long text for recipe ....any suggetion is highly appreciated.
thanks & regards
siddharth
07-11-2007 8:00 AM
Hello Pawan ,
Do you have any idea about this....?
regards
Siddharth