cancel
Showing results for 
Search instead for 
Did you mean: 

QRFC_SYSTEM_DUMP Short dump occured when executing message in qRFC queue XBTOS1__0000

AntonioSanz
Active Participant
0 Kudos

Hi all,

     I am on a file to BPM scenario. Sometimes the file is empty, so I have configured the sender channel as "Process Empty Files". Before sending the file into the BPM I've got a mapping, in which, if the file is empty, I use some default vales.

     I am getting this error in integration engine.

- <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SAP:Category>XIServer</SAP:Category> 

<SAP:Code area="INTERNAL">QRFC_SYSTEM_DUMP</SAP:Code>

  <SAP:P1 />

<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Short dump occured when executing message in qRFC queue XBTOS1__0000: Date/time 27.11.2013 16:00:23, user PIAFPIQ, runtime error: Invalid access to a string (offset too big).</SAP:Stack>
<SAP:Retry>M</SAP:Retry>

</SAP:Error>

II I am working with PI 7.3 dual stack.

NAny Idea??

Many thanks

Accepted Solutions (0)

Answers (5)

Answers (5)

AntonioSanz
Active Participant
0 Kudos

Hi all. I was not able to fix it.

What I have done is with script I have add a first line, and in mapping I do some checks to avoid this first line.

So I dont get never an empty file, and I dont get this error.

Kind regards.

Thanks to all.

asdasd_asdasd
Active Participant
0 Kudos

Hi Antonio,

The solution is the note "1827646 - XI mapping: Empty pay load for split mapping" and combining it with this note "1883809 - How to process empty payload without complex XSLT/Java mapping" you´ll get the entire solution

(la que has montado con el script).

I share with you a Java Mapping in ESR to set a correlation and a default "empty message" for a BPM:



public void transform(TransformationInput in, TransformationOutput out) throws StreamTransformationException {

    try {

  //GET FILENAME FROM ASMA

  String filename    = "";

  Map mapParameters = (Map) in.getInputHeader().getAll();

  mapParameters.put(DynamicConfigurationKey.create("http://sap.com/xi/XI/Dynamic",StreamTransformationConstants.DYNAMIC_CONFIGURATION), "");

  DynamicConfiguration conf = (DynamicConfiguration) mapParameters.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

  DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");

  filename = conf.get(key);

  //GET THE CORRELATION FROM FILENAME

  String correlation = filename.substring(6,20);

  //BUILD THE TARGET XML MESSAGE

  String targetxml = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?><ns1:MT_FILE_ACCORD_PEDIDOS_OBSERVACIONES_TO_ORDERS_ORDERS05_ZORDERS05_ABS xmlns:ns1=\"http://blablabla/xi/blablabla/blablabla\"><CORRELATION>"+ correlation +"</CORRELATION><OBSERVACIONES><LINEAS><NroPedidoyContador></NroPedidoyContador><CodigoSociedad></CodigoSociedad><EjercicioPedido></EjercicioPedido><PRET></PRET><CEROS></CEROS><ObservacionesAlbaran></ObservacionesAlbaran></LINEAS></OBSERVACIONES></ns1:MT_FILE_ACCORD_PEDIDOS_OBSERVACIONES_TO_ORDERS_ORDERS05_ZORDERS05_ABS>";

  //SET THE TARGET XML MESSAGE

  out.getOutputPayload().getOutputStream().write(targetxml.getBytes());

  }

    catch (Exception e) {

           throw new StreamTransformationException(e.getMessage());

  }

}


Please remember close this discussion( ).

Best Regards.

monikandan_p
Active Participant
0 Kudos

Hi Antonia,

First check the dumps in Tcode ST22, what sought of error is there.    

The error should be like this : configuration error or program error, data related.

Check the below link. it will helps.

http://scn.sap.com/thread/2077940

Check with ABAP team for this kind of errors.

Also Refer SAP Note : 1625236

Best Regards,

Monikandan.

santosh_k3
Active Participant
0 Kudos

Hi Antonio,

Check in ST22 as mentioned by Hareesh

We have also faced the same issue earlier.

After increasing the "rdisp/max_wprun_time" parameter value it got resolved , since then we have not faced this error.

Try to increase the parameter value to 2000 0r 3000 and have a try.

Regards,

Sai

iaki_vila
Active Contributor
0 Kudos

Hi Antonio,

Is the error persisting if you restart the messages?

  1625236  - Restart for XI messages after dump in qRFC does not work

Is the error happening with all the empty files or only with a few ones?

Regards.

AntonioSanz
Active Participant
0 Kudos

Thanks Iñaki, It happens just with empty files.

I have tried to restar XI messages and it still happend.

Any other suggestion??

former_member184720
Active Contributor
0 Kudos

Hi Antonio - Please check in st22 transaction and you would be able get some more additional information on this