You are on page 1of 9

Create Generic and Variants Using LSMW | SCN http://scn.sap.com/community/retail/blog/2014/12/04/create-generic-and...

Getting Started Newsletters Store

Hi, Guest Log On Join Us Search the Community

Products Serv ices & Support About SCN Downloads


Activ ity Com m unications Actions
Industries Training & Education Partnership Dev eloper Center

Lines of Business Univ ersity Alliances Ev ents & Webinars Innov ation Browse

SAP for Retail

Create Generic and Variants Using LSMW


Posted by Paul Gendreau in SAP f or Retail on Dec 4, 2014 4:29:57 PM

Share 2 0 Tweet Like 3

Article Master LSMW Generic/Variants - ARTMAS05

This subject raised a f ew questions in an SCN thread with the title of Error while try ing to create Generic
Articles with v ariants using LSMW (ARTMAS05).

A document that I wrote in response to that question is requested f requently. This post replaces the document
named md_article_generic_lsmw.pdf

Creating a generic article master with v ariant articles is accomplished v ia processing of one ARTMAS05 IDoc.

There is important prerequisite master data, which is detailed in steps below that were executed to create an
example.

PROCESS STEP PROCESS STEP IMAGE


CT04 Create Characteristic

Create HN_COLOURS

CT04 Create Characteristic

Maintain v alues f or HN_COLOURS

1 of 9 9/6/2016 9:44 AM
Create Generic and Variants Using LSMW | SCN http://scn.sap.com/community/retail/blog/2014/12/04/create-generic-and...

PROCESS STEP PROCESS STEP IMAGE


CLWE Create Characteristic
Profile

Create HN001

CLWE Create Characteristic


Profile

Assign Characteristic and make


relev ant f or the creation of Variants.

WG21 Create Merchandise


Category

Create S14

WG22 Change Merchandise


Category

Change S14

Assign Characteristic Prof ile HN001

WG22 Change Merchandise


Category

Change S14

Create ref erence article.

2 of 9 9/6/2016 9:44 AM
Create Generic and Variants Using LSMW | SCN http://scn.sap.com/community/retail/blog/2014/12/04/create-generic-and...

PROCESS STEP PROCESS STEP IMAGE


WG22 Change Merchandise
Category

This takes y ou to MM41 / MM42 to


create or change the ref erence article.

Create ref erence article A11000011.


Maintain all v iews except Purchasing.

LSMW Process ARTMAS05

See IDoc detail at end of document.

LSMW Process ARTMAS05

See IDoc detail at end of document.

LSMW Process ARTMAS05

See IDoc detail at end of document.

3 of 9 9/6/2016 9:44 AM
Create Generic and Variants Using LSMW | SCN http://scn.sap.com/community/retail/blog/2014/12/04/create-generic-and...

PROCESS STEP PROCESS STEP IMAGE


LSMW Process ARTMAS05

See IDoc detail at end of document.

MM43 Display Article

Click the Variants button to display the


Variants.

MM43 Display Article

Here is the IDoc that created the example Article Master


Observ e the usage of segments and f ields.

SEGMENT FIELD NAME SHORT VALUE


DESCRIPTION
E1BPE1MATHEAD FUNCTION Function 009
E1BPE1MATHEAD MATERIAL Article Number A11000010
E1BPE1MATHEAD MATL_TY PE Article Ty pe HAWA
E1BPE1MATHEAD MATL_GROUP Merchandise Category S14
E1BPE1MATHEAD MATL_CAT Article Category 01
E1BPE1MATHEAD CHAR_PROF Characteristic HN001
prof ile
E1BPE1MATHEAD REF_MATL Ref erence article A11000011
E1BPE1MATHEAD BASIC_VIEW Include Basic Data View X
E1BPE1MATHEAD LIST_VIEW Indicator: Consider X
Listing v iew
E1BPE1VARKEY FUNCTION Function 009
E1BPE1VARKEY MATERIAL Article Number A11000010
E1BPE1VARKEY VARIANT Variant number A11000010001
E1BPE1VARKEY FUNCTION Function 009
E1BPE1VARKEY MATERIAL Article Number A11000010

