Sourcing cockpit field should be greyed out

Hi,
   In Sourcing Cockpit, the purchase Org and Purchase Group field should be Greyed out in "Find" tab...
How can we achieve this.?? Is there any BAdi availbe???
thanks........

Hi, thank you for your quick reply. but i have new problem regarding this requirement.
I have created logic as shown below:
IF is_header-total_value LE 500000.
    IF iv_fieldname = 'START_BIDDING_BUTTON'.  " Create bidding button name
      cv_invisible = '1'.
    ENDIF.
ELSEIF is_header-total_value GT 500000.
    IF iv_fieldname = 'PROCESS_ORDER_BUTTON'.  " Create purchase order button name
      cv_invisible = '1'.
    ENDIF.
ENDIF.
It seems to work but why can't i find any value in the table is_header nor is_item: (I have already add SC in the work area)

Similar Messages

  • By default one field should be greyed out( not input field)

    hi all,
    My requirement is
    By default one field should be greyed out( not input field)
    when i click on a check box and press enter this field should be open to put input values.
    can some somebody please give me sample code for both PBO and PAI

    Hi Ram
    In flow logic.
    PBO
    module screen_modify.
    IN main program
    module screen_modify.
    loop at screen.
    if p_cb = space.
    if screen-name = <Name of your screen field>.
    screen-input = 0.
    screen-output = 0.
    modify screen.
    endif.
    endif.
    endloop.
    endmodule.
    P_cb is the checkbox.

  • Field GS_SCR_LIMIT-ONLY_INV should be 'greyed' out

    When creating a Shopping Cart the radiobutton Invoice only(Field Name: GS_SCR_LIMIT-ONLY_INV) should be 'greyed' out. Can anybody let me know how can this be achieved by making changes to the HTML template SAPLBBP_SC_UI_ITS 210.

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • Changing the field properties (editabel/greyed out) dynamically?

    Hello
    I am developing an Adobe interactive form. My requirement is dynamically changing the filed properties based on the other field values/selections/inputs.
    1) For example in the form, if user puts value_A in field_1, then, the field_2 should be greyed out.
    2) If user puts value_B in field_3, then, system automatically populate the value_C in field_4 in order to let the user make easy- user friendly
    3) If user puts value_D in field_5, then, only allowed value in field_6 is value_E, if by mistake user puts value_F in field_6, then, system should throw error message
    Pls. let me know how to achive this DYNAMIC functionality in the FORM or do we need to handle from WEbDynPro ABAP side?
    Thank you

    Hi,
    Everything you have mentioned is possible in the form itself. Just write the valid script at valid event of valid field.
    1) For example in the form, if user puts value_A in field_1, then, the field_2 should be greyed out.
    Ans: Write on change event of Field1:
    if($.rawValue eq "value_A")
    then
    Field2.access = "readOnly"
    Field2.fillColor = "192,192,192"
    endif
    2) If user puts value_B in field_3, then, system automatically populate the value_C in field_4 in order to let the user make easy- user friendly
    Ans: Write on change event of Field3:
    if($.rawValue eq "value_B")
    then
    Field4.rawValue =  "value_C"
    endif
    3) If user puts value_D in field_5, then, only allowed value in field_6 is value_E, if by mistake user puts value_F in field_6, then, system should throw error message
    Ans: Write at exit event of Field6:
    if(Field5.rawValue eq "value_D" and $.rawValue ne "value_E")
    then
    xfa.host.messageBox("Wrong Value", "Error", 0)
    endif
    For such type of scripts you can refer to designer help also. So please check there before posting your query that would save your time.
    Regards,
    Vaibhav

  • Sold to Party and Ship to party field are in grey out mode in VA01.

    Hi Friends,
    I am facing a very critical situation, Please help me on this.
    While creating the sales order by VA01, the Sold to Party and Ship to Party field are in grey out, so we cannot enter sold to party and ship to party. This is happening for all Order types.
    And while checking the existing sales order by VA02, so I found that at Header level and Item level the Partner tab are disable
    ( mena partner tab are in grey mode,).
    But when we click on sold to party field in VA02 it directly moves to partner but all Partner shown in Sales tab.
    I have check all the partner function and partner determination configuration.
    So can any one help me out in this, how in VA01 sold to party and ship to party field are in grey out mode.
    How in VA02 the partner tab are disable.?
    Thanks
    Irfan Ullah
    09370236510

    Hai Irfan Ullah,
    In Sales - customer
    1. Partners are listed (SP,BP,PY, SH)for account group and Partner Determination procedure(TA) is assigned to it
    Now for sales order type you need to assign the partner determination process
    SPRO
    Sales and Distribution
    Basic Functions
    Partner Determination
    Set Up Partner Determination
    Execute
    Set Up Partner Determination for Sales Document Header
    Select TA - standard order from the right side list
    and select Partner Determination Procedure Assignment (from left)
    Now assign your sales type to Partner determination TA.
    Create a SALES order you can find the sold to and ship to are editable.
    Regards,
    Mani

  • Partner field in Sales Order should be greyed out

    How can I do the configuration for making a particular partner in Partner Tab of a specific Sales order type greyed out so that it is not open for change

    Follow the following steps:
    1. Go to transaction <b>"VOPA",</b> next select the radio button for sales document header.
    2. Click on<b> Partner procedures [F6]</b>. Select the procedure which is assigned to the sales document.
    3. Click on <b>Procedure details [F2]</b>.
    This would gives you all the partner assigned to this procedure in turn attached to the sales document. One can make configure the partner as "Changeable", Mandatory, etc.
    Regards,
    Gauravjit.
    Reward Points if solution is helpful.

  • Search help - Make a field default without grey-out

    Hi,
    I have a custom-search help, where in the dialog-popup I'd like to default a value without grey-out.
    If I import from memory via parameter ID, then the default value is ok, but it's greyed out.
    If I don't import it, then it's initial, but not greyed out.
    Is it possible?
    Thanks,
    Peter

    Hi Sri & Sanjay,
    Thanks a lot for your help.
    Unfortunately I cannot use the default value, as this should be dynamic based on another field on the screen. I tried if I use default, and it's not greyed-out.
    If I use IMP flagged, or import this value in the user exit from memory, then it's always greyed-out.
    It seems it's not possible unless I create my screen in the pop-up.
    Thanks,
    Peter

  • Fields not greyed out in display mode in screen exit

    Hi all,
    i am working on an screen exit for CJ02 transaction. the values in the customer subscreen are getting updated in database and even it is reflecting in fields when viewed again. the problem is that in display mode (CJ03) the fields are still editable. though there is no save button, but the fields should be greyed out.
    i have tried to modify screen using LOOP AT SCREEN in the function exit provided in PBO.....but it is not picking the subscreen.
    please provide any solution as soon as possible.
    thanks in advance

    In the PBO in your screen exit:
    IF sy-tcode EQ 'CJ03'.
    LOOP AT SCREEN .
    if screen-name 'your field'
    screen-input = 0.
    screen-output = 1.
    MODIFY SCREEN.
    ENDIF.
    endif.
    what enhancement are you using?
    bye

  • Grey out the Time field in date assignment block

    Hi All,
        In my project we need to create a date profile in which i need a date rule to get today date and the time should be greyed out. i tried all day event but not working out for Zdate type.  I tried different date types but Time field is not greyed out ( changing time to 00:00 is possible but client needs time to be empty)
    With regards,
    Selvam T

    Hi Selvam,
    as far I understand you want to define a certain date type as read only. There are several different ways to achieve your requirement:
    date profile customizing: you can set the date as read only
    I did not get your requirement of the time field, you can however play around with the following display customizing:
    use BAdI CRM_APPOINTMENT_BADI to influence the appointment set
    enhance the UI component, using the I-getter you can change a field to read only on UI level
    I hope this helps.
    best regards,
    Johannes

  • Grey out one field

    Hello Experts,
    I need help and its not urjent,
    i am working on dilog programming i have one screen and on that screen one table cotrol is there and when ever the user scan article all description show on another screen , user scan so may articels in one day but some time it happend user over write on same articel so perviuos article has not showing the details it means it is overwritting prob in screen which user do not want ,
    so pls help me how to grey that field when ever user enter articel number s .
    Thanx in advence.
    Edited by: Rob Burbank on Oct 31, 2009 3:28 PM

    Hi,
    You can Grey out like below.
    <li>Define Columns table based on table control
    CONTROLS TABC TYPE TABLEVIEW USING SCREEN 100.
    DATA: COLS LIKE LINE OF TABC-COLS.
    <li>Write the below code in the PBO of the screen to hide certain fields
    "At runtime as TABC is deep structure which has COLS table
    "inside we have to do the following.
    "Write condition when the articel number should be Grey out.
    IF ITAB-ART_NO = 'S'.
      LOOP AT TABC-COLS INTO COLS.
        IF COLS-SCREEN-NAME = 'ITAB-ART_NO'. &quot;Which is to be hidden
          COLS-SCREEN-INPUT = '0'.
          MODIFY TABC-COLS FROM COLS INDEX SY-TABIX.
        ENDIF.
      ENDLOOP.
    ENDIF.
    <li>Write the above LOOP-ENDLOOP in the pbo of the screen flow.
    Thanks
    Venkat.O

  • Scess value field is grey out in MIGO while posting rejection excise invoic

    HI..
    In Return delivery ,i am capturing & posting excise invoice...
    The problem is while we can change the values of BED,AED,ECS but the SCESS field is coming grey out.Therefore i cannot change it.
    How can we remove the grey out so that we can enter manually whatever amount we have credited.
    here the print program is made considering in MIGO we can capture/post excise invoice..
    plz reply fast.
    Thanx & regards,
    Satpal

    When it is return delivery tranaction and if you don't select no excise entry system by default captures all data from original document except quantity field and hence all the fileds will be non modifiable. However it is better to select 'No Excise Entry" at the time of Return Delivery and then go for "create excise invoice for other movements" T Code "J1IS" so that you could enter all the duties correct based on the qty rejected in return delivery.
    Hope it would suits you.
    Cheers

  • From Sourcing Cockpit all PO should go in HELD status

    Hi all,
    When I am specifying the missing data in SC from Sourcing Cockpit, Its creating a PO and has been ordered.
    Now my requirement is when ever a PO is created from Sourcing Cockpit it should go in Held state so that the Purchaser can have a control on it from "process purchase Order".
    I am trying with BBP_DOC_SAVE_BADI but after updating the status of the PO here the follow on document not getting created and the I could get a PO number by the system which does not exist in DB.
    Have anybody achieved this by any process. Do let me know.
    Thanks in Advance,
    Smita

    Hi Smita,
    I proposed a solution to Diego for similar requirement (Send all the PO documents to BBP_POC ?), but never got any answer neither reward !!!!
    Here it is:
    you have 2 solutions to accomplish this:
    - modify standard code of include LBBP_PD_SCF0X used to create PO from SOCO, by changing parameter 'i_save' to gc_no:
    CALL FUNCTION 'BBP_PD_PO_CREATE'
    EXPORTING
    i_header = is_po_header
    i_src_guid = iv_src_guid
    i_src_object_type = iv_src_object_type
    i_testrun = iv_simulate
    i_save = gc_yes
    i_park = gc_yes "try to park if save not possible
    it_attach = it_po_att
    - use BADI Check for BUS2201 to raise an error message if transaction code (SY-TCODE) = BBPSOCO01. So the PO will be parked and will wait for purchaser action.
    I think the last solution is the best and should work.
    Rgds
    Christophe
    PS: please reward points for helpfull answers

  • How to conatant value in F4 & it should be gery out

    Hi.
        I need to create a search help for a field . In  seection  method I have given one table. obviously in F4 it will pull all the data from table which we have mentioned in selection method. but I dont want all the data from it.In my search help I would want to have constant value & it should be grey out. Can you pls let me know how to acheive this. I tried to mention constant value while creating in serach help. still it is pulling all the values. Thanks in advance.
    cheers,
    sami.

    Hi,
    Suppose you need to get F4 help from one table.. you will be handling all the entries in an itab, say tb_values. Once tb_values is filled with the selection entries, append one more entry by yourself by giving your constant.
    For EX:
      SELECT name FROM mcshierb
                  INTO TABLE tb_values
                  WHERE tlevel EQ co_05
                  AND appl EQ co_appl
                  AND hname EQ co_hname.
      tb_values-type = 'ABCD'.
      APPEND tb_values.
      CLEAR tb_values.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = co_retfield
                dynpprog        = co_dynprog
                dynpnr          = sy-dynnr
                dynprofield     = 'SO_TYCL-LOW'
                value_org       = co_s
           TABLES
                value_tab       = tb_values
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
    Now it'll show ABCD also...
    But I didn't get what you mean by graying out? You mean when the constant is selected, the selection field itself should be grayed out?

  • Checkbox needs to be greyed out in ALV List display

    Hi Experts,
    I am using u2018 REUSE_ALV_HIERSEQ_LIST_DISPLAY' and I need to make the  checkboxes greyed out based on certain conditions. For eg --Say if the field 'status' is 51 in my internal table then the checkbox should be editable  in the List display otherwise the checkbox should be greyed out .. Can this be achieved? Or should I use Classes to do it. Please adviceu2026

    Hi Shankar,
    This is possible using CELLSTYLES (lvc_t_styl), which can fulfill the behaviour you require for your scenario.  I would suggest you to go through the below mentioned link posted on SCN which to asked for the same set of requirement.
    Disabling certain rows in editable oo alv ?
    Please validate the same at your end and let know on this.
    BR/Thanks
    Pranav Agrawal

  • REUSE ALV -- To make a row grey out (disable/non-editable) dynamically!!!

    Hello All,
    Well again a quick question...
    Am using REUSE ALV method to display the ALV report. There are few fields which i've made editable while building the field catalog!
    Now by, Dynamically by selecting a row in the list (using the checkbox) and by pressing a button on application tool bar, the selected row should be greyed-out(disabled), that is it should not be anymore editable!
    How is it possible?
    Any kind of inputs regarding this will be damn damn helpful.
    Thanks in advance!
    Cheers, Sundar.

    Hi,
    The above solution 1 will be only applicable if using OO ALV!
    above solution 2 will disable the entire column, and then again i need to call the "REUSE ALV"... which i don't want to.. as it opens another screen above the same screen and i have to close it twice!
    I know it is possible to grey out the selected row using OO ALV... i want to know if it is possible in REUSE ALV???
    Keep shooting please....
    Thanks!
    Regards,
    Sundar

Maybe you are looking for