Use TIFF-Viewer (ActiveX) in ABAP-Programm
Hy all,
I am looking for a Viewer for TIFF-documents that can be used in a ABAP-Container.
The Viewer should offer methods or parameters to get the zoom-area, that the user has selected, and to set the same zoom-area in the next document that will be opened.
I found some TIFF-Viewers (BravaX, CADViewX from Softgold ...) that work but all of them have the problem, that the wanted function with the zoom-area doesn´t work exactly.
Have anyone of you made well experience with a TIFF-Viewer in SAP?
Thanks a lot for help.
Harry
check out this weblog.
[Using Classic ActiveX Controls in the ABAP Control Framework|/people/thomas.jung3/blog/2005/05/11/using-classic-activex-controls-in-the-abap-control-framework]
Similar Messages
-
How to findout Database view assign to ABAP Programme (finding tables known
Any way to find out Database views assign to ABAP Programme.
Need to secure Programme through SE54 by assigning Authrization group to Views But dont know the views.
Through se93 and then se80 gives only tables used in Trx not views.
Any help?Try if the t-code SE12 is of any help to you. For more details on your query, a search or posting in the ABAP forum will be helpfull.
[ABAP Dictionary;
Regards, -
How to use the SQVI in HR-ABAP
Dear Guru,
How to use Quick Viewer in HR ABAP,
kindly give some sample materials for this .
else provide some soluytion for this .
Regards,
Mathankumar.AI don't think there is any difference when comes to HR ABAP. so you can proceed the way you do incase of normal tables. the only difference here is you will see Infotypes instead of Tables.
-
Problems using ECL Viewer to display multipage TIFF Files
Hey there!
Maybe someone here may have a good hint due to our problem?
The Situation as it is:
We are using ECL Viewer to display multipage TIFFs.
The Process looks like following:
The first step is to show a list of files situated in the user's personal folder(Network-Share).
Then the user selects one of these Files through a mouse-click -> The File is displayed via ECL Viewer.
Now the user selects the personal-Id where this file should be connected to and selects "SAVE".
The Programm closes the Viewer and saves the Data in SAP Archiv.
>> Everything works fine till here.<<
But now the last processing-step would be to delete this file from the user-folder.
(So next time the users starts it there will be only files he/she has to work on...)
Here an error message is telling us that the file can not be deleted because there s some kind of file lock set...
This problem only occurs only during processing multipage-Tiffs after paging down (swiching to page 2,3,4...) once at least.
Any Idea what's the cause here - or how to get through it?
We are using a CL_GUI_CUSTOM_CONTAINER objekt as base -> hooked on that is a CL_GUI_ECL_VIEWERBOX and the TIFF itself is displayed wit an I_OI_DOCUMENT_VIEWER objekt.
Maybe we get confused while destroying the "Connections" to the FIle oder something with Automation Queue Handling is not implemented right?
Thanx for any idea, hints, or better practices
Very kind Regards from Austria!
DanielHi MaryAbraham,
Since the issue regards ASP.NET and website deployment. I suggestion you post the question in the ASP.NET forums at
http://forums.asp.net/. It is appropriate and more experts will assist you.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How can i use activeX in abap?
hi exports,
i have a activeX of group-ware in my windows-XP.
and, a method of the activeX export employee-code of user.
i want to get a employee-code using the method.
how can i use the activeX in abap?
thank you, and sorry my poor english.
haecheol.
Edited by: HaeCheol Jeong on Jan 30, 2008 3:19 PMcheck out this weblog.
[Using Classic ActiveX Controls in the ABAP Control Framework|/people/thomas.jung3/blog/2005/05/11/using-classic-activex-controls-in-the-abap-control-framework] -
Need to be able to use exploded view feature of AutoVue through programmation using the API.
I am not able to find how to use exploded view feature of AutoVue through program (as we don't know which class and method to use for the same). Please provide some examples/documents/reference .
It is not exposed, I would recommend you open and SR and an enhancement request
-
ABAP - Editable report using Excel view
hi friends
In my report i am using REUSE_ALV_GRID_DISPLAY
Function module to display the data in alv format. I am using the view in
Excel format.
My requirement is,
If i change the data in the
excel sheet that should reflect in the internal table.
I am able to do changes, but the data is not getting change in the internal
table.
The purpose of this is, the output of this report will be the
input of another program after changing the output in excel(only, bcoz in
excel they will change using some formulas).
Note:
I am
getting the changes to internal table if i use grid display not in excel
format.
Can anyone suggest me how to solve this problem?Hi u can esily do this using Object oriented ALVs. Heres the code :
*& ALV using objects : ADD, MODIFY RECORDS
Data Declaration
DATA : ITAB1 TYPE TABLE OF SFLIGHT,
G_CUST1 TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
G_GRID1 TYPE REF TO CL_GUI_ALV_GRID,
LT_FCAT1 TYPE LVC_T_FCAT,
LS_FCAT TYPE LVC_S_FCAT.
Start of selection
START-OF-SELECTION.
PERFORM POPULATE_TABLE.
END-OF-SELECTION.
CALL SCREEN 100.
*& Module STATUS_0100 OUTPUT
PBO module
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'ZSAB1'.
SET TITLEBAR 'xxx'.
IF G_CUST1 IS INITIAL.
CREATE OBJECT G_CUST1
EXPORTING
CONTAINER_NAME = 'CC1'.
CREATE OBJECT G_GRID1
EXPORTING
I_PARENT = G_CUST1.
ENDIF.
PERFORM FCAT_SFLIGHT.
to display the ALV Grid
CALL METHOD G_GRID1->SET_TABLE_FOR_FIRST_DISPLAY
CHANGING
IT_OUTTAB = ITAB1
IT_FIELDCATALOG = LT_FCAT1.
transfering the grid from display mode to editable mode
CALL METHOD G_GRID1->SET_READY_FOR_INPUT
EXPORTING
I_READY_FOR_INPUT = 1.
ENDMODULE. " STATUS_0100 OUTPUT
*& Form fcat_sflight
Filling Field Catalog
FORM FCAT_SFLIGHT.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
I_STRUCTURE_NAME = 'SFLIGHT'
I_CLIENT_NEVER_DISPLAY = 'X'
I_BYPASSING_BUFFER = 'X'
CHANGING
CT_FIELDCAT = LT_FCAT1.
LOOP AT LT_FCAT1 INTO LS_FCAT.
IF LS_FCAT-FIELDNAME EQ 'PRICE'
OR LS_FCAT-FIELDNAME EQ 'PLANETYPE'
OR LS_FCAT-FIELDNAME EQ 'FLDATE'.
LS_FCAT-EDIT = 'X'.
LS_FCAT-CHECKTABLE = '!'. "do not check foreign key relations
MODIFY LT_FCAT1 FROM LS_FCAT.
ENDIF.
ENDLOOP.
ENDFORM. " fcat_sflight
*& Module USER_COMMAND_0100 INPUT
PAI module
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN 'SAVE'.
PERFORM SAVE_DATA.
WHEN 'LEAV' OR 'CANC' OR 'BACK'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. "USER_COMMAND_0100 INPUT
*& Form save_data
checking the changed or added data is consistent
FORM SAVE_DATA.
DATA: L_VALID TYPE C.
CALL METHOD G_GRID1->CHECK_CHANGED_DATA
IMPORTING
E_VALID = L_VALID.
IF L_VALID IS NOT INITIAL.
PERFORM UPDATE_DATABASE.
MESSAGE S000(0K) WITH TEXT-S01.
ENDIF.
ENDFORM. "save_data
*& Form update_database
Update records to DB table
FORM UPDATE_DATABASE.
DATA: LS_SFLIGHT TYPE SFLIGHT,
LS_OUTTAB LIKE LINE OF ITAB1,
LT_INSTAB TYPE TABLE OF SFLIGHT.
LOOP AT ITAB1 INTO LS_OUTTAB.
MOVE-CORRESPONDING LS_OUTTAB TO LS_SFLIGHT.
APPEND LS_SFLIGHT TO LT_INSTAB.
ENDLOOP.
MODIFY SFLIGHT FROM TABLE LT_INSTAB.
ENDFORM. "update_database
*& Form POPULATE_TABLE
POPULATE TABLE I_KNA1
FORM POPULATE_TABLE .
SELECT * FROM SFLIGHT INTO TABLE ITAB1.
ENDFORM. " POPULATE_TABLE -
How to hide the preview section in the crystal report viewer activex cntrl.
Dear All,
I am using the Crystal report viewer ActiveX to display the Crystal report. When the report opens in the Crystal report viewer ActiveX control, a preview section comes at the left hand side of the panel. How can I hide the preview section from the Report viewer control.Is it possible to customize the the report viewer control. Awaiting for your suggestions.
Thank you.
Regards,
RahaneefJust to get the terminology correct. I believe you are meaning the Group Tree(?).
Vb Code:
CrystalActiveXReportViewer1.DisplayGroupTree = False.
Also, do consult the developer help file;
C:\Program Files\Business Objects\Crystal Reports 11.5\Help\en\rdcsdk_com_dg_doc\doc\rdcsdk_com_dg.chm
Ludek -
Dynamic binding of items in sap.m.Table using XML views
Dear SAPUI5 guru's,
Let's start by saying I'm an ABAP developer who's exploring SAPUI5, so I'm still a rookie at the time of writing. I challenged myself by developing a simple UI5 app that shows information about my colleagues like name, a pic, address data and their skills. The app uses the sap.m library and most of the views are XML based which I prefer.
The data is stored on an ABAP system and exposed via a gateway service. This service has 2 entities: Employee and Skill. Each employee can have 0..n skills and association/navigation between these 2 entities is set up correctly in the service. The data of this service is fetched from within the app using a sap.ui.model.odata.ODataModel model.
The app uses the splitApp control which shows the list of employees on the left side (master view). If a user taps an employee, the corresponding details of the employee entity are shown on the right (detail view).
Up till here everything is fine but I've been struggling with my latest requirement which is: show the skills of the selected employee in a separate XML view when the user performs an action (for the time being, I just created a button on the detail view to perform the action). After some hours I actually got it working but I doubt if my solution is the right way to go. And that's why I'm asking for your opinion here.
Let's explain how I got things working. First of all I created a new XML view called 'Skills'. The content on this view is currently just a Table with 2 columns:
<core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m"
controllerName="com.pyramid.Skills" xmlns:html="http://www.w3.org/1999/xhtml">
<Page title="Skills"
showNavButton="true"
navButtonPress="handleNavButtonPress">
<content>
<Table
id="skillsTable">
<columns>
<Column>
<Label text="Name"/>
</Column>
<Column>
<Label text="Rating"/>
</Column>
</columns>
</Table>
</content>
</Page>
</core:View>
The button on the Detail view calls function showSkills:
showSkills: function(evt) {
var context = evt.getSource().getBindingContext();
this.nav.to("Skills", context);
var skillsController = this.nav.getView().app.getPage("Skills").getController();
skillsController.updateTableBinding();
Within 'this.nav.to("Skills", context);' I add the Skills view to the splitApp and set its bindingContext to the current binding context (e.g. "EmployeeSet('000001')"). Then I call function updateTableBinding in the controller of the Skills view which dynamically binds the items in the table based on the selected employee. So, when the ID of the selected employee is '000001', the path of the table's item binding should be "/EmployeeSet('000001')/Skills"
updateTableBinding: function(){
var oTemplate = new sap.m.ColumnListItem(
{cells: [
new sap.m.Text({text : "{Name}"}),
new sap.m.Text({text : "{Rating}"})
var oView = this.getView();
var oTable = oView.byId("skillsTable");
var oContext = oView.getBindingContext();
var path = oContext.sPath + "/Skills";
oTable.bindItems(path, oTemplate);
Allthough it works fine, this is where I have my first doubt. Is this the correct way to bind the items? I tried to change the context that is passed to this.nav.to and wanted it to 'drill-down' one level, from Employee to Skills, but I couldn't manage to do that.
I also tried to bind using the items aggregation of the table within the XML declaration (<Table id="skillsTable" items="{/EmployeeSet('000001')/Skills}">). This works fine if I hard-code the employee ID but off course this ID needs to be dynamic.
Any better suggestions?
The second doubt is about the template parameter passed to the bindItems method. This template is declared in the controller via javascript. But I'm using XML views! So why should I declare any content in javascript?? I tried to declare the template in the XML view itself by adding an items tag with a ColumnListItem that has an ID:
<items>
<ColumnListItem
id="defaultItem">
<cells>
<Text text="{Name}"/>
</cells>
<cells>
<Text text="{Rating}"/>
</cells>
</ColumnListItem>
</items>
Then, in the updateTableBinding function, I fetched this control (by ID), and passed it as the template parameter to the bindItems method. In this case the table shows a few lines but they don't contain any data and their height is only like 1 mm! Does anyone know where this strange behaviour comes from or what I'm doing wrong?
I hope I explained my doubts clearly enough. If not, let me know which additional info is required.
Looking forward to your opinions/suggestions,
Rudy Clement.Hi everybody,
I found this post by searching for a dynamic binding for well acutally not the same situation but it's similar to it. I'm trying to do the following. I'm having a list where you can create an order. On the bottom of the page you'll find a button with which you're able to create another order. All the fields are set to the same data binding ... so the problem is if you've filled in the values for the first order and you'll press the button you'll get the same values in the second order. Is it possible to generate a dynamic binding?
I'm going to post you a short code of what I'm meaning:
<Input type="Text" value="{path: 'MyModel>/Order/0/Field1'}" id="field1">
<layoutData>
<l:GridData span="L11 M7 S3"></l:GridData>
</layoutData>
</Input>
As you can see I need to set the point of "0" to a dynamic number. Is there any possibility to reach this???
Hope you can help
Greetings
Stef -
As a abap programmer what is the role in ale/idoc.
hi guru.
i am a abap programmer. please tell me<b> what is the role of abap programmer
in ale/ idoc.</b>
regards.
subhasis.Hi,
ALE is Application Link Enabling.
ALE
A means of creating and operating distributed applications.
Application Link Enabling (ALE) guarantees a distributed, but integrated, R/3 installation. This involves business-controlled message exchange using consistent data across loosely linked SAP applications.
Applications are integrated using synchronous and asynchronous communication - not by using a central database.
ALE consists of the following layers:
Application services
Distribution services
Communication services
Refer
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
Check this link ALE and EDI
ABAP Programmer must know how to create inbound n outbound interfaces to send IDOCs through ALE.
Please refer to the details mentioned in the hyper-links beow.
You will get the details how to go about it.
To see the IDOC & status check it in WE02/WE05
You will get step by step process.
ABAP Development
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.geocities.com/xplosion78/customised_ALE_IDOC_BY_SACHIN_DABHADE.zip
http://help.sap.com/saphelp_45b/helpdata/en/35/b0ea5187a62488e10000009b38f9b7/content.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/c4/6bc368fef411d28d0900104b56737d/frameset.htm
ABAP Development
Follow below steps to create custom IDOC.
1.Create segments through transaction WE31.
2.Create IDoc Type through transaction WE30 by attaching created segments.
3.Message type through transaction WE81.
4.Link Idoc and message type in WE82 transaction.
Check the transaction WEDI for ALE settings
Check these links for more details on IDoc's:
ALE/ IDOC
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
http://www.allsaplinks.com/idoc_sample.html
ALE/ IDOC/ XML
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
IDOC Convertion
/people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
http://www.intelligententerprise.com/channels/applications/feature/archive/kasturi.jhtml
Hope this will help.
Regards,
Priyanka. -
Getting prob while creating view in webdynpro ABAP application
Hi Guys,
I am facing a problem while creating a view for webdynpro ABAP application. It is giving an error as "ICF service "/sap/public/bc/WebDynpro/ViewDesigner" inactive".
can anybody let me know how to solve this problem.
Thanks In Advance
Regards
RavikumarI think check Internet explorer Tools ->Internet Options ->Connections.>Lan Connections> if the proxy or anyting checkbox is clicked coz it doesn't work with Internet on .
Please reward if useful. -
Flash Player 10.1when using to view web video streams ,can i download at same time
Flash player is often the player used when viewing Web Video Streams.As with Real Player is it possible to download at the same time?
Yes on the restart or reboot.
Add ons Shockwave Flash Object and Shockwave ActiveX Control both enabled.
Add or Remove Programs list Adobe Air, Adobe Flash Player 10 ActiveX, Adobe Reader X and Adobe Shockwave Player 11.5.
You were saying that the " version numbers must match"? Please clarify. It appears I have non matching versions...is that correct?
I thank you for your time, it is greatly appreciated! -
Hi all,
Can anybody please say me what is the exact use of EVENTS in OOPs ABAP. Can anybody please explain me with an example.
Thanks in advance.hi,
By triggering an event, an object or a class announces a change of state, or that a certain state has been
achieved.
Events link objects or classes more loosely than direct method calls do. Method calls establish precisely
when and in which statement sequence the method is called.
However, with events, the reaction of the
object to the event is determined by the triggering of the event itself.
Events are most often used in GUI implementations.
Other external object models, such as COM, ActiveX Controls etc, also provide events.
At the moment of implementation, a class defines its
instance events (using the statement EVENTS) and
static events (using the statement CLASS-EVENTS)
Classes or their instances that receive a message when an event is triggered at runtime and want to react
to this event define event handler methods.
Statement : (CLASS-)METHODS <handler_method> FOR EVENT <event> OF <classname>.
These classes or their instances register themselves at runtime to one or more events.
Statement : SET HANDLER <handler_method> FOR <reference>. (for instance events)
SET HANDLER <handler_method>. (for static events).
A class or an instance can trigger an event at runtime using the statement RAISE EVENT.
Both instance and static events can be triggered in instance methods.
Only static events can be triggered in static methods.
Events can only have EXPORTING parameters which must be passed by value.
Triggering an event using the statement RAISE EVENT has the following effect:
the program flow is interrupted at that point
the event handler methods registered to this event are called and processed once all event handler methods have been executed, the program flow starts again.
If an event handler method in turn triggers an event, then the program flow is again interrupted and all event handler methods are executed (nesting).
Events are registered using the command SET HANDLER. Registration is only active at program runtime.
Events cannot be persistent.
You want to register an object to an event belonging to another object. The SET HANDLER... statement
enters the registration in that objects list. All handlers for one event are entered in this list.
When the event is triggered, the list shows which event handler methods need to be called.
Event handler methods are triggered by events (RAISE EVENT), although they can also be called like
normal methods (CALL METHOD).
The interface of the event handler method consists solely of IMPORTING parameters. Only parameters
from the definition of the corresponding event (event interface) can be used.
An event interface only has EXPORTING parameters and is defined using the EVENTS statement in the declaration of the event. The
parameters are typed in the event definition and the typing is passed to the event handler method, that is,
the interface parameters of the event handler method cannot be typed in the definition of the event handler
method.
In addition to the explicitly defined event interface parameters, the implicit parameter SENDER can also be
listed as an IMPORTING parameter for instance events. This passes on a reference to the object that
triggered the event.
Events are also subject to the visibility concept and can therefore be either public, protected or private.
Visibility establishes authorization for event handling :
all users only users within that class or its subclasses
only users in that class.
Event handler methods also have visibility characteristics. Event handler methods, however, can only have
the same visibility or more restricted visibility than the events they refer to.
The visibility of event handler methods establishes authorization for SET-HANDLER statements: SET
HANDLER statements can be made anywhere in that class and its subclasses only in that class
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 14, 2008 2:45 PM -
ABAP Programm for calling Proxies
Hi Experts,
I was writing a ABAP programm für starting a ABAP proxy.
*& Report Z_XI_MAPPING
REPORT Z_XI_MAPPING.
parameters: PA_WAIT type decimals default 0,
PA_LOOP type decimals default 1,
PA_EOIO type char1 default 'X',
PA_QUEUE type PRX_SCNT default 'Regression01'.
DATA: myProxy TYPE REF TO ZCO_MI_MAPPING_OUT ,
l_start type tims value is initial,
l_start_time type i value 0,
l_end_time type i value 0,
l_max_time type i value 0,
l_min_time type i value 999999999,
l_delta_time type i value 999999999,
l_avr_time type i value 0,
l_ctr type i value 0,
l_ctr_item type i value 0,
lt_pers_id type char10,
it_pers_id type char10,
lo_async_messaging TYPE REF TO if_wsprotocol_async_messaging.
get time.
WRITE: / 'System: ' , sy-sysid,
'Start Time: ', sy-datum, sy-uzeit,
'Wait Time: ' , pa_wait,
'Loops: ' , pa_loop.
WRITE: / 'start-time execution-time'.
TRY.
CREATE OBJECT myProxy
EXPORTING
LOGICAL_PORT_NAME = 'LP_XI_REGRESSION'.
CATCH CX_AI_SYSTEM_FAULT .
ENDTRY.
specify queue id
if pa_EOIO = 'X'.
lo_async_messaging ?= myProxy->get_protocol( if_wsprotocol=>async_messaging ).
lo_async_messaging->set_serialization_context( pa_QUEUE ).
endif.
data: OUTPUT type ZMT_MAPPING_OUT .
move 'Element01' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_01.
move 'Element02' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_02.
move 'Element03' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_03.
move 'Element04' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_04.
move 'Element05' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_05.
move 'Element06' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_06.
move 'Element07' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_07.
move 'Element08' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_08.
move 'Element09' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_09.
move 'Element10' to OUTPUT-MT_MAPPING_OUT-set-set_ELEMENT_10.
do pa_loop TIMES.
l_ctr = l_ctr + 1 .
get time.
move sy-uzeit to l_start.
get run time field l_start_time.
TRY.
CALL METHOD myProxy->EXECUTE_ASYNCHRONOUS
EXPORTING
OUTPUT = OUTPUT.
CATCH CX_AI_SYSTEM_FAULT .
ENDTRY.
get run time field l_end_time.
l_delta_time = l_end_time - l_start_time.
l_avr_time = l_avr_time + l_delta_time.
if l_delta_time < l_min_time.
move l_delta_time to l_min_time.
endif.
if l_delta_time > l_max_time.
move l_delta_time to l_max_time.
endif.
WRITE: / l_start,
11 l_delta_time.
wait up to pa_wait seconds .
enddo.
COMMIT WORK.
l_avr_time = l_avr_time / l_ctr .
WRITE: / 'fastest call: ', l_min_time,
'slowest call: ', l_max_time,
'average time: ', l_avr_time,
'Count IDs: ' , l_ctr.
When activating this program I get the error: "The data object OUTPUT-MT_MAPPING_OUT does not have a component SET-SET_ELEMENT_01
But the structure of the Proxy looks like this:
ZCO_MI_MAPPING_OUT
Method Execute Asynchronous
Importing OUTPUT
MT_MAPPING_OUT
SET
SET_ELEMENT_01
SET_ELEMENT_02
I gernereated and activated the proxies several times, which did not solve the problem. I switched also in the ABAP Coding between capital an dsmall letters...
I have no idea where the problem is, it looks all fine for me.
Hope you can help me there.
Thanks,
SebastianHi Sebastian,
It's because you reference the wrong structure. It's a bit tricky to get the right one, but look into generation tab in SPROXY. Here you can see, which data elements has been created, and using the right one of these is the key. Notice you can foreward navigate into the different structures, which can help you.
Kind regards
Mikkel -
Count option in abap programme
Dear
I am writing abap programme.
i want count option in abap programme.
For how many rows display in my programme.
pls suggest.To display count of rows in ur final table use this code:
data: l_lines type i.
l_lines = lines( itab ).
write: l_lines.
Maybe you are looking for
-
Windows Movie Maker 2 for Windows XP SP3 32 Bit
Hey Guys, I'm having a small issue with Windows Movie Maker . I work for a school district and in the lab we have about 25 machines and I'd say over half of them are having this issue. The issue is that when you open up WMM - click on Import Pictu
-
Production Report for Quantity produced.
Hi PP Gurus, We want to capture a report wherein we need to capture quantity produced against work center/production order. Finished product got base unit of measure and alternate unit of measure like Base UoM= EA Alternate UoM= Case and Bottles Now
-
Dear experts please let me know the zero balance acount shoud be open item maagement or not dipak
-
Relation between org_id and master inventory org id
Hi All, Can some one please help me in finding the relationship between org_id (operating unit level) and master organization id ( Inventory master organization). My requirement is to get the inventory item for a given transaction in one org from inv
-
Macbook pro won't download adobe and won't let me watch youtube videos
i just got a macbook pro for christmas and it won't let me watch any youtube videos. it tells me to get the latest adobe flash player. I've tried downloading it multiple times, but it still won't work.. Help!.