Function code for execute button

Hi,
I have a requirement like this...
there is a program for selective deletion from a data target by a transaction called delete_facts.
this generates a program for selective deletion. when i run this report there comes one screen asks for selections fields and then again excute it then deletion will happen.
But this program i need to modify for certain default values so as to avoid entering of the values in the selection screen.
i will use default value this will solve my 1st purpose but since this program has to be scheduled from process chain, the 2nd execute funtionality( once the values appear in the screen) shud be automated.
can anybody tell me how to do this that is after program runs values will be passed to selection screen and selection screen shud not be shown and execute shud happen automatically.
this is the code generated by transaction delete_facts:
*& Report  ZTEST_DELETE1
REPORT  ZTEST_DELETE1.
generated Header from i_sel_repid
generated REPORT (RSDRD)
(should be deleted after use)
Generated by..: SALAGUN
Date/Time.....: 20070322 / 051426
*REPORT GP457FUV92GJS4663HYHXLYC9Q7 .
generated Tables from i_t_tables
                 and  i_datatarget
TABLES:
SSCRFIELDS,
/BIC/SZTESTBC
,/BI0/SCHNGID
,/BI0/SRECORDTP
,/BI0/SREQUID
,/BI0/SDATE
,/BI0/SUNIT
generated DATA/TYPES
TYPE-POOLS: RSDRD, RSDQ.
DATA:
  L_INTERACTIVE      TYPE RS_BOOL,
  L_ANSWER(1)        TYPE C,
  L_TYPE(1)          TYPE C,
  L_PARALLEL         TYPE I,
  L_NO_OF_ROWS       TYPE I,
  L_NO_OF_ROWS_C(10) TYPE C,
  L_TITEL            TYPE RS_CHAR72,
  L_TEXT1            TYPE RS_CHAR72,
  L_TEXT2            TYPE RS_CHAR72,
  L_S_RANGE          TYPE RSDRD_S_RANGE,
  L_S_SELTXT         TYPE RSDQ_S_SELTEXT,
  L_SX_SEL           TYPE RSDRD_SX_SEL,
  L_T_MSG            TYPE RS_T_MSG,
  L_THX_SEL          TYPE RSDRD_THX_SEL,
  L_T_SELTXTS        TYPE RSDQ_T_SELTEXT
                          WITH HEADER LINE.
generated SELECTION-SCREEN from i_t_selscr
SELECTION-SCREEN BEGIN OF BLOCK B001 WITH FRAME TITLE T001 .
SELECT-OPTIONS C001 FOR /BIC/SZTESTBC-/BIC/ZTESTBC
default 'D' TO  'C'.
SELECTION-SCREEN   END OF BLOCK B001 .
SELECTION-SCREEN BEGIN OF BLOCK B002 WITH FRAME TITLE T002 .
SELECT-OPTIONS C002 FOR /BI0/SCHNGID-SID .
SELECT-OPTIONS C003 FOR /BI0/SRECORDTP-SID .
SELECT-OPTIONS C004 FOR /BI0/SREQUID-SID .
SELECTION-SCREEN   END OF BLOCK B002 .
SELECTION-SCREEN BEGIN OF BLOCK B003 WITH FRAME TITLE T003 .
SELECT-OPTIONS C005 FOR /BI0/SDATE-DATE0 .
SELECTION-SCREEN   END OF BLOCK B003 .
SELECTION-SCREEN BEGIN OF BLOCK B004 WITH FRAME TITLE T004 .
SELECT-OPTIONS C006 FOR /BI0/SUNIT-UNIT .
SELECTION-SCREEN   END OF BLOCK B004 .
SELECTION-SCREEN BEGIN OF BLOCK B005 WITH FRAME TITLE T005 .
PARAMETERS L_PA TYPE DBMAN_PARALLEL_DEGREE DEFAULT '01'.
DATA L_P1(1) TYPE C.
PARAMETERS L_NL TYPE DBMAN_NO_LOGGING AS CHECKBOX DEFAULT ' '.
PARAMETERS L_SR TYPE DBMAN_SHOW_REPORT AS CHECKBOX DEFAULT ' '.
SELECTION-SCREEN   END OF BLOCK B005 .
generated body from i_t_body
generated INITIALIZATION from i_t_init
                         and  i_t_seltexts
                         and  i_batch_allowed
                         and  i_datatarget
