2006 Dec 27 6:15 PM
I am updating Operator Remarks for Return orders using SAVE_TEXT function module. The following is the scenario
1. This text is initialized with text from Customer master when the order is created.
2. I need to add more text after the order is created.
3. So I am reading existing Text. (READ_TEXT) adding my text to the existing and Using SAVE_TEXT to update the text with the new set of texts.
This works well in foreground mode but if I schedule the program in background it fails. Some times it retains the original text and sometimes it takes the new text from my program.
Any solusions? Thanks a lot for looking into this.
I am updating Operator Remarks for Return orders using SAVE_TEXT function module. The following is the scenario
1. This text is initialized with text from Customer master when the order is created.
2. I need to add more text after the order is created.
3. So I am reading existing Text. (READ_TEXT) adding my text to the existing and Using SAVE_TEXT to update the text with the new set of texts.
This works well in foreground mode but if I schedule the program in background it fails. Some times it retains the original text and sometimes it takes the new text from my program.
Any solusions? Thanks a lot for looking into this.
2006 Dec 27 6:22 PM
Try to use EDIT_TEXT and then SAVE_TEXT, hope this might help u
2006 Dec 27 6:28 PM
Hi
Have you tried to use the parameter SAVEMODE_DIRECT?
And try to force the commit work too
Max
2006 Dec 27 6:35 PM
2006 Dec 27 9:10 PM
Are you using the parameter 'INSERT' in 'SAVE_TEXT' FM?
The module can be used to change existing texts and to create new texts. If it is clear that it is a new text, this can be specified via the parameter INSERT. The result is better performance as a test read is not performed.
2006 Dec 27 10:00 PM
Where do you get the additional text from? If you are uploading it from the presentation server, this won't work in the background.
Rob
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |