‎2007 Oct 23 5:56 AM
Hi experts,
I am using direct input method for uploading customer master records. After display read data step, when i click Convert data button, i get a runtime error saying that:
the data object "LEGACY_CUSTOMER_MASTER" has no component called "OLD_CUST_NO", but there is a component called "SAP_CUST_NO".
But actually we do not need OLD_CUST_NO field, so i did not include it while maintaining source fields. Someone plz help. I urgently need to resolve this.
Thanks.
‎2007 Oct 23 8:13 AM
hi,
You will have to create the lsmw again to do it without OLD_CUST_NO. If you want to progress with the same lsmw program, then you will have to add the OLD_CUST_NO field. In the flat file dont give value for the field. leave it empty.
regards
Gokul
Reward Points if useful
‎2007 Oct 23 8:13 AM
hi,
You will have to create the lsmw again to do it without OLD_CUST_NO. If you want to progress with the same lsmw program, then you will have to add the OLD_CUST_NO field. In the flat file dont give value for the field. leave it empty.
regards
Gokul
Reward Points if useful
‎2007 Oct 23 8:42 AM
Thanks for the reply Gokul. But in my current LSMW also, I have not created OLD_CUST_NO source field. Still the standard program gives a syntax error. I can add this field in the flat file, but how do i maintain it in step 3, i.e. maintain source fields because while creating lsmw using standard input, i have already included only required source fields.
‎2007 Oct 23 11:08 AM
hi,
Why dont u try the Batch Input (recording) method?
regards
Gokul
‎2007 Oct 23 12:21 PM
just use step generate conversion program in that just go for syntax check,.
by seeing just change the lsmw as per the needs.
Thanks
‎2007 Oct 23 12:42 PM
Hi ,
I think you have declared the filed old_cust_no in the maintain field mapping step may be in global declaration or in the mapping section of hte field. Without the use of filed OLD_CUST_NO you wont get the syntax error. Check the sysntax error in field mapping step and delete the unwanted field.Check the filed mapping section carefully based on the error.
Thanks.