Adding notes, long texts to the Business partner UI
The document explains how to load notes in to business partner. The loading is done using a report program. Also there was some requirement to do string operations with the notes from the source system.
- The source notepad file should contain the Business partner number and note that is to be added.
- I am using FM gui_upload for that.
3.From internal table , now we have the BP number and long text that is to be loaded. Fill the tables lt_lines as shown below.
4.Or you can give lwa_lines-tdformat = ” for better result.
5.To run the program ib background , we need to use open dataset.
6.We can use the function ‘CONV_TEXTSTRING_TO_ITF’ for formatting the notes.
(The standard field tdline will truncate the note on 123, if we do not use conv_textstring_to_itf )
7.Call function Save_text , for populating the text.
8.Call the BAPI for saving the text. (Even savemode_direct parameter in save_text fm can fulfill the rquirement)