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 Format getting change

ipravir
Active Contributor
0 Likes
1,032

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.

7 REPLIES 7
Read only

Former Member
0 Likes
980

Hi,

can you please provide a little more detail what is the acutal format and what is the desired one?

BR

Robert

Read only

0 Likes
980

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.

Read only

FredericGirod
Active Contributor
0 Likes
980

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

Read only

0 Likes
980

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.

Read only

Former Member
0 Likes
980

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

Read only

ThomasZloch
Active Contributor
0 Likes
980

Please post the relevant code (declarations, DB selection, internal table handling), otherwise the guessing will continue.


Thomas

Read only

former_member185177
Contributor
0 Likes
980

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.