Help me on BDC_transaction option !

Dear my friends,
I am finish developing a BDC program for GL transaction,
When I call BDC_transaction function to transfer data into SAP,
System will show me 2 option : Generate Session & Call transaction
I would like to set default to "Call transaction" option.
one more, can we invisible that two option & set deault to "Call transaction" !?
Thanks !

refer include Zamit_BDC in this demo code, i have made the call transaction option as default.
if u want to make the other invisible then simply remove the part of coding and parameter declaration for the second option.
for that u have to create ur own Z - include like mine is zamit_bdc.
report Z_AMIT_BDC
       no standard page heading line-size 255.
*include bdcrecx1.
include ZAMIT_BDC.
parameters: p_file like rlgrap-filename default 'C:\temp\emp.txt'.
data :begin of itab occurs 0,
      pernr(8),
      bdate(10),
      edate(10),
      mail(30),
      end of itab.
data : begin of emp_error occurs 0,
       pernr(8),
       end of emp_error.
start-of-selection.
perform read_file.
loop at itab.
perform open_group.
perform bdc_dynpro      using 'SAPMP50A' '1000'.
perform bdc_field       using 'BDC_OKCODE'
                              '=INS'.
perform bdc_field       using 'RP50G-PERNR'
                              itab-pernr.
perform bdc_field       using 'RP50G-TIMR6'
                              'X'.
perform bdc_field       using 'BDC_CURSOR'
                              'RP50G-SUBTY'.
perform bdc_field       using 'RP50G-CHOIC'
                              '0105'.
perform bdc_field       using 'RP50G-SUBTY'
                              '0010'.
perform bdc_dynpro      using 'MP010500' '2000'.
perform bdc_field       using 'BDC_CURSOR'
                              'P0105-USRID_LONG'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'P0105-BEGDA'
                              itab-bdate.
perform bdc_field       using 'P0105-ENDDA'
                              itab-edate.
perform bdc_field       using 'P0105-USRID_LONG'
                              itab-mail.
perform bdc_dynpro      using 'MP010500' '2000'.
perform bdc_field       using 'BDC_CURSOR'
                              'P0105-BEGDA'.
perform bdc_field       using 'BDC_OKCODE'
                              '=UPD'.
perform bdc_field       using 'P0105-BEGDA'
                              itab-bdate.
perform bdc_field       using 'P0105-ENDDA'
                              itab-edate.
perform bdc_field       using 'P0105-USRID_LONG'
                              itab-mail.
perform bdc_transaction using 'PA30'.
loop at messtab where msgtyp = 'E' .
  move itab-pernr to emp_error-pernr.
  append emp_error.
endloop.
perform close_group.
endloop.
if session eq 'X'.
submit RPWI2000 WITH MAPPE EQ GROUP AND RETURN.
endif.
sort emp_error.
delete adjacent duplicates from emp_error.
write: / 'Emp in Error : ' .
loop at emp_error.
   write / emp_error-pernr.
endloop.
*&      Form  read_file
      text
-->  p1        text
<--  p2        text
FORM read_file .
DATA: full_file_name    TYPE string.
full_file_name = p_file.
CALL FUNCTION 'GUI_UPLOAD'
  EXPORTING
    FILENAME                      = full_file_name
    FILETYPE                      = 'ASC'
    HAS_FIELD_SEPARATOR           = ','
  HEADER_LENGTH                 = 0
  READ_BY_LINE                  = 'X'
  DAT_MODE                      = ' '
  CODEPAGE                      = ' '
  IGNORE_CERR                   = ABAP_TRUE
  REPLACEMENT                   = '#'
  CHECK_BOM                     = ' '
  NO_AUTH_CHECK                 = ' '
IMPORTING
  FILELENGTH                    =
  HEADER                        =
  TABLES
    DATA_TAB                      = itab
EXCEPTIONS
   FILE_OPEN_ERROR               = 1
   FILE_READ_ERROR               = 2
   NO_BATCH                      = 3
   GUI_REFUSE_FILETRANSFER       = 4
   INVALID_TYPE                  = 5
   NO_AUTHORITY                  = 6
   UNKNOWN_ERROR                 = 7
   BAD_DATA_FORMAT               = 8
   HEADER_NOT_ALLOWED            = 9
   SEPARATOR_NOT_ALLOWED         = 10
   HEADER_TOO_LONG               = 11
   UNKNOWN_DP_ERROR              = 12
   ACCESS_DENIED                 = 13
   DP_OUT_OF_MEMORY              = 14
   DISK_FULL                     = 15
   DP_TIMEOUT                    = 16
   OTHERS                        = 17
IF SY-SUBRC <> 0.
  MESSAGE e000(000) WITH 'Upload-Error; RC:' sy-subrc.
