cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI/FM for material assignment to an inspection plan QP02

Arun_Prabhu_K
Active Contributor
5,613

Requirement: To assign single material to an existing inspection plan.

I had referred several threads and posting it here since I did not get any concrete solution. Some threads suggest direct update of MAPL table. Hope a better method exists.

BAPI

BAPI_INSPECTIONPLAN_CHANGE is unavailable in our system.

BDC

I tried BDC but the problem is that there is no facility for new row addition to insert a material assignment. I have to do multiple page downs to get a blank row for insertion. This will increase response time when the records are more. I could write a logic for the number of page downs required based on MAPL total count divided by count of visible rows in material assignment screen of QP02 tcode.

FM

I checked ROUTING_MAINTAIN but it did not contain any input for passing task list type.

If you had done this requirement using any FM/BAPI, kindly provide the FM detail or idea in BDC to quickly get to the table control empty row in order to assign a material to an inspection plan?

View Entire Topic
RaymondGiuseppi
Active Contributor
0 Likes

Did you try to use LSMW but on transaction CWBQM not on QM02 (as in this answer)