Dear all,
I've created a LSMW (following these steps LSMW for Functional Consultants in simple step-by-step way), but the LSMW will not work, it keeps overriding on line item 20. When I start the batch, it will show me in the screen an error and aftering entering through all the line items, line item 20 is similar to the last line item in my file (even though this should be line item 60). The rest of the file has not been put in the line items. It is a LSMW for adding materials to an existing contract (ME32K) with 1 dummy material in the items overview. The following mapping has been done:
Field Mapping and Rule
ZCL_ME32K Recording upload sheet materials for contracts
Fields
EVRTN Agreement Number
Source: CLME32K-EVRTN (Agreement Number)
Rule : Transfer (MOVE)
Code: ZCL_ME32K-EVRTN = CLME32K-EVRTN.
* Caution: Source field is longer than target field
EBELP Field for Positioning Within Overview Screen
Source: CLME32K-EBELP (Field for Positioning Within Overview Screen)
Rule : Transfer (MOVE)
Code: ZCL_ME32K-EBELP = CLME32K-EBELP.
* Caution: Source field is longer than target field
EVRTP_02 Agreement Item
Source: CLME32K-EVRTP_02 (Agreement Item)
Rule : Transfer (MOVE)
Code: ZCL_ME32K-EVRTP_02 = CLME32K-EVRTP_02.
* Caution: Source field is longer than target field
EMATN_02 Material Number
Source: CLME32K-EMATN_02 (Material Number)
Rule : Transfer (MOVE)
Code: ZCL_ME32K-EMATN_02 = CLME32K-EMATN_02.
* Caution: Source field is longer than target field
KTMNG_02 Target Quantity
Source: CLME32K-KTMNG_02 (Target Quantity)
Rule : Transfer (MOVE)
Code: ZCL_ME32K-KTMNG_02 = CLME32K-KTMNG_02.
* Caution: Source field is longer than target field
NETPR_02 Net Price in Purchasing Document (in Document Currency)
Source: CLME32K-NETPR_02 (Net Price in Purchasing Document (in Document
Rule : Transfer (MOVE)
Code: ZCL_ME32K-NETPR_02 = CLME32K-NETPR_02.
* Caution: Source field is longer than target field
Your help is much appreciated...