ENDIF.
ENDFORM.                    " read_file
***********Include***********************************
*&  Include           ZAMIT_BDC                                        *
***INCLUDE BDCRECX1.
for programs doing a data transfer by creating a batch-input session
and
for programs doing a data transfer by CALL TRANSACTION USING
SELECTION-SCREEN BEGIN OF LINE.
  PARAMETERS SESSION RADIOBUTTON GROUP CTU.  "create session
  SELECTION-SCREEN COMMENT 3(20) TEXT-S07 FOR FIELD SESSION.
  selection-screen position 45.
  PARAMETERS CTU RADIOBUTTON GROUP  CTU Default 'X'.     "call transaction
  SELECTION-SCREEN COMMENT 48(20) TEXT-S08 FOR FIELD CTU.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
  SELECTION-SCREEN COMMENT 3(20) TEXT-S01 FOR FIELD GROUP.
  selection-screen position 25.
  PARAMETERS GROUP(12).                      "group name of session
  SELECTION-SCREEN COMMENT 48(20) TEXT-S05 FOR FIELD CTUMODE.
  selection-screen position 70.
  PARAMETERS CTUMODE LIKE CTU_PARAMS-DISMODE DEFAULT 'N'.
                                      "A: show all dynpros
                                      "E: show dynpro on error only
                                      "N: do not display dynpro
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
  SELECTION-SCREEN COMMENT 3(20) TEXT-S02 FOR FIELD USER.
  selection-screen position 25.
  PARAMETERS: USER(12) DEFAULT SY-UNAME.     "user for session in batch
  SELECTION-SCREEN COMMENT 48(20) TEXT-S06 FOR FIELD CUPDATE.
  selection-screen position 70.
  PARAMETERS CUPDATE LIKE CTU_PARAMS-UPDMODE DEFAULT 'L'.
                                      "S: synchronously
                                      "A: asynchronously
                                      "L: local
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
  SELECTION-SCREEN COMMENT 3(20) TEXT-S03 FOR FIELD KEEP.
  selection-screen position 25.
  PARAMETERS: KEEP AS CHECKBOX.       "' ' = delete session if finished
                                      "'X' = keep   session if finished
  SELECTION-SCREEN COMMENT 48(20) TEXT-S09 FOR FIELD E_GROUP.
  selection-screen position 70.
  parameters E_GROUP(12).             "group name of error-session
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
  SELECTION-SCREEN COMMENT 3(20) TEXT-S04 FOR FIELD HOLDDATE.
  selection-screen position 25.
  PARAMETERS: HOLDDATE LIKE SY-DATUM.
  SELECTION-SCREEN COMMENT 51(17) TEXT-S02 FOR FIELD E_USER.
  selection-screen position 70.
  PARAMETERS: E_USER(12) DEFAULT SY-UNAME.    "user for error-session
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
  SELECTION-SCREEN COMMENT 51(17) TEXT-S03 FOR FIELD E_KEEP.
  selection-screen position 70.
  PARAMETERS: E_KEEP AS CHECKBOX.     "' ' = delete session if finished
                                      "'X' = keep   session if finished
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
  SELECTION-SCREEN COMMENT 51(17) TEXT-S04 FOR FIELD E_HDATE.
  selection-screen position 70.
  PARAMETERS: E_HDATE LIKE SY-DATUM.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF LINE.
  SELECTION-SCREEN COMMENT 1(33) TEXT-S10 FOR FIELD NODATA.
  PARAMETERS: NODATA DEFAULT '/' LOWER CASE.          "nodata
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
  SELECTION-SCREEN COMMENT 1(33) FOR FIELD SMALLLOG.
  PARAMETERS: SMALLLOG as checkbox.  "' ' = log all transactions
                                     "'X' = no transaction logging
SELECTION-SCREEN END OF LINE.
  data definition
      Batchinputdata of single transaction
DATA:   BDCDATA LIKE BDCDATA    OCCURS 0 WITH HEADER LINE.
      messages of call transaction
DATA:   MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
      error session opened (' ' or 'X')
DATA:   E_GROUP_OPENED.
      message texts
TABLES: T100.
  at selection screen                                                *
AT SELECTION-SCREEN.
group and user must be filled for create session
  IF SESSION = 'X' AND
     GROUP = SPACE OR USER = SPACE.
    MESSAGE E613(MS).
  ENDIF.
  open dataset                                                       *
FORM OPEN_DATASET USING P_DATASET.
  OPEN DATASET P_DATASET
               FOR INPUT IN TEXT MODE
               ENCODING DEFAULT.
  IF SY-SUBRC <> 0.
    WRITE: / TEXT-E00, SY-SUBRC.
    STOP.
  ENDIF.
ENDFORM.
  close dataset                                                      *
FORM CLOSE_DATASET USING P_DATASET.
  CLOSE DATASET P_DATASET.
