Screen Field  Modification of VA01

Hi,
I am giving order type in VA01 Tcode and then Clicking on 'Create with Reference' .Then a Pop Up is getting generated. In this i am giving Contract already created (using VA41 Tcode) and then clicking on 'Item Selection' button .Now it's going to another screen where the User will enter quantity in the 'Open Quantity' field and then clicks on 'Copy' button on the application tool bar .Then another Screen follows where 'Order Quantity' field will be in Enable Mode. I have to make this into Disable mode.
i used User Exit  mv45afzz. and kept the following code.
IF SCREEN-NAME  = 'RV45A-KWMENG'.
IF SCREEN-GROUP2  = 'LOO'.
IF SCREEN-GROUP3  = '004'.
SCREEN-INPUT  =   '0'.
SCREEN-OUTPUT  = '1'.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDIF.
But  i should restrict this to only certain order type.
Please suggest how can i do this .
Thanks
K Srinivas

resolved issue myself

Similar Messages

  • Selection Screen field modification

    Hi Experts,
    I wanted to disable certain fields based on some selection.
    I wanted to know what is the meaning of below statement.
    SCREEN-OUTPUT = 1.
    SCREEN-INPUT = 0.
    SCREEN-INVISIBLE = 1.
    Also what is the meaning of SCREEN-ACTIVE = 0.

    Hi,
    Check this program
    *& Report  YSS_TRIAL2
    REPORT  yss_trial2.
    TABLES:mara,kna1.
    PARAMETERS: p_b1 RADIOBUTTON GROUP gr1 USER-COMMAND fc DEFAULT 'X',
                p_b2 RADIOBUTTON GROUP gr1.
    SELECT-OPTIONS:s_one FOR mara-matnr MODIF ID md1,
                   s_two FOR kna1-kunnr MODIF ID md2.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF p_b1 EQ 'X'.
          IF screen-group1 = 'MD1'.
           screen-active = '1'.
            screen-input = '1'.
            screen-invisible = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'MD2'.
           screen-active = '1'.
            screen-input = '0'.
            screen-invisible = '1'.
            MODIFY SCREEN.
          ENDIF.
        ELSEIF p_b2 EQ 'X'.
          IF screen-group1 = 'MD2'.
           screen-active = '1'.
            screen-input = '1'.
            screen-invisible = '0'.
            MODIFY SCREEN.
          ENDIF.
          IF screen-group1 = 'MD1'.
           screen-active = '1'.
            screen-input = '0'.
            screen-invisible = '1'.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
      ENDLOOP.
    Hope this will helpReward points if helpful.
    Regards
    Shibin

  • How to make Sales Office field mandatory in VA01 initial screen?

    Hi,
    How to make Sales Office field mandatory in VA01 initial screen? I mean in the first screen where we enter the document type and the sales area?
    Regards,
    Ajit

    Dear Deepak,
    Thanks for the clarification.
    But, as far, I have understood the query - it is very simple and that is..
    Whenever one creates a Sales Order (T.Code: VA01), Parameter: Sales Office needs to be mandatory (for all Sales Order, irrespective of Customer Account).
    Until-unless, user won't enter the parameter: Sales Office, System will not lead to next page (now, here we need to enter Customer/ material etc...).
    I have answered the query, in this regards, only.
    Best Regards,
    Amit.
    Note: Pls. correct me, if I am wrong. Thanks for everyones guidance.

  • F4 help modification at VA01 screen

    Hi ALL,
    My requirement is i need to add 2 screen elements at the F4 help when pressed on the Sales order screen Va01 or Va02 ...i need to get 2 fields below the field Reference in Va01 F4 help screen , how can i get that , and where should i include the logic..
    Thanks in advance

    Hi ALL,
    My requirement is i need to add 2 screen elements at the F4 help when pressed on the Sales order screen Va01 or Va02 ...i need to get 2 fields below the field Reference in Va01 F4 help screen , how can i get that , and where should i include the logic..
    Thanks in advance

  • Screen Field Text Modification

    Hi,
         How can I change the Screen Field Text dynamically? Is there any attribute like Name for Text in the SCREEN table?
    ex: on certain condition, the text should be "Override Assignment" and another the text of the field should be "Manual Assignment"
             Please help me in this regard.
    Thanks,
    V.Nagaraju.

    Hi,
    Try the code given below.
    Regards,
    Wajid Hussain P.
    DATA:   g_atwrt TYPE atwrt.
    PARAMETERS: p_text(15).
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN: COMMENT 1(15) g_text FOR FIELD s_vbcod .
    SELECT-OPTIONS: s_vbcod FOR g_atwrt.
    SELECTION-SCREEN:  END OF LINE.
    AT SELECTION-SCREEN OUTPUT.
      g_text = p_text.
      s_vbcod = g_text.
      LOOP AT SCREEN.
    " Do the following when your condition is satisfied
        IF screen-name CS 'S_VBCOD'.
          screen-name = g_text.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.

  • Regarding sd module modification in va01/va02/va03

    as per we can configure the screen of <u><b>mm01,mm02,mm03</b></u> in spro by modifying the datascreen and assining the data screen to <b><u>mm01/mm02/mm03</u></b>.teis requirement i executed. but now i need to modify th screen of <u><b>va01/va02/va03</b></u> with specific order type.in the screen i have to include some fields which i used to call from<u><b> zee</b></u> table and when ever the data modification is done these table should get updated.
    it is not possible through any kind of exits and badi implementation.
    even it may be possible through badi implementation.but i dont know the procedure and steps to follow how to implement this senario.ie. the screen related to one perticular order type like <u><b>zso in va01/va02/va03</b></u>
    as i request the requirement is very urgent so suggest me as early as possible.
    thanx with warm regards,,,,,
    hareesh tadepalli

    Try screen/transaction variants - tcode SHD0.  The order entry screens do not seem to have a config way of determining what fields are hidden/displayed ala ME21N.
    Or you could try using GuiXT.

  • Selection screen fields

    Hi,
    I want to group the selection screen fields. where should i group.
    I want to group using the modif Id
    T Y P E S
    TYPES:
    BEGIN OF TYVBAK,
    VBELN TYPE VBAK-VBELN,
    AUART TYPE VBAK-AUART,
    AUDAT TYPE VBAK-AUDAT,
    KUNNR TYPE VBAK-KUNNR,
    NETWR TYPE VBAK-NETWR,
    END OF TYVBAK.
    D A T A      D E C L A R A T I O N S
    DATA:
    STVBAK TYPE TYVBAK,
    ITVBAK TYPE TABLE OF TYVBAK.
    S E L E C T I O N    S C R E E N
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS:
    SKUNNR FOR STVBAK-KUNNR.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    SELECT-OPTIONS:
    SVBELN FOR STVBAK-VBELN,
    SAUDAT FOR STVBAK-AUDAT.
    SELECTION-SCREEN END OF BLOCK B2.
    I N I T I A L I Z A T I O N
    *INITIALIZATION.
    FILLING SELECT OPTIONS WITH DEFAULTS
    SKUNNR-SIGN = 'I'.
    SKUNNR-OPTION = 'BT'.
    SKUNNR-LOW    = '1'.
    SKUNNR-HIGH   = '4000000'.
    APPEND SKUNNR.
    T O P   O F  P A G E
    TOP-OF-PAGE.
    WRITE:/1'SALES DOC',12 'DOC TYPE',20 'SALES DATE',32 'NETWORTH',60 'CUSTOMER'.
    *A T   S E L E C T I O N    S C R E E N    O U T P U T .
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'SVBELN-LOW'.
    SCREEN-INPUT = 0.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-NAME = 'SVBELN-HIGH'.
    SCREEN-INPUT = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    where should i group SBVELN and SAUDAT

    Hi
    Instead of SCREEN-NAME use SCREEN-GROUP1 and for your select options give MODIF ID.
    As follows
    SELECTION-OPTIONS: selcrt for dobj MODIF ID MOD1.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    CHECK SCREEN-GROUP1 = 'MOD1.
    SCREEN-REQUIRED = 1.
    MODIFY SCREEN.
    ENDLOOP.
    This is COZ when you use select-options you get TWO fileds on the INPUT screen LOW and HIGH so you have to check for selcrit-low and selctri-high you can avoid all this my assigning a MODIF ID.
    See this sample programs for this
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: pa_file TYPE rlgrap-filename MODIF ID abc,
    pa_lifnr TYPE lfa1-lifnr MODIF ID abc,
    pa_vkorg TYPE vbak-vkorg MODIF ID abc.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS: pa_kunnr TYPE vbak-kunnr MODIF ID def.
    SELECT-OPTIONS: s_lifnr FOR gs_lfa1-lifnr MODIF ID def,
    s_date FOR gs_lfa1-erdat MODIF ID def,
    s_augru FOR gs_vbak-augru MODIF ID def,
    s_vbeln FOR gs_vbak-vbeln MODIF ID def.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pa_upd RADIOBUTTON GROUP g1 USER-COMMAND uc01 DEFAULT 'X'."#EC *
    SELECTION-SCREEN COMMENT 3(60) text-004 FOR FIELD pa_upd.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: pa_rep RADIOBUTTON GROUP g1 ."#EC *
    SELECTION-SCREEN COMMENT 3(60) text-005 FOR FIELD pa_rep.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b3.
    IF pa_rep EQ gc_x.
    LOOP AT SCREEN.
    IF screen-group1 = gc_abc.
    screen-input = gc_zero_num.
    ELSEIF screen-group1 = gc_def.
    screen-active = gc_one_num.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ELSEIF pa_upd EQ gc_x.
    *For Reprocessing
    LOOP AT SCREEN.
    IF screen-group1 = gc_def.
    screen-input = gc_zero_num.
    ELSEIF screen-group1 = gc_abc.
    screen-active = gc_one_num.
    ENDIF.
    MODIFY SCREEN.
    CLEAR pa_upd.
    ENDLOOP.
    ENDIF.
    REPORT zrich_001.
    PARAMETERS: p_rad1 RADIOBUTTON GROUP grp1 DEFAULT 'X'
    user-command chk,
    p_rad2 RADIOBUTTON GROUP grp1.
    SELECT-OPTIONS: s_datum1 FOR sy-datum MODIF ID d1,
    s_datum2 FOR sy-datum MODIF ID d2.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF p_rad1 = 'X'
    AND screen-group1 = 'D2'.
    screen-active = '0'.
    ENDIF.
    IF p_rad2 = 'X'
    AND screen-group1 = 'D1'.
    screen-active = '0'.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP

  • Need some help in creating Search Help for standard screen/field

    I need some help in adding a search-help to a standard screen-field.
    Transaction Code - PP01,
    Plan Version - Current Plan (PLVAR = '01'),
    Object Type - Position ( OTYPE = 'S'),
    Click on Infotype Name - Object ( Infotype 1000) and Create.
    I need to add search help to fields Object Abbr (P1000-SHORT) / Object Name (P1000-STEXT).
    I want to create one custom table with fields, Position Abb, Position Name, Job. Position Abb should be Primary Key. And when object type is Position (S), I should be able to press F4 for Object Abb/Object Name fields and should return Position Abbr and Position Name.
    I specify again, I have to add a new search help to standard screen/field and not to enhance it.
    This is HR specific transaction. If someone has done similar thing with some other transation, please let me know.
    There is no existing search help for these fields. If sm1 ever tried or has an idea how to add new search help to a standard screen/field.
    It's urgent.
    Thanks in advace. Suitable answers will be rewarded

    Hi Pradeep,
    Please have a look into the below site which might be useful
    Enhancing a Standard Search Help
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-
    edc983384237
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm
    A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.
    This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).
    A search help exit is called at certain timepoints in the input help process.
    Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.
    Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.
    During the input help process, a number of timepoints are defined that each define the beginning of an important operation of the input help process.
    If the input help process is defined with a search help having a search help exit, this search help exit is called at each of these timepoints. If required, the search help exit can also influence the process and even determine that the process should be continued at a different timepoint.
    timepoints
    The following timepoints are defined:
    1. SELONE
    Call before selecting an elementary search help. The possible elementary search helps are already in SHLP_TAB. This timepoint can be used in a search help exit of a collective search help to restrict the selection possibilities for the elementary search helps.
    Entries that are deleted from SHLP_TAB in this step are not offered in the elementary search help selection. If there is only one entry remaining in SHLP_TAB, the dialog box for selecting elementary search helps is skipped. You may not change the next timepoint.
    The timepoint is not accessed again if another elementary search help is to be selected during the dialog.
    2. PRESEL1
    After selecting an elementary search help. Table INTERFACE has not yet been copied to table SELOPT at this timepoint in the definition of the search help (type SHLP_DESCR_T). This means that you can still influence the attachment of the search help to the screen here. (Table INTERFACE contains the information about how the search help parameters are related to the screen fields).
    3. PRESEL
    Before sending the dialog box for restricting values. This timepoint is suitable for predefining the value restriction or for completely suppressing or copying the dialog.
    4. SELECT
    Before selecting the values. If you do not want the default selection, you should copy this timepoint with a search help exit. DISP should be set as the next timepoint.
    5. DISP
    Before displaying the hit list. This timepoint is suitable for restricting the values to be displayed, e.g. depending on authorizations.
    6. RETURN (usually as return value for the next timepoint)
    The RETURN timepoint should be returned as the next step if a single hit was selected in a search help exit.
    It can make sense to change the F4 flow at this timepoint if control of the process sequence of the Transaction should depend on the selected value (typical example: setting SET/GET parameters). However, you should note that the process will then depend on whether a value was entered manually or with an input help.
    7. RETTOP
    You only go to this timepoint if the input help is controlled by a collective search help. It directly follows the timepoint RETURN. The search help exit of the collective search help, however, is called at timepoint RETTOP.
    8. EXIT (only for return as next timepoint)
    The EXIT timepoint should be returned as the next step if the user had the opportunity to terminate the dialog within the search help exit.
    9. CREATE
    The CREATE timepoint is only accessed if the user selects the function "Create new values". This function is only available if field CUSTTAB of the control string CALLCONTROL was given a value not equal to SPACE earlier on.
    The name of the (customizing) table to be maintained is normally entered there. The next step returned after CREATE should be SELECT so that the newly entered value can be selected and then displayed.
    10. APP1, APP2, APP3
    If further pushbuttons are introduced in the hit list with function module F4UT_LIST_EXIT, these timepoints are introduced. They are accessed when the user presses the corresponding pushbutton.
    Note: If the F4 help is controlled by a collective search help, the search help exit of the collective search help is called at timepoints SELONE and RETTOP. (RETTOP only if the user selects a value.) At all other timepoints the search help exit of the selected elementary search help is called.
    If the F4 help is controlled by an elementary search help, timepoint RETTOP is not executed. The search help exit of the elementary search help is called at timepoint SELONE (at the
    F4IF_SHLP_EXIT_EXAMPLE
    This module has been created as an example for the interface and design of Search help exits in Search help.
    All the interface parameters defined here are mandatory for a function module to be used as a search help exit, because the calling program does not know which parameters are actually used internally.
    A search help exit is called repeatedly in connection with several
    events during the F4 process. The relevant step of the process is passed on in the CALLCONTROL step. If the module is intended to perform only a few modifications before the step, CALLCONTROL-STEP should remain unchanged.
    However, if the step is performed completely by the module, the following step must be returned in CALLCONTROL-STEP.
    The module must react with an immediate EXIT to all steps that it does not know or does not want to handle.
    Hope this info will help you.
    ***Reward points if found useful
    Regards,
    Naresh

  • Add New Screen Fields in Delievery Line Item

    Hello All,
    We have a requiremnet where we should add 3 custom fields to delivery line item tabs,
    please let me know how I can add a new tab for delievry line item tabs and how to add new custom screen fields in that tab,.
    Thanks
    Add New Screen Fields in Delievery Line Item
    Edited by: kishore_99 on Dec 8, 2009 5:31 PM

    No, I won't explain it in detail - you need to read the documentation and at least make an attempt at the process on your own first.  The documentation is right there in the IMG where I said it was but here's the path since you can't find it:
    Logistics Execution -> Shipping -> System Modifications -> Business Add-Ins in Shipping -> BADI for Additional Item Detail Screen...

  • Hiding selection screen fields upon clicking a button

    Hi .
    I have a requirement like we need to hide and bring back the selection screen fields upon clicking a button( Expand and collapse in the same button) .
    in ABAP Query,we can maintain this,  for the variant we created.
    We need this functionality on the selection-screen presently.
    How to achieve this in the selection -screen?
    Valuale pointers are desparately needful.
    Regards,
    SSR.

    Hi,
    SELECTION SECREEN (P_) Parameter
    (S_) Select Options
    SELECTION-SCREEN : BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001,
    BEGIN OF LINE,
    COMMENT (26) C1 MODIF ID XYZ.
    SELECT-OPTIONS : S_MATNR FOR MARA-MATNR MODIF ID XYZ NO-EXTENSION .
    SELECTION-SCREEN : END OF LINE,
    BEGIN OF LINE,
    COMMENT (26) C2 MODIF ID XYZ.
    SELECT-OPTIONS : S_MATKL FOR MARA-MATKL MODIF ID XYZ NO-EXTENSION .
    SELECTION-SCREEN : END OF LINE.
    PARAMETERS : R_MATNR RADIOBUTTON GROUP RAD1 DEFAULT 'X'
    MODIF ID ABC USER-COMMAND MAT,
    R_MATKL RADIOBUTTON GROUP RAD1.
    SELECTION-SCREEN END OF BLOCK blk1.
    INITIALIZATION.
    C1 = 'Product Code'.
    c2 = 'Product Group'.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF SCREEN-NAME0(7) = 'S_MATNR' OR SCREEN-NAME0(7) = 'S_MATKL'.
    SCREEN-INPUT = '0'.
    SCREEN-INVISIBLE = '1'.
    ENDIF.
    CASE SCREEN-NAME+0(7).
    WHEN 'S_MATNR'.
    IF R_MATNR = 'X'.
    SCREEN-INPUT = '1'.
    SCREEN-INVISIBLE = '0'.
    ENDIF.
    WHEN 'S_MATKL'.
    IF R_MATKL = 'X'..
    SCREEN-INPUT = '1'.
    SCREEN-INVISIBLE = '0'.
    ENDIF.
    ENDCASE.
    IF R_MATNR = 'X'.
    IF SCREEN-NAME = 'C1'.
    C1 = 'Product code'.
    C2 = SPACE.
    ENDIF.
    ENDIF.
    IF R_MATKL = 'X'.
    IF SCREEN-NAME = 'C2'.
    C2 = 'Product Group'.
    C1 = SPACE.
    ENDIF.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    Hope it helps.
    best regards,
    Nagaraj Kalbavi

  • Adding search help (F4) for a screen field in standard screen of VA02

    Dear Gurus,
    I need to add a Search Help (F4) to a Standard Screen Field VBAK-VSNMR_V in the standard Screen of VA01/Va02.....Can anyone please guide me how it can be done.
    Regards
    Sajid
    Edited by: shaik sajid on Feb 2, 2009 8:38 AM

    Hi shaik,
    Refer to the following useful link:
    Search help enhancement in VA01
    Hope this will help you...

  • How to display the selection screen fields for selected checkboxes

    Hi all,
             I have 7 checkboxes, for each check box we have some seletion screen fields.if i select first check box,i want to display first slection screen fields only.
    and if we select more than one check box how to display the selection screen fields for selected check boxes,please help me this
    Thanks
    sriman.

    hi,
    Try this code
    report z_13317_sdn2.
    tables : mara, marc, dd03l.
    parameters : p_chk1 as checkbox user-command ABC,
                 p_chk2 as checkbox user-command PQR,
                 p_chk3 as checkbox user-command XYZ.
    select-options : s_matnr for mara-matnr modif id A,
                     s_ersda for mara-ersda modif id A,
                     s_werks for marc-werks modif id B,
                     s_lvorm for marc-lvorm modif id B,
                     s_tab for dd03l-tabname modif id C.
    data: v_chk1,
          v_chk2,
          v_chk3.
    at selection-screen output.
      loop at screen.
        if screen-group1 = 'A' or
           screen-group1 = 'B' or
           screen-group1 = 'C'.
            screen-input = 0.
           modify screen.
        endif.
      endloop.
      loop at screen.
        if v_chk1 = 'X'.
          if screen-group1 = 'A'.
            screen-input = 1.
            modify screen.
          endif.
        endif.
        if v_chk2 = 'X'.
          if screen-group1 = 'B'.
            screen-input = 1.
            modify screen.
          endif.
        endif.
        if v_chk3 = 'X'.
          if screen-group1 = 'C'.
            screen-input = 1.
            modify screen.
          endif.
        endif.
      endloop.
    at selection-screen.
      if sy-ucomm = 'ABC'.
        if v_chk1 = ' '.
          v_chk1 = 'X'.
        else.
          v_chk1 = ' '.
        endif.
      endif.
      if sy-ucomm = 'PQR'.
        if v_chk2 = ' '.
          v_chk2 = 'X'.
        else.
          v_chk2 = ' '.
        endif.
      endif.
      if sy-ucomm = 'XYZ'.
        if v_chk3 = ' '.
          v_chk3 = 'X'.
        else.
          v_chk3 = ' '.
        endif.
      endif.
    Regards,
    Sailaja.

  • User Exits for MM to hide screen field

    Hi All,
    I want to make input = 0 for a screen field (valuation price) in PR. Could you tell me the exits available to achieve this,
    like field modification exits available for sales document processing.
    Thanks
    Pradeep

    Hi,
    I have achieved the result thru a BADI  ME_PROCESS_REQ_CUST and method FIELDSELECTION_ITEM_REFKEYS.
        if screen-name =  'MEREQ3320-PREIS'.                " valuation price
         SCREEN-INPUT = 0.
         MODIFY SCREEN.
        endif.
    I tried doing it with the Exit you have mentioned, but it did not work, can you tell me in which include we can
    get the result.
    Thanks
    Pradeep

  • How to set selection screen field obligatory dymically

    hi expert,
    i have to make selection screen field obligatory while selecting a check box,i am using the following code can any one help me regards, thanks in advance.....
    PARAMETER:p_user TYPE adr6-smtp_addr ,
              p_check AS CHECKBOX user-command ucomm.
    at SELECTION-SCREEN.
    case sy-ucomm.
    when 'UCOMM'.
      PERFORM set_obligatory.
    ENDCASE.
    FORM set_obligatory .
      LOOP AT SCREEN.
      IF SCREEN-name = 'P_USER'.
      SCREEN-REQUIRED = 1.
       MODIFY SCREEN.
      ENDIF.
      ENDLOOP.
    ENDFORM.                    " set_obligatory

    Hi,
       The following is the sample code.
    PARAMETERS : p_barea TYPE ps0171-barea DEFAULT 'Z1' MODIF ID pb,
                                                " Benefit Area
                 p_imfil TYPE rlgrap-filename,  " Import file name
                 p_lock  TYPE ztx_int-int_name
                   DEFAULT 'ZHBNT06A_METLIFE_INBOUND' MODIF ID pb, " Lock
                p_test  TYPE c AS CHECKBOX,    " Test run
                 p_update type c as checkbox. " default 'X'
    SELECTION-SCREEN END OF BLOCK selb01.
                          AT SELECTION-SCREEN OUTPUT                     *
    AT SELECTION-SCREEN OUTPUT.
    Benefit Area field made display only field
      LOOP AT SCREEN.
        IF screen-group1 EQ 'PB'.
          CLEAR screen-input.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Regards
    Vick

  • Adding new screen field

    Hi! Gurus,
    We would like to add a new screen field to our shipment document.
    My ABAPper says there's no screen exit to do the same.
    He talks something about breaking the code and stuff like that which I dont understand much.
    Please let me know a way if you guys can think of something.
    I need to add a field in VT01N transaction.
    Thanks in advance.

    HI Runa
    check this example code.
    First of all after adding the fields, you need to display those new fields in the VA01 transaction while creating a new sale order. So for that you need to first use the exit MV45A0ZZ. In this exit under the PBO, declare any form like eg: module zz_blank_fields. The coding for the module must be like as follows:
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 = '002'.
    SCREEN-INPUT = '0'.
    elseif screen-group1 = '123' or
    screen-group1 = 'QUO'.
    screen-active = '0'.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    WHEN 'VA12'.
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 = '123' OR
    SCREEN-GROUP1 = 'QUO' .
    screen-active = '0'.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    WHEN 'VA13'.
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 = '001' OR
    SCREEN-GROUP1 = '002'.
    SCREEN-INPUT = '0'.
    elseif screen-group1 = '123' OR
    SCREEN-GROUP1 = 'QUO' .
    screen-active = '0'.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ENDCASE.
    when 'B'."Quotation
    CASE SY-TCODE.
    WHEN 'VA21' OR 'VA22'.
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 = '002'.
    SCREEN-INPUT = '0'.
    elseif screen-group1 = '123'.
    screen-active = '0'.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    WHEN 'VA23'.
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 = '001' OR
    SCREEN-GROUP1 = '002' OR
    SCREEN-GROUP1 = 'QUO' .
    SCREEN-INPUT = '0'.
    elseif screen-group1 = '123'.
    screen-active = '0'.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ENDCASE.
    when 'C'."Order
    **Additinal fields for capturing DI Details in Order
    case sy-tcode.
    when 'VA01' OR 'VA02'.
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 <> '123' .
    SCREEN-ACTIVE = '0'.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    when 'VA03'.
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 <> '123' .
    SCREEN-ACTIVE = '0'.
    ELSE.
    SCREEN-INPUT = '0'.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ENDCASE.
    when others.
    loop at screen.
    screen-active = '0'.
    modify screen.
    endloop.
    endcase.
    Regards,
    Laxmi.

Maybe you are looking for

  • After storing pdf in a database table I miss some content

    Hello, we develop an Application with APEX 3.0.1 and create pdf-documents. The database is 10.2.0.3. Report Queries were created in APEX and layouts were created with BI Publisher. There were defined two buttons. The first one is for interactive prin

  • Hi i'm trying to install itunes and it keeps failing.

    when i try ot install itune or Quickplay i get the following error: An error occured during the installation of assemby "Microsof.VC80.CRT, type ="win32", version ="8.0.5072.7.6195", publickeyToken = "1ff8b3b9a1e18e3b", process or architecture = "w86

  • Reinstalling Adobe Apps

    I had some software problems on my Macbook so yesterday the Apple genius' cleared my computer and reset it. In the process though my Adobe apps were deleted as well. I bought Adobe Creative Suite 6 Design & Web Premium Student and Teacher Edition onl

  • Importing file types?

    I am building a CDROM and would like to have varying file types opening within it. Pdf's, powerpoints, word files etc. What is the best way to do this. I know about linking to files that are on the web, but I would like to directly open a file from t

  • Illustrator mac and pc

    Can I start an illustrator project on a mac and continue working on a pc, then go back to mac?