‎2009 Feb 03 4:18 PM
how to do component allocation to operations using LSMW. i dont have an oprtion other than using LSMW.
if some one did this please let me knom.
‎2009 Feb 04 3:58 AM
hi,
For material assignment you will need to use structures RC271_DS and MAPL_DI_DS. I am using program RCPTRA02
My input structure looks like this. THere is two input files.
MATASSIGN Material Assignment File
GROUP C(008) Group
5 MATASSIGND Material Assignment Detail File
GROUP C(008) Group
GROUPCOUNTER C(002) Group Counter
PLANT C(004) Plant
MATERIAL C(018) Material
The mappings look like this.
5 RC271_DS Work center structure for direct input (for datasets)
5 Fields
TCODE Transaction code
Rule : Constant
Coding: RC271_DS-TCODE = 'CA02'.
STTAG Character field length = 10
Coding: DATA: TDATE(10).
CONCATENATE SY-DATUM4(2) '/' SY-DATUM6(2) '/' SY-DATUM(4) INTO
RC271_DS-STTAG = TDATE.
AENNR Change number
REVLV Revision level
WERKS Plant
PROFIDNETZ Profile
PLNNR Key for task list group
Source: MATASSIGN-GROUP (Group)
Rule : Transfer (MOVE)
Coding: RC271_DS-PLNNR = MATASSIGN-GROUP.
PLNAL Group counter
STATU Status
VAGRP Responsible planner group/department
VBELN Sales document
POSNR Character field of length 6
PSPNR Work Breakdown Structure Element (WBS Element)
5 MAPL_DI_DS Assign routing to material for direct input (for datasets)
5 Fields
ACTTYP Processing type for objects to be imported
Rule : Constant
Coding: MAPL_DI_DS-ACTTYP = 'H'.
MATNR Material number
Coding: MAPL_DI_DS-MATNR = MATASSIGND-MATERIAL.
WERKS Plant
Coding: MAPL_DI_DS-WERKS = MATASSIGND-PLANT.
PLNAL Group counter
Coding: MAPL_DI_DS-PLNAL = MATASSIGND-GROUPCOUNTER.
LIFNR Vendor's account number
KUNR Account number of customer
SUCHFELD Search Field for Customer-Specific Task List Selection
VBELN Sales document
Regards
Prashant
‎2009 Feb 04 3:23 PM
hey.
I did the material assignment step. what i asked for is the component allocation to operations.
‎2009 Feb 09 3:55 PM