Extract Payload from sxmb_moni
Hi Experts
The scenario is: XI pushes data into BI using ABAP proxy adapter. successfully passed data is seen in PSA. the uniquie key in data is journal ID.
Requirement: i have to read the journal id in runtime when data passes through adapter, and create a file, with fields Journal ID, and success/failure... depending on whether it passes through the adapter successfully or not.
In table SXMSPMAST, i get the status, but how can I read the payload? i am sure the payload for failed records are stored in some SAP internal table, but can someone tell me which table?
This is very urgent.. and suitable reward points will be awarded to any help on this.
Thanks in advance,
Sushmita.
Data can be seen in tables SXMSCLUP, SXMSPCLUR
Similar Messages
-
Extracting payloads from Dehydration Store
Is it possible to write SQL against the dehydration store to extract the payloads being received into a process?
A quick look at the database appears to show they are stored as BLOB.
PeteYou might find some usefull info on this thread :
Re: Format of AUDIT_DETAILS.BIN?
Regard,
Rob -
Extracting json payload from the incoming request
Hi,
I am looking for ways on how to extract the application/json payload in my web resource methods when developing applications using jersey. I know that there are multiple annotations like @PathParam, @FormParam and others to get the data sent using other http methods. Im looking for an example on how to get the payload from the http post request?
Can someone help?
webservices are built using jersey.
Thankshttp://jersey.java.net/nonav/documentation/latest/user-guide.html
If it isn't in the user guide... well then it is either not documented or it doesn't exist. -
Add error description from sxmb_moni in alerts in 7.1
Hi Gurus,
My requirement is to add short description from sxmb_moni i.e. from ABAP stack in alert.
I already have check many blogs and marketplace but could not find this.
As per the link Creating Alert Categories - Process Integration Monitoring - SAP Library we can extract this info from adapter engine using SXMS_TO_ADAPTER_ERRTXT but how to achieve this for I.E.
Please let me know if this is possible in any other way around.
Hope my requirement is clear, i just want the description from moni for the failed message in my alerts.
Thanks and Regards
Jitender GusainHi Jitender
We can use following container variables to populate the text inside the alert message
These are more than enough for debugging the message in MONI.
However if you want to add the payload information in the alert message, then u need to use the function module SALERT_CREATE
You can call this function module inside message mapping using RFC look up or via UDF. -
How to download payload from b2b_instancemessage view in Oracle b2b 10g
I am not able to extract message payload from B2B_INSTANCEMESSAGE VIEW.
when i execute this query:
select payload from b2b_instancemessage where documenttype like '%rsConfirmIncid%';
the output I get is "BLOB"
I need the complete payload. can somebody please help me?We had the requirements to display the Payload in a BAM Monitoring dashboard. Since it was not part of the typical B2B-BAM Monitoring process, and even though technically we can get it from the B2B Message view, there are some BAM feature limitations due to which we had to build a simple ADF page to display the payload and link it to the BAM report. To the end user it is not relevent if we built is using BAM/ADF as it is seamless. Hope this will help someone else who is looking for a similar solution.
Uday. -
Response payload in SXMB_MONI is missing
Dear All,
I have a query related to Response payload in SXMB_MONI.
I triggered an IDOC and XI has sucessfully generated files in my Outbound folder .
<b>When I see sxmb_moni , it is showing message successfully processed message . When I click on successful processed message it is not showing me the Response payload-MainDocument(application/xml) in SXMB_MONI.</b>
PLease help me to find out the solution immediately.
Thanks in advance.
Regards
PrabhatHi,
>>>1) I am not able to see "Payload" under Response in SXMB_MONI in Production server SP15.
can you see the payload before CALL adapter service?
>>>>2) In runtime workbench (Production server sp15) when I click on "Message Monitoring" it is showing error 404 not found.
go to TCODE - SICF and test this service
/sap/bc/gui/sap/its/webgui
navigate from it to the TCODE - SXI_monitor
that's how the message payload is displayed in RWB
BTW
>>>My support pack in development server was sp14 and in production it is SP15.
I just hope your test XI server was SP15
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a> -
Need help on how to handle zip & text/csv as a resposne payload from Concur RestWebservice
Hi All,
We are getting zip(if there are multiple files) and test/csv(single file) as a response payload from the concur rest API and need your help on how to handle in NWBPM and SAP PO.
Zip response coming in response looks like below -
PKÀ˜F7extract_attendee_detail_p0600908soav_20150424022159.txts� rt©1204Õ50Ñ52©1¨áåPKzà@ÆPKÀ˜F2extract_CES_SAE_v3_p0600908soav_20150424022148.txts� rt©1204Õ50Ñ52©1¨©1ãåPKå늟PKÀ˜Fzà
Text/csv response looks like below -
Extract|2015-24-40|20|0
Need you help on how to handle the zip content response.
Also need help on how to handle when text/csv response comes and when zip response comes.
As per the scenario, there are 4 calls to be made and we are using NWBPM and in the last call the actual respons (text/csv or zip) will come.
Please provide your inputs.
Thanks
Narayanareddy BHi Aaron,
Thanks for your reply.
I tried with Payload zip bean and the java mapping as mentioned in the response mapping of OM.
Payload zip bean - Zip zip.mode unzip
I am getting the error below in the receiver rest channel -
"Transmitting the message using connection JPR failed, due to: com.sap.aii.af.lib.mp.module.ModuleException: Zip: error occured during processing: java.util.zip.ZipException: invalid stored block lengths"
Java Mapping - used the java mapping in the response of Operation mapping
Here also i am seeing the same error in the channel log as it is synchronous step and the message got cancelled.
"Transmitting the message using connection JPR failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: Mapping failed in runtimeApplication mapping program com/equalize/xpi/esr/mapping/java/UnzipAndAttach throws a stream transformation exception: Exception: invalid stored block lengths"
The below is the response i am seeing and is it proper zip response payload(any encryption) , kindly advise.
PKâE�F:ws_extract_attendee_detail_p0600908soav_20150424083413.txts� rt©1204Õ50Ñ52©1¨áåPKzà@ÆPKâE�F5ws_extract_CES_SAE_v3_p0600908soav_20150424084014.txtíTß��@~oÒÿ�÷Fº»ìV}ëòCÏz Qljß8ÜöL�`N�ùão8�Ò«�´M�Ü@�awvçûfgÇùâϤå#Ttï0Ø�B�²·olÇ�£[4Ï](L�]«�ÑbÀôÁÒc�0ÀÏdAªÙТ¨Ìû�Êv¡�b¤eJA%��=Þ7Í>PÚ=í2��7ò[�¼¡=q/°¶�*ø)
K|<`BgÉÔºÜWs[§J�&Ñ:Ìá:´�ç«�RÐv�ÚÅAD'\�ÁtR²*DP3gî:B@JëhU�Ò'¬�ùQ\�È\D{·O×±JS\ï�-ò�¸�Þ²êó�{Å¡2®â,MmÉù XAzßüBn&®Sl-§�l¶A�×ú½³ÙFI®0¿©Ú¯¤�oT�iV²RÀJ��¼«`õ»�í Ûéwa#�àpY�««óq)U°JaøÁA�ûì>Ù³üHåÒe¾�7��Ð/§£u°Nzã÷ç4×·èãþ�¾}õ0ÙµYÄ�+J��eX\�E±ïsR%®yÜÕðsªáÚ$qÚÎÇ�Û$^%1¸AF*ý¶VÑêxÏZÏ¢U½T~Ñ®ØkW5ç×®õ¿w5¬zò:oN»�ô���íø÷úÛÙ=¬å�[ôÚ�þmczPKhÏ��i PKâE�Fzà@Æ:ws_extract_attendee_detail_p0600908soav_20150424083413.txtPKâE�FhÏ��i 5�ws_extract_CES_SAE_v3_p0600908soav_20150424084014.txtPKËö
Thanks
Narayanareddy B -
Unable to read payload from the message object
Hi
I have a scenario where i am send request to http receiver and getting the response. When I am testing through WFETCH it is working fine. But when i am testing through XI I am getting the follwoing error
Unable to read payload from the message object
I have tested the XI payload in mapping. I have done all kinds of testing but it is still giving the same error.
One more strange thing is
I have done one BPM scenario where Data is coming from Source to BPM( which is asyn) and then from it will go from BPM to Target (which is sync) But when I am checking the SXMB_MONI... it showing the messages like this
Source to BPM
Target to BPM
Target to BPM.
But i think it should show message like
Source to BPM
BPM to Target
Target to BPM
why i am getting the floHi
Check with the connection string & Authorization of user you have used.
MSSQL string is
jdbc:microsoft:sqlserver://dbhost:1433;databaseName=example;SelectMethod=Cursor
While doing JDBC its good to refer Note 831162 lot of problems can be resolved.
Thanks
Gaurav -
Editing Payload in SXMB_MONI
Hi All,
Is this possible to edit payload in SXMB_MONI.
I have already the following url which talks about editing payload from RWB - > Message monitoring.
https://www.sdn.sap.com/irj/scn/wiki?path=%3fpath=/display/xi/whole%252bpayload%252bto%252ba%252bxml%252bfield
Actually I am looking into the options of editing payload in SXMB_MONI of ECC.
Thanks in Advance for the help.
Best Regards
AshokHi ,
am trying to edit only asynchronous message, here is the requirement that we have
Our OTC team has escalated a support issue with a call tag
return that could fail as it comes into SAP.
A "call tag" return is the result of a mis-shipment where the customer
either received damaged product or the wrong product. These returns
come in with not only the account but also the invoice number. The
return is referenced to the originating invoice and the credits are
created based on the prices and discounts that are on the invoice. If
the invoice number on the return does not match an invoice for the
account, then the return will fail.
For some reason, the return fails in the ABAP Proxy layer of SAP ECC
with Application errors and does not provide the ability for the
business to repair the data.
Unfortunately, this failure occurs frequently in production today (1-2
a week - as many as 15) and we anticipate that we will continue to see
these failures with SAP. The invoice is being manually keyed at the
returns setup. Sometimes the error is caused by a keying mistake and
sometimes the documentation (call tag, invoice, packing list) is not
legible.
We also know that External Vendor cannot correct and resend the
return. Their process not only creates the return for credit, but
also has to account for all of the inventory that is being sent for
destruction. Their quality steps lock the return down once it has been
sent to client for credit. Their system will not permit the return to
be corrected and resent.
We do, however, need to find a solution for the correction of these
failed returns that allows us to account for the return and create the
proper credit.
Returns (Order To Cash) team require ability to Edit the payload of
Asynchronous ABAP proxy messages in SAP ECC system, which are failed
due to Incorrect data with Message Status as "Application Error -
Manual Restart Possible".
For this the proposed solution is to Edit the Payload via SAP
XI's "Message Editor" in Runtime Work Bench -> Message Monitoring ->
Proxy Runtime of SAP ECC system.
The message editor is configured in SAP XI and ECC system with the
required roles and SAP Correction Notes.
Message Editor is NOT Working for messages with "Application Error -
Manual Restart Possible" status, while it is working as expected for
messages with "System Error - Manual Restart Possible" status.
Below Error Message is seen, while trying to edit the message with
Application Error in SAP ECC,
" Message editor can only be used for executable, asynchronous XI
messages with errors"
This issue in SAP XI's Message Editor needs to be resolved to complete
the testing of proposed solution in Sandbox systems and make a decision
on the solution to be used for this business requirement. -
Response payload in sxmb_moni
hi ,
in my XML Message in sxmb_moni the response payload is missing.
and this is happening only for one scenario and it is working fine for other interfaces.
can some one help me the structure of XML message is depend on which configuration exactly?
ThanksHi,
Go to RWB->Message Monitoring and check for the messages.
Also test your message Mapping with the help of Live datat from SXMB_MONI.
Is your scenario is Synchronous.
Regards,
Moorthy -
Modify Payload in SXMB_MONI
hi all,
I want to modify the Payload XML at the first point by stopping the Communicaiton Channel and restarting after the change.
What is the correct way to do that.
Thanks,
FSHi,
As said by Aashish, you can't modify the payload in SXMB_MONI. Either you need to run the scenario or sending the message via RWB test tab through Integration Engine.
Ensure that you are sending the message from Integration Engine, not from Adapter engine.
Thanks, -
Restarting synchronous messages from sxmb_moni
Hi,
Please could anyone confirm if it is possible to restart synchronous messages from sxmb_moni.If in case the synchronous message is in error in moni,can it be restarted.
Thanks and Regards,
Indujahi,
check these links:
/people/michal.krawczyk2/blog/2005/11/09/xi-restarting-successfully-processed-messages,
Is Payload of SXMB_MONI stored in Some table?
/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically
Thanks, -
** List of RFCs to retrieve messages from SXMB_MONI
Hi friends,
I found only one RFC 'SXMB_SELECT_MESSAGES' to retrieve messages from SXMB_MONI. But, this RFC returns only message id.
Could you kindly tell RFCs or classes other than this which will be usefull to retrieve XML Payload and other things ?
Kind Regards,
Jeg P.Hi,
There is a function module SXMB_GET_MESSAGE_LIST through which you can get the messages in SXMB_MONI.
Refer the below thread for more detail:
In Which Database Table the Messages are Stored in XI
Thnx
Chirag
Edited by: Chirag Gohil on Feb 15, 2008 6:13 PM -
Unable to extract data from an AS/400 system.
Hello experts.
We are trying to extract data from an AS/400 system but not having any success until now.
I´ll write down you the stepts that we have followed until now:
1.- Create a DB Connect between both systems
2.- Create a Source System from AS400 in the workbench under DB Connect Directory
3.- Generate datasources from tebles specified in the schema of the connection
break point -
At this point, we had a problem with some tables with at least one fieldname containing character "Ñ".
After asking some possible solutions to SAP, the told us this is not supported, as the system can´t have any object with character "Ñ", so the transfer structure was unable to activate with this fields in the datasource.
--- end of brek point --
4.- After those issues, we´ve decided to implement, in another schema, views from those tables which had the fieldnames with that character "Ñ", changing them to an "N".
5.- We´ve created another source system with that schema, and user than can see that schema.
6.- To be able to see those views, in transaction RSDBC, we had to deactivate the two checkboxes in the first window ( Choose tables and Choose views) .
7.- Right afeter, we could generate correctly the datasources from this logical tables.
8.- We have designed the hole dataflow for this datasources and everithing went rigth.
9.- But wen we tried to execute the infopackage to extract data from those logic tables, we cannot get any registers. Acctualy the charge remains yellow after the job have finished.
Please, I would appreciate any help you could give us on this problem.
Thank you very much
Regards
JoaquinI´d like ti add something to this thread, and maybe clarify a littel bit the question.
The only way that the BW system recognizes those logical tables, through transaction RSDBC is checking out the two boxes on this transaction, "Select Tables" and "Select Views".
I don´t know haw these logical tables have been created, bus does this mean that the are not neither tables or views as BW understand them.
Please, if someone knows anythin about this, answer to this thread.
Thank you very much.
Joaquin Sobrido -
Extracting Data from APO PP/DS to BW
Hi Gurus,
I'm trying to extract data from APO PP/DS (SCM 5.1) to BW (BI 7.0). I'm new to SCM and am not sure how the extraction from SCM to BI happens other than that we need to read data from LiveCache.
The extractor we are interested are
0APO_PPDS_RESCAPREQ_01
0APO_PPDS_PROD_CUST_01
0APO_PPDS_OPERATION_01
0APO_PPDS_ORDER_01
Pls kindly help me out with the procedure.
Thanks in advance.Hi
Have a look at the below urls..
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f229690-0201-0010-84ba-9ee5a8958a05
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4fe5d590-0201-0010-6c8d-ada86492cf11
Re: APO to BW Design Question
Re: APO BW Integration
Hope it helps
Thanks
Teja
Maybe you are looking for
-
How do I create a similar line effect to this:
I'm trying to figure out the best way to create a similar line effect to this in illustrator, any ideas? Thank you!
-
Using just the calendar app that comes with the iphone, can I sync my calendar to my wife's iphone without changing her calendar entries?
-
Defining Time in select query.
hi , In BSAK table i dont have time field defined but in my RFC i need to fetch the data based on time and date. can any one let me know how can i define time field in the existing query .. i am using the below query. SELECT lifnr xblnr
-
SMQ2 errors like ICM_HTTP_CONNECTION_FAILED
Hi, Frequently am getting this type of errors in smq2 while monitoring the queues. can any one explain what is error given below description . <
-
Ora3113 trying to create xml type table
I registered a rather large schema. When I try to create an XML type table either using OEM or via sqlplus I get an end of file on communication error. SQL*Plus: Release 9.2.0.1.0 - Production on Tue Aug 27 15:24:01 2002 Copyright (c) 1982, 2002, Ora