Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

inserting comments using bdc

Former Member
0 Likes
653

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.

4 REPLIES 4
Read only

Former Member
0 Likes
583

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

Read only

0 Likes
583

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.

Read only

0 Likes
583

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

Read only

Manohar2u
Active Contributor
0 Likes
583

You need to SAVE_TEXT function module to upload long texts.

Search the forums with SAVE_TEXT to find some help codes.

Regds

Manohar