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

urgent

Former Member
0 Likes
584

hi all,

i tried to upload data from a .txt file using gui_upload to update infotypes using hr_infotype_operation.

its working while trying to update for custom infotypes but wen i try to update for standard infotype,it results in error while converting the date from .txt to intrenal table.pls provide some solutions.

regards,

ashok

hi all,

i tried to upload data from a .txt file using gui_upload to update infotypes using hr_infotype_operation.

its working while trying to update for custom infotypes but wen i try to update for standard infotype,it results in error while converting the date from .txt to intrenal table.pls provide some solutions.

regards,

ashok

3 REPLIES 3
Read only

Former Member
0 Likes
566

HI,

Try like this..

date1 = it_records-bldat.

CONCATENATE date16(2) date14(2) date1+0(4) INTO date1.

Then pass date1 to ur <Field_name>

Don't forget to give Points.

Regards,

Thanuskodit T

Read only

Former Member
0 Likes
566

Hi Ashok,

You need to check the date format which you are passing to the INFOTYPE. The DATE format in your text file does not match with the Date format of in INFOTYPE . So , check the format and make the required conversion.

Regards

Sourabh Verma

Read only

Former Member
0 Likes
566

Hi Ashok,

Check the date format in your text file and also what is format required for INFOTYPES? If it dosent match make the necessary corrections and convert it to infotype date.

<b>reward if useful</b>

If still doubt please get back with your text file date format and inftype date format.

regards,

sunil kairam.