cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI or FM for Material Assignment in QM Inspection Plan

0 Kudos

Hi QM Gurus,

Is there a possibility of using the BAPI or an FM - CZ_BT_MAPL_APPEND

to append a new material (material assignment) to an existing QM Inspection Plan?

if yes, kindly explain.

Note: This is possible via transaction QP02  and CWBQM - (Q_TSK_000000000010)

Best Regards,

Arul

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello

The bapi BAPI_INSPECTIONPLAN_CREATE is used for creation. There you can assign several materials through structure MATERIALTASKALLOCATION (BAPI1191_MTK_C). There is no bapi for modifications so you can assign other materials using LSMW or BDC as Gururaj told you or in this special case populate table MAPL directly (better talk to your ABAP to decide it); I did it without issues and I checked and the function CZ_VB_MAPL_POST could update the information you need (talk to your ABAP to validate it).

Best regards

Carlos Díaz

former_member207800
Active Contributor
0 Kudos

As Carlos Diaz Ismael already methioned, you can add data to table MAPL directly if you can validate it.

I did it also without issues.

Regards

former_member191663
Participant
0 Kudos

Hi Arul,

There isn't any BAPI for material assignment for inspection plan. Use LSMW or BDC method for this.

Regards,

Gururaj Kulkarni