ENDFORM.
  create batchinput session                                          *
  (not for call transaction using...)                                *
FORM OPEN_GROUP.
  IF SESSION = 'X'.
    SKIP.
    WRITE: /(20) 'Create group'(I01), GROUP.
    SKIP.
  open batchinput group
    CALL FUNCTION 'BDC_OPEN_GROUP'
         EXPORTING  CLIENT   = SY-MANDT
                    GROUP    = GROUP
                    USER     = USER
                    KEEP     = KEEP
                    HOLDDATE = HOLDDATE.
    WRITE: /(30) 'BDC_OPEN_GROUP'(I02),
            (12) 'returncode:'(I05),
                 SY-SUBRC.
  ENDIF.
ENDFORM.
  end batchinput session                                             *
  (call transaction using...: error session)                         *
FORM CLOSE_GROUP.
  IF SESSION = 'X'.
  close batchinput group
    CALL FUNCTION 'BDC_CLOSE_GROUP'.
    WRITE: /(30) 'BDC_CLOSE_GROUP'(I04),
            (12) 'returncode:'(I05),
                 SY-SUBRC.
  ELSE.
    IF E_GROUP_OPENED = 'X'.
      CALL FUNCTION 'BDC_CLOSE_GROUP'.
      WRITE: /.
      WRITE: /(30) 'Fehlermappe wurde erzeugt'(I06).
    ENDIF.
  ENDIF.
ENDFORM.
       Start new transaction according to parameters                 *
FORM BDC_TRANSACTION USING TCODE.
  DATA: L_MSTRING(480).
  DATA: L_SUBRC LIKE SY-SUBRC.
batch input session
  IF SESSION = 'X'.
    CALL FUNCTION 'BDC_INSERT'
         EXPORTING TCODE     = TCODE
         TABLES    DYNPROTAB = BDCDATA.
    IF SMALLLOG <> 'X'.
      WRITE: / 'BDC_INSERT'(I03),
               TCODE,
               'returncode:'(I05),
               SY-SUBRC,
*->  TEXT-005 => RECORD:
TEXT-005,
               SY-INDEX.
    ENDIF.
call transaction using
  ELSE.
    REFRESH MESSTAB.
    CALL TRANSACTION TCODE USING BDCDATA
                     MODE   CTUMODE
                     UPDATE CUPDATE
                     MESSAGES INTO MESSTAB.
    L_SUBRC = SY-SUBRC.
    IF SMALLLOG <> 'X'.
      WRITE: / 'CALL_TRANSACTION',
               TCODE,
               'returncode:'(I05),
               L_SUBRC,
*->  TEXT-005 => RECORD:
TEXT-005,
               SY-INDEX.
      LOOP AT MESSTAB.
        SELECT SINGLE * FROM T100 WHERE SPRSL = MESSTAB-MSGSPRA
                                  AND   ARBGB = MESSTAB-MSGID
                                  AND   MSGNR = MESSTAB-MSGNR.
        IF SY-SUBRC = 0.
          L_MSTRING = T100-TEXT.
*->  TEXT-001 => &1
          IF L_MSTRING CS TEXT-001.
*->  TEXT-001 => &1
            REPLACE TEXT-001 WITH MESSTAB-MSGV1 INTO L_MSTRING.
*->  TEXT-002 => &2
            REPLACE TEXT-002 WITH MESSTAB-MSGV2 INTO L_MSTRING.
*->  TEXT-003 => &3
            REPLACE TEXT-003 WITH MESSTAB-MSGV3 INTO L_MSTRING.
*->  TEXT-004 => &4
            REPLACE TEXT-004 WITH MESSTAB-MSGV4 INTO L_MSTRING.
          ELSE.
            REPLACE '&' WITH MESSTAB-MSGV1 INTO L_MSTRING.
            REPLACE '&' WITH MESSTAB-MSGV2 INTO L_MSTRING.
            REPLACE '&' WITH MESSTAB-MSGV3 INTO L_MSTRING.
            REPLACE '&' WITH MESSTAB-MSGV4 INTO L_MSTRING.
          ENDIF.
          CONDENSE L_MSTRING.
          WRITE: / MESSTAB-MSGTYP, L_MSTRING(250).
        ELSE.
          WRITE: / MESSTAB.
        ENDIF.
      ENDLOOP.
      SKIP.
    ENDIF.
Erzeugen fehlermappe ************************************************
    IF L_SUBRC <> 0 AND E_GROUP <> SPACE.
      IF E_GROUP_OPENED = ' '.
        CALL FUNCTION 'BDC_OPEN_GROUP'
             EXPORTING  CLIENT   = SY-MANDT
                        GROUP    = E_GROUP
                        USER     = E_USER
                        KEEP     = E_KEEP
                        HOLDDATE = E_HDATE.
         E_GROUP_OPENED = 'X'.
      ENDIF.
      CALL FUNCTION 'BDC_INSERT'
           EXPORTING TCODE     = TCODE
           TABLES    DYNPROTAB = BDCDATA.
    ENDIF.
  ENDIF.
  REFRESH BDCDATA.
