Application Development 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: 

Re: using create_text and read_text should save text in database table

Former Member
0 Kudos

Hi,

what are the parameters i need to pass for create_text and read_text in dialog programming, i have a 4 i/o fields where in each i need to enter 30 email ids , after entering email ids i need to save to the database, what is the logic

fields: SNO---serial number

mail1------> need to enter less than r more than 30 email address

mail2----> need to enter less than r more than 30 email address

mail3-----> need to enter less than or more than 30 email address

when i click create insert into database and from database it should b displayed on the table control. How to do using create_text ( using text objects function modules)

2 REPLIES 2

Former Member
0 Kudos

These FMs are used to save long text, do you want to save all email ids as long text, than create text object for each field in SE75 create general text.

pass those text objects to the FM save_text along with the email ids as long text.

If you need any further help please revert.

Regards,

A.Singh

Former Member
0 Kudos

If you are updating a custom Z Table, then look at redesigning it:

Fields:

<b>Client</b>

<b>SNO</b>

<b>MAIL ID ( 1, 2, 3)</b> etc

<b>COUNTER</b> (001 to 999)

These fields make up the key.

Email Address

This way you can store many email addresses.

It is not a good idea to store data in a free form text field.