Control Events
Hi,
Can anyone tell me what control events in ABAP are and their syntax.
Thanks n Regards
Dinesh
Hi,
Control Events are
1. AT NEW f.
2. AT END OF f.
3. AT FIRST.
4. AT LAST.
When you sort an extract dataset, control levels are defined in it.The control level hierarchy of an extract dataset corresponds to the sequence of the fields in the HEADER field group. After sorting, you can use the AT statement within a loop to program statement blocks that the system processes only at a control break, that is, when the control level changes.
AT NEW <f> | AT END OF <f>.
ENDAT.
A control break occurs when the value of the field <f> or a superior field in the current record has a different value from the previous record (AT NEW) or the subsequent record (AT END). Field <f> must be part of the HEADER field group.
If the extract dataset is not sorted, the AT... ENDAT block is never executed. Furthermore, all extract records with the value HEX 00 in the field <f> are ignored when the control breaks are determined.
The AT... ENDAT blocks in a loop are processed in the order in which they occur. This sequence should be the same as the sort sequence. This sequence must not necessarily be the sequence of the fields in the HEADER field group, but can also be the one determined in the SORT statement.
If you have sorted an extract dataset by the fields <f1>, <f2>, ..., the processing of the control levels should be written between the other control statements as follows:
LOOP.
AT FIRST.... ENDAT.
AT NEW <f1>....... ENDAT.
AT NEW <f2>....... ENDAT.
AT <fgi>..... ENDAT.
<single line processing without control statement>
AT END OF <f2>.... ENDAT.
AT END OF <f1>.... ENDAT.
AT LAST..... ENDAT.
ENDLOOP.
You do not have to use all of the statement blocks listed here, but only the ones you require.
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/at_itab.htm
Regards
Sudheer
Similar Messages
-
Can we use control events in smartforms
Hi all,
I am srinivas. can we use control events in smartforms, I mean at new, at end of ..... if these are not used can you suggest me any alternative....
Actually my requirement is like a classical report, for which I need to display subtotal and grand totals based on two fields....
Please help me out in this issue as it is very urgent.
<b><REMOVED BY MODERATOR></b>
Thanks in advance....
Regards,
Sri...
Message was edited by:
Alvaro Tejada GalindoHi Nick,
Thanks for the reply... it is really very useful for me.
As I discussed in my earlier mail regarding the output sequence, which should be in the below format.
number quantity uom unitprice amount curr
plant
material
date
x y z A
e f g h
p q r s
subtotal date..... 1 2 3 4
subtotal material.5 6 7 8
As you said when I using <b>event of Begin</b> its working fine. but while using the <b>event of end</b>, I am specifying date and then matnr (sort) its taking(nodes are created mean first matnr and then date) in the reverse order and when I am taking matnr and date it is placing the events(nodes) in the right order but the order date is not triggering.
can please tell me how to proceed here..
waiting for your reply..
Regards,
Srinivas -
Register Control events?
Hallo,
I've discovered that I can connect a control reference to the EventSource
input of the RegisterForEvents function. This event (e.g Button1:MouseUp)
appears as dynamic event in the EventStructure editor. Up to this point it
seems to be possible to dynamically register for control events. But
register another event (e.g Numeric1:ValueChanged) in the Button1:MouseUp
handler fails and LabVIEW tells "Cannot connect different refnum types".
Dynamically register for control events is something I'm desperately
searching for.
1. Is it just an unwanted behaviour that I can connect a control reference
to a RegisterForEvents function or is this the first step to an
undocumented feature.
2. If it is intended behaviour, how can I complete to
register another
event in a handler?
Thank you
Oliver Friedrich> I've discovered that I can connect a control reference to the EventSource
> input of the RegisterForEvents function. This event (e.g Button1:MouseUp)
> appears as dynamic event in the EventStructure editor. Up to this point it
> seems to be possible to dynamically register for control events. But
> register another event (e.g Numeric1:ValueChanged) in the Button1:MouseUp
> handler fails and LabVIEW tells "Cannot connect different refnum types".
>
> Dynamically register for control events is something I'm desperately
> searching for.
>
> 1. Is it just an unwanted behaviour that I can connect a control reference
> to a RegisterForEvents function or is this the first step to an
> undocumented feature.
>
> 2. If it is intended behaviour, how can I
complete to register another
> event in a handler?
The register for events lets you specify which object(s) you are
interested in receiving events on. If you have a VI event, you can
register and reregister at various points in your program to specify
which you are currently interested in. If the events is a Boolean
event, then any Boolean will work, but numerics aren't Booleans. If you
define the initial event to take a Control reference, then both Booleans
and Controls can be wired up since both inherit from Control.
Also note that wiring a not-a-refnum will unregister everything meaning
you don't want events for any particular control.
As for whether or not it is unintended or undocumented. It is
definitely intended, and I suspect that it is documented. Also, I'm
pretty sure the examples show how to do this.
Greg McKaskle -
Link Menu Event and control event
I would like to have a menu item that performs the same function as a control event ("Save" or "Print"). Because there is only an event case for general "menu selection," it appears that I cannot just add an event for a specific case.
For example
Save Data case:
Button: Save Data
Menu Item: Save Data (Ctrl+S)
Print case:
Button: Print
Menu Item: Print (Ctrl+P)
Is there a way to do this without just duplicating the entire event case?
Solved!
Go to Solution.Use Producer Consumer with Events template to start
In the consumer decode the event into a case structure by reading the menu item or menu tag string.
Heres a simple example
Attachments:
BooMAIN.vi 13 KB
Boo.zip 11 KB -
C# control event handling with javascript
How can I get javascript to execute for "onchange" / "OnSelectedIndexChanged" event instead of a CodeBehind method? I think "OnSelectedIndexChanged" event has to be handled by CodeBehind; but how can I replace that (or onchange) with
a javascript event handler?
I have the following in my xyz.ascx file:
<asp:DropDownList ID="ddlTypeCar" CssClass="BatsRefAddressTypes" runat="server"
onchange="javascript: testAlert();"
OnSelectedIndexChanged="ddlTypeCar_SelectedIndexChanged"
AutoPostBack="True" />
I could not get the javascript to execute, even though I removed OnSelectedIndexChanged="ddlTypeCar_SelectedIndexChanged" and/or set AutoPostBack="false".
Additionally, I tried added the following in xyz.ascx.cs Page_Load() method.
ddlTypeOfAddress.Attributes.Add("onchange", "javascript: testAlert();");
which didn't help.
Thanks for your help in advance.Hi,
you can control client events instead of server events with javascript
look this url for more information
http://www.w3schools.com/js/js_events.asp
Regards -
Flex ActiveX Control Event is Missing
Hi,
I wrote an ATL CAxDialogImpl based dialog DLL to host a flash
activex control. When I launched the DLL dialog box from a command
line C# program, I can get all the events sent from the flash
activex control to the dialog instance object, e.g. fscommand,
FlashCall, OnReadyStateChange, etc.
Now, I try to load the dialog DLL in IE using a simple local
html with VBScript, the dialog box shows up and the flash shows up
too. But I can no longer get fscommand, and FlashCall events from
the Flash activex control to the dialog instance object,
interestingly, I can still get the OnReadStateChange events.
I don't know if this is a known problem already, or it's a
bug, or is there any workaround for it, or I simply did something
wrong.
Your help is highly appreciated.
Best Regards,
EJIANGHi,
This is due to security functionality introduced in Flash
8.0. I have read the
Security
Changes in Flash Player 8 and pages linked in the
fscommand
function documentation several times but it's unclear for me in
which sandbox are put files opened in hosted ActveX Flash control.
If someone knows this would be very helpful.
Adobe states that embeding Flash Player ActiveX is not
supported and stays quiet. Maybe SliverLight guys will be more
comunicative.
We have resolved this by using AxWebBrowser control and
hosting the Flash player in a webpage instead of hosting it in
Flash ActiveX.
Another solution if you are using only local files is to try
to use "file://YOUR_PATH_TO_FILE" as an argument for LoadMovie
method. But this works only on local files.
Hope this helps -
Control Framework tree control event not trigerring
The event handle_node_double_click is not trigerring on the tree controls . I want to display the contents of the nodes on the text editor on trigerring of this event
*& Report ZCONTROLS_TREE_TEDIT_SPITTER
REPORT zcontrols_tree_tedit_spitter.
DATA : editor TYPE REF TO cl_gui_textedit,
tree TYPE REF TO cl_gui_simple_tree.
DATA : container TYPE REF TO cl_gui_custom_container,
splitter TYPE REF TO cl_gui_easy_splitter_container,
right TYPE REF TO cl_gui_container,
left TYPE REF TO cl_gui_container.
DATA : node_itab LIKE node_str OCCURS 0.
CLASS EVENT_HANDLER DEFINITION
CLASS event_handler DEFINITION.
PUBLIC SECTION.
METHODS : handle_node_double_click
FOR EVENT NODE_DOUBLE_CLICK OF cl_gui_simple_tree
IMPORTING node_key.
ENDCLASS. "EVENT_HANDLER DEFINITION
CLASS EVENT_HANDLER IMPLEMENTATION
CLASS event_handler IMPLEMENTATION.
METHOD handle_node_double_click.
perform node_double_click using node_key.
ENDMETHOD. "HANDLE_NODE_DOUBLE_CLICK
ENDCLASS. "EVENT_HANDLER IMPLEMENTATION
data : handler1 type ref to event_handler.
START-OF-SELECTION.
CALL SCREEN 9001.
*& Module start OUTPUT
text
MODULE start OUTPUT.
SET PF-STATUS 'ZSTAT1'.
IF container IS INITIAL.
CREATE OBJECT container
EXPORTING
container_name = 'CONTAINER_NAME'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CREATE OBJECT splitter
EXPORTING
parent = container
orientation = 1
name = 'Mohit'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
left = splitter->top_left_container.
right = splitter->bottom_right_container.
CREATE OBJECT editor
EXPORTING
parent = right
name = 'MohitEditor'
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
gui_type_not_supported = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CREATE OBJECT tree
EXPORTING
parent = left
node_selection_mode = tree->node_sel_mode_single
name = 'MohitTree'
EXCEPTIONS
lifetime_error = 1
cntl_system_error = 2
create_error = 3
failed = 4
illegal_node_selection_mode = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
PERFORM fill_tree.
CALL METHOD tree->add_nodes
EXPORTING
table_structure_name = 'NODE_STR'
node_table = node_itab
EXCEPTIONS
error_in_node_table = 1
failed = 2
dp_error = 3
table_structure_name_not_found = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
create object handler1.
set handler handler1->handle_node_double_click for tree.
ENDIF.
ENDMODULE. " start OUTPUT
*& Module USER_COMMAND_9001 INPUT
text
MODULE user_command_9001 INPUT.
CALL METHOD cl_gui_cfw=>dispatch.
ENDMODULE. " USER_COMMAND_9001 INPUT
*& Form fill_tree
text
--> p1 text
<-- p2 text
FORM fill_tree .
DATA : node LIKE node_str.
CLEAR node.
node-node_key = 'head_mohit'.
node-isfolder = 'X'.
node-text = 'Mohit'.
APPEND node TO node_itab.
CLEAR node.
node-node_key = 'Child1'.
node-relatkey = 'head_mohit'.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = 'Mohit is the best '.
APPEND node TO node_itab.
CLEAR node.
node-node_key = 'Child2'.
node-relatkey = 'head_mohit'.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = 'Mohit is the bestest '.
APPEND node TO node_itab.
CLEAR node.
node-node_key = 'head_JAIN'.
node-isfolder = 'X'.
node-text = 'jAIN'.
APPEND node TO node_itab.
CLEAR node.
node-node_key = 'Child3'.
node-relatkey = 'head_JAIN'.
node-relatship = cl_gui_simple_tree=>relat_next_sibling.
node-text = 'cnh INDIA '.
APPEND node TO node_itab.
CLEAR node.
node-node_key = 'Child4'.
node-relatkey = 'head_JAIN'.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = 'SAP '.
APPEND node TO node_itab.
ENDFORM. " fill_tree
*& Form node_double_click
text
-->P_NODE_KEY text
form node_double_click using p_node_key type TV_NODEKEY.
DATA : node LIKE node_str.
DATA textline(256).
DATA text_table LIKE STANDARD TABLE OF textline.
READ TABLE node_itab WITH KEY node_key = p_node_key
INTO node.
endform. " node_double_click
*& Module exit INPUT
text
module exit input.
CASE sy-ucomm.
WHEN 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
endmodule. " exit INPUTHello Mohit
Here is a sample routine (taken from BCALV_TREE_02) which you have to add and adapt for your report. It does two things:
1. Register events that should be handled (required but not sufficient for event handling)
2. Set event handler for registered events
The first step is different from ALV grid controls because here all events are already registered with the control (not the control framework).
Set the event handler (statement SET HANDLER) registers the event handling with the control framework.
FORM register_events.
*§4. Event registration: tell ALV Tree which events shall be passed
* from frontend to backend.
DATA: lt_events TYPE cntl_simple_events,
l_event TYPE cntl_simple_event,
l_event_receiver TYPE REF TO lcl_tree_event_receiver.
*§4a. Frontend registration(i): get already registered tree events.
* The following four tree events registers ALV Tree in the constructor
* method itself.
* - cl_gui_column_tree=>eventid_expand_no_children
* (needed to load data to frontend when a user expands a node)
* - cl_gui_column_tree=>eventid_header_context_men_req
* (needed for header context menu)
* - cl_gui_column_tree=>eventid_header_click
* (allows selection of columns (only when item selection activated))
* - cl_gui_column_tree=>eventid_item_keypress
* (needed for F1-Help (only when item selection activated))
* Nevertheless you have to provide their IDs again if you register
* additional events with SET_REGISTERED_EVENTS (see below).
* To do so, call first method GET_REGISTERED_EVENTS (this way,
* all already registered events remain registered, even your own):
call method g_alv_tree->get_registered_events
importing events = lt_events.
* (If you do not these events will be deregistered!!!).
* You do not have to register events of the toolbar again.
*§4b. Frontend registration(ii): add additional event ids
l_event-eventid = cl_gui_column_tree=>eventid_node_double_click.
APPEND l_event TO lt_events.
*§4c. Frontend registration(iii):provide new event table to alv tree
CALL METHOD g_alv_tree->set_registered_events
EXPORTING
events = lt_events
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
illegal_event_combination = 3.
IF sy-subrc <> 0.
MESSAGE x208(00) WITH 'ERROR'. "#EC NOTEXT
ENDIF.
*§4d. Register events on backend (ABAP Objects event handling)
CREATE OBJECT l_event_receiver.
SET HANDLER l_event_receiver->handle_node_double_click FOR g_alv_tree.
ENDFORM. " register_events
Regards
Uwe -
Hello,
I'm using a Tab control and can't find out how to handle the following situation.
We know that when operating a Tab control we can jump from Tab to Tab by pressing <Ctrl-Tab>.
When at the last Tab I would like to jump to another conbtrol and not again to the first Tab.
Unfortunately in this situation <Ctrl-Tab> doesn't generate an EVENT_KEYPRESS.
Is there a way to handle this situation?
Solved!
Go to Solution.I don't understand why you cannot get the keypress event: I have tried to modify TabExample example installing a callback on the tab control and properly get the keypress event on Ctrl+Tab. Here the code for the tab control callback function:
int CVICALLBACK TabCallback (int panel, int control, int event,
void *callbackData, int eventData1, int eventData2)
int nextCtrl, lastTab, pageIdx, virtualKey, modifierKey;
if (event == EVENT_KEYPRESS) {
GetActiveTabPage (panel, control, &pageIdx);
GetNumTabPages (panel, control, &lastTab);
lastTab--; // Zero-based index
virtualKey = eventData1 & VAL_VKEY_MASK;
modifierKey = eventData1 & VAL_MODIFIER_KEY_MASK;
// Properly handle Ctrl+Tab
if (modifierKey == VAL_MENUKEY_MODIFIER && virtualKey == VAL_TAB_VKEY && pageIdx == lastTab) {
GetCtrlAttribute (panel, PANEL_TAB, ATTR_NEXT_CTRL, &nextCtrl);
SetActiveCtrl (panel, nextCtrl);
return 1; // Swallow the keypress event so that active page doesn't change
return 0;
Alternatively, you can handle the situation inside a panel callback:
int CVICALLBACK PanelCallback (int panel, int event, void *callbackData,
int eventData1, int eventData2)
int lastTab, control, pageIdx, virtualKey, modifierKey, nextCtrl;
if (event == EVENT_KEYPRESS) {
if ((control = GetActiveCtrl (panel)) == PANEL_TAB) {
GetActiveTabPage (panel, control, &pageIdx);
GetNumTabPages (panel, control, &lastTab);
// eventData1: a 4-byte integer consisting of 3 fields: 0x00MMVVAA
// MM = the modifier key, VV = the virtual key, AA = the ASCII key
// key masks are defined in userint.h
virtualKey = eventData1 & VAL_VKEY_MASK;
modifierKey = eventData1 & VAL_MODIFIER_KEY_MASK;
// Properly handle Ctrl+Tab
if (modifierKey == VAL_MENUKEY_MODIFIER && virtualKey == VAL_TAB_VKEY && (pageIdx == lastTab - 1)) {
GetCtrlAttribute (panel, PANEL_TAB, ATTR_NEXT_CTRL, &nextCtrl);
SetActiveCtrl (panel, nextCtrl);
return 1;
return 0;
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
Problem of imaq image control events
Hi,
I use CVI 2010 and NI Vision 2010 to develop a motion and machine vision system.
I got a problem of using the imagecontrol, I can not capture the EVENT_KEYUP,EVENT_KEYPRESS and EVENT_LEFT_CLICK, EVENT_LEFT_CLICK_UP in the image control's callback.
I also tried to use the function of InstallWinMsgCallback (g_hMainPnlHdl,WM_KEYUP,KeyupCallback,VAL_MODE_INTERCEPT,NULL,&hKeyupCbHdl) to install the WM_KEYUP event, the message is captured when the mouse pointer is outside of the image control,but when the mouse pointer entering the image control, the WM_KEYUP event is missing. I think the image control has intercepted and blocked these messages.
Anyone can help me? Thank you very much!
AwenIt seems to work for me. I just tested EVENT_LEFT_CLICK and had the event increment a numeric each time it fired. I just configured a callback function called "ImageCallback" in the Image control properties, then created a callback function. I have attached the whole project below.
www.movimed.com - Custom Imaging Solutions
Attachments:
Image Control Callback.zip 553 KB -
Sap business One (capture control events)
How do I capture keyboard events(especially those with Control like CTRL-R) in SBO??
Hi Payal,
You can catch the key down event in your Item_Event handler as follows:
If pVal.Modifiers = SAPbouiCOM.BoModifiersEnum.mt_CTRL And pVal.CharPressed = 82 Then
'do something
End If
Hope it helps,
Adele -
How to capture remote control events
Hello, I am now writing some simple xlets to test UI .
I can successfully receive arrow key and enter using KeyEvent,but failed at color key and other
keys in remote control. I have read some articles and got quite confused about the event model
of MHP,it seems complex to beginners.
I tried to receive color key event by this way:
a: main class (HComponent) implements xlet and UserEventListener;
b: define one userEventRepostiroy colorKey and add all colored key to it.
c: EventManager.getInstance().addUserEventListener(this,colorKey);
d:implement the userEventReceived method
I tried the color keys in remote control of my emulator ,but not captured, Can you tell me why? Thanks!!!!Hi,
I am trying to program a normal JFrame application which can capture remote control inputs. (I know very little about Xlets. I just need a listener for an application).
Many of the buttons are captured by a normal KeyListener but some aren't (player controls like play/pause and red/green/yellow/blue colour buttons). Also, most of the ones that are captured just have keyCode() = 0 and keyChar() = '' so I can't determine which button was actually pressed.
Is there any way I can implement the UserEventListener example above without using an Xlet? Alternatively, is there any way I can manipulate KeyListener to get ALL button presses from the remote control? Any other ideas?
Thanks,
Brian
PS - here is my attempt: (Am I missing the point altogether? Not sure if a UserEventListener can be added to a component like other listeners)
package remotecontrol;
import javax.swing.JFrame;
import org.dvb.event.*;
public class frame extends JFrame implements UserEventListener
public frame()
UserEventRepository rep = new UserEventRepository("whatever");
rep.addAllArrowKeys();
rep.addAllNumericKeys();
rep.addAllColourKeys();
EventManager.getInstance().addUserEventListener(this, rep);
setSize(200,100);
setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
show();
public static void main(String[] args)
frame app = new frame();
public void userEventReceived(UserEvent userEvent)
System.out.println("Remote button press captured: " + userEvent.getCode());
} -
Okay I have custom control based on panel. That contains 2
input text control 1 textarea and a button.
I add my panel control in to a viewstack that has 2 canvas.
Now My question is that how can I change viewstack canvas
when I click that button in the custom control or alternative. how
can i listen that buttons event.Ok, I am still a bit soft on events, but since no one else
has responded,try this (no warranty):
in the component, dispatch an event, with the bubbles
arg=true:
<mx:Button click="displatchEvent(new
Event("myButtonClick",true))" .../>
In the main app, since the event is bubbling, you should be
able to listen for it. In a function called by initialize or
creationComplete:
this.addListener("myButtonClick", myButtonClickHandler);
private function myButtonClickHandler(event:Event):void {
Alert.show("myButtonClick");
Tracy -
I need to set a selected Index on an enhanced data grid and
noticed that if I set it right after I set the dataProvider for the
page control, it won't work. The only way around this that I have
seen is set an interval and wait for it to finish loading. This
works, but I really want a non hacked solution. Does anyone know of
any dispatched events from either the enhancedDataGrid or from the
pageControl that would help me out I would appreciate it. Barring
that, If someone could point me towards the pageControl code files
(I can't locate it) so I could look at the dispatched events that
should be enough.
ThankspageControl must be a custom class because there is no such
class in the standard package. And there is no enhancedDatagrid.
Maybe you are using components from a third party? -
Controlling event with two controls
Here's what I have.
I have two separate Time loops. Inside each timed loop I have an event structure. Each even structure is trigger by pressing a button each. This works just fine.
However, I'd like to add a third button, that executes both event structures. I want to do this without creating additional events in each structure. Is this possible to somehow wire this third button to the other two and trigger the two based off the action of the third? I'm having trouble getting that to work.
Thanks
Message Edited by crazyjay on 02-24-2010 09:15 PM
Solved!
Go to Solution.Quick example
Attachments:
Event with Value Signaling.vi 12 KB -
Hi All,
I am using two business objects in my workflow and i am using Change Document object KRED.
1.ZLFA1 For General Data
2.ZLFB1 For Company Code Data
when i change general data event from ZLFA1 should trigger and when i change company code data event from ZLFB1 should trigger.
once the event is raised work item is creating and i can process the same .
Processing means, conformation or Rejection of the changes using TC XK08.
upto this it is working fine.
but when i change both data's i.e General Data as well as Company Code Data both events are triggering and two work item are creating.
In XK08 if i pass only Vendor number i can confirm only general data. if pass both vendor number and company code both the data's can be processed. i.e general data & company code data.
So when i changed both data's i want to trigger the event from ZLFB1 so that i can process both the data's with single work item.
Can any body suggest me how to do this?
if only general data,ZLFA1 should trigger : this working fine
if we change only company code data, ZLFB1 should trigger :This is working fine
if we change both the data's only ZLFB1 should trigger :This is i need .
Please help me if any body come across this situation.
Regards
Venkat.Hi Venkat,
See, I think you got to add TERMINATING EVENTS for your current Standard Tasks in such a way that, if one Workitem is executed, the other should terminate automatically.
Regards,
<i><b>Raja Sekhar</b></i>
Maybe you are looking for
-
Hi , We are using Greenplum + BO , We can able to connect the BO with greenplum in Universe. While we connect to the Webi we are getting the below attached issue , Please help us to resolve.
-
Is there ibooks for ipod touch of version 4.2
can i be able to download a lower version of ibooks for my ipod touch of V4.2
-
Can't Export to Compressor due to a
Message that i'm getting that Reads. one or more jobs do not have a source media file assigned. anyone know how to fix this.
-
Mis-registered system or lost?
I have a user with a laptop AB12345, which is in a remote location but joined to our domain. These systems use our external-facing (DMZ) Zenworks 11.2.4 server "over the internet", but also the user can connect via VPN which then automatically will s
-
Some commited figure is showing in Item master data
Hi, why some commited figure is showing in Item master data in Inventory TAB . Its showing only Raw materials and Finish Goods items. Others inventory items are okay. Regards, Mzian