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 validation

Former Member
0 Likes
508

I am getting acvalue from a legacy system, and i want to check whether the datatype of the incoming data matches with the data in the SAP database table?Hw can i do it?

plz help me.

3 REPLIES 3
Read only

Former Member
0 Likes
430

Hi,

I think system will automatically handles this situation.

because if data type is not matching or legacy data doe't fit into the sap field system will automatically rise an error.

Regards,

Mr.A

Read only

Former Member
0 Likes
430

Hi,

After uploading the data in sap internal table apply loop on internal table and match the data type. if data type is not matched raise the error message.

Mahesh

Read only

Former Member
0 Likes
430

Hi Rajaram,

What method are you using to upload legacy data ? BDC, LSMW...

In LSMW there are places where you can insert validations and even change the format to match the SAP system format.

In BDC you can code the validation directly in the program

Regards