‎2006 Jun 18 12:04 PM
Hi,
I am using va02 transaction to change the sales order wiht adding some comments. there is a tab strip "text" for va02 and when we click we will get the text editor and i have to insert comments which are in my flat file. When i am recording i am not getting any field names for this text editor.
Please help me how to proceed.
‎2006 Jun 18 12:07 PM
Prasad,
For updating the texts, I sugggest that you execute the BDC without that and after updating the sales order with other details, you can call the SAVE_TEXT function followed by the COMMIT_TEXT function.
The parameters for the SAVE_TEXT function (TDOBJECT, TDID) can be found in the sales order. Double click on the text editor and in the full screen mode, in the menu Go To--> Header you will see the values. TDNAME will be the sales order number.
Regards,
Ravi
Note : Please mark the helpful answers
‎2006 Jun 19 5:34 AM
Hi Ravi,
Thanks for your reply. I am having comments data in excel file and i have to load this and put it in the editor for every sales order line item.
Please help me how to load comments from flat file and put it in the editor and save it.
‎2006 Jun 19 5:54 AM
As I said you should load in the editor.
Get it into a internal table and then load it into the format of the TDLINE which is the format of the input table to the SAVE_TEXT function. You can concatenate the sales order number and the line item number for the TDNAME parameter..
Regards,
Ravi
‎2006 Jun 18 12:09 PM