INSPECTIONPLAN_CREATE  (Specify a valid data import mode for master inspec)

BAPI_INSPECTIONPLAN_CREATE this is the bapi where i am updating INSPECTION LPAN ,,,i am getting this error if i update it with (MSTR_CHAR )master inspection char or else it is updating. Is there any key field to be given? Even i tried passing C,L, but its not working... Can any one help me for this,,

If you try this it will work,,,but here i have the import mode as 'N'.
     LOOP  AT lt_insp_char_temp INTO wa_insp_char_temp.
      wa_insp_char-inspchar          =  wa_insp_char_temp-merknr.
      wa_insp_char-mstr_char        =  wa_insp_char_temp-verwmerkm.
      IF wa_insp_char-mstr_char IS NOT INITIAL.
        wa_insp_char-cha_master_import_modus = 'N'.
      ENDIF.
      READ TABLE lt_qpmk  INTO wa_qpmk WITH KEY mkmnr = wa_insp_char_temp-verwmerkm.
      IF sy-subrc = 0.
        MOVE wa_qpmk-steuerkz TO wa_qmkst.
        wa_insp_char-quantitative_ind                 = wa_qmkst-quantitat.
        wa_insp_char-meas_value_confirm_ind  = wa_qmkst-messwerte.
        wa_insp_char-attribute_required_ind       = wa_qmkst-pruefkat.
        wa_insp_char-up_tol_lmt_ind                   = wa_qmkst-toleroben.
        wa_insp_char-lw_tol_lmt_ind                   = wa_qmkst-tolerunten.
        wa_insp_char-scope_ind                         = wa_qmkst-pumfkz.
        wa_insp_char-result_recording_type      = wa_qmkst-estukz.
        wa_insp_char-docu_requ                        = wa_qmkst-dokukz.
        wa_insp_char-confirmation_category     = wa_qmkst-rzwang.
        wa_insp_char-sampling_procedure_ind  = wa_qmkst-stichpr.
        wa_insp_char-qscore_and_share_relevant = wa_qmkst-ausslos.
        wa_insp_char-defect_no_confirmation    = wa_qmkst-bewfhlzhl.
        wa_insp_char-target_val_check_ind       = wa_qmkst-sollpruef.
        wa_insp_char-long_term_insp_ind          = wa_qmkst-lzeitkz.
        wa_insp_char-add_sample_quantity       = wa_qmkst-addpro.
        wa_insp_char-destructive_insp_ind        = wa_qmkst-zerstprf.
      ENDIF.
      wa_insp_char-pmstr_char            = wa_insp_char_temp-qpmk_werks.
      wa_insp_char-activity                   = wa_insp_char_temp-inspec_opr_no.
      wa_insp_char-char_descr            = wa_insp_char_temp-kurztext.
      wa_insp_char-smpl_procedure     = wa_insp_char_temp-stichprver.
      wa_insp_char-smpl_unit                = wa_insp_char_temp-probemgeh.
      wa_insp_char-smpl_quant            = wa_insp_char_temp-bmsch.
      wa_insp_char-spc_criterion_key  = wa_insp_char_temp-spckrit.
      wa_insp_char-dec_places            = wa_insp_char_temp-stellen.
      wa_insp_char-lw_tol_lmt              = wa_insp_char_temp-toleranzun.
      wa_insp_char-up_tol_lmt              = wa_insp_char_temp-toleranzob.
      wa_insp_char-meas_unit              = wa_insp_char_temp-masseinhsw.
      wa_insp_char-sel_set1                = wa_insp_char_temp-auswmgwrk1.
      wa_insp_char-psel_set1              = wa_insp_char_temp-qpmk_werks.
      wa_insp_char-infofield1               = wa_insp_char_temp-dummy10.
      wa_insp_char-pmethod                = wa_insp_char_temp-qpmk_werks.
      IF wa_insp_char_temp-spckrit IS NOT INITIAL AND
         wa_insp_char_temp-stichprver IS NOT INITIAL.
        wa_insp_char-spc_ind  = 'X'.
      ENDIF.
      APPEND wa_insp_char TO lt_insp_char.
      CLEAR:wa_insp_char.
    ENDLOOP.

