Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_ROUTING_CREATE error

Former Member
0 Likes
1,130

HI ALL ,

  i try to use bapi for creating routing but that error display in my program but not display when i test bapi from se37

error

Inspection characteristic cannot be uniquely assigned to one operation

i attach my code .

please advise.


2 REPLIES 2
Read only

Former Member
0 Likes
716

Hi

     Below notes is the conditions for inspection characterstics.

  • INSPCHARACTERISTIC
  • You generate an entry for each inspection characteristic in this table. To identify the inspection characteristics you have to enter an inspection characteristic number in the field INSPCHAR. You can create inspection characteristics with or without reference to a master inspection characteristic. In the field CHA_MASTER_IMPORT_MODUS (Modus for the reference to the master inspection characteristic) enter the reference to the master inspection characteristic: 'L' for reference. In this case, the master inspection characteristic has to be completely maintained. In the parameter INSPCHARACTERISTIC you only have to supply those fields that could not be copied from the master inspection characteristic; 'C' for copy the data from the master inspection characteristic into the inspection characteristic, 'N' for create a lockable and unlockable reference to the master inspection characteristic without a data transfer from the master inspection characteristic. In this case manually fill out all fields in the parameter INSPCHARACTERISTIC.
  • You can either transfer the inspection characteristic control indicator directly from the master inspection characteristic, enter it individually or in the field PRESET_CTRL_INDS_KEY you enter a key for the control indicator if you have stored this key in Customizing.
  • If you have individually entered a control indicator, note the following special features:
  • SCOPE_IND: Inspection scope. This indicator can have different
    characteristics:
    You set " " for: Free inspection scope
    You set "<" for: Smaller inspection scope permitted
    You set ">" for: Larger inspection scope permitted
    You set "=" for: Defined inspection scope
  • RESULT_RECORDING_TYPE: Record entry type. This indicator can have different characteristics:
    You set "-" for: No record entry
    You set "*" for: Classified record entry
    You set "+" for: Single record entry
    You set " " for: Summarized record entry
  • DOCU_REQU: Documentation required for check results. This indicator can
    have different characteristics:
    You set " " for: No documention required
    You set "." for: Documentation for rejection
    You set "+" for: Document all check results
    You set "+" for: Document all check results.
  • CONFIRMATION_CATEGORY Characteristic category
    You set " " for: Optional characteristic
    You set "+" for: Limited to the acceptance of the previous mandatory characteristic
    You set "-" for: Limited to the rejection of the previous mandatory characteristic
  • You set "X" for: Mandatory characteristic
    PRINT_IND: Print control
    This indicator can have different characteristics:
    You set " " for: Print
    You set "x" for: Do not print
    You set "*" for: Do not print at skip
  • If you want to assign an inspection equipment to the inspection characteristic in the field ITEM_NO_OF_PRODUCTION_RESOURCE, note that this has to be assigned to the operation in the PARAMETER PRODUCTIONRESOURCE.
Read only

0 Likes
716

thanks for your replay .

this is my code , please what is the missing in it so that error display

G_INSPCHARACTERISTIC-GROUP_COUNTER = GS_FILE2-groupcounter .

      G_INSPCHARACTERISTIC-ACTIVITY      = GS_FILE2-insp_activity .

      G_INSPCHARACTERISTIC-VALID_FROM    = SY-DATUM .

*      G_INSPCHARACTERISTIC-VALID_TO_DATE = '99991231' .

      G_INSPCHARACTERISTIC-MSTR_CHAR     = GS_FILE2-MSTR_CHAR .

      G_INSPCHARACTERISTIC-PMSTR_CHAR    = GS_FILE2-PLANT .

      G_INSPCHARACTERISTIC-CHA_MASTER_IMPORT_MODUS = 'C' .