4 of 9 9/6/2016 9:44 AM
Create Generic and Variants Using LSMW | SCN http://scn.sap.com/community/retail/blog/2014/12/04/create-generic-and...

SEGMENT FIELD NAME SHORT VALUE


DESCRIPTION
E1BPE1VARKEY VARIANT Variant number A11000010002
E1BPE1AUSPRT FUNCTION Function 009
E1BPE1AUSPRT MATERIAL Article Number A11000010001
E1BPE1AUSPRT CHAR_NAME Characteristic Name HN_COLOURS
E1BPE1AUSPRT CHAR_VALUE Characteristic Value 10
E1BPE1AUSPRT FUNCTION Function 009
E1BPE1AUSPRT MATERIAL Article Number A11000010002
E1BPE1AUSPRT CHAR_NAME Characteristic Name HN_COLOURS
E1BPE1AUSPRT CHAR_VALUE Characteristic Value 20
E1BPE1AUSPRTX FUNCTION Function 009
E1BPE1AUSPRTX MATERIAL Article Number A11000010001
E1BPE1AUSPRTX CHAR_NAME Characteristic Name HN_COLOURS
E1BPE1AUSPRTX CHAR_VALUE Updated inf ormation X
in related user data f ield
E1BPE1AUSPRTX FUNCTION Function 009
E1BPE1AUSPRTX MATERIAL Article Number A11000010002
E1BPE1AUSPRTX CHAR_NAME Characteristic Name HN_COLOURS
E1BPE1AUSPRTX CHAR_VALUE Updated inf ormation X
in related user data f ield
E1BPE1MARART FUNCTION Function 009
E1BPE1MARART MATERIAL Article Number A11000010
E1BPE1MARART OLD_MAT_NO Old article number 9999MAT
E1BPE1MARART BASE_UOM Base Unit of Measure EA
E1BPE1MARART TRANS_GRP Transportation Group 0001
E1BPE1MARART DIVISION Div ision 10
E1BPE1MARART TAX_CLASS Tax classif ication of 1
the article
E1BPE1MARART1 BRAND_ID Brand 0001
E1BPE1MARARTX FUNCTION Function 009
E1BPE1MARARTX MATERIAL Article Number A11000010
E1BPE1MARARTX OLD_MAT_NO Updated inf ormation X
in related user data f ield
E1BPE1MARARTX BASE_UOM Updated inf ormation X
in related user data f ield
E1BPE1MARARTX TRANS_GRP Updated inf ormation X
in related user data f ield
E1BPE1MARARTX DIVISION Updated inf ormation X
in related user data f ield
E1BPE1MARARTX TAX_CLASS Updated inf ormation X
in related user data f ield
E1BPE1MARARTX BRAND_ID Updated inf ormation X
in related user data f ield
E1BPE1MAW1RT FUNCTION Function 009
E1BPE1MAW1RT MATERIAL Article Number A11000010
E1BPE1MAW1RT REPL_LIST Assortment List Ty pe 1
E1BPE1MAW1RT ABC_ID ABC Indicator A
E1BPE1MAW1RT PUR_GROUP Purchasing Group 100
E1BPE1MAW1RT COUNTRY ORI Country of origin of AU
the article
E1BPE1MAW1RT LOADINGGRP Loading Group 0001
E1BPE1MAW1RT ASSORT_LEV Assortment grade 1
E1BPE1MAW1RT LI_PROC_ST Listing procedure f or B1
store or other assortment categories
E1BPE1MAW1RT LIST_ST_FR Date f rom which 20130401
listed in the store
E1BPE1MAW1RT LIST_ST_TO Date to which listed 99991231
in the store
E1BPE1MAW1RT SELL_ST_FR Date f rom which sold 20130401
in the store

5 of 9 9/6/2016 9:44 AM
Create Generic and Variants Using LSMW | SCN http://scn.sap.com/community/retail/blog/2014/12/04/create-generic-and...

SEGMENT FIELD NAME SHORT VALUE


