on 07-16-2008 1:41 PM
Hello.
Does anyone know of any method from xMII to get and check status of process messages sent to PP-PI?
E.g. check for status (has it been sent) and for any errors?
BR
Poul.
Hi Poul,
I found a few RFCs which might do the job and will list them here so you can test them:
PROCESS_MESS_DOWNLOAD
PROCESS_MESS_EXCHANGE
PROCESS_MESS_GET_RETURN_CODE
PROCESS_MESS_UPLOAD
My search method is kind of funny. I put PROCMESS* into the search pattern of a SAP_JCo_Interface action block to return a list of related action blocks. But since I can't use BAPI in SAP and must rely on SE37, I can't readily see the documentation to determine relevance. But I suspect you can take if from here. I would be interested in knowing what you come up with for these.
I also tried PROCMSG* and get these:
BAPI_HU_PROCESS_MSG
BAPI_HU_PROCESS_MSG_DIRECT
BAPI_LIKP_PROCESS_MSG
BAPI_LIKP_PROCESS_MSG_DIRECT
Where HU stands for Handling Unit, but I can't seem to find out what LIKP refers to.
Hope this helps and maybe together we can get the information.
Thanks,
Mike
Found a couple more
RSAP_GET_MSG_TEXT
RSSM_GET_MSG_TEXT
You may also be able to use RFC_READ_TABLE, but I do not know the table structures which would be of interest.
Edited by: Michael Appleby on Jul 16, 2008 3:07 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
Thanks for your time !!
I have had a quick look and I do not think they are any good I am afraid. The most likely is the PROCESS_MESS_DOWNLOAD but my PPPI interface doc says :
Using the function PROCESS_MESS_DOWNLOAD, any number of process messages
can be downloaded from PP-PI to the control system. The transfer is always initiated by
PP-PI.
BTW. I have been told that "PROCESS_MESS_UPLOAD" is not supported and should not be used. And I have found a problem sending dates on process messages...
But I will keep the question open for any other suggestions.
BR
Poul.
Another possibility is to use one or more of the RSAQ RFCs to execute a SAP Query, but you would have to know what query to use or have a specific one built in SQ01 (I think). Sam (Salvatore) Castro posted a document somewhere around here a while back regarding how to do it. Pretty well detailed, except for the Column names.
If you go this route, the Column names are redefined by the query, so you will have to check their definition. It will not be what you expect. Google the problem and you can find the solution pretty quickly (how I did it). To get the "real" field names, use the RFC:
RSAQ_REMOTE_QUERY_FIELDLIST
And the only other idea I have would be to generate a custom BAPI.
Sorry, I am fresh out of suggestions.
Mike
Hi.
I have spend some time on this and have not found a solution, besides checkking in CO54
I have looked at BAPI_PROCESS_MESSAGE_CHK_EXIST, but if I check the process message when creating it and look for errors here, I can not se, what this is doing for me besides that....
Thanks for your help.
BR
Poul.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
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.