on 04-15-2016 12:44 PM
Hi All,
I am searching for BAPI/ FM for adding an Unplanned Characteristic in tcode QE01, While I debug the entire Tcode several times i got an FM "QEEB_UNPLANNED_CHARACTERISTIC" still after executing that it is not added may be something else needs to be call.
Help will be appreciated...
Thanks & regards
Sumit
Hi Sumit,
Try the below code,
DATA lt_return TYPE bapirettab.
DATA ls_qamkr TYPE qamkr.
cl_qum_inspchar=>create_add_characteristic(
EXPORTING
iv_prueflos = '140000005100' " Inspection Lot Number
iv_vornr = '0010' " Operation/Activity Number
iv_probenr = '000001' " Sample Number (Based on an Inspection Point)
iv_verwmerkm = 'Q73_002' " Master Inspection Characteristics
iv_qpmk_werks = '0001' " Plant
iv_mkversion = '000001' " Version Number of the Master Inspection Characteristic
iv_kurztext = 'One More Test' " Short Text for Inspection Characteristic
iv_stichprver = '10000003' " Sampling Procedure in Inspection Characteristic
iv_pruefeinh = '1' " Sample Quantity Factor for Sample(Mult. Sample Unit of Msr.)
IMPORTING
et_return = lt_return " Table with BAPI Return Information
es_qamkr = ls_qamkr " Specifications and results for the characteristic
).
DELETE lt_return WHERE type NE 'E' AND type NE 'A' AND type NE 'F'.
IF lt_return IS INITIAL.
COMMIT WORK AND WAIT.
ENDIF.
Regards,
Murali Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you should debug QEEB_UNPLANNED_CHARACTERISTIC
meanwhile you can check the client level setting( Table ntry for unplanned characteristics in table TQSS) & valuation settings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sumit,
Please try checking the below exit -
QEEM0021 User exit: additional functions for user key +US1
EXIT_SAPLQEEM_021: Customer Function: Add. Functions for User Key +US1 (Char. S
With this function module, the function code +US1 on individual
characteristic screens is integrated in the menu option Extras.
Using field E_FCODE_NEXT, you can add an additional function code to
the function module. This function code is carried out from the
results recording transactions as a follow-up function code in a
connection with the customer function. The following functions are
available, for example, for this:
- P++ scroll to the end of the individual results table
- NSTP position the cursor at the next sample (for independent
multiple samples)
- NMKP position the cursor at the next characteristic
With input field I_QAQEE-AKTIVITAET, you can determine the
transaction type (display, record or change).
I do not have sufficient data to test this, so you can check with ABAP team in case if this works for you.
Thanks,
Arijit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.