‎2009 Jun 12 11:06 AM
Hi,
When I doing lsmw at 11 th step data can not be converted and afteter that at 14 th step Run Batch Input Session data can not be uploaded automatically.
Abhijit
‎2009 Jun 12 11:11 AM
HI,
Data cannot be converted means that there is some error in the rules in the field mapping.
What kind of error do you get?
Regards,
Ankur Parab
‎2009 Jun 12 11:15 AM
Hi Ankur,
At last step i getting "Fill in all required entry fields" this kind of message and it wants manually entry in the fields.
Abhijit
‎2009 Jun 12 11:23 AM
Hi,
What data are you uploading?
Which transaction have you done the recording?
Please check whether in field mapping you are passing the required data to the mandatory fields from the source file.
In field mapping step you can write rules which is basically abap code to validate the data coming from the source file before passing to the target file.
Regards,
Ankur Parab
‎2009 Jun 12 11:27 AM
Hello ,
It seems you are not having the Mandotory fields within the Source structre ...Please check the transaction and see what are all the Mandatory fields ....then please define all of them including the fields whcih you have in the source structure .....
u can do all this in second and third step of the LSMW .....
May i know for which transaction u r doing this LSMW.
Regards,
‎2009 Jun 12 11:28 AM
Hi Ankur,
I am doing MMSC transaction.
Which kind of abap code used for data validating or how can mapping fields.
Abhijit
‎2009 Jun 12 11:35 AM
Hi,
When you go to fieldmapping step click on the rule button and you will find that it will give you the area to enter your code.
Here you can map the target field with teh corresponding source field.
In case the source field is empty you can give an error message as normal ABAP and use SKIP_RECORD or SKIP_TRANSACTION statement to skip the current record.
Regards,
Ankur Parab
‎2009 Jun 12 11:14 AM
Hello,
Check the Source Structure definition /Field definitions (Datatype and lenght) /and then source structure assignment and relations /and then Field mapping with Batch input strcutres of LSMW for the respective object.
Mostly with the Fied definiton and field mapping ....please check
Regards
‎2009 Jun 12 11:19 AM
Hi,
How can check Sorce structure & field mapping and how can i define it right or wrong.
Abhijit
‎2009 Jun 12 11:50 AM
Hi,
I would suggest you to first check if you have defined all the fields in 'Maintain Source Fields' that you are planning to upload from your input file.
Also, if you have used a recording, check if all the mandatory fields of the transaction have been mapped in 'Maintain Field Mapping and Conversion Rules' . To check your recording, you can go to step1, click on the icon that has mountains....n double click on your recording....you can see the fields that you have recorded.
Also check if you have mapped all the source fields with the target fields.
‎2009 Jun 15 8:53 AM
some of mandatory fileds data missing, check mandatory filed in tcode level and then pass the data all mandatory fileds...