Purpose
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.
Steps
- 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.
also,
7.Call function Save_text , for populating the text.
8.Call the BAPI for saving the text.