INITIALIZATION.
T001 = 'product'.
T002 = 'Data Package'.
T003 = 'Time'.
T004 = 'Unit'.
T005 = 'Options'.
SELECTION-SCREEN FUNCTION KEY 1.
MOVE 'Execute in Bckgrnd' TO SSCRFIELDS-FUNCTXT_01.
PERFORM RESTRICT_SEL_OPTIONS(SAPLRSDRD).
SET TITLEBAR 'SELECTION' OF PROGRAM 'SAPLRSDRD' WITH
' Delete selected entries from the data target DELETE '.
L_S_SELTXT-NAME = 'C001'.
L_S_SELTXT-KIND = 'S'.
L_S_SELTXT-TEXT = 'Base Code'.
APPEND L_S_SELTXT TO L_T_SELTXTS.
L_S_SELTXT-NAME = 'C002'.
L_S_SELTXT-KIND = 'S'.
L_S_SELTXT-TEXT = 'Change Run ID (SID)'.
APPEND L_S_SELTXT TO L_T_SELTXTS.
L_S_SELTXT-NAME = 'C003'.
L_S_SELTXT-KIND = 'S'.
L_S_SELTXT-TEXT = 'Record type (SID)'.
APPEND L_S_SELTXT TO L_T_SELTXTS.
L_S_SELTXT-NAME = 'C004'.
L_S_SELTXT-KIND = 'S'.
L_S_SELTXT-TEXT = 'Request ID (SID)'.
APPEND L_S_SELTXT TO L_T_SELTXTS.
L_S_SELTXT-NAME = 'C005'.
L_S_SELTXT-KIND = 'S'.
L_S_SELTXT-TEXT = 'Calendar Day'.
APPEND L_S_SELTXT TO L_T_SELTXTS.
L_S_SELTXT-NAME = 'C006'.
L_S_SELTXT-KIND = 'S'.
L_S_SELTXT-TEXT = 'Unit of measure'.
APPEND L_S_SELTXT TO L_T_SELTXTS.
L_S_SELTXT-NAME = 'L_PA'.
L_S_SELTXT-KIND = 'P'.
L_S_SELTXT-TEXT = 'Parall. deg. during reconstruc'.
APPEND L_S_SELTXT TO L_T_SELTXTS.
L_S_SELTXT-NAME = 'L_NL'.
L_S_SELTXT-KIND = 'P'.
L_S_SELTXT-TEXT = 'Switch off logging drng recons'.
APPEND L_S_SELTXT TO L_T_SELTXTS.
L_S_SELTXT-NAME = 'L_SR'.
L_S_SELTXT-KIND = 'P'.
L_S_SELTXT-TEXT = 'Display generated report'.
APPEND L_S_SELTXT TO L_T_SELTXTS.
generated AT SELECTION-SCREEN OUTPUT from i_sel_repid
AT SELECTION-SCREEN OUTPUT.
CALL FUNCTION 'SELECTION_TEXTS_MODIFY'
     EXPORTING
          PROGRAM                     =  'GP457FUV92GJS4663HYHXLYC9Q7'
     TABLES
          SELTEXTS                    =  L_T_SELTXTS
     EXCEPTIONS
          PROGRAM_NOT_FOUND           = 1
          PROGRAM_CANNOT_BE_GENERATED = 2
          OTHERS                      = 3.
generated AT SELECTION-SCREEN
AT SELECTION-SCREEN.
CASE SSCRFIELDS-UCOMM.
  WHEN 'ONLI'.
    L_INTERACTIVE = RS_C_TRUE.
  WHEN 'OPTI'.
  WHEN 'DELS'.
  WHEN 'FC01'.
    L_INTERACTIVE = RS_C_FALSE.
    SSCRFIELDS-UCOMM = 'ONLI'.
  WHEN 'OTHERS'.
