Posts

Showing posts from 2017

Useful Function Modules in SAP ABAP

1)        Pop up Message as Screen with YES / No Buttons : Code   : data :  g_res( 1 )    type   c . clear  : g_res.    call   function   'K_KKB_POPUP_RADIO2'      exporting       i_title   =  'You want to Enter-New Reason Code?'       i_text1   =  'YES'       i_text2   =  'NO'       i_default =  'NO'      importing       i_result  = g_res      exceptions      cancel    =  1 . output : 2 ) Information message as Displayed as Table ( List of Points we can display in Screen ). types  :  begin of  t_tab  ,          text ( 120 )  type c ,          end of  t_tab . data  :i_tab       type   standard   table   of  t_tab ,          wa_tab   type  t_tab.    refresh  : i_tab[].    clear  wa_tab.     wa_tab- text  =  'Use of Create' .    append  wa_tab  to  i_tab .    clear  wa_tab.      wa_tab- text  =  '• To Insert the Records.' .    append  wa_tab  to  i_tab .    call   function   'POPUP_WITH

Workflow Questions and Answers

When we classify a task as “ General Task” it means ??? A :   The task can be executed by anyone in   the system. What is a Difference between a Workflow Task ( WF ) and a Workflow Template ( WS ) ? A : A Workflow Task ( WF ) is a single-step workflow ,      workflow template (WS ) is a multi-step workflow. What does   the Standard workflow container   “ _Adhoc_Objects “ Signify ? A :   it is a multiline container that can store runtime instances of multiple business objects used in the workflow. It creates a link in the work item for each business object to call the default method in it. If an Exception in a code triggers a short dump , What happens to the workflow ? A : The work item gets suspended and gets stuck in status IN PROCESS and the workflow hangs. How can we restore a workflow that has hung due to a short dump ? A: Execute transaction : SWPC and enter the work item ID of the workflow. When we restart a workflow instance using SWPR , What happe