Validate plant and material on selection screen with select-options

Hi all,
I want to validate plant and material on selection screen. More over I need to validate the combination of that also (i.e plant based materials). Individually I made the validations, but combination I didn’t get it.
For your information both are select-options, please reply me if you have an idea. The table to get the relationship is KEKO. <b>I have the below code for parameters, but I require code for select options.</b>
SELECT MATNR WERKS FROM KEKO UP TO 1 ROWS
INTO (KEKO-MATNR, KEKO-WERKS)
WHERE MATNR = P_MATNR AND
WERKS = P_WERKS.
IF SY-SUBRC <> 0.
MESSAGE E023 WITH 'COST ESTIMATE NOT FOUND FOR '
P_MATNR P_WERKS 'COMBINATION'.
ENDIF.
ENDSELECT.
Surely I will reward you.
Thanks in Advance,
Raghu.

Raghu,
You can't validate on select-options, MARC will have N to 1 relation between Material and plant.
You can do one thing, keep material as select-option and plant as parameter, now you can validate the materials on plant level.
Reward if this helps,
Satish

Similar Messages

  • Validate plant and material on selection screen

    Hi all,
    I want to validate plant and material on selection screen. More over I need to validate the combination of that also (i.e plant based materials). Individually I made the validations, but combination I didn’t get it.
    For your information both are select-options, please reply me if you have an idea. The table to get the relationship is KEKO. I have the below code for parameters, but I require code for select options.
    SELECT MATNR WERKS FROM KEKO UP TO 1 ROWS
    INTO (KEKO-MATNR, KEKO-WERKS)
    WHERE MATNR = P_MATNR AND
    WERKS = P_WERKS.
    IF SY-SUBRC <> 0.
    MESSAGE E023 WITH 'COST ESTIMATE NOT FOUND FOR '
    P_MATNR P_WERKS 'COMBINATION'.
    ENDIF.
    ENDSELECT.
    <b>Note: I need to calidate on KEKO only..</b>
    Surely I will reward you.
    Thanks in Advance,
    Raghu.

    Hi rag ,
    The following code will works .... i have practically used in my report.
    Local data declaration
      DATA: l_material TYPE matnr.
    Validation check for material
      IF s_matnr IS NOT INITIAL.
        SELECT matnr          "material
          FROM mara
            UP TO 1 ROWS
          INTO l_material
         WHERE matnr IN s_matnr.
        ENDSELECT.
        IF l_material IS INITIAL .
        Invalid material entered .
          MESSAGE e136.
        ELSEIF s_mawerk IS NOT INITIAL.
          CLEAR l_material .
        Validation check for material exists in plant
          SELECT  matnr        "material
            FROM marc
            UP TO 1 ROWS
            INTO l_material
           WHERE matnr  IN s_matnr
             AND werks IN s_mawerk.
          ENDSELECT.
          IF sy-subrc NE 0 .
          Invalid material entered for the plant.
            MESSAGE e130.
          ENDIF .
        ENDIF.
      ENDIF.

  • Want to use ldb selection screen with select queries

    I want to use ldb selection screen with select queries since ldb having performance issue .How can I use the fields of the dynamic selection of LDB in the select queries

    Hi,
    Check the code snippet below: Here 'XXXX' is the table for your select query.
      DATA L_DS_CLAUSES TYPE RSDS_WHERE.
      MOVE 'XXXX' TO L_DS_CLAUSES-TABLENAME.
      READ TABLE DYN_SEL-CLAUSES WITH KEY L_DS_CLAUSES-TABLENAME
                                 INTO L_DS_CLAUSES.
      SELECT * FROM XXXX
              WHERE field1 IN ...
               AND   field2 ....
               AND (L_DS_CLAUSES-WHERE_TAB).
          PUT XXXX.
      ENDSELECT.
    You can also try using the FM 'RS_REFRESH_FROM_DYNAMICAL_SEL' passing SY-CPROG in curr_report and 'M'  for mode to get the dynamic selection screen values.
    Regards,
    Munesh.

  • Switced from Full GUI installation to minimal server interface or server core and stucked on black screen with no option

    hi.
    i have a virtual machine running Windows Server 2012 R2 Data Center Edition, using Hyper-V technology, as a lab machine to test and practice core features.
    I tried to test the ability of switching to Core (and even the Minimal Server Interface after stuck and revert!)
    using Powershell commands as bellow:
    Import-Module ServerManager
    Uninstall-WindowsFeature Server-Gui-Shell -Restart
    and it goes well until windows configured removal features and reboots. but
    after that the VM will stuck in a black screen.
    Tried to reach RUN TASK window to bring up CMD.EXE or any thing but even the ALT+CTRL+DEL (ALT+CTRL+END in VM) is not working and technically i cant do anything. considering CPU USAGE in hyper-V Manager is changing for the VM, i let the VM
    work but after 2 hours i just got enough!
    any idea why is this happening?
    Thanks for helping and spending time on this.
    some info about the situation:
    ( METHOD : http://blogs.technet.com/b/puneetvig/archive/2012/10/16/switch-between-full-and-core-in-windows-server-2012-using-powershell-3-0.aspx )
    HOST Machine:
    Windows Server 2012 R2
    Edition: Data Center
    Activation Status: Fully Activated
    VM Machine:
    Windows Server 2012 R2
    Data Center Edition
    first installation option: Full GUI
    Running services : NONE
    not activated (no need to activate since its just a lab VM)
    Hyper-V Machine Generation 2

    Hi 888ta8pa,
    Did you install some server role or feature on this vm, Server 2012r2 server core support the following applicable roles, please uninstall the unsupported rule and feature
    then try again.
    Server Core is an installation option that is capable of the following server roles.
    •Active Directory (AD)
    •Active Directory Lightweight Directory Services (ADLDS)
    •DHCP Server
    •DNS Server
    •File Services
    •BITS Server
    •BranchCache
    •HyperV
    •IIS
    •Printing Services
    •Streaming Media Services
    •iSCSI
    •Load Balancing
    •MPIO
    •qWave
    •Telnet
    •Unix Migration
    •Active Directory Certificate Services
    The related KB:
    Server Core for Windows Server 2012 R2 and Windows Server 2012
    http://msdn.microsoft.com/en-us/library/hh846323(v=vs.85).aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Collect in an internal table with keys plant and material

    Hi ,
    I have an output internal table with material , plant and var quantitites .
    I would like to use Collect statement and sum the quantities but do it by plant and material .
    How do I specify that i want to do it on plant or material ?
    Thanks !

    hi here is an example like urs..
    DATA: BEGIN OF seats,
            carrid TYPE sflight-carrid,
            connid TYPE sflight-connid,
            seatsocc TYPE sflight-seatsocc,
          END OF seats.
    DATA seats_tab LIKE HASHED TABLE OF seats
                   WITH UNIQUE KEY carrid connid.
    SELECT carrid connid seatsocc
           FROM sflight
           INTO seats.
      COLLECT seats INTO seats_tab.
    ENDSELECT.
    check for help..
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/collect.htm
    regards,
    venkat

  • Selection screen with radio button groups

    hi experts,
    i have 3 frames in selection screen. in first frame i have two radio buttons. if i select 1st radio button 2nd  frame should be in active and  3rd frame should be disable mode. if i select 2nd radio button then 3rd  frame should be in active and other 2nd frame should be disable mode. in which event  i need to write the code.
    can any one help me regarding this and give some sample code.
    rgds,
    nag.

    Here is the example which will explain it completely :
    *& Report  Z_sscr                                                 *
    *  Published at ****************
    *&DYNAMIC Selection screen based on user clicks on the radiobutton*
    REPORT  zsscr.
    *TYPE POOLS DECLARATIONS FOR VALUE REQUEST MANAGER AND ICONS
    TYPE-POOLS : vrm,
                 icon.
    *SELECTION SCREEN FIELDS
    TABLES : sscrfields.
    *GLOBAL DECLARATIONS
    DATA : flag TYPE c,
          tablename(10),
          mmtable LIKE dd02l-tabname,
          sdtable LIKE dd02l-tabname,
          hrtable LIKE dd02l-tabname.
    *DECLARATIONS FOR SELECTION SCREEN STATUS
    DATA it_ucomm TYPE TABLE OF sy-ucomm.
    ***********SELECTION-SCREENS**********************
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME.
    *FOR DYNAMIC DISPLAY OF MODULES
    PARAMETERS :  pa RADIOBUTTON GROUP rad USER-COMMAND com MODIF ID mod,
                  pb RADIOBUTTON GROUP rad MODIF ID rad,
                  pc RADIOBUTTON GROUP rad MODIF ID cad.
    SELECTION-SCREEN SKIP.
    **TO INCLUDE DYNAMIC ICONS
    SELECTION-SCREEN COMMENT 2(6) text_001.
    *DYNAMIC LIST BOX BASED ON USER SELECTIONS
    PARAMETERS one AS LISTBOX VISIBLE LENGTH 20  MODIF ID mod.
    PARAMETERS two AS LISTBOX VISIBLE LENGTH 20   MODIF ID rad.
    PARAMETERS three AS LISTBOX VISIBLE LENGTH 20 MODIF ID cad.
    SELECTION-SCREEN END OF BLOCK blk1.
    *DISPLAY DYNAMIC PUSHBUTTON ON APP TOOLBAR ON USER CLICKS
    SELECTION-SCREEN: FUNCTION KEY 1,
                      FUNCTION KEY 2,
                      FUNCTION KEY 3.
    **EVENT ON SELECTION SCREEN FOR OUTPUT DISPLAY
    AT SELECTION-SCREEN OUTPUT.
    *CLICK OF FIRST RADIO BUTTON
      IF pa = 'X'.
        sscrfields-functxt_01 = 'Materials Management'.
        WRITE icon_plant AS ICON TO text_001.
    *CODE TO GET DYNAMICS BASED ON THE SELECTED RADIO
        LOOP AT SCREEN.
          IF screen-group1 = 'MOD'.
            screen-intensified = '1'.
            screen-active = 1.
            screen-display_3d = '1'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'RAD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'CAD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    *CLICK OF SECOND RADIO
      IF pb = 'X'.
        sscrfields-functxt_02 = 'Sales And Distribution'.
        WRITE icon_ws_ship AS ICON TO text_001.
        LOOP AT SCREEN.
          IF screen-group1 = 'RAD'.
            screen-intensified = '1'.
            screen-active = 1.
            screen-display_3d = '1'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'MOD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'CAD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    *CLICK OF THIRD RADIO
      IF pc = 'X'.
        sscrfields-functxt_03 = 'Human Resources'.
        WRITE icon_new_employee AS ICON TO text_001.
        LOOP AT SCREEN.
          IF screen-group1 = 'RAD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'MOD'.
            screen-intensified = '0'.
            screen-active = 0.
            screen-display_3d = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'CAD'.
            screen-intensified = '1'.
            screen-active = 1.
            screen-display_3d = '1'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    *CUSTOMISING THE TOOLBARS OF THE SELECTION SCREEN
    *WITH F8 BUTTON DISABLED
      APPEND :  'PRIN' TO it_ucomm,
                'SPOS' TO it_ucomm,
                'ONLI' TO it_ucomm.
      CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
        EXPORTING
          p_status  = sy-pfkey
        TABLES
          p_exclude = it_ucomm.
    **EVENT ON THE SELECTION
    AT SELECTION-SCREEN.
    * LIST BOX ONE VALUES
      CASE one.
        WHEN '1'.
          mmtable = 'MARC'.
        WHEN '2'.
          mmtable = 'MARA'.
        WHEN '3'.
          mmtable = 'MARD'.
        WHEN '4'.
          mmtable = 'MARM'.
      ENDCASE.
    * LIST BOX TWO VALUES
      CASE two.
        WHEN '1'.
          sdtable = 'VBAK'.
        WHEN '2'.
          sdtable = 'VBAP'.
        WHEN '3'.
          sdtable = 'VBUK'.
        WHEN '4'.
          sdtable = 'VBUP'.
      ENDCASE.
    * LIST BOX THREE VALUES
      CASE three.
        WHEN '1'.
          hrtable = 'PA0001'.
        WHEN '2'.
          hrtable = 'PA0006'.
        WHEN '3'.
          hrtable = 'PA0022'.
        WHEN '4'.
          hrtable = 'PA0008'.
      ENDCASE.
    *VALUES FOR CLICK OF THE PUSHBUTTON ON APP TOOLBAR
    *AND ENABLING THE BUTTONS TO PERFORM F8
      CASE sscrfields-ucomm.
        WHEN 'FC01'.
          tablename = mmtable.
          sscrfields-ucomm = 'ONLI'.
        WHEN 'FC02'.
          tablename = sdtable.
          sscrfields-ucomm = 'ONLI'.
        WHEN 'FC03'.
          tablename = hrtable.
          sscrfields-ucomm = 'ONLI'.
      ENDCASE.
    *INITIALIZATION EVENT
    INITIALIZATION.
    *VALUES ASSIGNED TO DROPDOWNLISTS IN THE SUBROUTINES
      PERFORM f4_value_request_pa.
      PERFORM f4_value_request_pb.
      PERFORM f4_value_request_pc.
    *START OF SELECTION EVENT
    START-OF-SELECTION.
    *SUBROUTINE FOR OUTPUT
      PERFORM output.
    *&      Form  f4_value_request_PA
    *       text
    *SUBROUTINE TO PROVIDE DROPDOWN VALUES TO LIST1
    FORM f4_value_request_pa.
      DATA: l_name TYPE vrm_id,
            li_list TYPE vrm_values,
            l_value LIKE LINE OF li_list.
      l_value-key = '1'.
      l_value-text = 'Plant Data for Material'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '2'.
      l_value-text = 'General Material Data'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '3'.
      l_value-text = 'Storage Location Data for Material'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '4'.
      l_value-text = 'Units of Measure for Material'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_name = 'ONE'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = l_name
          values          = li_list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM. " f4_value_request_tabname
    *&      Form  f4_value_request_PB
    *       text
    *SUBROUTINE TO PROVIDE DROPDOWN VALUES TO LIST2
    FORM f4_value_request_pb.
      DATA: l_name TYPE vrm_id,
            li_list TYPE vrm_values,
            l_value LIKE LINE OF li_list.
      l_value-key = '1'.
      l_value-text = 'Sales Document: Header Data'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '2'.
      l_value-text = 'Sales Document: Item Data'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '3'.
      l_value-text = 'Sales Document:Header Status'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '4'.
      l_value-text = 'Sales Document: Item Status'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_name = 'TWO'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = l_name
          values          = li_list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM. " f4_value_request_PB
    *&      Form  f4_value_request_PC
    *       text
    *SUBROUTINE TO PROVIDE DROPDOWN VALUES TO LIST3
    FORM f4_value_request_pc.
      DATA: l_name TYPE vrm_id,
            li_list TYPE vrm_values,
            l_value LIKE LINE OF li_list.
      l_value-key = '1'.
      l_value-text = 'HR Master :Infotype 0001 (Org. Assignment)'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '2'.
      l_value-text = 'Address Infotype 0006'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '3'.
      l_value-text = 'Education Infotype 0022'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_value-key = '4'.
      l_value-text = 'Basic Pay Infotype 0008'.
      APPEND l_value TO li_list.
      CLEAR l_value.
      l_name = 'THREE'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = l_name
          values          = li_list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM. " f4_value_request_PC
    *&      Form  OUTPUT
    *       text
    *      -->P_TABLENAME  text
    *fINAL OUTPUT
    FORM output.
      DATA p_table(10).
      p_table = tablename.
    *popup to display teh selected table and
    *Continue button is clicked
      CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
        EXPORTING
          titel        = 'User Selections '
          textline1    = p_table
          textline2    = 'is the Selected table'
          start_column = 25
          start_row    = 6.
    *assigning the table value in p_table to the
    * Table in SE16 transaction by explicitly calling
      SET PARAMETER ID 'DTB' FIELD p_table.
      CALL TRANSACTION 'SE16'.
    ENDFORM.                    "OUTPUT
    Reward If found Helpful.

  • Tabbed selection screen with AT SELECTION-SCREEN ON events does not work

    I have a selection screen with 3 tabs fields on each tab have AT SELECTION-SCREEN ON field events.  
    If you are on tab 1 and select a variant that populates fields on all tabs and then click the execute button ABAP does not seem to recognize that the field has changed when it executes AT SELECTION-SCREEN ON field event unless you physically go to each tab.
    I can work around this by:
    1) moving all of the AT SELECTION-SCREEN ON field events in a AT SELECTION-SCREEN OUTPUT event.  This is not efficient and it potentially opens me up to other problems.
    2) changing the selection screen to remove the tabs and have all of the fields on 1 screen.  This makes for a very long screen.
    Is there any way to have ABAP check all tabs?
    Thanks,
    Jerry

    I finally got it to start.   Let it sit and tried and it wouldn't but then I tried again and it did.  How do I blow the dust out?   I think it must be something with the heat since that comes up alot. 
    I will do it, I love my Mac.

  • How to replace the existing selection screen with new selection screen

    Hi,
    I have first selection screen with parametre as a table name, then I have created dynamic selection screen as 2nd selection screen with different fields of that table as select options. This is done using genaration of dynamic report. Now If I click on button on this 2nd selction screen , then I want to replace this 2nd dynamic selection screen , with the other selection screen fields.
    Can anybody guide me, How to do replace one slection screen with different selection screen.
    and one imp thing is this selction screen is populating with dynamic fields on it.
    Regards,
    Mrunal

    As I can understand you want to make some of the screen field to disable or visible on screen  depending upon the interaction of user with screen 1.
    You may use this example code in PBO of screen 2.
    LOOP AT SCREEN.
        " action has been taken to modify the area office screen as per the option chosen at screen 99.
        CASE ACTION.
            " if the user has taken up the option of UPLOAD
          WHEN 'UP'.     " screen processing while we upload the plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'AO_DO' OR SCREEN-NAME = 'AO_VE'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
          WHEN 'DN'.      " screen processing while we upload the approved plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'AO_UP' OR SCREEN-NAME = 'AO_VE'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
          WHEN 'VW'.      " screen processing while we view the plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'RLGRAP-FILENAME' OR SCREEN-NAME = 'FNAME'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
            " and hide the file input field
            IF SCREEN-NAME = 'AO_DO' OR SCREEN-NAME = 'AO_UP'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
        ENDCASE.
      ENDLOOP.

  • How to design selection screen with WAD 3.x Web Items

    Hi Guruu2019s,
    I have a requirement where I need to design a selection screen by using WAD 3.x web items. In the selection screen we have to include the Query Description - in the left corner of the selection screen, Name of Sales Person u2013 left side of the screen, Date from and Date to u2013 right side of the selection screen, User ID and User Name u2013 on the top right of the selection screen etc., after this on the bottom of the selection screen I have to include the pushbutton RUN REPORT.
    After filling all the above parameters and click on Run Report it has to trigger another URL link which contains consolidated Sales CRM Report.
    Could any one suggest me and provide me the idea on developing the selection screen with WAD 3.x Web items and is there any other interface to trigger the other URL link when I click on Run Report.
    Regards
    Venkat

    no replies. Closing the incident

  • HHola I update my Apple TV and I am frozen screen with the photo of Apple TV and iTunes symbol and a cable connected from one to another device, it happens and how to fix it Apple TV

    HHola I update my Apple TV and I am frozen screen with the photo of Apple TV and iTunes symbol and a cable connected from one to another device, it happens and how to fix it Apple TV

    Welcome to the Apple Community.
    If your problem persists get yourself a micro USB cable (sold separately), you can restore your Apple TV from iTunes:
    Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
    Connect the micro USB cable to the Apple TV and to your computer.
    Reconnect the power cable (only for Apple TV 3)
    Open iTunes.
    Select your Apple TV in the Devices list, and then click Restore.
    (You may already have a micro USB cable if you have a camera or other digital device)

  • Modifying selection screen with help of radio buttons

    Hi,
      In my program am using three parameters to download a three different files and I have to use radiobuttons for that.
    I want to download only one file at a time.
    I have used MODIF ID but it is not working for 3 Parameters but it is working for only two parameters.
    Please help me out!!!!!!!!!

    Hi,
    check with the following code
    * Parameters and Selection Options
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_lifnr FOR  lfm1-lifnr .
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS:
       r_asn RADIOBUTTON GROUP rad1 USER-COMMAND uc1 DEFAULT 'X',
       r_ers RADIOBUTTON GROUP rad1  ,
       r_830 RADIOBUTTON GROUP rad1,
       r_850 RADIOBUTTON GROUP rad1,
       r_862 RADIOBUTTON GROUP rad1,
       r_810 RADIOBUTTON GROUP rad1,
       r_820 RADIOBUTTON GROUP rad1,
       r_824 RADIOBUTTON GROUP rad1.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    SELECT-OPTIONS: s_bstae   FOR lfm1-bstae MODIF ID sd1.
    PARAMETERS:
       p_ekorg   TYPE lfm1-ekorg   MODIF ID md1,
       p_evcode  TYPE edp21-evcode MODIF ID md2,
       p_kappl   TYPE nach-kappl   MODIF ID md3,
       p_parvw   TYPE nach-parvw   MODIF ID md4,
       p_kschl   TYPE nach-kschl   MODIF ID md5,
       p_vakey   TYPE nach-vakey   MODIF ID md6,
       p_werks   TYPE werks_d      MODIF ID md7,
       p_bukrs   TYPE lfb1-bukrs   MODIF ID md8.
    SELECTION-SCREEN END OF BLOCK b3.
    *eject
    * Initialization
    INITIALIZATION.
    *  PERFORM check_authorization.
    *eject
    * at selection screen
    *AT SELECTION-SCREEN.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF r_asn EQ 'X'
          AND ( screen-group1 = 'MD3' or screen-group1 = 'MD4'
             or screen-group1 = 'MD5' or screen-group1 = 'MD6'
             or screen-group1 = 'MD7' or screen-group1 = 'MD8').
          screen-active = '0'.
          screen-invisible = '1'.
          screen-input = '0'.
          screen-output = '0'.
        ELSEIF r_ers EQ 'X'
          AND ( screen-group1 = 'SD1' or screen-group1 = 'MD1'
             or screen-group1 = 'MD2' or screen-group1 = 'MD3'
             or screen-group1 = 'MD4' or screen-group1 = 'MD5'
             or screen-group1 = 'MD6' or screen-group1 = 'MD7'
             or screen-group1 = 'MD8').
          screen-active = '0'.
          screen-invisible = '1'.
          screen-input = '0'.
          screen-output = '0'.
        ELSEIF r_830 EQ 'X'
          AND ( screen-group1 = 'SD1' or screen-group1 = 'MD1'
             or screen-group1 = 'MD2' or screen-group1 = 'MD6'
             or screen-group1 = 'MD7' or screen-group1 = 'MD8').
          screen-active = '0'.
          screen-invisible = '1'.
          screen-input = '0'.
          screen-output = '0'.
        ELSEIF r_850 EQ 'X'
          AND ( screen-group1 = 'SD1' or screen-group1 = 'MD1'
             or screen-group1 = 'MD2' or screen-group1 = 'MD6'
             or screen-group1 = 'MD7' or screen-group1 = 'MD8').
          screen-active = '0'.
          screen-invisible = '1'.
          screen-input = '0'.
          screen-output = '0'.
        ELSEIF r_862 EQ 'X'
          AND ( screen-group1 = 'SD1' or screen-group1 = 'MD1'
             or screen-group1 = 'MD2' or screen-group1 = 'MD8').
          screen-active = '0'.
          screen-invisible = '1'.
          screen-input = '0'.
          screen-output = '0'.
        ELSEIF r_810 EQ 'X'
          AND ( screen-group1 = 'MD3' or screen-group1 = 'MD4'
             or screen-group1 = 'MD5' or screen-group1 = 'MD6'
             or screen-group1 = 'MD7' or screen-group1 = 'MD8').
          screen-active = '0'.
          screen-invisible = '1'.
          screen-input = '0'.
          screen-output = '0'.
        ELSEIF r_820 EQ 'X'
          AND ( screen-group1 = 'SD1' or screen-group1 = 'MD1'
             or screen-group1 = 'MD2' or screen-group1 = 'MD3'
             or screen-group1 = 'MD4' or screen-group1 = 'MD5'
             or screen-group1 = 'MD6' or screen-group1 = 'MD7' ).
          screen-active = '0'.
          screen-invisible = '1'.
          screen-input = '0'.
          screen-output = '0'.
        ELSEIF r_824 EQ 'X'
          AND ( screen-group1 = 'SD1' or screen-group1 = 'MD1'
             or screen-group1 = 'MD2' or screen-group1 = 'MD3'
             or screen-group1 = 'MD4' or screen-group1 = 'MD5'
             or screen-group1 = 'MD6' or screen-group1 = 'MD7'
             or screen-group1 = 'MD8').
          screen-active = '0'.
          screen-invisible = '1'.
          screen-input = '0'.
          screen-output = '0'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    *eject
    * Event top of page
    TOP-OF-PAGE.
    *eject
    * event Start of Selection
    START-OF-SELECTION.
    *eject
    *EVENT End-of selection
    END-OF-SELECTION.
    *eject
    *EVENT  End-of page
    END-OF-PAGE.
    Regards,
    Vikas.
    plz reward if helpful..

  • Dynamic selection screen with ABAP web dynpro

    Hi all.
        How can I create dynamic selection screen with ABAP web dynpro? Thank you in advance.

    hi yinglak.....
             this is possible........ all the ui elelments has the property called visible and enabled.... just assign an attribute of type wdui_visibility to the visible property....
    in the wddomodify method..... check for the radio button value and pass the value true or false to this attribute and it gets changed automatically.
    ---regards,
       alex b justin

  • Selection screen with Muliple tabs

    Morning All
    I have a selection screen with 3 tabs depicting 3 separate selection screens in effect.  There are certain fields (parameters and select options) that I would like to keep synchronized between the 3 screens.  Is there a neat way of doing this?
    Cheers
    Ian

    Hi Ian,
      I don't quite understand as to what "synchronisation" means here.
      Though anything you would want to do on a Selection Screen, can be handled in the event
         <b>AT SELECTION-SCREEN OUTPUT.</b>
      This event acts like PBO for the selection screen.
      For example, if you have parameter, P1 on Tab 1 and parameter P2 on Tab2, then to equate (assuming that it is "synchronisation"), you could code.
    AT SELECTION-SCREEN OUTPUT.
       P2 = P1.
      Enter the value "10" in P1 on Tab1, click Tab2, P2 will display "10".
      You could control this using conditions on flag variables.
      Hope this helps.
      Best Regards,
      Sanyam
    Message was edited by: Sanyam Kapur (correction to code)

  • Plant  and Material data in New GL

    Currently, we are implementing ECC6 New GL and BW management reporting. The requirement is to report all inventory related costs and COGS by plant code.
    The profit center structure (model) is not supporting the plant view.
    Is there anyway to populate the plant and material code in the ne GL FAGLFLEXT table. The reporting is done in BW and currently SAP provides standard extractor for the new GL summary table.
    SAP documentation says it's possible to add ZZ customer fields like plant and material to the new GL table.
    Anyone in SAP community have experience with addition of customer fields to new GL table. If YES, how did you solve the configuration issue? Any help is appreciated.
    Thanks
    Krishna Bhat

    Hi Kishan,
    Plant is avaialable as 'standard' field for additional field in FAGLFLEXT. It's added as ZZWERKS but you don't have to create coding block field. The field can be added by trx.FAGL_GINS.
    Note 923687 gives the example about material field.
    Br, Kyoko

  • I have macbook pro 13.3 inch. I am installing window 7 in boot camp manager after copying file of window upto 67% it doesn't response and i had forcely shotdown my macbook. Now my macbook doesn't open and stop in black screen with cursor blinking.

    i have macbook pro 13.3 inch. I am installing window 7 in boot camp manager after copying file of window upto 67% it doesn't response and i had forcely shotdown my macbook. Now my macbook doesn't open and stop in black screen with cursor blinking. Now how could i open my macbook pro.

    At startup hold down the Option/Alt key and from the screen that comes up select your OS X partition to start the computer from. Then use the Boot Camp Assistant app to Remove Windows and the partition you reated for it and it will Automatically place the space you allocated for the Windows install back into the OS X partition.
    NOTE:
    Do NOT use Disk Utility to erase the partition that was created for the Windows install. Use the Boot Camp Assistant app again to do that.

Maybe you are looking for