ENDFORM.
       Start new screen                                              *
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
  CLEAR BDCDATA.
  BDCDATA-PROGRAM  = PROGRAM.
  BDCDATA-DYNPRO   = DYNPRO.
  BDCDATA-DYNBEGIN = 'X'.
  APPEND BDCDATA.
ENDFORM.
       Insert field                                                  *
FORM BDC_FIELD USING FNAM FVAL.
  IF FVAL <> NODATA.
    CLEAR BDCDATA.
    BDCDATA-FNAM = FNAM.
    BDCDATA-FVAL = FVAL.
    APPEND BDCDATA.
  ENDIF.
ENDFORM.
*********************end include***********

Similar Messages

  • One search help for multiple select-options in webdynpro abap

    Hi,
    I need a way to use one search help for multiple select-options fields. My scenario is :
    I have a table for keeping different organizational units' values of different systems. I have pasted some sample data from this table at the end of this mail. On the screen I want to have 1 select-options filed for werks, and 1 select-options filed for vkorg. (In fact I will have more org. unit fields...) In the beginning of my application the user will select sid.
    If the user selects ADS as SID, when he opens search-help for the first org. unit (werks), he will see the records with SID: ADS, VARBL = $WERKS, LANGU = SY-LANGU.
    If the user selects AGT as SID, when he opens search-help for the second org. unit (vkorg), he will see the records with SID: AGT, VARBL = $VKORG, LANGU = SY-LANGU.
    I have created a search-help taking SIDD, VARBL and LANGU as import parameters; used field mapping and bound this search help to my table. I have created 2 context nodes : org1 and org2 having attributes SID, VARBL, VALUE, LANGU .
    I have assigned related SID, VARBL and Langu values to these attributes at runtime as I needed. That way, if I use input field and reference to the related context attributes org1-value and org2-value2 accordingly, search help works well as I want.
    However, when I use select-options field , I can not bind the field to the context data. I can give reference only to ddic structure. Is there any way to reference to a context attribute? I searched for this in SDN, but could find nothing.
    I think I won't be able to use this way. What do you say?
    As I read from forums maybe using OVS help will be suitable for me. But I have to use one search-help for all select-options fields. Do you know how I can determine the active select-options field and pass its name (for instance "werks" ) as parameter to this OVS search help. (Also I'll pass SID and LANGU.)
    MY TABLE (ZBYYT080) CONTENTS:
    SID     VARBL     VALUE     LANGU     VTEXT
    ADS     $WERKS     1     T     Werk 0001
    ADS     $WERKS     11     T     OZYAS  GIDA URETIM YERI
    ADS     $WERKS     5501     T     BOYA GEBZE FABRİKASI
    ADS     $WERKS     5502     T     BOYA CIGLI FABRİKASI
    AGT     $WERKS     2301     T     KAMLI DAMIZLIK
    AGT     $WERKS     9601     T     PANAR DENIZ URETIM YERI
    ADS     $VKORG     22     T     AA KİMYASALLAR
    ADS     $VKORG     8001     T     İINSAAT BOYALARI
    AGT     $VKORG     6500     T     DAMk St.Org
    AGT     $VKORG     5400     T     PANAR St.Org.
    I wish I'm clear enough..
    I will be gald if someone answers me as soon as possible...
    Thanks İn advance..
    MERAL

    Hi,
    Your ques is how to refer to a DDIC search help to refer to selection screen parameter ?
    Am I right ?
    If Yes, then in the interface IF_WD_SELECT_OPTIONS
    method ADD_SELECTION_FIELD, ADD_PARAMETER_FIELD etc
    have importing param like I_VALUE_HELP_TYPE and  I_VALUE_HELP_ID, I_VALUE_HELP_MODE, I_VALUE_HELP_STRUCTURE
    etc which may help you to link your create DDIC Search help to selection screen params.
    this is just a clue from my side. I haven't tried it myself.
    You can go to the where used list of this method and find some sample implementations which use these params.
    Hope this helps.
    Regards
    Manas Dua

  • Creation of search help manually fro select-options

    hi friends i got a requirement for creating the search helps manually for select-options.
    but i am facing a progbalem.
    i am attaching a sample code for what i have written for select-opions low of which when i am pressing f4 button i am getting list of data but when i am selecting that particular it is not withstading on the screen...kindly help in this regard very urguent..plz...all answers are rewarded..
    tableS: kna1.
    datA: BEGIN OF ITAB OCCURS 1,
        KUNNR TYPE KNA1-KUNNR,
        END OF ITAB.
    data: kunnr type kunnr.
    select-options: cust for kunnr .
    at selection-screen on value-request for cust-low.
    select kunnr from kna1 into table itab .
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
    *   DDIC_STRUCTURE      = ''
        RETFIELD               = 'CUST-LOW'
    *   PVALKEY                = ' '
    *   DYNPPROG               = ' '
    *   DYNPNR                 = ' '
    *   DYNPROFIELD            = ''
    *   STEPL                  = 0
    *   WINDOW_TITLE           =
       VALUE                  = 'CUST-LOW'
       VALUE_ORG              = 'S'
    *   MULTIPLE_CHOICE        = ' '
    *   DISPLAY                = 'X'
       CALLBACK_PROGRAM       = SY-CPROG
    *   CALLBACK_FORM          = ' '
    *   MARK_TAB               =
    * IMPORTING
    *   USER_RESET             =
      TABLES
        VALUE_TAB              = ITAB
    *   FIELD_TAB              =
    *   RETURN_TAB             =
    *   DYNPFLD_MAPPING        =
    * EXCEPTIONS
    *   PARAMETER_ERROR        = 1
    *   NO_VALUES_FOUND        = 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.

    Hai  Saslove,
    I think Problem Lies In this Area When U r Creating   Search Helps.
    Import and Export Parameters
    When an input help is called, the entries that the user already made in the input template are taken into consideration. For example, if a user calls the input help for the flight number and already specified the carrier, of course only the numbers of flights of this carrier should be offered.
    On the other hand, if the user selects one row of the hit list, more than one field of the input template might have to be filled with data from the selected row of the hit list. For example, if the flight number is obtained from the hit list, the city of departure and the destination should also be returned in the screen template.
    The interface of a search help defines the context data that can be used in the input help and the data that can be returned in the input template.
    A parameter of a search help can be classified as:
    Import parameters: Parameters with which context information from the processed input template (screen) may be copied to the help process.
    Export parameters: Parameters with which values from the hit list may be returned to the input template.
    A parameter can simultaneously be an input and an export parameter. A search help can also contain parameters that are neither import nor export parameters. Such parameters could be required for the internal input help process, for example.
    When you attach a search help, you must define where the import parameters of the search help get their values from and the fields in which the contents of the export parameters are returned. See also Value Transport for Input Helps.
    Regards.
    Eshwar.

  • Search help for PERNR select options in Webdynpro

    Hi,
    I am using the method: lv_r_helper_class->add_selection_field
    and passing the value:
    i_value_help_type            = if_wd_value_help_handler=>CO_PREFIX_SEARCHHELP
    to get search help for pernr select option in the webdynpro application.
    But can anyone please tell me what value i have to pass to
    i_value_help_id              =  ??

    hi,
    pass your search help name there so that your desired search help ll come there..
    use this,
    i_value_help_type            = if_wd_value_help_handler=>CO_PREFIX_SEARCHHELP
    i_value_help_id              =  'SEARCHHELPNAME'
    if you want standard SH means comment this stmt,
    if you dont want SH means,
    use tis,
    i_value_help_type            = if_wd_value_help_handler=>CO_PREFIX_NONE
    hope this helps,
    Mathan R.

  • PS CS6: It'd be helpful to have the option to collapse or expand the nested groups and layers.

    PS CS6: It'd be helpful to have the option to collapse or expand the nested groups and layers all at once.  Autodesk Maya has a similar feature in it's outliner that allows for you to do this.

    And as Jeffrey Tranberry answered there:
    • Open/close all layer groups (folders) at the current level of hierarchy: Cmd-click the arrow next to the group - This is handy when you want to open/close, say, all the top-level groups without disturbing the open/closed state of any groups nested within them.
    • Open/close all layer groups nested within the current one: Opt-click the arrow next to the group - This is nice when you want to open/shut a bunch of nested groups, without affecting any that lie outside the target group.
    • Open/close all layer groups, period: Cmd-Opt-click the arrow next to a group So, to keep things simple: when in doubt, Cmd-Opt-click a group’s arrow and you’ll collapse/expand all groups.
    * On Windows please substitutes Ctrl for Cmd and Alt for Opt. .

  • Search help icon for select option

    hello all...
    can some one let me know , how to attach F4 help icon to select option..??
    in select option im referrin to a data element, this data element has a domain which has value range.
    if i press F4 on the select option, im gettin the values in the search help but the icon is not appearing..
    any suggestions...
    regards..
    vishal

    Hi,
    Select TABLE-FIELD GOTO>Search help>For field.
    If you have Search help you can assign here or else you need to create search help through SE11.
    Or programatically you can code like below.
    See below code........
    selection-screen: begin of block B1 with frame title text-001.
    select-options: s_pernr for zfdmr_records-pernr,
    selection-screen end of block B1.
    data: begin of t_itab occurs 0,
          pernr like zfdmr_records-pernr,
          end of t_itab.
    DATA: t_return like ddshretval occurs 0 with header line.
    *at selection-screen on value-request for s_pernr-low.
    perform get_values changing s_pernr-low.
    *at selection-screen on value-request for s_pernr-high.
    perform get_values changing s_pernr-high.
    *&      Form  get_values
          text
         -->P_S_PERNR_LOW  text
    FORM get_values CHANGING    P_S_PERNR.
      refresh t_itab.
      clear t_return.
      select pernr  from zfdmr_records into table t_itab.
      delete adjacent duplicates from t_itab.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
      DDIC_STRUCTURE         = ' '
          RETFIELD               = 'PERNR'
      PVALKEY                = ' '
         DYNPPROG               = sy-cprog
         DYNPNR                 = sy-dynnr
         DYNPROFIELD            = 'ZFDMR_RECORDS-PERNR'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
         VALUE_ORG              = 'S'
         MULTIPLE_CHOICE        = ' '
         DISPLAY                = 'F'
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
        TABLES
          VALUE_TAB              = t_itab
      FIELD_TAB              =
         RETURN_TAB             = t_return
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 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.
      READ TABLE t_return INDEX 1.
      p_s_pernr = t_return-fieldval.
    ENDFORM.                    " get_values
    Thanks.
    If this helps you award points and close the thread.
    Message was edited by: Deepak333 k
    Message was edited by: Deepak333 k

  • Search help for a  select options

    Hi ,
    I need to place a search help for a select-options field on my report selection screen. It should work for a z-table field . I can create a search help for the Z-table field , but I do not know how to make it available for the select-options.
    Thank you .

    hi Krish,
    SELECT OPTIONS ... MATCHCODE OBJECT name_of_search_help.
    hope this helps
    ec

  • HT5654 im trying to update my itunes and when i click on help there is no option to check for updates?????? please help

    im trying to update my itunes and when i click on help there is no option to check for updates?????? please help

    Hello davetonge,
    The latest version of iTunes can also be downloaded and installed from the link below.
    If you do not have iTunes installed on your computer, you can download it here.
    iTunes: How to install the latest version
    http://support.apple.com/kb/HT5654
    Cheers,
    Allen

  • HELP! My Corner Options Menu is off of Screen

    I've tried restarting my computer, restarting inDesign and resetting my workspace and I can't figure out why my corner options menu goes off of my screen in the upper right hand corner. All I can see is the preview and and OK or CANCEL buttons, can anyone help?!

    Try toggling the state of the Application Frame (turn on if you aren't currentloyu using it, or off if you are) and see if that brings the top of the dialog into view so you can grab it and move it. Trashing prefs might help, too. See Replace Your Preferences

  • HELP! What Are Options?

    I'm behind on my payments due to being laid off, and would love to know what my options are. I've heard financial services can help, but what exactly can they do? Will they help me get my phone back on asap? I love Verizon and would appreciate any advice or help. I called the Customer Services twice, and was disconnected both times while being transferred. The rep was rude and grumpy and insisted on having me make mu past due amount, which I am unable to do. I can make partial payments but I don't think it'll reactivate my phone. Anyone know my options? I feel defeated after talking with rude CSRs.

    Sorry you are late on your payments. I hope you get a job in you future soon.
    If your account has not been suspended for non-pmt:
    You can call customer care at 1-800-922-0204 to schedule a "promise to pay" option with financial services.  they will schedule payment options with you.  You will need to be 12 days past due on your past due balance or have a "Y"  indicator on your balance account information for them to set up payment plans for you. 
    If you are past due and services are disconnected:
    You will have to pay the past due balance before the will establist a reconnect for you.  You will have to pay a $15.00 reconnect fee per line, and proration charges for your services reconnected if it is within you 30 day billing cycle, plus a one month in advance charge on your month price plan and any features you have on the line(s).
    then, you will be able to schedule a promise to pay arrangment on your current charges with online services in your view bill link or the *611 automated system to schedule a electronic withdrawn payment 7 days in advance with a checking acount or credit/debit card.  make sure to have an account credit card or checking account saved on file in your account so you will not have to input all the numbers on the account information.  it will make it easier for the system and faster to process the scheduled payment.

  • I want to buy W530 today, please help me decide which options

    I have decided to purchase the Lenovo W530 Thinkpad. I have researched the daylights out of my choice and am going to live with my choice. I have a Dell XPS desktop and ASUS ProArt monitor. So here are my choices -
    1. Processor options - My XPS8500 desktop has a i7 3770@ 3.4. The standard for the W530 is an i7-3520M (4M cache, up to 3.60 Ghz). I am leaning toward the i7 3740QM (6M cache, up tp 3.70 GHz). This option is an $85 upgrade. I hope this would be as good as my desktop as I have no clue what these specs mean. My next choice is a i7 3840 (8M cache, up to 3.80 GHz). This costs an extra $285.
    2. No help needed in picking 1920x1080 display with calibration sensor.
    3. 16 GB PC3-12800 DDR3 (4 DIMM). Not sure what this means but for $90 less I could drop to 8 GB DDR3 - 1600MHz (1 DIMM) or for $120 more could go to 16 GB DDR3 - 1600MHz (2 DIMM). Again have no clue what the difference is, other than 16 GB is probably better than 8 GB). My desktop as 12 GB of RAM.
    4. I want to get the 1 TB HD 5400 rpm as opposed to the 500 GB  7200rpm hard drive. I know the latter is faster but I value the space. Going for the 1 TB adds $100.
    5. I have no idea what a Micro hard drive is. I have a choice of no Micro Solid State Drive or for $40 more can get 16 GB mSATA Solid State Cache Drive. It is only $40 extra but have no idea what the advantage is.
    6. The standard config comes with a DVD recordable optical device. I can replace this with a second hard drive. I am guessing I would have to buy an external DVD device to record DVDs or CDs, which I do not want to do, so I will stick with the standard configuration.
    7. I am really really hoping the standard NVIDIA Quadro K1000M graphics with 2 GB DDR3 memory will be good enough for Photoshop. I am not a power user, do not do much with video, and never use computer for games. For $250 more I can upgrade to K2000 that has same 2GB DDR3 memory.
    8. For $20 more I can get the Intel Centrino Ultimate N 6300 AGN wireless LANN adaptor instead of the standard Intel Centrino Advanced N 6205 AGN. Again I have no clue what this means.
    With the options I am leaning toward my cost is $1,587.60. I will add an external 10 key pad and Mini display port to DVI adaptor so I can hook up my external monitor to the laptop. I am hoping I would not need docking station with these two options as I have read about the problems in this forum. . I have been happy with my Dell desktop so my hope is my laptop will perform as well. I do use a laptop very often, so my goal is to be able to use one computer for everything. 
    I mainly want to know if the processor I am leaning to will be as good as my Dell XPS 8500 and if I really need the more expensive graphics card. I know I am not a Thinkpad owner yet like everyone on this forum. But I know this is the place to go for people that know the Thinkpads so I really do need and appreciate your help. I hope down the road I can contribute like many of you do.
    Gary
    Solved!
    Go to Solution.

    1) i7-3520m is an i7 dual core CPU, if you choose this option then you would only use 2 of the 4 SODIMM RAM slots, and your max ram capacity is 16 gigs (2 x 8 gigs). If you choose the i7-3740QM, which is a quad core cpu, you would be able to use the 4 SODIMM RAM Slots for a max of 32 gigs of ram (4 x 8 gigs).
    Your XPS systems uses a desktop grade quad core CPU, and the laptop uses (if you choose the i7-3740QM) a mobile version, which is slower than the equivalent speed desktop CPU. The short answer is that you won't find a IVY Bridge Mobile CPU in the W530 that will be faster than the i7-3770. The i7-3940XM is the fastest cpu in the W530, and it is still slower than your i7-3770.
    http://www.cpubenchmark.net/cpu.php?cpu=Intel+Core​+i7-3940XM+%40+3.00GHz
    2) RAM Cost slightly cheaper aftermarket.
    3) micro hdd is the mSATA, and in my opinion there is really no point getting 16 gigs version. I would rather pay 100 dollars aftermarket and get 120 gigs mSATA and use it as a SSD.
    4) for PS, the K1000m is enough, no point getting the K2000m.
    5) i would pay the 20 dollars and get the 6300 wireless card.
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • Need help with EVENT BOOKING: option for multiple, payment (pay pal standard or pro only) add cost, etc

    Hello!
    I'm at my wits end: please help! It seems straight forward, and I sold my client on BC thinking this was doable in the events module, but it seems maybe not so without a ton of custom coding.
    1. Book an event online,
    with option for multiple (say 1-5 people at a fixed cost per person),
    and checkout using only Pay Pal (standard or pro, doesn't matter, but I think Standard won't work without shopping cart).
    2. The events are every day but Sunday all year long (just admission to an attraction), so is there a way to upload months in advance so they don't have to be manually entered?
    I'm so grateful for any assistance.

    This is all very achievable:
    • Events you can add multiple people to book.
    • PayPal you use use our APP that's in the BC Appstore (Liam to confirm is works with bookings)
    I'm sales and marketing at Pretty, so I'm not the person to advise on how all this fits together. But I'm sure Liam can point you in the right direction.
    If you need some consulting or us to do it for you just let me know [email protected]
    Brett
    www.prettydigital.com.au

  • How to  use Help View  in select options

    i had a chk table in which there are 5 fields  it is assign to a field in other table but when i wnat to c the help i am able to c only 3 fields ..can anyone suggest me why is so ?
    For the above reason i created a view but how to attach it in select - options
    regards
    points will be rewarded for every answer

    i had a chk table in which there are 5 fields  it is assign to a field in other table but when i wnat to c the help i am able to c only 3 fields ..can anyone suggest me why is so ?
    For the above reason i created a view but how to attach it in select - options
    regards
    points will be rewarded for every answer

  • Help with "greyed out" option for Publishing a group of Parameters in Motion 5!

    How do you group published parameters in Motion 5, so that you don't have one giant list of published options for Final Cut Pro X?
    My main goal is To publish a compound parameter (a parameter with nested subparameters)
    Looking through Motion Help, it should be as easy as clicking the little disclosure triangle on the right of the inspector, but the word "Publish" is greyed out...

    I know I've looked at rigging, but based off the Motion Help Online Manual, It should be as simple as clicking on the option for publish and have nested subparameters...
    Rigging is excellent, but more steps would be needed to do the same thing i believe...

  • Help with a program Option Script

    I need some help writing a Option Frame for a Add-in on my program. The basic thing it will do is to call a KeyListener with a KeyAdapter, wait for a key to be pressed, assign the key that was pressed to an int (i.e. LEFT for e.VK_LEFT) and send it to my main program. I don't have the script completely written yet, but I'm not sure how I can send 7 int values to my main program at the same time. I was thinking of something like:
    LEFT = KA_Options.getIntLEFT(int temp_LEFT);but if their is an easier way to get all the int's called at once instead of calling 7 different classes everytime a key is pressed in my main program (because of Beta testing, I don't exactly want to assign them to their own int values intill I get the code almost bug free). I would like to put my main program in this thread, but the hugeness of it, it would make reading the posts hard.
    Thanks,
    g@m3r

    This is the basic working code for my KA_Options script
         KA Option Pop-up
         Version 0.1b
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class KA_Options extends Frame implements ActionListener
         String title= "KA Options 0.1b";
         int LEFT, RIGHT, UP, DOWN, A, S, D; //The Directional Ints
         MenuBar kamenu = new MenuBar();
         Menu file = new Menu("File");
              MenuItem file_close = new MenuItem("Close");
         Menu options = new Menu("Options");
              MenuItem options_default = new MenuItem("Default Controls");
         public static void main(String[] args)
              KA_Options window = new KA_Options();
         public KA_Options()
              setTitle(title);
              setSize(100,100);
              setResizable(false);
              setLocation(0,200);
              KAMenuSetup_v1b();
                   setMenuBar(kamenu);
              addWindowListener(new WindowAdapter()
                   { public void windowClosing(WindowEvent e)
                        { setVisible(false); }
              pack();
         public void KAMenuSetup_v1b() //Beta
              kamenu.add(file);
                   file.add(file_close);
                        file_close.setActionCommand("Close");
                        file_close.addActionListener(this);
              kamenu.add(options);
                   options.add(options_default);
                        //options_default.setActionCommand("Default");
                        //options_default.addActionListener(this);
         public int getIntLEFT()
              return LEFT;
         public int getIntRIGHT()
              return RIGHT;
         public int getIntUP()
              return UP;
         public int getIntDOWN()
              return DOWN;
         public int getIntA()
              return A;
         public int getIntS()
              return S;
         public int getIntD()
              return D;
         public void actionPerformed(ActionEvent e)
              String arg = e.getActionCommand();
              if(arg == "Close")
                   { setVisible(false); }
    } I'm still writing the bulk of the code.

Maybe you are looking for

  • Moving columns in ALV report

    Hello Friends Could some one please let me know if there is any extra configuration needed to drag a column from one place to another. Example I have have columns 1,2,3 and 4, I want to arrange it in a the order 2,3,1,4 without altering the code. Hop

  • I cannot use the mirror link feature on my XAV 601BT. is there an app for this?

    Solved! Go to Solution.

  • BDC for F-37

    hi, I am doing BDC program for F-37 transaction i have no of line items. how can i loop only at item level.kindly help me on this. Thanks & Regards, Mani Malathi.

  • Lookup attched to Gauge pointer... not quite working right

    Need your help please.  I have a very simple data set.  Looks like this: Status               Count              Percentage Compliant          50                   50 Non-Compliant   15                   15 Unknown           35                   35 I

  • Using Tableau and importing Microsoft SSAS's XMLA files

    Our current OLAP environment uses Tableau as the visualization tool on top of Microsoft SSAS cube. Oracle is used as the database from which Microsoft Cube is built. Current Configuration: Presentation layer: Tableau Cube layer: Microsoft SSAS DB lay