ENDCASE.
generated END-OF-SELECTION from i_t_selopt
                           and  i_del_repid
                           and  i_datatarget
                           and  i_gen_mode
END-OF-SELECTION.
IF NOT C001[] IS INITIAL.
  CLEAR L_SX_SEL.
  L_SX_SEL-IOBJNM = 'ZTESTBC'.
  LOOP AT C001 .
    CLEAR L_S_RANGE.
    MOVE C001-SIGN TO L_S_RANGE-SIGN.
    MOVE C001-OPTION TO L_S_RANGE-OPTION.
    MOVE C001-LOW TO L_S_RANGE-LOW.
    MOVE C001-HIGH TO L_S_RANGE-HIGH.
    MOVE RS_C_TRUE TO L_S_RANGE-KEYFL.
    APPEND L_S_RANGE TO L_SX_SEL-T_RANGE.
  ENDLOOP.
  INSERT L_SX_SEL INTO TABLE L_THX_SEL.
ENDIF.
IF NOT C002[] IS INITIAL.
  CLEAR L_SX_SEL.
  L_SX_SEL-IOBJNM = '0CHNGID'.
  LOOP AT C002 .
    CLEAR L_S_RANGE.
    MOVE C002-SIGN TO L_S_RANGE-SIGN.
    MOVE C002-OPTION TO L_S_RANGE-OPTION.
    MOVE C002-LOW TO L_S_RANGE-SIDLOW.
    MOVE C002-HIGH TO L_S_RANGE-SIDHIGH.
    MOVE RS_C_FALSE TO L_S_RANGE-KEYFL.
start change
    DESCRIBE FIELD C002-LOW TYPE l_type.
    IF l_type = 'I'.
      CONDENSE L_S_RANGE-LOW.
      CONDENSE L_S_RANGE-HIGH.
    ENDIF.
stop change
    APPEND L_S_RANGE TO L_SX_SEL-T_RANGE.
  ENDLOOP.
  INSERT L_SX_SEL INTO TABLE L_THX_SEL.
ENDIF.
IF NOT C003[] IS INITIAL.
  CLEAR L_SX_SEL.
  L_SX_SEL-IOBJNM = '0RECORDTP'.
  LOOP AT C003 .
    CLEAR L_S_RANGE.
    MOVE C003-SIGN TO L_S_RANGE-SIGN.
    MOVE C003-OPTION TO L_S_RANGE-OPTION.
    MOVE C003-LOW TO L_S_RANGE-SIDLOW.
    MOVE C003-HIGH TO L_S_RANGE-SIDHIGH.
    MOVE RS_C_FALSE TO L_S_RANGE-KEYFL.
start change
    DESCRIBE FIELD C003-LOW TYPE l_type.
    IF l_type = 'I'.
      CONDENSE L_S_RANGE-LOW.
      CONDENSE L_S_RANGE-HIGH.
    ENDIF.
stop change
    APPEND L_S_RANGE TO L_SX_SEL-T_RANGE.
  ENDLOOP.
  INSERT L_SX_SEL INTO TABLE L_THX_SEL.
ENDIF.
IF NOT C004[] IS INITIAL.
  CLEAR L_SX_SEL.
  L_SX_SEL-IOBJNM = '0REQUID'.
  LOOP AT C004 .
    CLEAR L_S_RANGE.
    MOVE C004-SIGN TO L_S_RANGE-SIGN.
    MOVE C004-OPTION TO L_S_RANGE-OPTION.
    MOVE C004-LOW TO L_S_RANGE-SIDLOW.
    MOVE C004-HIGH TO L_S_RANGE-SIDHIGH.
    MOVE RS_C_FALSE TO L_S_RANGE-KEYFL.
start change
    DESCRIBE FIELD C004-LOW TYPE l_type.
    IF l_type = 'I'.
      CONDENSE L_S_RANGE-LOW.
      CONDENSE L_S_RANGE-HIGH.
    ENDIF.
