Skip to Content
avatar image
Former Member

BAPI or FM for Material Assignment in QM Inspection Plan

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 18, 2014 at 05:29 PM

    Hi Arul,

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

    Regards,

    Gururaj Kulkarni

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 26, 2014 at 07:19 PM

    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

    Add comment
    10|10000 characters needed characters exceeded