‎2010 Nov 23 8:18 AM
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.
‎2010 Nov 23 8:43 AM
Hi,
Please check if the Data element / Domain of company code field is changed.
Regards,
Srini.
‎2010 Nov 23 8:43 AM
Hi,
Please check if the Data element / Domain of company code field is changed.
Regards,
Srini.
‎2010 Nov 23 8:47 AM
Hi Srinivas
Data element / Domain is not used for this field. They used Built-in type
‎2010 Nov 23 8:49 AM
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...
‎2010 Nov 23 8:50 AM
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
‎2010 Nov 23 8:52 AM
Actually the data is coming from application server.
Table updating fine in development and production. Problem is in QA only.
‎2010 Nov 23 8:53 AM
Check the data whether it has leading zeros or not...
Regards
Praveen
Edited by: praveen reddy on Nov 23, 2010 9:54 AM
‎2010 Nov 23 9:02 AM
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
‎2010 Nov 23 9:06 AM
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.
‎2010 Nov 23 9:30 AM
‎2010 Nov 23 9:43 AM
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