stop change
    APPEND L_S_RANGE TO L_SX_SEL-T_RANGE.
  ENDLOOP.
  INSERT L_SX_SEL INTO TABLE L_THX_SEL.
ENDIF.
IF NOT C005[] IS INITIAL.
  CLEAR L_SX_SEL.
  L_SX_SEL-IOBJNM = '0CALDAY'.
  LOOP AT C005 .
    CLEAR L_S_RANGE.
    MOVE C005-SIGN TO L_S_RANGE-SIGN.
    MOVE C005-OPTION TO L_S_RANGE-OPTION.
    MOVE C005-LOW TO L_S_RANGE-LOW.
    MOVE C005-HIGH TO L_S_RANGE-HIGH.
    MOVE RS_C_TRUE TO L_S_RANGE-KEYFL.
    APPEND L_S_RANGE TO L_SX_SEL-T_RANGE.
  ENDLOOP.
  INSERT L_SX_SEL INTO TABLE L_THX_SEL.
ENDIF.
IF NOT C006[] IS INITIAL.
  CLEAR L_SX_SEL.
  L_SX_SEL-IOBJNM = '0UNIT'.
  LOOP AT C006 .
    CLEAR L_S_RANGE.
    MOVE C006-SIGN TO L_S_RANGE-SIGN.
    MOVE C006-OPTION TO L_S_RANGE-OPTION.
    MOVE C006-LOW TO L_S_RANGE-LOW.
    MOVE C006-HIGH TO L_S_RANGE-HIGH.
    MOVE RS_C_TRUE TO L_S_RANGE-KEYFL.
    APPEND L_S_RANGE TO L_SX_SEL-T_RANGE.
  ENDLOOP.
  INSERT L_SX_SEL INTO TABLE L_THX_SEL.
ENDIF.
  L_PARALLEL = L_PA.
  IF L_INTERACTIVE EQ RS_C_TRUE.
  CALL FUNCTION 'RSDRD_SEL_DELETION'
       EXPORTING
            I_DATATARGET   = 'DELETE'
            I_THX_SEL           = L_THX_SEL
            I_AUTHORITY_CHECK   = RS_C_TRUE
            I_NO_LOGGING        = L_NL
            I_PARALLEL_DEGREE   = L_PARALLEL
            I_SHOW_REPORT       = L_SR
       CHANGING
            C_T_MSG             = L_T_MSG.
  ELSE.
    CALL FUNCTION 'RSDRD_BUILD_REPORT_FOR_BATCH'
         EXPORTING
          I_REPID        = 'GP457FWJUK1J1F3ZIZZOEH9U533'
          I_DATATARGET   = 'DELETE'
          I_GEN_ONLY          = RS_C_FALSE
          I_THX_SEL           = L_THX_SEL
          I_AUTHORITY_CHECK   = RS_C_TRUE
          I_NO_LOGGING        = L_NL
          I_PARALLEL_DEGREE   = L_PARALLEL
          I_SHOW_REPORT       = L_SR
     CHANGING
          C_T_MSG             = L_T_MSG.
  ENDIF.
Thanks in advance,
Vijaya

hi!
Function code for execute button is 'ONLI'.
try ur code using it!!
Reward points if it helps.
Regards,
Neha Bansal.
Message was edited by:
        Neha Bansal