Similar Messages

  • Specify a valid Date error

    Dear Experts
    I have assigned 5 questionnaires to Business activity - Appointment.Now when i run the transaction and i fill questionnaire and submit it is giving error of "specify a valid date"
    What could be the reason for the same?

    Hi Rajat,
    Does the questionaire have a date field ?
    Regards,
    Anup

  • (Administration - Marketing - Import), you can set a parameter value "Import mode" for what to do in case of duplication as "update existing records", "Import new records". The final report of this import is presented as a text file that can be viewed in

    Administration - Marketing -> Import, you can set a parameter value "Import mode" for what to do in case of duplication as "update existing records", "Import new records". The final report of this import is presented as a text file that can be viewed in Business Administration - Marketing -> Import -> Exceptions. Whatever the exception, including duplication import occurs during import and recorded in a text file.   What are the fields that determine the duplicity? How I can I can change those?

    You will be returned anything that is in the option's value parameter. What is displayed in the dropdown and what is put in the value attribute do NOT need to be the same, so maybe you should start there.

  • How to set the Data Synchronisation mode for ADF BC component?

    Hi All,
    How to set the Data Synchronisation mode for ADF BC component
    Thanks
    Raghavendra

    Can you clarify what you mean by the data synchronization mode?
    If you mean the Sync Mode, then in 10.1.3 you set this property by:
    1. Selecting your DataBindings.cpx file
    2. Expanding the "Data Control Usages" section in the structure window
    3. Selecting the ADFBC-based data control
    4. Setting the "syncMode" property in the property inspector.

  • SAP BPC - As per IFRS, data entry mode for OWNERSHIP model is YTD. Why?

    Dear All,
    As per IFRS, data entry mode for OWNERSHIP model is YTD. I do not understand this. YTD means accumulated data. When it comes to Ownership data(Consolidation Perimeter), it goes by month. Consolidation is done month by month. If so, why is YTD the data entry mode for OWNERSHIP model?
    Pls. help to understand!
    Thank you.
    Regards,
    Peri

    Hi Peri,
    the information stored in the ownership model (method and percentages) is used as it is entered by month. At least in BPC MS I have found no difference between having the ownership cube as YTD or periodic as all my accounts in that cube are defined as AST accounts.
    However, conceptually, since the consolidation model usually is YTD I think it makes sense to have the ownership also as YTD.
    BR,
    Arnold

  • Difference between passive and active data connection mode for  FTP

    Hi,
    Does any body have the idea of passive and active data connection mode for the transport protocol FTP.
    I have one server with FTP, I have to pick the data from this FTP to XI.
    What is the difference between active and passive data connection? Does XI supports both the connections?
    Thanks & Regards
    Katta Mohan Reddy

    Hi
    According to SAP Note - 821267
    Q: Does the File Adapter support active data connections when connecting to an FTP server?
    A: Up to and including SP14, the File Adapter exclusively uses passive data connections. Starting with SP15, active connections will be available.
    Difference between active and passive,
    You can definitely refer to the site mentioned by Suraj
    cheers
    Sameer

  • Changing validity date using BAPI_PROFITCENTER_CHANGE for a profit center.

    Hi Friends
    I need your help to know if we can use BAPI_PROFITCENTER_CHANGE to change the validity period of a profit center.I am using this BAPI in a LSMW program.
    The changes I want to make are something like changing the validity dates from
    1) 01/01/2006 - 12/12/9999 to 01/01/2007 - 12/12/9999
    2) 01/01/2006 - 12/12/9999 to 01/01/2005 - 12/12/9999
    3) 01/01/2006 - 12/12/9999 to 01/01/2006 - 12/12/2010
    or should I use BAPI_PROFITCENTER_CREATE?
    -Thanks
         Mitesh

    change document in profit center change
    Bapi - BAPI_ASSET_ACQUISITION_POST
    need a function module for profit center
    Please give me reward points...

  • Data flow model for Master data extraction

    Hello friends,
    I have the following scenario where the report layout looks like this. What would be the data flow model for this example if I'm loading master data from R/3
    KNVV     KNA1     KNVP     KNA1     KNA1     KNVP     KNA1
    VKORG     KATR1     KUNN2     NAME1     KTOKD     KUNNR     NAME1
    Sales Org     BCG     Payer No      Payer Nm     Acc Grp     Sold 2 No     Sold 2 Name
    I would appreciate any help.
    Thanks

    Balaji,
    are you trying to develop a master data IOBJ for the field combination given and want to know how to proceed ?
    Did you check out if the current 0customer master data already has the required fields ?
    otherwise you can
    1. create a view for the master
    2. create a FM for the same and use that as a datasource.
    I would suggest you look at the customer master that comes as part of business content first.
    Arun
    Assign points if useful

  • How do you specify a "custom data retrieval program" for a query ?

    I may have to rebuild an old SQ01 query in ECC 5.0 to get rid of some hyphens in structure field names.
    The query gets its data from a custom retrieval program.
    How do I specify the custom retrieval program when (and if) I redo the query?
    Thanks
    Dave

    When you go to SQ02, ente the infoset name and click the change button,  then on the next screen,  click Go To,  Global Properties,  notice here is the same dialog when you create the infoset, notice the radibuttons, notice the one for   data retreival by program,  I think this is what you are looking for, but as you can see here you will not be able to change it.  I think you may have to re-create the infoset as well if you want to change this.
    Regards,
    Rich Heilman

  • Data load error for master data

    hi
    both errors i need to fix manually or any automatic is there
    psa i need to edit that record and run again infopackage.
    i need keep that infoobject(BIC/ZAKFZKZ ) alpha conversion at infoobject level.
    Errors in values of the BOM explosion number field:
    Diagnosis
        Data record 5584 & with the key '001 3000000048420000 &' is invalid in
        value 'BOX 55576\77 &' of the attribute/characteristic 0RT_SERIAL &.
    InfoObject /BIC/ZAKFZKZ contains non-alpha compliant value 1

    Hi Suneel,
    I feel that the symbol '&' is cauing the issue in ur data loads..
    So try to edit the same at the PSA and then load the data from PSa to the target..
    Also u can use RSKC to handle these special Chars..
    For more information u can search SDN..
    Thanks
    Hope this helps

  • Importing Attachments for Master Agreements in CLM

    I am attempting to load contract files (.doc/PDF) using the import tool and I am having issues.  What needs to be populated in the 'Attachment Order Code' field in the load file.
    Can someone outline the steps to load an existing contract created outside of CLM to a master agreement?
    I am using E-Sourcing 5.1/CLM 2.0.
    Thanks in Advance,
    Kyle

    Jeff,
    It does make sense to me what you are trying but it does not make sense in the logic of SAP Sourcing.  You don't want the suppliers to see the button to not confuse them but in the logic if you activate it on one side the possibility you are sharing a document is real so it should be visible on both sides or you will have confusion on the buyer side if someone chooses internal and external view while the supplier doesn't see even the attachment section.
    On the buyer side the default is internal only so if this is not changed by the master agreement owner on the buyer side the attachment section will always be empty for the supplier causing no unnecessary confusion.
    There is no way at present to hide this only on the supplier side as far as I see it.
    Regards,
    Erik

  • Can I specify more than one para tag for master page mapping?

    Hi,
    I want to map the same master page to be used by four different tags. Must I create a new row in the mapping table for each or can I separate the tag names by a comma and a space, for example, "Body, Bullet, Heading1, Note"?
    I tried the latter and expected it to work, but it did not.
    Thanks,
    Sean

    > ... create a new row in the mapping table for each ...
    That works, and has no side effects that I've seen.
    It appears, by the way, that FM applies the MP based on the first para tag found that has a MasterPageMaps table entry, so multiple matches per page, even conflicting, are not a problem, as long as getting the MP for first-found is OK with you.

  • Data Source creation for Master Data from Flat File to BW

    Hi,
    I need to upload Master Data from Flat File. Can anybody tell step by step right from begining of creation of DataSource up to Loading into Master Data InfoObject.
    can any body have Document.
    Regards,
    Chakri.

    Hi,
    This is the procedure.
    1. Create m-data with or without attributes.
    2. Create infosource .
        a) with flexible update
             or
        b) with direct update
    3. Create transfer rules and assign tyhe names of m-data and attribute in "Transfer rules" tab and transfer them to communication structure.
    4. Create the flat-file with same stucture as communication structure.
    5. if chosen direct update then create infopackage and assign the name of flat-file and schedule it.
    6. if chosen flexible update the create update rule with assigning name of the infosource and the schedule it by creating infopackage.
    Hope this helps. If still have prob then let me know.
    Follow this link also.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
    Assign points if helpful.
    Vinod.

  • Validation or somethin else (for master records)

    Hi everyone, I just want to set some rules in vendorsu2019 master records, and I donu2019t how I can do this with some validation or with something else. I want when sap user creates vendor master records, if the bank country key (field u2013 BANKS) is = u201CMKu201D, then the field Bank account number (field u2013 BANKN), must be 12 characters or the vendor master records canu2019t be saved. So please if is possible, then some one to send me detail (because i am new on this) example how it can be done.
    Moderator: Please, search SDN

    Hello,
    You can control this using country specific checks in view V_005_B.
    Use transaction code SM30 to maintain the settings here.
    Also you can access the setting with below patch.
    IMG > SAP NetWeaver > General settings > Set countries > Set Country Specific Checks.
    Thanks!
    Raju

  • Data mart sources for master data

    Hello,
    Infoobject ZWBS_ELEM is an export data source. But I dont see it in infosource area starting with 8.  Option diplay generated objects was set to "SHOW".
    How to see the 8ZWBS_ELEM?

    Hi Aleksandrs,
          Hope you can't generate export data source on Info objec.
          But you can create a characterstic as a data target.
    Regards,
    PRK
    Message was edited by: PRK
    Message was edited by: PRK

