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

Issue in Modifying custom table

Former Member
0 Likes
1,069

Hi Experts

Program Y00_MM modifying custom table Y00_IFS074 using internal table.

we have a sales company code field in table.

Internal table company code value is 00021345 .

But in custom table it updated as 21345. It should be 00021345.

few days back no problem with table updation. Now only i'am getting this issue. There is no changes in Report.

Kindly help me.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,042

Hi,

Please check if the Data element / Domain of company code field is changed.

Regards,

Srini.

10 REPLIES 10
Read only

Former Member
0 Likes
1,043

Hi,

Please check if the Data element / Domain of company code field is changed.

Regards,

Srini.

Read only

0 Likes
1,042

Hi Srinivas

Data element / Domain is not used for this field. They used Built-in type

Read only

Former Member
0 Likes
1,042

Hi,

Please use the below FM for the field BUKRS.

FM : CONVERSION_EXIT_ALPHA_OUTPUT.

This FM will add the leading zeros according to the field length.

Hope this will resolve your problem...

Read only

Former Member
0 Likes
1,042

Hi,

You can use the FM 'CONVERSION_EXIT_ALPHA_INPUT'.

Pass the internal table as input to this FM and u will get the desired output as the length of the data element .

Regards,

Amit Manchanda

Read only

0 Likes
1,042

Actually the data is coming from application server.

Table updating fine in development and production. Problem is in QA only.

Read only

Former Member
0 Likes
1,042

Check the data whether it has leading zeros or not...

Regards

Praveen

Edited by: praveen reddy on Nov 23, 2010 9:54 AM

Read only

Former Member
0 Likes
1,042

Hi ,

Please check the data getting populated to the internal tables using debugger, There is some data redundancy according to my view.

You the use the FM which is mentioned above in my reply, It will not harm your code in any sense.

Regards,

Amit

Read only

0 Likes
1,042

Hi Amit

Report already using conversion function. Internal table also passing the value with '000'. While modifying the table itself the '000' value is disappeared.

Read only

0 Likes
1,042

Change into character .

Read only

Former Member
0 Likes
1,042

Dear Kumar,

Data is Stored in the format 00021345 only still it will show as 21345. Go to SE16 and Settings and Data Browser and uncheck the Convertion exits. You can see the data as 00021345 .

Regards,

Srinivas