Regarding INitailization event.
Hi All,
Using INITIALIZATION event we can give default input value to selection screen in range.
but we can give like this also(parameters: file like table-field default 1000 and for select-option also ) then what is the use of initialization event .
and
by using parameters we can give a value for single field,
select-options :we can give in put value in range but we can display the single field in select-options using no interval .
so insted of using parameters we can use select-options for single vale and for multiple value then what is the use of parameters.
Thanks,
sheik.
Edited by: SHAIK JAILABDIN on Feb 2, 2010 5:33 AM
Hi Sheik,
Agree with previous posting that in INITIALIZATION, we can INITIALIZE all the variables we have, for example internal tables,
working areas, counter, flags (boolean), etc. So it's not just to give the selection screen parameter or select options, but all the variables which are not shown on the screen.
And for select options, it is true that we can restrict it to single value with NO-EXTENSION and NO INTERVALS.
But when the design of the program expects only single value to be inputted, why would we bother to process the range/internal table in the select options? And also, select option needs extra memory to allocate instead single parameter entry.
Just my 2 cents
Similar Messages
-
Regarding the event AT SELECTION-SCREEN ON FIELD ..
Hi experts,
Can u plz tell the real advantage of the event AT SELECTION-SCREEN ON FIELD than
AT SELECTION-SCREEN ..
in which type of situations AT SELECTION-SCREEN ON FIELD is needed??
Thanks & Regards,
sathish.Hi,
when we are going to do two are more field validations at a time
we can use AT SELECTION-SCREEN ON <fieldname>.
if it is there single field we can use AT SELECTION-SCREEN.
have a look.
select-options: s_vbeln like vbak-vbeln,
s_vkorg like vbak-vkorg,
s_vtweg like vbak-vtweg,
s_matnr like vbap-matnr.
AT SELECTION-SCREEN ON s_vbeln.
select----
if sy-subrc <> 0.
error message.
endif.
AT SELECTION-SCREEN ON s_vkorg.
select----
if sy-subrc <> 0.
error message.
endif.
AT SELECTION-SCREEN ON s_vtweg.
select----
if sy-subrc <> 0.
error message.
endif.
AT SELECTION-SCREEN ON s_matnr.
select----
if sy-subrc <> 0.
error message.
endif.
Regards.
sriram. -
Regarding terminating events in workflows
Hi,
I know that terminating events are used with asynchronous methods. Can anyone tell me, why do we need to do so????
Thanks and Regards,
Ravi VarmaHi
Check the links below
Workflow automates the steps and activities in a business process according to predefined procedures and rules.
Workflow presents information and documents to the appropriate knowledge worker or agent (another entity such as a program) to make a decision or perform an activity.
Workflow tracks each and every step in the process flow and maintains an ongoing status.
Workflow also collects and reports all of the metrics associated with the execution and completion of the process.
Check the below links u will get lot of info..
http://www.sap-press.com/product.cfm?account=&product=H950
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
Go through the following links on FORK :
http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/8d/25f1e7454311d189430000e829fbbd/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a930453d11d189430000e829fbbd/content.htm
http://www.insightcp.com/res_23.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
For more reference on workflow: http://****************/Tutorials/Workflow/Workflow.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/04/9277a346f311d189470000e829fbbd/frameset.htm
Check these links.
http://www.sapgenie.com/workflow/index.htm
/people/ginger.gatling/blog/2005/12/01/link-workflow-business-objects-to-your-collaboration-tasks
http://help.sap.com/saphelp_nw04/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
http://help.sap.com/saphelp_bw33/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
http://help.sap.com/saphelp_bw31/helpdata/en/8d/25f94b454311d189430000e829fbbd/content.htm
http://www.sap-press.com/product.cfm?account=&product=H950
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
Workflow tutorials with step-by-step and with screenshots are available at http://www.****************/Tutorials/Workflow/Workflow.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/c14a9b55103116e10000000a1553f7/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
http://www.sapgenie.com/workflow/
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
Debug a workflow.
This has a step by step procedure :
http://fuller.mit.edu/workflow/debugging.pdf
www.erpgenie.com/sap/workflow/debugging.htm
http://www.erpgenie.com/workflow/debugging.htm?2b5de440
Workflow tutorials with step-by-step and with screenshots are available at
http://www.****************/Tutorials/Workflow/Workflow.htm
http://www.sapgenie.com/workflow/
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2857887
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2855919
https://forums.sdn.sap.com/click.jspa?searchID=791580&messageID=2735228
http://www.sapbrain.com/TUTORIALS/TECHNICAL/WORKFLOW_tutorial.html
Reward points for useful Answers
Regards
Anji -
Regarding Intialisation event in reports
Hi..
Plz explain me the usage of Intialisation event in reports. I have read somewhere by using intialisation event we can do 2 things
1) can provide default values in selection screen.
2) can provide authorizations on report.
But I am unable to understand what we meant by providing authorizations. plz help me in this regard.
Regards
veerendraHi,
initialization events helps us in
giving default values
to any variable
that may be the selction screen field values
parameters: P_matnt type mara-matnr
initialization.
p_matnr = '777777'.
then when you see the selection screen this value will be seen
2) can provide authorizations on report.
yes we can provide authorizations on report in this event
also
we usually check the sy-uname
and we will maintain a ztable for authorizations
and if we found that user name and some code associated with the uname
then we will allow him to go ahead
other wise we will give a message that
'you are not authorized'/
thanks & regards,
Venkatesh -
Regarding business event Creation
Hi folks,
My requirement is to create a workflow using business event. It is done and working as expected in 'development' instance.
Next I need to move the workflow and implement the business events in 'Production' instance. But am not having the sysadmin login credentials for production and it is the option to create to business events.
Kindly suggest me any other solution for this
Thanks in advanceYou can do this via command line WFXLoad utility but you will need the apps scheme password.
In the source environment, where the event and its subscriptions are define, download the data as follows:
- Download business event definition
java oracle.apps.fnd.wf.WFXLoad -d apps <passwd> <db server name>:<port>:<SID> thin US eventDef.wfx EVENTS <event name>
example
java oracle.apps.fnd.wf.WFXLoad -d apps apps myserver.oracle.com:8068:PROD thin US myEvent.wfx EVENTS oracle.apps.fnd.wf.myevent.created
- Download business event subscriptions
java oracle.apps.fnd.wf.WFXLoad -d apps <passwd> <db server name>:<port>:<SID> thin US eventSubs.wfx SUBSCRIPTIONS <event name>
In the target instance, where you do not have access to events studio:
- Upload business event definition
java oracle.apps.fnd.wf.WFXLoad -u apps <passwd> <db server name>:<port>:<SID> thin US eventDef.wfx
- Upload business event subscriptions
java oracle.apps.fnd.wf.WFXLoad -u apps <passwd> <db server name>:<port>:<SID> thin US eventSubs.wfx
In the syntax I used eventDef.wfx and eventSubs.wfx but you can use any file name.
Regards,
Alejandro -
Regarding the event for expand/collapse of navigation panel
Hi All,
Is it possible to have an event for the exapnd/collapse for the navigation panel of the portal.
If yes, how to achieve it..
Can we add the event for this or not.
If yes, I want to fire this event from the webdynpro ABAP to collapse or expand the navigation panel of the portal based on some condition.
Is this possible....
Thanks Much.
Regards,
Lekha.Hi,
See my thread: Hide Detailed Navigation on how to edit the relevant par file.
I guess you can add EPCM event (subscribe) and raise it from your ABAP code.
Hope it helps,
Omri -
Regarding creation event in user exit for create customer
hi gurus,
in user exit how to create event for create customer
regards
vijayHi
Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.
mark if helpful
Regs,
Tushar Mundlik -
The infotypes 2000 to 2999 store time related data. But i found B1 cluster which is time events . what information is stored in B1 event in cluster table PCL1.
thanks,Dear Abdul,
PCL1 - Database for HR work area
Database Table PCL1
· The database table PCL1 contains the following data areas:
B1 time events/PDC
G1 group incentive wages
L1 individual incentive wages
PC personal calendar
TE travel expenses/payroll results
TS travel expenses/master data
TX infotype texts
ZI PDC interface -> cost account
Cluster B1:
All clusters for entry data are contained in file PCL1. This also includes cluster B1, which stores several tables containing information on the employees time events and on status data for time evaluation.
Unprocessed time events
Error table ERT
Selected monthly balances
Table QT, which contains various status fields for time evaluation
Use
If the results of time evaluation are not clear, you can use cluster reports to display the data determined. Report RPCLSTB1 allows you to view the data in c luster B1, arranged into tables.
You can also view cluster B1 via the Time Management pool. You can display the content of cluster B1 tables for individual employees in the Error handling transaction by choosing -> Goto -> Evaluation result.
Structure
File PCL1 contains only temporary clusters. Cluster B1 tables are only filled if the data contained in them has not yet been processed by the time evaluation report.
Visit the following link for more information on cluster B1:
http://help.sap.com/saphelp_erp2004/helpdata/en/8a/98569346c411d189470000e829fbbd/content.htm
Hope this will help.
Regards,
Naveen. -
Hi,
Can anyone explain me the interactive events like AT USER-COMMAND, AT PF, AT LINE_SELECTION with an example
Regards,
Pavankumar.Hi,
List Events in an ABAP Program
After a user interaction on a list, the ABAP runtime environment checks whether it should process the function code itself (for example, %EX or %PC), or whether it should trigger the relevant event. Unlike normal screens, in which the PAI event is triggered, the runtime environment triggers three special events when list events occur. You can use the corresponding event blocks in your ABAP program to react to the user action. From within the program, you can use the sy-ucomm system field to access the function code. There is no OK_CODE field to be filled here.
Event Blocks for Function Codes PFnn (Obsolete)
When the user chooses a function code PFnn (nn can be between 01 and 24), the system always triggers the AT PFnn event. In the standard list status, the function keys Fnn that are not reserved for predefined system functions all have the function code PFnn as long as a corresponding event block is defined in the program.
AT PFnn
statements.
These event blocks are executed when the user chooses the corresponding function key. The position of the cursor in the list is irrelevant.
If you use these event blocks at all, it should only be for temporary test versions. In production programs, you should only use AT USER-COMMAND with a dialog status of your own to assign function codes to function keys. When you use your own interfaces, the system displays a function text explaining what the function does. This does not happen when you use AT PFnn event blocks.
Event Block for Function Code PICK
When the user triggers the function code PICK, AT LINE-SELECTION is always triggered if the cursor is positioned on a list line. The function code PICK is, by default, always linked with function key F2 and hence with the mouse double-click. Consequently, if you have a simple program that does not react to any further user actions, you only need to write this event block.
AT LINE-SELECTION.
statements.
As described in the section Dialog Status for Lists, the function code PICK is always added to the standard list status when you have an AT LINE-SELECTION event in your program.
If you assign PICK to other function keys or menu entries, AT LINE-SELECTION is also triggered when the user chooses then. You should avoid this for the sake of the semantics.
Conversely, if you have a more extensive program that does not react to line selection, you should not use the function code PICK. Instead you should assign a different function code to F2, to ensure that as many events as possible trigger the AT USER-COMMAND event.
Event Block for User-Defined Function Codes
If the user chooses a function code during list processing that is neither processed by the system, or PICK or PFnn, the system triggers the event AT USER-COMMAND. For this event, you must define your own GUI status for a list. To react to your own function codes in a program, you must define the following event block:
AT USER-COMMAND.
statements.
In this event block, you can use an IF or CASE structure to differentiate between the function codes. They are available in the system field sy-ucomm. There are further system fields that are filled in list events, such as sy-lsind and sy-pfkey, that allow you to make further case distinctions.
Triggering a List Event from the Program
You can trigger a list event from the program as follows:
SET USER-COMMAND fc.
This statement takes effect after the current list is completed. Before the list is displayed, the event assigned to function code fc is triggered, regardless of the dialog status you are using.
The effect is the same as when the user chooses the function. In other words, predefined list function codes are trapped and processed by the runtime environment, the function codes PICK and PFnn trigger the AT LINE-SELECTION and AT PFnnevents, and user-defined function codes trigger the AT USER-COMMAND event block.
Function code PICK triggers an event only if the cursor is located on a list line.
Using this statement in conjunction with the function codes reserved for system functions, you can call the system functions from the program. For example, you can use SET USER-COMMAND '%SC' to call the Find dialog box directly, or to position the list correctly before it is displayed.
If you use several SET USER-COMMAND statements while creating a list, the system executes only the last one.
Examples
Example for AT LINE-SELECTION.
REPORT demo_list_at_line_selection.
START-OF-SELECTION.
WRITE 'Basic List'.
AT LINE-SELECTION.
WRITE: 'Secondary List by Line-Selection',
/ 'sy-ucomm =', sy-ucomm.
When you run the program, the basic list appears with the standard list status. The detail list shows that sy-ucomm has the value PICK.
Example for AT PFnn.
REPORT demo_list_at_pf.
START-OF-SELECTION.
WRITE 'Basic List, Press PF5, PF6, PF7, or PF8'.
AT pf5.
PERFORM out.
AT pf6.
PERFORM out.
AT pf7.
PERFORM out.
AT pf8.
PERFORM out.
FORM out.
WRITE: 'Secondary List by PF-Key Selection',
/ 'sy-lsind =', sy-lsind,
/ 'sy-ucomm =', sy-ucomm.
ENDFORM.
After executing the program, the system displays the basic list. The user can press the function keys F5, F6, F7, and F8 to create secondary lists. If, for example, the 14th key the user presses is F6, the output on the displayed secondary list looks as follows:
Secondary List by PF-Key Selection
sy-lsind = 14
sy-ucomm = PF06
Example of AT USER-COMMAND.
REPORT demo_list_at_user_command NO STANDARD PAGE HEADING.
START-OF-SELECTION.
WRITE: 'Basic List',
/ 'sy-lsind:', sy-lsind.
TOP-OF-PAGE.
WRITE 'Top-of-Page'.
ULINE.
TOP-OF-PAGE DURING LINE-SELECTION.
CASE sy-pfkey.
WHEN 'TEST'.
WRITE 'Self-defined GUI for Function Codes'.
ULINE.
ENDCASE.
AT LINE-SELECTION.
SET PF-STATUS 'TEST' EXCLUDING 'PICK'.
PERFORM out.
sy-lsind = sy-lsind - 1.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'FC1'.
PERFORM out.
WRITE / 'Button FUN 1 was pressed'.
WHEN 'FC2'.
PERFORM out.
WRITE / 'Button FUN 2 was pressed'.
WHEN 'FC3'.
PERFORM out.
WRITE / 'Button FUN 3 was pressed'.
WHEN 'FC4'.
PERFORM out.
WRITE / 'Button FUN 4 was pressed'.
WHEN 'FC5'.
PERFORM out.
WRITE / 'Button FUN 5 was pressed'.
ENDCASE.
sy-lsind = sy-lsind - 1.
FORM out.
WRITE: 'Secondary List',
/ 'sy-lsind:', sy-lsind,
/ 'sy-pfkey:', sy-pfkey.
ENDFORM.
When you run the program, the system displays the following basic list with a the page header defined in the program:
You can trigger the AT LINE-SELECTION event by double-clicking a line. The system sets the status TEST and deactivates the function code PICK. The status TEST contains function codes FC1 to FC5. These are assigned to pushbuttons in the application toolbar. The page header of the detail list depends on the status.
Here, double-clicking a line no longer triggers an event. However, there is now an application toolbar containing five user-defined pushbuttons. You can use these to trigger the AT USER-COMMAND event. The CASE statement contains a different reaction for each pushbutton.
For each interactive event, the system decreases the sy-lsind system field by one, thus canceling out the automatic increase. All detail lists now have the same level as the basic list and thus overwrite it. While the detail list is being created, sy-lsind still has the value 1.
Example of AT USER-COMMAND.
REPORT demo_list_set_user_command NO STANDARD PAGE HEADING.
START-OF-SELECTION.
SET USER-COMMAND 'MYCO'.
WRITE 'Basic List'.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'MYCO'.
WRITE 'Secondary List from USER-COMMAND,'.
WRITE: 'sy-lsind', sy-lsind.
SET USER-COMMAND 'PF05'.
ENDCASE.
AT pf05.
WRITE 'Secondary List from PF05,'.
WRITE: 'sy-lsind', sy-lsind.
SET CURSOR LINE 1.
SET USER-COMMAND 'PICK'.
AT LINE-SELECTION.
WRITE 'Secondary List from LINE-SELECTION,'.
WRITE: 'sy-lsind', sy-lsind.
SET USER-COMMAND '%SC'.
This program creates one basic list and three detail lists. When the program starts, the third detail list is displayed immediately, along with a dialog box for searching in the list. The dialog box is displayed by setting the predefined function code %SC. To view the other lists, the user chooses Back.
Note that in the event AT PF05, the SET CURSOR statement is used to position the cursor on a list line in order to support the function code PICK.
Reward If Helpfull.
Naresh -
Regarding the events..
Hi Experts--
I would like to know abt the events triggered or not..
I mean the status of the events...can i see the status of the events whether it has been triggerd or not... in SM62 i could not see ...
where can i see this..
Suggestions plz
Regards,
Vishwa.Hi Vishwa
Similar question was raised for m also a long back .But i didnt get the answer any
the following are some of the ways to know..
1) if the event is triggering any jobs .then we can check the staus in Sm37
by mentioning that particular event name in the job start condition after event
field..
This is jus an advice ...
If any ideas please let us know..
Regards
R M K
***Assigning points is the only way of saying thanx in SDN *** -
Regardding Time Events confirmation.
Hi PP Gurus,
Could anybody please pour light on Time Event confirmation configuration for Work center and Customization? Whenever I'm trying to do Time Event confirmation for Processing finish event getting following error:
Message no. RU407: Pair formation: Conflict with previous confirmation
Diagnosis
A time event with the record type B40 should be created. When checking whether this is permitted based on time events that already exist a time event with the record type R10 was found as the predecessor.
The record type B40 cannot be a successor to the record type R10.
If anybody came across the same please help.
Thanks & Regards,
Abu ArbabHi,
The sequence can be the exactly in the same way as you have mentioned.
For Set-up time:
First select the Set-up Start radio button.
Now if you have Set-up Interruption then select the " Interrrupt Setup" Button.
If you want to start the set-up again then select the " Set-up Start" again.It will auto-confirm the interruption finish when you use the radio button "Start setup".
Finally you have to select the radio-button " Set-up Finished" so that Set-up time is completed.
Now the same-way for Process Time.
"Please come back with proficient comments". Hope I'am proficient enough with the reply.
Best Regards. -
Hi All,
I am working on a report where from report i am calling IW32 Transaction, and in the IW32 transaction some changes willl be done and the order will be saved, on Save i have to trigger and Idoc that is done in the report itself after call Transaction statement.
Now my problem how could i get the info of whether the user has saved the IW32 or Cancelled, in my report.
I dont want to disturb any userexits or standard code is ther any system variable or any way to find wherther the user has saved thr order or not.
sy-ucomm doesnot work here.
Reward points are guaranteed.
Regards,
Ravi GRavi,
To trigger an IDOC based on a particular condition in application we will use Message Control Technique.
Define that field in Condition table and that condition in access sequence.
Steps to configure Message Control are
<a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAGTFBSMC/CAGTFBSMC.pdf">Click Here.</a>
All the very best to you.
- Mohan Vamsi Krishna. -
Hi
I have one double click event defination and one same event implementation. But two event handler one for top alv and one for bottom alv. Now from the event implementation I want to know which (top or bottom alv) alv is double clicked(top or bottom).CONSTANTS: formname_user_command TYPE slis_formname VALUE 'user_command'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_user_command = formname_user_command
FORM formname_user_command USING ucomm LIKE sy-ucomm
selfield TYPE slis_selfield.
CASE ucomm.
WHEN '&IC1'.
SELECT * FROM sflight
INTO CORRESPONDING FIELDS OF
TABLE it_sflight1
WHERE CARRID = selfield-value. -
can anyone explain about list events
at line selection
at user command.
at pf##.
thanks in advance.Hi Moorthy,
AT LINE-SELECTION : This Event triggers when we double click a line on the list, when the event is triggered a new sublist is going to be generated. Under this event what ever the statements that are been return will be displayed on newly generated sublist.
After user interaction with the screen, you may need to know the position of the cursor when the action occurred. This is particularly important if the user chooses the Choose function (F2 or mouse double-click).
sample code using user command.....
The onlycocept is that user command contains only
the user action.....and it is represented as "sy-ucomm".
REPORT demo_list_set_pf_status_1.
DATA: fcode TYPE TABLE OF sy-ucomm,
wa_fcode TYPE sy-ucomm.
START-OF-SELECTION.
wa_fcode = 'FC1 '. APPEND wa_fcode TO fcode.
wa_fcode = 'FC2 '. APPEND wa_fcode TO fcode.
wa_fcode = 'FC3 '. APPEND wa_fcode TO fcode.
wa_fcode = 'FC4 '. APPEND wa_fcode TO fcode.
wa_fcode = 'FC5 '. APPEND wa_fcode TO fcode.
wa_fcode = 'PICK'. APPEND wa_fcode TO fcode.
SET PF-STATUS 'TEST'.
WRITE: 'PF-Status:', sy-pfkey.
AT LINE-SELECTION.
IF sy-lsind = 20.
SET PF-STATUS 'TEST' EXCLUDING fcode.
ENDIF.
WRITE: 'Line-Selection, SY-LSIND:', sy-lsind,
/ ' SY-PFKEY:', sy-pfkey.
AT USER-COMMAND.
IF sy-lsind = 20.
SET PF-STATUS 'TEST' EXCLUDING fcode.
ENDIF.
WRITE: 'User-Command, SY-LSIND:', sy-lsind,
/ ' SY-UCOMM:', sy-ucomm,
/ ' SY-PFKEY:', sy-pfkey.
Rewards Points if contents are useful...
Thanks. -
Hi all,
How to create oracle event alert when particular column is update. plz help me.... Acutually i need email alert when ever list price for an item column in pricing table get updated+... plz. Its urgent.In that thread,... gareth.roberts say to modify the trigger definition to the column. Actually i am new to oracle >alert. How do i get that trigger definition and from where i have to get. and how to modify the trigger definition . >
plz...Need not to say like that, I am just trying to help you. I believe if you are new try to read and understand the documents and process. Please start with Oracle Alert User's Guide to create a alert and send notification.
I do not have any ready made scenario, I can refer you the documents to do the same,
[How to Create a Basic Trigger|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=119667.1]
[RDBPROD: How to Create an Update Trigger Which Depends on Any Other Field|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=68037.1]
To view the Trigger Information you can use TOAD and modify the same as per your need.
Thanks,
Anchorage :)
Maybe you are looking for
-
Valuation Level defined at Company Code for IS Retail
Hi experts, I wanted to know why in SAP IS Retail we cannot define valuation at CC level, is no allowed in customizing. There is no such a proble in standar ERP. Thanks.
-
How to open .dll files?
I'm not sure I have the correct forum, but I thought I'd try here. I have .dll files I want to look at. I am unable to open them in any type of readable format. When I double click on them they open in Text Edit and jumbled up. I tried to open them i
-
Can we call report from rfc.
Hi All, Can we call report from rfc. if it is possible please tell me the process. i know the process to call rfc from report and from rfc. but i dont know how to call report from rfc FM. Thank you.
-
Dep run.no range assignment
Hi guru In our earlier version of ECC5.0 we as a normal practice use external no. range assignment for depreciation posting.now we have made a technical upgradation from ECC5.0 TO ECC6.0.After this upgradation when we execute TC-AFAB the following e
-
File disappeared from desktop; no longer in hard drive?
I had a file that was around 5 or 6 GB in size on my Desktop, and it contained some pdf files and video files, nothing too big. I've used that file for almost a year to store things I'm reading, watching, etc, but when I turned on my Mac Air this mor