‎2009 Jan 10 1:51 PM
Hi,
I want to upload values for characteristics for a batch for a material.
The characteristics differ based on the material.There are a total of 56 characteristics but each material will use at the max 5 characteristics.These 5 characteristics may be any 5 from the total(56 chracteristics).
Kindly guide me which method(LSMW,BDC or BAPI) to be used to upload them
‎2009 Jan 10 1:56 PM
‎2009 Jan 12 5:04 AM
Hi Avinash,
In my scenario the characteristic are already existing.I just need to upload the values based on material and batch number.
‎2009 Jan 12 6:12 AM
Hello
Please try using the BAPI "BAPI_BATCH_CHANGE".
Thanks
Manish
‎2023 Aug 01 7:15 AM
hi jayesh nair
would you know how to upload characteristic values(atwrt) based on material, class id (class) and atnam through excel.
‎2009 Jan 12 8:31 AM
you can use below LSMW BAPI method
Business Object BUS1088 Characteristic
Method CREATE Create
Message Type CHARACTERISTIC_CREATE BAPI characteristics: Create
Basic Type CHARACTERISTIC_CREATE01 BAPI for Characteristics Create
‎2009 Jan 12 9:20 AM
Hi everyone,
Thanks for the reply.
Can anyone guide me on how the input template should be for uploading?
‎2009 Jan 12 9:30 AM
YCLS_CHRSTIC Structure for charecterstics
ATNAM C(030) Characteristic Name
ATBEZ C(040) Characteristic Description
ATMST C(001) Status of the Characteristic
FORMAT C(015) Data Type of the Characteristic
ANZST N(002) Number of Positions of the Characteristic
ATKLE C(001) Case Sensitive indicator
ATEIN C(001) Indicator of single valued Characteristic
ATLIS C(001) Indicator of multivalued Characteristic
ATERF C(001) Indicator of Required Entry
ANZDZ N(002) Number of decimal positions
EINHE C(003) Unit of Measure for Numeric Characteristics
ATINT C(001) Indicator to define if interval values are allowed
ATVOR C(001) Indicator to define if negative values are allowed
WAERS C(003) Currency key
ATKLA C(040) Characteristics Group
ATGLA C(001) Indicator: restrictable characteristic
KLART C(003) classtype
SPRAS1 C(002) Language Key
YCLS_CHRVALUES Structure for characteristcis values
ATNAM C(030) Characterstic Name
SPRAS C(002) Language key
STYPE C(002) Set type
XLINE C(004) Line Index
ATWRT C(030) Predefined Value for a Characteristic
ATWTB C(030) Charecetr stic value description
‎2009 Jan 12 2:34 PM
Hi Kesava,
Thanks for the reply.
Here the requirement for i/p template is :-
Material Batch Char1 Char2 Char3 Char4 Char5
There is a total of 56 chars.These 5 can be any 5 from the 56 characteristics.Ex:
Material Batch Char1 Char2 Char3 Char4 Char5
M1 B1 a b
B2 c d
M2 B1 e f g
B2 ..........
‎2009 Jan 13 8:43 AM
for this you can use below batch input method...
Object 0130 Classification
Method 0001 Batch Input
Program Name RCCLBI02
Program Type B Batch Input
strctures are
YENGC002_INPUT Material number
MATNR C(018) Material
CLASS C(018) Class
KLART C(003) Class Type
YENGC002_CHAR Characteristics
MATNR C(018) Material
CLASS C(018) Class
KLART C(003) Class Type
ATNAM C(030) Characteristic Name
ATWRT C(030) Characteristic value