cancel
Showing results for 
Search instead for 
Did you mean: 

SP06: The specified regulu00F6ar expression "([^%]*)%(..)(.*)" is too complex

Former Member
0 Kudos

Hi,

after upgrading from SRM7.0 SP04 to SP06 we get the following error, when we transfer items from mdm back to srm:


Error in the ABAP Application Program                                                                                
The current ABAP program "/SAPSRM/CL_CH_WD_INBOUND_HDLR=CP" had to be           
 terminated because it has                                                      
come across a statement that unfortunately cannot be executed.                                                                                
The specified regulöar expression "([^%]*)%(..)(.*)" is too complex. Therefore, 
 it is                                                                          
not possible to determine the matches in the search text accroding to           
the leftmost-longest rule.                                                      

Any ideas?

Thanks and best regards,

Roman

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

There is one pilot note 1457627which solved this error previously.

The coding is as below, only customers which added as pilot customer will see it.

$ Valid for : $

$ Software Component SRM_SERVER SAP SRM SERVER $

$ Release 700 All Support Package Levels $

$$ $$

*& *

*& Object METH /SAPSRM/CL_CH_WD_INBOUND_HDLR

*& DECODE_PARAMETER

*& Object Header CLAS /SAPSRM/CL_CH_WD_INBOUND_HDLR

*& *

...

conv_in->convert( EXPORTING input = iv_request_data IMPORTING data =

request_data_c ).

WHILE request_data_c IS NOT INITIAL.

*>>>> START OF DELETION <<<<<

" ABC%F4...

ABC F4

FIND FIRST OCCURRENCE OF REGEX '([^%])%(..)(.)' IN request_data_c

SUBMATCHES not_encoded_c encoded_xc rest.

*>>>> END OF DELETION <<<<<<<

*>>>> START OF INSERTION <<<<

" ABC%F4...

ABC F4

FIND FIRST OCCURRENCE OF REGEX '(?:^ %)([^%])%(..)(.)' IN request_

data_c SUBMATCHES not_encoded_c encoded_xc rest.

*>>>> END OF INSERTION <<<<<<

...

*& *