DESCRIPTION
E1BPE1MAW1RT SELL_ST_TO Date to which sold in 99991231
the store
E1BPE1MAW1RT VAL_CLASS Valuation Class 3100
E1BPE1MAW1RTX FUNCTION Function 009
E1BPE1MAW1RTX MATERIAL Article Number A11000010
E1BPE1MAW1RTX REPL_LIST Updated inf ormation X
in related user data f ield
E1BPE1MAW1RTX ABC_ID Updated inf ormation X
in related user data f ield
E1BPE1MAW1RTX PUR_GROUP Updated inf ormation X
in related user data f ield
E1BPE1MAW1RTX COUNTRY ORI Updated inf ormation X
in related user data f ield
E1BPE1MAW1RTX LOADINGGRP Updated inf ormation X
in related user data f ield
E1BPE1MAW1RTX ASSORT_LEV Updated inf ormation X
in related user data f ield
E1BPE1MAW1RTX LI_PROC_ST Updated inf ormation X
in related user data f ield
E1BPE1MAW1RTX LIST_ST_FR Updated inf ormation X
in related user data f ield
E1BPE1MAW1RTX LIST_ST_TO Updated inf ormation X
in related user data f ield
E1BPE1MAW1RTX SELL_ST_FR Updated inf ormation X
in related user data f ield
E1BPE1MAW1RTX SELL_ST_TO Updated inf ormation X
in related user data f ield
E1BPE1MAW1RTX VAL_CLASS Updated inf ormation X
in related user data f ield
E1BPE1MAKTRT FUNCTION Function 009
E1BPE1MAKTRT MATERIAL Article Number A11000010
E1BPE1MAKTRT LANGU Language Key E
E1BPE1MAKTRT MATL_DESC Article Description QUEEN BED
(Short Text)
E1BPE1MARMRT FUNCTION Function 009
E1BPE1MARMRT MATERIAL Article Number A11000010
E1BPE1MARMRT ALT_UNIT Alternativ e Unit of KG
Measure f or Stockkeeping Unit
E1BPE1MARMRT NUMERATOR Numerator f or 1
Conv ersion to Base Units of Measure
E1BPE1MARMRT DENOMINATR Denominator f or 1
conv ersion to base units of measure
E1BPE1MARMRT LENGTH Length 10
E1BPE1MARMRT WIDTH Width 12
E1BPE1MARMRT HEIGHT Height 15
E1BPE1MARMRT UNIT_DIM Unit of Dimension f or M
Length/Width/Height
E1BPE1MARMRT VOLUMEUNIT Volume unit CCM
E1BPE1MARMRT GROSS_WT Gross Weight 1
E1BPE1MARMRT UNIT_OF_WT Weight Unit KG
E1BPE1MARMRTX FUNCTION Function 009
E1BPE1MARMRTX MATERIAL Article Number A11000010
E1BPE1MARMRTX ALT_UNIT Alternativ e Unit of KG
Measure f or Stockkeeping Unit
E1BPE1MARMRTX NUMERATOR Updated inf ormation X
in related user data f ield
E1BPE1MARMRTX DENOMINATR Updated inf ormation X
in related user data f ield
E1BPE1MARMRTX LENGTH Updated inf ormation X
in related user data f ield

6 of 9 9/6/2016 9:44 AM
Create Generic and Variants Using LSMW | SCN http://scn.sap.com/community/retail/blog/2014/12/04/create-generic-and...

SEGMENT FIELD NAME SHORT VALUE


DESCRIPTION
E1BPE1MARMRTX WIDTH Updated inf ormation X
in related user data f ield
E1BPE1MARMRTX HEIGHT Updated inf ormation X
in related user data f ield
E1BPE1MARMRTX UNIT_DIM Updated inf ormation X
in related user data f ield
E1BPE1MARMRTX VOLUMEUNIT Updated inf ormation X
in related user data f ield
E1BPE1MARMRTX GROSS_WT Updated inf ormation X
in related user data f ield
E1BPE1MARMRTX UNIT_OF_WT Updated inf ormation X
in related user data f ield
E1BPE1MLTXRT FUNCTION Function 009
E1BPE1MLTXRT APPLOBJECT Texts: Application MATERIAL
Object
E1BPE1MLTXRT TEXT_NAME Name A11000010
E1BPE1MLTXRT TEXT_ID Text ID BEST
E1BPE1MLTXRT LANGU Language key E
E1BPE1MLTXRT TEXT_LINE Text Line POS 2nd line
description
E1BPE1MLTXRT MATERIAL Article Number A11000010
E1BPE1MLTXRT MATERIAL_EXTERNAL Long Article Number
f or MATERIAL Field
E1BPE1MLTXRT MATERIAL_GUID External GUID f or
MATERIAL Field
E1BPE1MLTXRT MATERIAL_VERSION Version Number f or
MATERIAL Field

