‎2013 Aug 28 8:09 AM
Hi,
We developed a report and the format of onr the column are getting change into the table level, even the internal table having the same format data.
Kindly sugget what could be the problem.
Thanks & Regards
Praveer Kumar Sen.
‎2013 Aug 28 8:16 AM
Hi,
can you please provide a little more detail what is the acutal format and what is the desired one?
BR
Robert
‎2013 Aug 28 8:31 AM
Hi Robert,
We are using the SAPWLUTACC data element to store the client ID.
and the same is exist in internal table.
before update the data from the internal table. It's in actual / real format.
But after that it's getting change into the given picture format.
Thanks & Regards
Praveer.
‎2013 Aug 28 8:17 AM
Hi,
I'm not sure to understand.
Did you check if there is a field exit in the domain of the field ?
you could simply use a WRITE ... TO ... instead of the MOVE .. TO ...
regards
Fred
‎2013 Aug 28 8:33 AM
Hi,
we are appending the internal table data to direct to customized Z table.
And the SAPWLUTACC data element we used for the user id informaiton in table and internal table.
Regards
Praveer.
‎2013 Aug 28 8:50 AM
if domain name of source table is not same as domain name of field type of internal table, this can happen. So lets say your standard table and fieldname for USER-ID is: std_tablename1-std_fieldname1. (i dont know the std table, so you can replace here).
Make sure your field name to hold user id (say , 'user_id ') is of standard USER-ID type.
Then select your data as normal and then loop your internal table and then unpack USER-ID to itself.
LOOP AT gt_struct INTO gs_struct,
UNPACK gs_struct-user_id TO gs_struct-user_id.
MODIFY....
ENDLOOP.
Regards,
KS
‎2013 Aug 28 8:52 AM
Please post the relevant code (declarations, DB selection, internal table handling), otherwise the guessing will continue.
Thomas
‎2013 Aug 28 8:55 AM
Hi Praveer,
Check the Data element and in that Domain may be the field having the conversion routine INVDT.
Check that one and if it there then you need to convert your real date using this conversion routine using the FM "CONVERSION_EXIT_INVDT_INPUT" and "CONVERSION_EXIT_INVDT_OUTPUT".
Hope this will answer/solve your quesion.
Regards,
Krishna.