Link to Messaging tool data via ABAP stack
Is there a way to get access to adapter data or the audit log linked to a message id via ABAP class or a FM.
I'm using objects from CL_XMS_PERSIST and CL_XMS_PERSIST_ADM and either of them does not provide the adapter specific status.
I really appreciate any leads in this area.
Thank you.
Hi Parimala
I doubt there is any standard ABAP code available to access the adapter framework, since it runs in the J2EE stack. You might be able to access the information you want via http at http://host:port/mdt/monitorservlet, but this would likely require considerable reverse-engineering on your part.
Regards,
Thorsten
Similar Messages
-
Strage Situation : Delaying the message processing in IE ( ABAP Stack )
Hey,
I'm in a starange situation in processing messages in Integration Engine ( ABAP Stack - SXMB_MONI ) in File to IDoc scenario.
I have processed bunch of 1000 messages from legacy system into the queue, AE picks all the messages at a one glace, but they were processed in ABAP stack ( sxmb_moni ) 10 messages after 10?!!! Its taking lot of time to process the all 1000 messages.
How can we come out of this situation?! Can anybody share their experienes with me!
-SHi Stallin,
Refer to the blog Performance Tuning Checks in SAP Exchange Infrastructure(XI): Part-II
and check tuning parameter EO_INBOUND_PARALLEL for integration engine configuration. May be that is the reason for this behavior.
Thanks! -
Portal language refresh / reload (user data source ABAP stack)
Hello,
I'm on SAP NetWeaver Portal 7.0 with user data source on ABAP stack.
I'm trying to create simple JavaScript links for changing the Portal language.
I was able to change the ABAP stack user's logon language by BAPI call.
But the newly set language shows up only after the user logs out and logs in again.
I know that in the WebDynpro for Java, which implements the UME user interface, there is a functionality, that allows that relogging of the user is not necessary. After setting the language you only refresh the browser page (F5) and the new language shows up.
Does anyone know what function I should call, for the language refresh (could be the same as in UME standard WDJ)?Hi Andres,
language doesn't change on the Portal. The content remains in the previous language.
I know that the switching of Logon language parameter in the user profile in ABAP stack and logoff and login on the portal leads to change of the language on the Portal. But I don't know, how to do it without the relogging of the user.
I change the Logon language in ABAP by AJAX call of BAPI.
Thank you for any idea.
Jiri -
Hi,
My requirements is to load master data infoobject through ABAP. I searched in the forum and found RSDMD_WRITE_ATTRIBUTES_TEXTS function module .
data : itab like /BI0/PMATERIAL occurs 0 with header line.
itab-MATERIAL = 'Mat420'.
itab-OBJVERS = 'A'.
append itab.
CALL FUNCTION 'RSDMD_WRITE_ATTRIBUTES_TEXTS'
EXPORTING
I_IOBJNM = '0MATERIAL'
I_TABCLASS = 'M'
TABLES
I_T_TABLE = ITAB
EXCEPTIONS
ATTRIBUTE_NAME_ERROR = 1
IOBJ_NOT_FOUND = 2
GENERATE_PROGRAM_ERROR = 3
OTHERS = 4.
However , it doesnt add an entry into infoobject...
We are using APO 3.0 version.
Does anyone has any idea on this ?.Thank you all of you for your replys.
I believe there must be a version issue while using function module RSDMD_WRITE_ATTRIBUTES_TEXTS , it works well in BW system but not in APO version
However , my issue gets resolved by using Function Module RSNDI_MD_ATTRIBUTES_UPDATE.
Here is a sample code in APO 3.0 version. ( for other's reference )
Data : i_final Like RSNDI_S_CHAVL occurs 0 with header line,
i_final-RECORD_NO = 1.
i_final-IOBJNM = '0Material'.
i_final-VALUE = 'DTEST'.
Append i_final.
CALL FUNCTION 'RSNDI_MD_ATTRIBUTES_UPDATE'
EXPORTING
I_IOBJNM = '0MATERIAL'
I_UPDATE_ALL_ATTRIBUTES = 'X'
TABLES
I_T_DATA = i_final
E_T_MESSAGES = i_message.
After execution , it did add records into infoobject.
Anyway thank you all for your replies and suggestions.
Regards,
Prashant
Message was edited by:
Prashant -
When we use INSERT statement to insert data in DB tables there is no foriegn key check or check table validations that are performed this is clearly mention by SAP in its documentation.
I am uploading lot of data from an excel sheet into the ABAP in then using the INSERT statement to put data in the tables.
Now i need to perform the check table validation . I cannot do this validation for each and every record cause it will be very demanding on the ABAP. Can anybody suggest someway of doing this validation a FM or something ?the foriegn key/check table validations are processed on dynpros, not when directly updating the database. You need to do the validations in the ABAP yourself. For example, checking company code from your excel file.
data: xt001 type t001.
select Single * from t001 into xt001
where bukrs = iupload_file-bukrs.
if sy-subrc <> 0.
* Company code was not found.
endif.
Or you can save some hits to the database, by picking up the table first before looping at your records and doing a READ TABLE statement instead.
data: it001 type table of t001 with header line.
select * into table it001 from t001.
Loop at iupload_file.
read table it001 with key bukrs = iupload_file-bukrs.
if sy-subrc <> 0.
* Company code not found
endif.
endloop.
Welcome to SDN! Please remember to award points for any helpful answers that you might receive and mark you posts as solved when solved completely. Thanks.
Regards,
Rich Heilman -
Sending instant message (Office Communicator) via Abap
Hello,
does anybody know how to send messages to the Office Communicator with Abap? The Office Communicator is an instant messager from Microsoft, I guess it uses standard SIP-technology. I consider this as useful just for sending any sorts of notifications.
Does anybody have a good idea?
Rgds
ThomasHi,
Is a client proxy able to send the whole (3MB) message to PI
yes it is capable.
If both solutions are feasible,what would be preferable?
yes both solutions are feasible ,but preferable is to send the whole message rather than one by one.
How do both options compare in regard to performance?
sending whole message is far more better than sending record by record.
regards,
pradeep A. -
Message Send from ABAP Proxy implemented in XI Server ABAP Stack
Hello everyone,
I have a question and I'm not sure of this is an ABAP question but I'll try here and try to find some information on ABAP forums and weblogs, I need to send a XML message to the XI pipeline from an ABAP Server Proxy implemented in the same XI ABAP Stack Server, why I need this? well actually I can't find a way to do it in a BPM so I'm going to try to set the logic for this message send in the ABAP Stack, so do you know like a Function Module so I can send a message to the pipeline but I need the message to be set as Scheduled, I'll try ABAP Forums and Weblogs too, thanks in advance.
regards,
julioHi
You can schedule your program as a background Job SM36. Please check the transaction. You will have to set your ABAP program as the job STEP (if you probably have selection screen for your report then you will also need a variant for your report).
Do schedule your program as a 'Periodic Job' and your personal period (daily/hourly).
After you save your settings you can also monitor your job (ABAP Program) from the same transaction or even from CCMS if you like.
Thanks
Gaurav -
Difference java stack and abap stack
hello experts,
Difference between java stack and abap stackHi
ABAP Stack
The application data in the SAP system is accessed in
the ABAP stack via platform-independent ABAP programs.
ABAP stack is used to run ERP applications mainly MM,SD,FICO etc
Currently in most of the installation you can found mixed stack(ABAP+JAVA)
JAVA Stack
The Java side of the SAP Web AS is often referred to as SAPWeb AS Java or
as the Java stack.
This central SAP Web AS Java instance consists of two separate
instances plus one special application, the Software Deployment Manager (SDM).
These two separate instances that build the central SAP Web AS Java instance are
a standard SAP Web As Java instance, offering a Java dispatcher process and one
or more Java server processes and the so-called SAP Central Services instance
(SCS). The SCS instance offers two processes, exclusively used by the Java side
of the SAP Web AS: the enqueue services and the message service. These two
services only work for the Java side of the SAP system.
Java Stack is mainly used for SAP Portals and you can host Internet/Web based application written in JSP/EJB ,Java Stack uses Java Threads to run application,
Also, Xi requires Double stack
ABAP + JAVA Stacks
Bcoz some components are developed on JAVA
Some components are developed on ABAP Based.
JAVA:
Integration Builder
SLD
Adapter Engine
Runtime Workbench
ABAP:
BPE
Integration Engine
Integration Engine and the Integration server reside on the ABAP Stack. All the Execution of the IS part will be done on ABAP Stack. we can monitor the processed XML messages also in SXMB_MONI( ABAP Stack)
Adapter Engine will reside on the JAVA Stack. All the IR, ID, SLD, RWB Application are developed on JAVA Stack, so thats why we need JAVA Webstart to run these Applications
All the Adapter related Errors we can see in RWB, Communication channel monitoring( Developed and sits on JAVA stack)
Hope this clears your doubts
Thanks
Saiyog -
BPC 7 to 7.5 - Core dump at ABAP Stack.
Hello experts,
I have upgraded BPC server software from BPC 7.0 to BPC 7.5 SP 03. When I launch Admin client or Excel I get the message Core dump at ABAP stack. When I check in ST21 I see it is trying to execute a function module that does not exist in the system.
My question is do I need to install something on ABAP side?
Thanks in advance.
Edited by: Kashif Siddiqui on Nov 10, 2010 5:20 PMhttp://service.sap.com
Under Software Downloads, click Support Packages and Patches, click A-Z Index, click "B", click SAP BPC FOR SAP NETWEAVER, click SBOP PC 7.5 FOR SAP NW, click Comprised Software Component Versions, click SAP CPM BPC ABAP 7.5, click support packages. Down below you will find the SPs for the ABAP stack for the BPC component. YOu must first bring the BPC component up to 7.5 before you start applying the support packages though. I assume you already have that 7.5 component.
Regards,
Rich Heilman -
How to extract data from BPC InfoCube via ABAP program?
Hi experts!!
I tried to extract data from a BPC InfoCube via ABAP program, but I did'n have succeed.
I used the function 'RSDRI_INFOPROV_READ' to extract data from standard InfoCubes such as '0COPC_C07' and it run OK! However, when I change the InfoCube name to '/CPMB/WAIX8NE' (BPC InfoCube), everything goes wrong...
Is there any difference between extracting data from BPC and standard InfoCubes?
Thank you all!Moderator message - Welcome to SCN.
But please do not cross and duplicate post.
Thread locked.
Rob -
Push data from BW 3.5 to XI 3.0 via ABAP proxy
Hi,
I have the following scenario: I´m in BW 3.5 trying to send data to XI 3.0 via ABAP proxy. I´ve already found a "How-to" to do build this scenario, but something does not work. I think that problem is when a try do the logon from BW to XI because I got the message "logon data not provided" on http service in XI. I´ve already configure an RFC Destination(SM59) as R/3 connection(type 3) and another as HTTP connection to R/3(type H) and both are correct. Someone knows where I configure the user/pass to logon from BW Intergration Server to XI Integration Server?
Regards,
Rafael SoaresHello fellows!
I discovered that my problem was configuration on SXMB_ADM transaction.
Thank you very much for your help!
Best regards.
Rafael -
Deleting error messages in ABAP stack and JAVA stack
Hello,
found some useful answers here about deleting messages
which are successfully delivered!
What I miss is an answer about:
a) Error messages in RWB
In Component monitoring -> Archiving you can plan a job to delete messages in status "successful" or "Cancelled with errors".
To cancel jobs you have to do this one by one. With reaction time from page manual cancellation needs hours for 100 messages (Ok, there is a multiple selection button you can use to tag per list screen!).
Now I have lots of message here
- System error
- to be delivered
- cancelled with errors (from system, special case, see next question)
ready to be erased (yes, sure about that!)
Is this the only way here to proceed?
Other question: looks like there is a default time frame for the job which looks like it is more than two months for "successful". "Cancelled with errors" is only deleted from list when reaching this status with the available button "Cancel" but not for messages with status "Cancelled with errors" set by the system.
Any chance to change that time frame.
And what about the messages "Cancelled...." by the system?
b) ABAP stack
OK, delete job is running. But looks like there is a default time frame "delete older than 2 months" (different from a! where it is more than 2 months)
I tried to delete some error messages with function "Cancel message with errors".
Now these messages are cancelled in SXMB_MONI (displayed with different status sign "Pencil").
Starting deletion job has no effect on them. Why? Because they are cancelled today and are not considered by the time frame of the deletion job?
Any help is appreciated!
(This tool is confusing me more and more! )
Hm, looks like nobody knows about this issue?
Regards
DirkHi Dirk,
I am also facing the issue for deleting the messages with errors or if i have cancelled them.
Did you find any solution for these issues. Kindly let me know if you have find out any solution.
thanks
Gopesh -
Java Error Messages In Abap Stack
Hi,
We have to implement a scenario where we to send the error messages generated by Java Stack to ABAP stack.Plz help me with the scenario.Thanks in advance..MaheshIR and ID are your JAVA stack....any error in them needs to catched using an Alert in ABAP....
Making use of the blog given define your alert for Integration Engine error and for Adapter Engine error.
Is your business requirement looking for something specific other than this? If yes, then get some more data from them so that other experts will help you with the exact solution.
Regards,
Abhishek. -
How to receive an RFC message in PI ABAP stack from ECC
Hi mates,
I am involved in a scenario in which we want to receive a message in PI (ABAP stack) from ECC (ABAP stack as well).
We created a RFC destination (3) in sender system (ECC) so both stacks could be linked. However, we do not know how to receive this message once we are in PI Abap stack.
In sender system code, a call destination takes place, an this destination stands for the one destination i noted before.
BUT, as this RFC does not exist in PI, i wonder what steps have to be done in PI in order to be able to get the message from ECC.
Hope you guys can guide me through this. Any help
Thanks a lot in advance and best regards,
davidHi Anand,
No no, i do not want to create any sender RFC Comm Channel.
What i want is to receive (by means of no PI adapter) a message in PI (abap stack) from ECC (abap stack), just by a RFC connection (type 3) between both systems.
I will try to explain in more detail what i want to achieve:
1) A standard SAP program is executed in ECC, at the end, a call destination is done.
2) This destination call, calls an RFC destination that points to PI (RFC dest in SM59, type 3)
(Until now, nothing is done in PI, there is no sender adapter, we just linked both ABAP stacks)
3) In ABAP stack of PI, we want to receive the message, make any transformations and send the target emssage to PI adapters
4) From that moment on, a ordinary PI integration is done.
So my question is, what kind of stepd so i have to perform to get the message from ECC in PI without creating any object in PI (ESR, ID, i mean). Just as if we wanted to receive a RFC message, lets say, in BI (abap side) from ECC.
Hope you got me this time.
Thanks a lot in advance.
Best regards,
david
Edited by: David de Miguel on Dec 27, 2010 11:48 AM -
RE: DataField, update underlying data via TOOL,Express
John,
does it work if you mix the "CopyfromClipboard" method with the "PlaceValueinDisplayedField" ?
If this is not the correct solution to you problem, could you please specify "where" it does not work ?
Thanks a lot indeed.
Best regards
/Stefano
Stefano POGLIANI Forté Software Consultant
E-Mail : [email protected] Tel : +33.0)450201025
Fax : +33.(0)450200257 Mobile : +33.(6)08431221
Visit the Forté Web Site : http://www.forte.com/
Ducunt fata volentem, nolentem trahunt....
-----Original Message-----
From: John Hodgson [SMTP:[email protected]]
Sent: Wednesday, July 02, 1997 8:39 PM
To: [email protected]
Subject: DataField, update underlying data via TOOL, Express
In TOOL code we PasteText() into a DataField, but the underlying data
object does not get updated until the user interacts with the GUI.
That causes problems if we need to use the underlying data object's
value immediately after the paste. How can we:
force an update of the underlying data object and
ensure that the update goes through before our method call returns,
i.e., ensure that if the update is via Forte events, those events
are handled before returning.
The context is a calendar lookup button that pastes into an adjoining
DataField.
John Hodgson |Descartes Systems Group Inc.|[email protected]
Systems Engineer|120 Randall Drive |http://www.descartes.com
|Waterloo, Ontario |Tel.: 519-746-8110 x250
|CANADA N2V 1C6 |Fax: 519-747-0082Well, I think I have answered my own question, but I will leave it here in case anyone else has the same problem.
So, as far as I have been able to track down, it all went wrong when I was running through the connection wizard.
Under the section titled "Creating the Data Source" is describes how to find your database file and create the appropriate connection string. However, on my version of VS Express 2010 . It offered me a prompts , saying something like, "would you like to
move this database file into the application directory and change the connection string" this sounded very sensible to me, so I said yes.
All proceeded accordingly. And the database file now appeared in the solution explorer.
The app config file said that the connection string was
Data Source=|DataDirectory|\Database1.sdf"
I presumed this would be interpreted correctly by the rest of the app, as it was generated by VS.
But it didn't, what I cannot understand is how no error was generated. And data seemed to pull
into the bound controls.
But I have been testing it for a while now. and it seems that if I manually override the config file with the actual directory where the file exists , then there is not a problem. Data is retained in the file
This is more of a VB.net question, but I couldn't find it in the drop down. I will try and move it there now
Thanks guys for your patience.
p.s. RSingh , the code I posted above did come from the SaveItem_Click event
handler
Maybe you are looking for
-
Can Anyone Tell Me How to Create Greeting Cards with Photoshop Elements 7 or 8?
I need a 7x10 page setup so that when the card is folded to a 5x7 my photo is landscape on the outside of the card. Currently I can only find a 8 1/2 x 11 paper size. Thanks, Lexington59
-
Digital signature in SharePoint hosted app
I am creating a sharepoint hosted app where user must use digital signature(loginname, password) before submitting request. I am unable to find any machenism to validate user credentials using jquery/javascript.
-
Hi all, I was trying to install FDM in the same machine where EPMA 64bit is installed, but installer didnt permit to proceed with the installation. Oracle compatibility matrix doc also says that its not possible to install FDM/HSF (32bit) in the same
-
Why are my comp tracks blank after several takes?
Any insight on why this is happening please let me know.It seems random. I will be doing punchins on a track and the comp track shows up blank..I have to redrag thru preceeding tracks to recreate the comp..pain in the butt.
-
EventManager in illustrator and access to the annotationSuite (Scripting)
Hello, Would be really great if illustrator had an eventManager such as the one found in inDesign. also it would be great if we had (easy) access to the cpp annotation suite Our print company deems CPP plugins to be too much maintenance due to the si