Skip to Content
avatar image
Former Member

Material Class???

Hi all,

I need help with the following steps. I have to assign a configuration profile to a material. I know the steps, I just have to find the correct Bapi's.

1.Create Material (MM01)

2.Create Chatacteristics (CT04)

3.Create Class(CL01)

4.Assign CHARACTERISTICS TO CLASS(CL02)

5.Create configuration profile: material to class assignment (CU41)

These are the bapi's that I know of so far but I don't know if they are correct.

1.BAPI_MATERIAL_SAVEDATA

2.BAPI_CHARACT_CREATE

3.BAPI_CLASS_CREATE

4.??????, I think this step is handled in BAPI_CLASS_CREATE

5.??????, I have no idea if there is a BAPI

Can someone help me with steps 4 and 5 with a bapi or a FM?

thanks,

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 09, 2007 at 09:48 AM

    Hi,

    do you know the transaction BAPI? There are listed all available BAPI's.

    There you will find the BAPI/FM "BAPI_OBJCL_CREATE_KEY". I've never worked with this FM but it sounds good for your problem. Attention!!! No Data will be changed without using the BAPI BapiService.TransactionCommit. It's explained in the documentation of this BAPI.

    To create a Material i would use the FM "MATERIAL_MAINTAIN_DARK" without dialog.

    For step 5 i've no soulition yet. May be the bapi "BAPI_UI_CREATE" is the solution.

    Add comment
    10|10000 characters needed characters exceeded