on 04-15-2008 3:20 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
I have tried the bapi to get my userdata without problems at all. So the connection is there.
BR
Poul.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Look at the reference doc created for the request. Sometimes there are default values that need to be emptied out.
Jamie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.