Skip to Content
0
Former Member
Dec 14, 2012 at 12:21 PM

DataFormatServiceInterface fails to run parseDataFormat

24 Views

System: SAP ME 6.0.4.0

I am trying to work with the Barcode Data Format Maintenance and Floor Stock Receipt.

The online documentation describes all the configuration i have done in ME.

If I use the following source code in my own activity hook "NEW_BARCODE_PARSER" on item (Assembly Pt Parsing Activity:):

...DataFormatParseRequest parseRequest = new DataFormatParseRequest();
parseRequest.setData("$xyz1%xyz2");
parseRequest.setFormat("TEST");DataFormatServiceInterface service = (DataFormatServiceInterface)ServiceLocator.getService("DataFormatService");DataFormatParseResponse dataFormatParseResponse = service.parseDataFormat(parseRequest);DataFormatParseResponse dataFormatResponse = new DataFormatParseResponse(); dataFormatResponse.setDataFormatParsedMemberList(dataFormatParseResponse.getDataFormatParsedMemberList()); this.invocationContext.setResult(dataFormatResponse);...

the DataFormatParseResponse for

service.parseDataFormat(parseRequest);

is always NULL

In standard activity hook "BARCODE_PARSER" the same...

Thats my Barcode Data Format Maintenance window:

Thats my Floor Stock Receipt window:


ME fails to put

xyz1 to TEST1

and

xyz2 to TEST2

Thanks for your help,

Markus