Differences between on chain-input & on chain-request
Hi All,
Cany any one explain the difference between on chain-input & on chain-request ( or on input & on request).
Cheers...
@Syam
Moderator Message: Read the F1 documentation. Thread locked.
Edited by: Suhas Saha on Nov 16, 2011 1:24 PM
Hi Kal,
Let me try and put it into perspective.
On Input (When value changes from initial value):
Here e.g. you have a screen field which has a character field. Initial value of a character field is space. When you enter the screen for the first time, suppose the field is blank (initial value), then user enters some value ('XYZ') in the field, in such an event, the MODULE ON CHAIN-INPUT would get triggered, since the value has changed from initial value to 'XYZ'.
However, now say the user changes the value from 'XYZ' to 'AAA'. In this case, the MODULE ON CHAIN-INPUT will NOT get triggered because the original value was not initial i.e. space.
However, as most applications demand, you would want to trigger the MODULE when there is any changes in the field value. In such instances, you do a MODULE ON CHAIN-REQUEST which is triggered when there is any change in value of screen field.
Hence, ON REQUEST is a superset of ON INPUT, so to say that ON REQUEST is also triggered when value is changed from initial (as in ON INPUT) however ON INPUT is not triggrered when value is changed from non-initial, whereas ON REQUEST modules are triggered.
I hope this makes it clearer.
Regards,
Aditya
Similar Messages
-
Difference between process chain and event collector
what is the difference between process chain and event collector and also plz explain about metachain.In what scenarios they are used.
Many Thanks,hi,
have a look at these help docs
Process Chain:
http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
Event Collector:
http://help.sap.com/saphelp_bw30b/helpdata/en/c1/6c0538c7cb583ae10000009b38f8cf/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/6e/192756029db54192427cf6853c77a7/content.htm
Creating an event colector:
http://help.sap.com/saphelp_bw30b/helpdata/en/45/253d3873130057e10000009b38f842/content.htm
regards
sham'm -
What's the difference between an audio INPUT and AUX object?
Can someone explain the difference between an audio INPUT and AUX object? They both seems to do pretty much the same thing ... when would you use 1 over the other?
revDave:
Suppose you're recording a guitar track and you want to add a very gentle compressor to avoid overload during the rec process. you need an audio input channel with a compressor inserted. this way, your guitar will be recorded with the compressor processed. If you use audio and midi gear and want to bounce your material, put all your midi audio in an audio input channel.This way, you don't have to use a real audio channel to record them. You can hear them, even use some plugins, and have them bounced with your audio channels.
Now, suppose you recorded three vocal channels, and want to use an equalizer. You need an aux object to send your vocal channels and use only one eq. This is very useful when you have similar materials recorded in diferent channels (2 guitars, vocals, pete/sax/bone, and so on). Send their outs to an aux object, insert the fx you want, and set the aux object's out to the main out of your project, and it's done.
I hope it helps you.
Tovinho -
Difference between process chains and manual loading
Hi all,
I just posted a thread asking the difference between the manual loading and the process chains, but surprisingly Iam not able to see my thread.
Anyways, I will be very thankful if anybody can help me out in explaining the difference.
Thanks in advance,
Preethi.Hi,
To see you thread change you settings. process chians allows you to auto mate your data loads, roll up process, compression, psa deletion etc. and you can maintain a sequence like load depending master data and loading transcation data.
by manual load you have to do all the thinngs manually, like executing an info pack, compressing the request, delete psa request etc, this things also you can schedule. but you dont know the dependencies.
Regards
Sankar -
How to write a VI to measure the difference between two analog inputs (voltage)
I'd like to measure the difference voltage between two analog inputs.
Could someone write me a VI for it, please?
I'm new with Labview....
Thanks a lot!!!On the numeric palette, there is a function called subtract. As the
help for it says, it 'Computes the difference of the inputs.'.
Since
this is such a simple process, you need to provide some details on why
you can't do this. You can wire just about any data type into the
inputs. Post your code if you need further help.
Message Edited by Dennis Knutson on 04-05-2009 08:23 AM
Attachments:
Subtract.PNG 1 KB -
Hi Experts
Can you pls explain me whats the difference between
on chain-request and on chain-input.
I tried both in a situation, but not able to find the differenciation.
Pls advise me with suitable example.
Regards
RajaramHI Raja ,
Hope you are doing good .
First of all Chain ....end chain is used for validating multiple fields within a particular processing chain,just have a look at the below code:
ex1:
Chain
field v_lifnr module test_lifnr on chain input.
end chain.
Module test_lifnr will be triggered only if v_lifnr is not initial
and validation will be done.
ex2:
Chain
field v_lifnr module test_lifnr on chain request.
end chain.
here module test_lifnr will be triggered in case the value of v_lifnr is changed.
by change i mean from initial to "aaa" or "aaa" to any other value.
ex3:
Chain
field v_accgrp .
field v_lifnr module test_lifnr on chain input.
field v_nam module test_name on chain request.
end chain.
in this case module test_lifnr will be triggered in case
v_accgrp or v_lifnr is not initial.
and module test_name will be triggered for all the fields mentioned before it i mean in
case any chnge occurs in fields v_accgrp,v_lifnr or v_nam.
in case you dont make any change in field v_name and still the module
test_name can be triggered in case any change occurs in field v_lifnr or v_accgrp.
Thanks. -
Measuring Phase Difference of acquired sound input - How to set the reference
I am trying to measure the phase difference between two audio inputs.(Left and Right Channel of my sound card)
Both are free running 1kHz audio samples which come in and out of phase.
When the samples are in phase everything seems to be working correctly and shows no phase difference.
However once the signals start to go out of phase +-10deg the result keeps jumping around.
It appears to be the fact that it is changing the reference to determine the phase.
When I view the output phase of a channel it is a sawtooth waveform moving from 250deg and then wraps round to -110deg
What I want is to fix one input at 0 degrees and see the others inputs phase difference against it.
Is there a way to set one signal as the reference or an alternative strategy?
Thanks in advance for any assistance.
PLEASE NOTE THAT THE acquire.jpg IS ACTUALLY THE VI.
It would not upload as the vi. Please rename extension to acquire.vi to view it.
Message Edited by EuanB on 05-15-2009 01:54 AM
Message Edited by EuanB on 05-15-2009 01:55 AM
Message Edited by EuanB on 05-15-2009 01:57 AM
Message Edited by EuanB on 05-15-2009 01:57 AM
Message Edited by EuanB on 05-15-2009 01:59 AM
Solved!
Go to Solution.
Attachments:
In Phase.jpg 835 KB
Out of Phase.jpg 857 KB
acquire.jpg 33 KBI did some modifications to my first vi. Now is the amplitude problem removed. At least in then I simulate. You may test in real world:smileytongue:
Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Attachments:
demo_v2.vi 33 KB -
Differences Between Infopackage Groups and Process chains
Hi All,
Can anybody explain me what are the differences between Infopackage Groups and Process Chains ? And how process chains are more comfortablehi nagarjuna,
An InfoPackage group is a collection of InfoPackages. In order to summarize data requests which logically belong together from a business point of view, and to therefore simplify the request, you can collect data requests (meaning the InfoPackages) into an InfoPackage Group. You can schedule each of these groups in the scheduler . With the data request the scheduler can access InfoPackage groups directly and thereby request more than one InfoPackage at a time, corresponding to the setting in the InfoPackage group. Thus, you can support InfoPackage groups with the serialization of your data requests.
While a process chain is a sequence of processes that wait in the background for an event. Some of these processes trigger a separate event that can start other processes in turn. hit this link to know abt PCs:
http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
Process chains are more comfortable becoz itz not like infopackages where we have to schedule each pack individually. And in PCs, monitoring is very convenient since u see evrything in a single page.
regards
sham'm -
What is the difference between Process Type TRIGGER AND CHAIN
What is the difference between these two process types. When I am looking process types, I want to provide information only about process chains and not individual steps of process chain. Looks like one can do using either.
Along the same line, I am looking at data from RSPCPROCESSLOG, no where this table has a column process chain id. So How od I find information about a process chain.
Thanks a lot,A "Chain Process" can be a a step in a Process Chain as well. For Example: So you could have the following Process Chain:
Process Chain Example
Step 1. TRIGGER (Execute Daily at 4am)
Step 2. DTP_LOAD Execute DSO Load
Step 3. DTP_LOAD Execute InfoCube Load
Step 4. CHAIN Execute Master Data Process Chain
I believe the "Master Chain" is called a "MetaChain" since it controls the start of another Process Chain.
Hope that helps... -
What are the practical differences betweens infopackages and process chains
Hi,
what are the practical differences betweens infopackages and process chains.
Thanks,
cheta.Hello BW,
Hope the following links will give u a clear idea about process chains
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/using%20process%20chains%20in%20sap%20business%20information%20warehouse
Business Intelligence Old Forum (Read Only Archive)
http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
regards,
Muralidhar Prasad.C -
Difference between module on request and module on input
hi,
what is the Difference between module on request and module on input
can any one explain with some examples
Thanks in advance
GaneshHI
module on request is triggered when you press F4
module on input is triggered when you enter any value to certain field or change it.
refer this for more details
http://www.jt77.com/development1/programming-19561.html
reward if helpful
thanks
vivekanand
Message was edited by:
vivekanand meghmala -
Difference between Scheduled and released with respect to process chains
HI All,
I am Creating a cube in whcih I want to upload the current status of the process chain.
And the requirement is not to take those process chains whcih are scheduled and not released( only take those process chains whcih have status released)
for the same I dont know what is the difference between Scheduled and Released in respect of process Chains and also from whcih Database table I can get this information.
Please help.
Regards,
UjjwalHi,
Job Status Scheduled means a job has been created and is ready to run but has not yet been triggered.
A release status means the created job has been triggered and is waiting for the opportunity to run. A job can be in released status when it is a periodic Job ( Where once the job is completed it goes to release status), when it is slated for future execution, or when there is a delay due to database overload.
Regards,
Pramod -
Greyed out fields not triggering ON CHAIN-REQUEST
Hi Guys,
I have a text box on a screen with input not possible (greyed box). But the value of that text box can be changed by clicking a button in the same screen. Now, I wrote a code to give a pop-up upon exiting the screen, if the user didn't save the data. I got this fuctionality using keyword ON CHAIN-REQUEST.
But it is getting triggered, if the user changes the value on the white text box. But I changed the value of greyed text box using the button on the screen. For that, ON CHAIN-REQUEST is not getting triggered. Please help me out to solve this problem.
PROCESS AFTER INPUT.
CHAIN.
FIELD: zmm_spa_item-uptby_tc, " Greyed text box
zmm_spa_item-rmrk1_tc,
zmm_spa_item-rmrk2_tc,
zmm_spa_item-rmrk3_tc,
zmm_spa_item-rmrk4_tc.
MODULE get_changed_data ON CHAIN-REQUEST.
ENDCHAIN.
MODULE user_command_2300.
MODULE get_changed_data INPUT.
DATA: lv_answer TYPE c .
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
titlebar = 'Exit Review'
text_question = 'Do you wish to save your data?'
text_button_1 = 'Yes'
text_button_2 = 'No'
IMPORTING
answer = lv_answer
EXCEPTIONS
text_not_found = 1
OTHERS = 2.
IF lv_answer EQ '1'.
MODIFY zmm_spa_header FROM zmm_spa_header.
MODIFY zmm_spa_item FROM zmm_spa_item.
IF sy-subrc EQ 0.
MESSAGE s001 WITH 'Saved'.
ENDIF.
ELSEIF lv_answer EQ 'A'.
CLEAR ok_code.
LEAVE SCREEN.
ENDIF.
ENDMODULE. " GET_CHANGED_DATA INPUT
Regards,
Yasin.Hi,
Try using the following
CHAIN.
FIELD: zmm_spa_item-uptby_tc, " Greyed text box
zmm_spa_item-rmrk1_tc,
zmm_spa_item-rmrk2_tc,
zmm_spa_item-rmrk3_tc,
zmm_spa_item-rmrk4_tc.
MODULE get_changed_data ON CHAIN-INPUT. "CHAIN-REQUEST.
ENDCHAIN.
Or take a flag in the User Command of button where you are making this field Grey
if that flag is = 'X' or Check sy-datar
Then call the Function Module POP UP
Cheerz
Ram -
Hi ALL
I just started to work with abap and I need help. This is my source code:
PROCESS BEFORE OUTPUT.
MODULE prepara_telas.
PROCESS AFTER INPUT.
MODULE cancel AT EXIT-COMMAND.
CHAIN.
FIELD: carrid,
connid
fldate.
MODULE check ON CHAIN-REQUEST.
ENDCHAIN.
1- How i define the input/output field?
2- I dont know what the module check and cancel need to be created and works.
Thanks...hi,
For example if there are 10 fields in the screen and for 5 fields whenever the user enters wrong values u like to give some error message. You can declare that fields in the chain enchain so that only those fields will be input enabled and all other fields will disabled.
CHAIN.
FIELD chk_connobj.
FIELD chk_inst.
FIELD chk_devloc.
FIELD ehaud-haus.
FIELD eanl-anlage.
MODULE modify_screenfields.
ENDCHAIN.
*& Module modify_screenfields INPUT
* text
MODULE modify_screenfields INPUT.
CLEAR okcode.
okcode = sy-ucomm.
CASE okcode.
WHEN 'ENTER' OR 'EXECUTE'.
IF chk_connobj IS INITIAL AND chk_inst EQ c_x AND
chk_devloc EQ c_x.
IF ehaud-haus IS INITIAL.
SET CURSOR FIELD 'EHAUD-HAUS'.
MESSAGE e000(zo_spa) WITH text-017. " Enter Connection obj
ELSE.
PERFORM conn_obj_check.
ENDIF.
ENDIF.
ENDMODULE. " modify_screenfields INPUT
Rgds
Anversh -
hello experts,
currently i'm working in modulepool program...i want to know the functionality of on chain-request(with coding)..
Thanks & Regards
Subhash.
POINT WILL BE REWARDED.HI
ON CHAIN-INPUT similar to ON INPUT.
The ABAP/4 module is called if any one of the fields in the chain contains a value other than its initial value(blank or nulls).
ON CHAIN-REQUEST
This condition functions just like ON REQUEST, but the ABAP/4 module is called if any one of the fields in the chain changes value.
Basically, with the ON CHAIN ... END CHAIN statements you can process a group of fields together.
Say for example you have company code & G/L account on your screen. To validate them, you need to consider both of these fields together. So, you put them within ON CHAIN ... END CHAIN, and also put your validation module within the ON CHAIN ... END CHAIN
CHAIN.
FIELD BSEG-HKONT.
FIELD BSEG-BUKRS.
MODULE validate_gl ON CHAIN-INPUT.
ENDCHAIN.
This module will get called when either your Company cod or G/L account are filled. You will have the values of both fields available within the module.
CHAIN.
FIELD BSEG-HKONT.
FIELD BSEG-BUKRS.
MODULE validate_gl ON CHAIN-REQUEST.
ENDCHAIN.
This module will get called only when the user CHANGES the value of either the g/l or the company code. Again, you'll have the values of both g/l and company code available.
Maybe you are looking for
-
I am using 2 USB-6009s to collect 16 channels of analog data and the 2 devices are not synced. The data files attached were collected at 1,000 Hz for 2 sec using the Write to Measurement File function. 1. When the data were saved as a text (lvm) fil
-
How do I save a file as an unformatted txt file instead of html or rtf?
How do I save a file as an unformatted txt file instead of html or rtf?
-
Installed new burner-can't find burner
Installed new burner and updated Itunes in past 2 weeks. Today noticed that I can't burn. Itunes still shows my old burner (liteon) and not my new burner (Benq). Uninstalled itunes, reinstalled after restart it still shows up in itunes as a liteon an
-
How to export / share Metadata Schemas?
The title says it all: When I create a great custom metadata schema in Premiere Pro that contains all the relevant categories for my project it is all useless to me unless I can share those schemas with my collegues on their computers! Is there any w
-
Iphoto problem on my macbook pro
when i open iphoto it tells me "you cant open your current photo library using this version of iphoto. you have made changes to your photo library using a newer version of iphoto. please quit and use the latest version on iphoto." i have 6.0.6 versio