Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Upload Characteristic values

jayesh_nair3
Explorer
0 Likes
3,204

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

9 REPLIES 9
Read only

Former Member
0 Likes
2,177

hi,

refer to this link..

Edited by: avinash kodarapu on Jan 10, 2009 7:27 PM

Read only

jayesh_nair3
Explorer
0 Likes
2,177

Hi Avinash,

In my scenario the characteristic are already existing.I just need to upload the values based on material and batch number.

Read only

0 Likes
2,177

Hello

Please try using the BAPI "BAPI_BATCH_CHANGE".

Thanks

Manish

Read only

0 Likes
2,177

hi jayesh nair

would you know how to upload characteristic values(atwrt) based on material, class id (class) and atnam through excel.

Read only

Former Member
0 Likes
2,177

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

Read only

jayesh_nair3
Explorer
0 Likes
2,177

Hi everyone,

Thanks for the reply.

Can anyone guide me on how the input template should be for uploading?

Read only

0 Likes
2,177

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

Read only

jayesh_nair3
Explorer
0 Likes
2,177

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 ..........

Read only

0 Likes
2,177

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