Automate

 View Only
  • 1.  BAPI for Create InspectionPlan

    Posted 10-24-2022 10:36
    Hi, I have to make a script for uploading a number of material Inspection Plans. Interactively in SAP, QP01 works ...
    I tried with QP01, but that's not so straightforward: starts with entering materialcode & plantcode, via enter to Header Details where usage, status, plannergroup, workcenter, mod. level & mod. rule are to be entered. Operations-button leads to OperationOverview for workcenter & Ctrl-key, then InspectionCharacteristics-button for some more parameters. Moreover, when entering InspectionPlans for a material which already has InspectionPlan defined, the window looks different.
    So I wanted do go for a Direct script, according to searches on the WWW, BAPI_INSPECTIONPLAN_CREATE would be the Direct Way to go, but that doesn't seem to have all the parameters I'm supposed to enter.
    Can anyone indicate a function module or BAPI I could use  ? (SAP ECC 6.0, Studio 20.2.8 or 20.2.9)

    Thank you for any suggestion !
    regards, Jan

    ------------------------------
    jan ketele | release expert
    Xeikon Manufacturing NV | 003234431875
    ------------------------------


  • 2.  RE: BAPI for Create InspectionPlan

    Employee
    Posted 11-03-2022 15:46
    Hi Jan
    That looks to be the BAPI per this article: https://answers.sap.com/questions/2635520/creating-inspection-plan-using-bapi.html
    What is missing?
    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------



  • 3.  RE: BAPI for Create InspectionPlan

    Posted 11-04-2022 05:08
      |   view attached
    Hi Sigrid,

    Thank you for your reaction !
    I got a bit further in this quality setup, up  to a point where indeed the BAPI_INSPECTIONPLAN_CREATE proves to serve its needs.
    Still isn't ok since I'm getting a number of SAP-errors but I 'm convinced those are due to missing parameters in the complete setup, so I'm in discussion with Q-inspection team to find out what 's missing.
    fyi: BAPI-script I got so far in attachment.

    Kind regards, Jan

    ------------------------------
    jan ketele | release expert
    Xeikon Manufacturing NV | 003234431875
    ------------------------------

    Attachment(s)