cancel
Showing results for 
Search instead for 
Did you mean: 

JRA and problems regarding text

Former Member
0 Kudos

Hi.

I am trying to use SAPJRA for sending process messages to SAP, but when trying, I get the following error message

[ERROR]: STEP EXCEPTION (SAP_JRA_Function_Call) : Field #text not a member of RCOMEAPI

I have it running with the build-in JCO connection and everyting is working fine. So the problem is within the SAPJRA connection or project.

BR

Poul.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi.

Jamie. I have tried to alter the function module to the suggested one, and the same result. I get the error

[ERROR]: STEP EXCEPTION (SAP_JRA_Function_Call_0) : Field #text not a member of BAPI_RCOMEAPI

Udayan. Could be, but I have connection and can run BAPI_USER_GET_DETAIL without problems.

BR.

Poul.

jamie_cawley
Advisor
Advisor
0 Kudos

Eoin and I will try to set this up and see what happens. We'll let you know.

Jamie

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi.

Thanks a lot for all your help. My final test have been with the function BAPI_PROCESS_MESSAGE_CREATEMLT. If you assign ONE header item and one characteristic directly by value, there is no error. But if I assign this XML, I get the error.

<?xml version="1.0" encoding="UTF-8"?>

<BAPI_PROCESS_MESSAGE_CREATEMLT Description="">

<TABLES>

<PROCMESSCHARAC>

<item>

<PROC_MESS_ID_TMP>1</PROC_MESS_ID_TMP>

<NAME_CHAR>ZPI_PROD</NAME_CHAR>

<CHAR_VALUE>PPPI_EVENT_DATE</CHAR_VALUE>

<DATA_TYPE>DATE</DATA_TYPE>

</item>

</PROCMESSCHARAC>

<PROCMESSHEADER>

<item>

<PROC_MESS_ID_TMP>1</PROC_MESS_ID_TMP>

<PLANT>CHOG</PLANT>

<PROC_MESS_CATEGORY>ZPI_PROD</PROC_MESS_CATEGORY>

<TEST_FLAG></TEST_FLAG>

<SENDER_NAME>XMIITEST</SENDER_NAME>

</item>

</PROCMESSHEADER>

</TABLES>

</BAPI_PROCESS_MESSAGE_CREATEMLT>

BR.

Poul.

Former Member
0 Kudos

Hi Jamie.

You got me confused for at couple of minutes there.

You are right, but this is NOT the answer. I have tried and correct it and I still have the problem. I have two transactions, and the "real" one, it where made all right.

The strange part is, that the function module is never called and my function call action is never completed. So my logmessage afterwards is never executed.

AND.

It I take the EXACT same transaction and replace the actions with the JCO once, it is running. And with the exact same data

BR

Poul.

Edited by: Poul Klemmensen on Apr 16, 2008 6:20 PM

Former Member
0 Kudos

Just a guess - Do you have different Users for the JCO & JRA configurations and may be the issue with JRA is that of authorization?

Former Member
0 Kudos

Hi.

I have tried the bapi to get my userdata without problems at all. So the connection is there.

BR

Poul.

jamie_cawley
Advisor
Advisor
0 Kudos

I looked at your transaction. Take a look at the action SetMSELItemForMessage. It appears that your mappings are incorrect. For example CharacteristicValue is being mapped into ATFOR, but should be mapped into ATWRT. ATFOR is the Data Type for the characteristic and has length of 4.

Regards,

Jamie

Former Member
0 Kudos

Hi.

Thanks, I will try tomorrow.

But...

The transactions has been running for weeks with the JCO connection without problems at all. And the transactions is running with the exact same XML and the exact same data with the JCO connection without problem at all.

BR.

Poul.

Former Member
0 Kudos

Did you try accessing any other BAPIs via the JRA , just to confirm there are no issues with the JRA config.?

jamie_cawley
Advisor
Advisor
0 Kudos

Look at the reference doc created for the request. Sometimes there are default values that need to be emptied out.

Jamie