Similar Messages

  • What is the function code for execute

    Hi,
    What is the function code for execute.
    I am using set pf-status under initialization.
    Thanks.
    Sai.

    Hi,
    If your adding a execute in pf-status then we can give the function code for execute as 'EXEC' - F8.
    Nyways it automatically comes no need to explicitly add in pf-status. The standard function code is 'ONLI'
    just we need to check the sy-ucomm value and perform what you want.
    i.e if sy-ucomm = 'EXEC'.
    endif.
    hope this help you.
    plz reward if useful.
    thanks,
    dhanashri.
    Edited by: Dhanashri Pawar on Jun 26, 2008 11:43 AM

  • Code for execute button on selection screen to get result

    hi experts,
    I need a help for writing a code for execution button on selection screen.Like in normal report on abap editor
    we insert selection criteria like number and we get the result according that particular number on next screen.
    same thing i am trying here also. So i am writing a code on button that when i press the button it will go to the next
    screen according to the selection criteria.
    Plz help me helpful answers are appriatiated !!!
    Thanks & regards
    Vipul Gupta

    hi,
    In the OnAction write :
    1. get the values entered in selection criteria using :
    DATA lo_nd_cn_check TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_check TYPE REF TO if_wd_context_element.
        DATA ls_cn_check TYPE wd_this->element_cn_check.
        DATA lv_ca_check LIKE ls_cn_check-ca_check.
      navigate from <CONTEXT> to <CN_CHECK> via lead selection
        lo_nd_cn_check = wd_context->get_child_node( name = wd_this->wdctx_cn_check ).
      get element via lead selection
        lo_el_cn_check = lo_nd_cn_check->get_element(  ).
      get single attribute
        lo_el_cn_check->get_attribute(
          EXPORTING
            name =  `CA_CHECK`
          IMPORTING
            value = lv_ca_check ).
    Now lv_ca_check has your value entered in Selection criteria.
    2.  write the select query to fetch data according to selection criteria.
        select *  from <table> into correponding field of table <internl table>
           where Field = lv_ca_check.
    3. Now in the internal table <internl table> you have values according to search criteria.
    4. Bind the internal table with node  which is binded to table to show data.
    lo_nd->bind_table( internaltable ).
    I hope it is clear .

  • How to set Function Code for Radion Buttons in Screen painter

    Hi,
    I have faced problem of grouping 3 radio buttons in screen painter (no graphical editor). How to do it?
    I have checked similiar threads in SDN, but those are for graphical editor.
    Radio Buttons in custom screeen
    http://****************/Tutorials/ABAP/Checkbox/page1.htm
    http://****************/Tutorials/ABAP/Checkbox/page2.htm
    Regards,
    Sukhbold

    Hi,
    U want to create radio button in the selection screen  then u can create like this
    PARAMETERS : c1 AS CHECKBOX USER-COMMAND cd,
    r1 RADIOBUTTON GROUP rad,
    r2 RADIOBUTTON GROUP rad.
    AT SELECTION-SCREEN OUTPUT.
    IF c1 = 'X'.
    LOOP AT SCREEN.
    IF screen-name = 'R1'.
    screen-input = '0'.
    screen-active = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ELSE.
    LOOP AT SCREEN.
    IF screen-name = 'R1'.
    screen-input = '1'.
    screen-active = '1'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    Thanks,

  • PO function code for HOLD & CANCEL (DELETE or BLOCKED) button

    Hi,
    can any one can provide the function code for HOLD button in purchase order creation.
    How to find out the function code for HOLD button.
    Regards,
    Nagaraju.

    For your case specifically, function code for hold is dependent on that program is calling it, but any way for hold, you can simply use HOLD or RECN or ONHO or PTBK or a bunch of others.
    For block you can use SHB1 or SHB2 or VFIX etc. To make it easy for you and others, follow the following steps:
    -Run transaction SHDB and record the transaction you want.
    -Then in a different session, run SE16 and enter table name RSMPTEXTS.
    -Enter any OK Code you want to know its use in the field OBJ_CODE (Function Code) and execute.
    -If you know the program name or Tcode, you can use that too. Just enter that in the appropriate field.
    -OR use the text wildcard and see if you're lucky.
    -The Text will tell you what the OK Code does.
    Ken G

  • Func- Code for Radio-button in Module-pool Prg.

    Hi Friend's.
    I have define 2 Radio button
    on Module-pool screen.
    I am not been able to triger the Radio button in
    Pai .
    How can i assign the function code for
    radio-button in module-pool.
    pls can any one help me

    Hi,
    For radion buttons, what ever the name you will give that name only will hold that value ( Either selected or not ). But this variable should be declared as global variable in main program.
    Still if you want to assign function code, you can assign one like other fields on the screen.

  • How to find function code for buttons on toolbar in oops alv

    Hi experts,
    I want to remove some buttons from toolbar in oops alv, i know the procedure like get function code and pass the value in a table and pass that table to IT_TOOLBAR_EXCLUDING of
    method set_table_for_first_display but I WANT TO KNOW HOW TO FIND FUNCTION CODE FOR BUTTONS ON TOOLBAR IN OOPS ALV

    Hi Prakash,
    -->First you have to set the pf status in your alv program by,
    {FORM pf_status USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'FIRST'.
    ENDFORM.                    "PF_STATUS}
    -->Pass this Subroutine name in the Function module, Reuse_alv_grid_display's parameters i.e,
          i_callback_pf_status_set          = 'PF_STATUS'}
    *-->Then doble click on that pf status,
    From the menu bar, select Extras->Adjust Template->List Viewer,
    This will give you the existing statndard gui status of the program*
    ->Then catch that function codes in the User command Parameter of the Function module Reuse.. i.e,
          i_callback_user_command           = 'COMM'
    And make a subroutine of the name 'COMM'i.e,
    FORM comm USING ucomm LIKE sy-ucomm selfield TYPE slis_selfield.
      DATA: okcode TYPE sy-ucomm.
      okcode = ucomm.
      CASE okcode.
        WHEN 'REF'.
        CALL FUNCTION 'POPUP_TO_INFORM'
          EXPORTING
            titel         = 'MANSI'
            txt1          = 'CREATED BY'
            txt2          = SY-UNAME
          TXT3          = ' '
          TXT4          = ' '
    endcase.
    Hope it helps you
    Regrds
    Mansi

  • Assigning a function code to radio button in 4.5B

    I’ve a requirement wherein I need to trigger the PAI event in a module pool program when I select a particular radiobutton in a group and do some processing subsequently.
    For this I need to assign a function code to the radiobutton group.
    But the function code field is disabled for input in the properties screen of the layout. Our client system is SAP 4.5B.
    I am able to assign function codes to radio button groups in esuides(4.6C) and other systems.
    I want to know whether we can assign a function code at all to a radio button group in version 4.5B.
    If so, please tell me how to do this.
    With regards,
    ramu.

    Hi,
    we can't assign function codes to radio buttons.
    for assigning some code to radio button.check the radio button status.
    in PAI.
    if RAD1 = 'X'.
    xxxxxxxxxxx.
    xxxxxxxxx.
    elseif RAD2 = 'X'.
    xxxxxxxxx.
    xxxxxxxxxxxx.
    endif.
    regards,
    bharat.

  • Code  for  'enter' button in user command.

    hi experts,
                       i have developed a initial screen as selection screen for table control.
    data is displayed in second screen(table control).
    <b></b>when user enters inputs in selection screen and presses enter on keyboard
    it should execute to second screen. code for enter button. <b></b>

    Hello,
    in the PBO process should you have the next code:
    for example:
    case sy-ucomm.
    when 'ENTER'.
        CALL SCREEN 0200. " The second window
    when 'SAVE'.
    when ...
    endcase.
    You should have all conditions in the case statement, otherwise you have a error.
    Regards,

  • How to add a custom PL/SQL code for a button event handler

    Hi All,
    I am a toddler in using Oracle Portal. So please forgive me for my ignorance.
    Q : How do I add a custom PL/SQL code for a button event handler?
    Basically, I would like to write MY PL/SQL function and call it. I could see that we can write "CUSTOM" code as "PL/SQL button event handler" in the form design window. But the question is that it expects only a "call" to procedure. But where do I define the procedure then? If I insert the procedure from the backend, it gets flushed the next time I compile my form.
    Hope I am able to explain my point.
    Thanks in advance,
    Abbas.

    Hi All,
    I am a toddler in using Oracle Portal. So please forgive me for my ignorance.
    Q : How do I add a custom PL/SQL code for a button event handler?
    Basically, I would like to write MY PL/SQL function and call it. I could see that we can write "CUSTOM" code as "PL/SQL button event handler" in the form design window. But the question is that it expects only a "call" to procedure. But where do I define the procedure then? If I insert the procedure from the backend, it gets flushed the next time I compile my form.
    Hope I am able to explain my point.
    Thanks in advance,
    Abbas.

  • How to get function code of enter button in bdc manually

    hi
    i need to know how to get function code of enter button in bdc manually like in screen i want to capture techincal infor of enter buttion and itd fucntion cod ehow can i get it i mean what is the key in keyboard to display that
    i want to capture enter button and for eg status button etc funtion code
    pls suggest
    arora

    Hi,
    Want you need to do is go to transaction SHDB and record the bdc for the transaction you want, during transaction press the buttons for which you want the bdc code. And after this go press the back button and check the list of all the things recorded in Recorder.
    And for SHDB help check this link:
    http://abaplovers.blogspot.com/2008/02/recording-bdc-using-transaction-shdb.html
    Hope this helps.
    Regards,
    Qamar.

  • Select  all and dselect all can any body provide a code for these buttons

    hi
    i have taken 4 buttons for select  all and dselect all  and sort up and sort down can any body provide a code for these buttons.
    thanks

    hi,
    Refer this link...
    code for select_all and deselect_all in modulepool

  • Function code for notification in a custom scenario

    Hi,
    Does anyone know the activity code or function code for a notification that needs to be sent to the organiser of a training event if the maximum capacity of the event is exceeded, i.e. the attendee goes on the waiting list.
    There seems to be no standard activity type which gets triggered the moment the max. capacity of the training event is exceeded.(unlike BOKP)
    Does anyone know the workaround for this ?
    As far as I know you cannot create your own activity based on your custom scenario.
    Hence how to handle this ?

    You can use CRM_ORDER_MAINTAIN and populate the parameter IT_SERVICE_OS
    or use BAPI_OPPORTUNITY_CHANGEMULTI and populate the parameter SERVICE_OS.
    BR,
    Florin

  • What is the Ok-code for Exicute button?

    what is the Ok-code for Exicute button?

    Hi,
    There are 2 ways to find an ok-code.
    1. Click on the button you need, keep the left button of the mouse pushed, and push 'F1' on your keyboard. SAP will tell you the ok-code for the button you need.
    OR
    2. Use transaction SHDB and simulate your transaction.
    Please reward if it helps.
    Philippe.

  • Need help to write code for 'Print" button......!

    Hi all,
    I am working in oracle forms 6i.I am creating forms for ordering product/quantity(Entering quantity/product details). In my form i have "Print button" to print the quantity details which is in multi-record block(database item).Please help me of how to write code for print button. If u had any source code please post it.
    Please help asap......!
    Thanks
    regards,
    jame

    You haven't got an answer or a reply because this question is asked so many times.
    Why don't you search the forum to find them?

Maybe you are looking for

  • Using COUNTIF on time values in pop-up menu (employee schedule template)

    I have modified the Numbers employee schedule template to my liking and it works very well. I would like to add a column to the beginning which shows, at a glance, how many people I have scheduled for AM shifts and PM shifts on a given day. My AM shi

  • Upgrade to 8.0.1 with TDM causes crash on startup of app

    I just upgraded to 8.0.1, and Logic will not open. I get through most of the start up, and then get a "quit unexpectedly" error. (Don't you love these informative error messages?) I have tried: 1)Installing ProApps updates. ProApp2007 2 had not been

  • HT1349 change apple id

    need help please.  Ive had to change my email address, so i made a new account in itunes, along with the apple id in the store settings on my iphone.  the problem is that when i go to update apps it will still ask me the password for my old email add

  • What type of battery is in the DROID MINI?

    I know it is a 2000 mAh Li-ion. But I'd like to know what model it is?

  • Redirecting Forms 10g URL

    Hi all, I would like to Redirect the my standard Forms URL from: http://myserver:port/forms/frmservlet?config=test to simply: http://myserver. e.g: htp://fidix.app.com Which file should I configure and how? Best regards Fidix