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

BAPI for creating and maintaining Article Hierarchy

Former Member
0 Likes
2,428

Hi Experts,

I want to create and maintain material hierarchy through BAPI.

normally, these activities are done through tcodes CLWM (Create) and CLW1 (Assign).

But, we want to create these indirectly in mass, by importing data from a CSV file / text file.

But, for this I need to hape a proper BAPI and an working example on how to do it .

Regards,

Narsingh

3 REPLIES 3
Read only

Former Member
0 Likes
1,561

Hi

Check with below FM's ...

CLVM_CLASS_BOOK                        IN UPDATE TASK                  "       CLWM (Create)

CLVF_VB_INSERT_CLASSIFICATION in update task                         "      CLW1 (Assign)

Regard's

Smruti

Read only

Former Member
0 Likes
1,561

Hi Former Member,

you can use :

1. CLMA_CLASS_CREATE (Create Class for SAP Retail)to create the classes you need . (CLWM - Create MMS Mdse Catgry Hierarchy);

2. CLFM_WWS_CLASSIFICATION to assign CLASS hierarchy (CLW1 - Allocate Mdse Catgry Hierarchy)

3. Don't forget the : BAPI_TRANSACTION_COMMIT.

Read only

0 Likes
1,561

Hi there,

Have a question and need help by the community or looking to answer questions submitted by the community? Instead of posting into an old question thread, it is more helpful for you, if you create your own question or respond to a recent question. Here is how to get started:

  1. Learn about asking and answering questions in SAP Community with this tutorial: https://developers.sap.com/tutorials/community-qa.html
  2. Ask your detailed question here: https://answers.sap.com/questions/ask.html
  3. Wait for a response.

That's it. Thank you!
Best regards,

Your SAP Community moderator