cancel
Showing results for 
Search instead for 
Did you mean: 

qualityInspectionMeEvalResultRecording message - SFC instead of externalID

robert_altenstraer
Active Participant
0 Kudos

Hi to all

has anybody an idea how I can get the SFC number in the field of the externalID ?

in the qualityInspectionMeEvalResultRecording.xslt there is no information about the SFC...

Background: we want to store the SFC number as sampling number in ERP...

many Thanks

Robert

Accepted Solutions (1)

Accepted Solutions (1)

robert_altenstraer
Active Participant
0 Kudos

Hello all,

now I found a solution for my topic..

important: read this blog ... (but use the last part )

https://blogs.sap.com/2013/11/21/sap-me-61-custom-plugins-xslt-java-mii-transaction-for-sapmeint-wor...

>> so you can add a transaction and modify the XML in that way what you want....

> on each ITEM in the XML Row ( Transaction.outputXML{/BAPI_INSPOPER_RECORDRESULTS/TABLES/SINGLE_RESULTS/item})

> select for the SFC ( via join on these tables SAMPLING_GROUP_SFC and SFC )

> change in the xmp output:

TargetXPath: Transaction.outputXML{/BAPI_INSPOPER_RECORDRESULTS/TABLES/SINGLE_RESULTS/item[#forEachInspChar.CurrentItem#]/EXT_NO}

Expression: getSFCfromInspection.Results{/Rowsets/Rowset/Row/SFC}

than you have the SFC in the Request..

Thanks, Robert

Answers (1)

Answers (1)

robert_altenstraer
Active Participant
0 Kudos

Hi again,

I found something which it looks like there was the same issue...

https://archive.sap.com/discussions/thread/3869178

but it will also not answer my question...

Thanks