cancel
Showing results for 
Search instead for 
Did you mean: 

Special characters in BAPI_INSPOPER_RECORDRESULTS

Former Member
0 Kudos

Hi,

How do you pass spl. chars to  BAPI_INSPOPER_RECORDRESULTS.

Like when the user enters <100 in the result recording, how can we handle it in bapi.

Thanks,

Fran

Accepted Solutions (0)

Answers (1)

Answers (1)

busyaban7
Active Contributor
0 Kudos

Hi Fran,

The value you are trying to enter [Example; <100] is an alfa-numeric valve, which will not be possible to entered 'As-Is' as "Results" for Numeric MIC, as per standard SAP. If you wish to add such a value via FM: BAPI_INSPOPER_RECORDRESULTS, then you should update either of the fields -

CHAR_RESULTS-REMARK [40 character limit for short text]

SAMPLE_RESULTS-REMARK [40 character limit for short text]

SINGLE_RESULTS-REMARK [40 character limit for short text]

When you do that, technically these strings will be uploaded in the fields - QASE-PRUEFBEMKT, or QASR-PRUEFBEMKT or QAMR-PRUEFBEMKT, which is basically the field called "Inspection Description" [40 Character]. For further valuating the MIC against uploaded string, you need to build a business logic, and then set the parameters - CLOSED, EVALUATED and EVALUATION.

Thanks,

Arijit

Former Member
0 Kudos

Hi Arijit,

Thanks for the reply....I handled it this way.....

Split the value to '<' and '100' separately. Passed the char part'<' to CHAR_RESULTS-CHAR_ATTR field and the numeric part '100' to CHAR_RESULTS-MEAN_VALUE field and it worked as expected.

Thanks,

Fran G