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

Data type selection Problem in ztable to use in the Module Pool Program

Former Member
0 Likes
920

Dear Experts,

I have created a z-table which is used in Module Pool Program in which i have to save the information saved by the endusers in z-table. But the problem comming is that the amount of information saved by the endusers is so havey & our table is just limited for the 50 characters which is not sufficiet. So I urge you to please tell me what & which type of data type should I have to use to store maximum amount of information in our zt-able which is available in SAP ECC6.0.

Thanks & Regards,

Akg

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
868

Hello

please explain it clearly...

what type of data you are going to store . what is the datatype of the field you are using.

if you need a field to store more than 50 characters , then use this field type >> SOLISTI1-LINE ,

it can store upto 255 characters.

please let me know if u need any further info..

9 REPLIES 9
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
868

What exactly are you trying to store

Nabheet

Read only

0 Likes
868

Hello Nabheet,

Actually I have to store the maximux amount of information "in characters (CHAR)" to the fields in z-table through Module Pool Program. Module Pool is working fine and also it is saving the information in the ztable. But main problem is to store only 50 CHAR & my requirement is to save that information more that 50 CHAR & also more than 255 CHAR. Plz suggest.

Regards,

Akg

Read only

Former Member
0 Likes
869

Hello

please explain it clearly...

what type of data you are going to store . what is the datatype of the field you are using.

if you need a field to store more than 50 characters , then use this field type >> SOLISTI1-LINE ,

it can store upto 255 characters.

please let me know if u need any further info..

Read only

0 Likes
868

Hello jvsvijay,

Thanks for yr kind consideration but its not working.

Regards,

Akg

Read only

0 Likes
868

Hi friend,

You can use the data type string for saving the data. String variable will be getting more that 50 Char. Also you can store it in the table.

I think you must be using a Ztable IE a customizing table so you can change that field alone to string.

If you don't want string char just go for char255 data type. Which will store more than 50 char.

I think this will solve your issue. If you have queries please revert back to me. I will help you.

Thanks,

Sri Hari

Read only

0 Likes
868

Dear Akg,

u can resolve ur problem in following ways,

1. You can declare the field in a table without an Data element.

i.e. In the length field . using F4 help in length field how many characters u want u enter.

2. In the same u can search for an standard data element and use the same.

3. Creating an custom data element .

Reward if helps to u!!!

Regards,

MNR

Read only

Former Member
0 Likes
868

Hi,

Use Data element AKB_LONGNOTE to your field. For this data element there is no length restriction since it is of type string.

Regards,

Supriya.

Edited by: Supriya.ch on Jan 3, 2012 11:17 AM

Read only

0 Likes
868

Hello Supriya,

AKB_LONGNOTE data element is used like an string but my requirement is to store the characters not in strings but like character which is just limited for 255 characters. But thanks for kind consideration.

Regards,

Akg

Read only

Former Member
0 Likes
868

Dear Experts,

As if now my problem is resolved by creating 4 fields of 255 characters domain and data element. but it will be kind helpful if any one of you experts please cosider my plea to store more than 255 characters in one single field.

Regards,

Akg