--- end of document ---

1563 Views Categories: Retail Blogs Tags: lsmw, conversion, artmas, lsmw-idoc;, article_master

Av erage User Rating

(3 ratings)

Share 2 0 Tweet Like 3

6 Comments

SR Kumar Dec 4, 2014 4:42 PM

Thanks Paul f or the inf ormativ e LSMW f or Article Master upload.

Regards,
SRK

Like (0)

Romain Ledu Jan 8, 2015 4:33 PM

Hello Paul,

Thank y ou f or y our inf ormation.

I cannot create generic/v ariants with idoc ARTMAS because i use transaction WRFCHVAL to
def ine characteristic v alues of my characteristic.

Same steps as y our but :


- when I create my characteristic I indicate f unction module "WRF_CHECK_CHAR_VAL" in v alue
tab.
- Then, I indicate characteristic v alues in transaction WRFCHVAL instead of CT04.

When I try to create materials with this characteristic through doc I alway s hav e the same

7 of 9 9/6/2016 9:44 AM
Create Generic and Variants Using LSMW | SCN http://scn.sap.com/community/retail/blog/2014/12/04/create-generic-and...

message "No characteristics could be determined for the generic material"

For inf ormation, when I create a material through transaction MM41 with this characteristic,
ev ery thing is OK.

Do y ou hav e any idea?

Thank y ou in adv ance f or y our f eedback.

Romain Ledu

Like (0)

Paul Gendreau Jan 8, 2015 7:26 PM (in response to Romain Ledu)

Hello Romain:

You are using New Characteristic Value Storage. I hav e not tested that case, but I don't
believ e that the ARTMAS should be populated any dif f erently.

Take a look at y our f ailed IDoc, pay ing attention to:

E1BPE1AUSPRT-CHAR_NAME
E1BPE1AUSPRT-CHAR_VALUE
E1BPE1AUSPRTX-CHAR_NAME
E1BPE1AUSPRTX-CHAR_VALUE

Are those f our f ields f illed correctly ?

- Paul

----------------------------------
Paul R. Gendreau, Jr.
SAP Retail

Like (0)

Ramakrishna Nuthalapati Jun 4, 2015 3:59 PM (in response to Paul Gendreau)

Hello Paul and Romain,

I am also f acing the issue. Used new char v alue storage.


Getting message ,, No Characteristics could be determined f or generic material.
Idoc processed successf ully. Error comes while opening Generic article in
MM43.

Let me know if y ou hav e solution.

Thanks,
Krish

Like (0)

Sep 30, 2015 7:51 PM (in response to Paul Gendreau)

Hello Paul

I f ollowed y our manual and it works perf ectly. But I hav e an issue.

When I enter to MM42/MM43 with my generic article I can see that my v ariants
are created BUT their characteriscs are not "checked" when I click on "Values".

I don't know if this is the normal behav ior because y o do not mentioned this
any where.

If it is not normal, can y ou please help me? I need the relev ant characteristics
of my v ariants as checked.

Best regards.

Like (0)

Sudhanva Joshi Jan 12, 2015 8:38 AM

Hello Paul,

I hav e a requirement of creation of similar article master by LSMW+IDOC method f or Single,


Generic and Variant articles.

To start with, I hav e started creating a single article and I hav e f illed all the f ields but getting an
error 'No entry in key f ield of table MARM'.

I hav en't maintained data in AUSP segment since this is single article.

Need help on this.

Thanks & Regards,


Sudhanv a Joshi

8 of 9 9/6/2016 9:44 AM
Create Generic and Variants Using LSMW | SCN http://scn.sap.com/community/retail/blog/2014/12/04/create-generic-and...

Like (0)

Site Index Contact Us SAP Help Portal


Follow SCN
Privacy Terms of Use Legal Disclosure Copyright

9 of 9 9/6/2016 9:44 AM

You might also like