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

Material creation for All VIEW using BAPI Function modules

Former Member
0 Likes
531

Dear All,

I want to create materials for all views using BAPI F.Ms. By using BAPI_MATERIAL_SAVEDATA i have extended materials for for only specified views. now my requirement is to create Material with All views including Classfication view also. For this i found BAPI_OBJCL_CREATEFM.

Tell me that shall i use both Fm's at time to create material.Will it work? According to my knowledge we need to create Characters first ,then we should assign this character to this class, then while creation of material we should select this class .

so pls guide me the procedure to follow for both FM's .

Note : Pls don't suggest me LSMW OR BDC procedure.

regards,

Prashanth Maturu.

1 ACCEPTED SOLUTION
Read only

former_member438956
Active Participant
0 Likes
360

Hi prashanth,

U can use both the FM. using BAPI_MATERIAL_SAVEDATA u can create all the views and for classification view use BAPI_OBJCL_CREATE. before assigning class to material u hve to make sure that the characteristics are uploaded and is attched to the class using transaction CL03.

Regards,

Anil N.

2 REPLIES 2
Read only

Former Member
0 Likes
360

you can use both FM's

Read only

former_member438956
Active Participant
0 Likes
361

Hi prashanth,

U can use both the FM. using BAPI_MATERIAL_SAVEDATA u can create all the views and for classification view use BAPI_OBJCL_CREATE. before assigning class to material u hve to make sure that the characteristics are uploaded and is attched to the class using transaction CL03.

Regards,

Anil N.