Maybe you are looking for

  • Making A Row Of Thumbnails The Same Size As The Screen Monitor No Matter What Montior You Use

    I am making a website and am trying to get the row of thumbnails/cells (which contain 5 thumbnails across each set in a cell) to be the same length as the screen monitor so that you do not have to scroll horizontally across to see more cells/thumbnai

  • The new Update with the Patch for Camera Raw is not working. Code U44M1P34

    Hi there, i have a problem with the new CC Update - including the patch for Camera Raw 8.7.1 Error Code: U44M1P34 Photoshop CC (2014) After Effects CC (2014) Brisge CC The logfile shows 1 fatal error: FATAL: Payload 'Photoshop Camera Raw 8_8.7_AdobeC

  • Upgrading from iPhone 3g to iPhone 4 - how to with no dataloss?

    I am upgrading from an iPhone 3g to a iPhone 4. I don't want to lose any data (messages/contacts/apps) between the switch. I am currently using a desktop that I am synchronized with. However, once I get the iPhone 4, I want to synchronize my phone wi

  • Suddenly can't connect to a single torrent tracker.

    I'm not talking about peers/seeders or download speeds here, but the actual connection where I can see information about the particular torrent before downloading is even considered. I've never had a problem before, and usually download around 50GB a

  • Connect 2 routers to cable modem

    Hey guys i'm struggling here any help will be greatly appreciated. i have 2 routers with a switch and pc connected to the switch. i  am working on RIP and i enabled it on both routers. my current set up is this: PC---Switch(3550)---Router2(2610)---Ro