How to hide a mandatory field in sap standard webdynpro via Enhancement

Hi,
I know to hide a column or UI via enhancement. But if we hide a field via this approach which requires an input we will still get an error message to make an entry.
I am trying to make changes in travel management e.g in FITE_VC_REVIEW webdynpro component. In REVIEW_VIEW in Flight Info table I want to hide columns like arrival time, arrival date. However in current scenario these fields are required to be filled in. If left blank we get an error message while saving or sending request.
Kindly guide me where and how to make changes to remove these column fields.
Regards,
Madhvika

You can remove the UI elements from teh design itself by right clicking on it and slecting remove element.
but still the condition for checking the mandatory field swill be there in the code so for that you need
to write teh code to set some values to those attribute for passing the condition for validation
thanks
sarbjeet singh

Similar Messages

  • How to color the mandatory fields in a Adobe WebDynpro Java form

    Hi Experts,
    How to color the mandatory fields in a Adobe WebDynpro Java form?
    This will avoid any confusion to he end user while filling the form as he would try to type something in field which is set as Read nlybut stil the cursor appears there.
    Regards,
    Shobhit

    Hi Shobhit,
    you can write something like xfa.host.setFocus(<text field name>). to set the focus or
    <text field name>.fillColor = "120,120,123";
    <text field name>.resolveNode"ui.#textEdit").border.edge.fill.color.value="120,150.200";
    to fill the color.
    Refer to adobe dev centger scripting samples to learn more on these.
    Hope these helps.
    Thanks and Regards,
    - anto.

  • How to remove the mandatory field setting in output control

    Hi everybody,
    While printing a Payment Voucher through F-58 and FBZ5(reprint), there are two output devices, the first one is - printer for forms and second is - payment advice printer.
    In our case we have configured the cheque printing and payment voucher printing seperately. The cheque goes to first printer(kept mandatory field) and the payment voucher goes to second printer. One of our plant does not print the cheque from SAP, they only print the payment voucher because the cheque is manually prepared. How do I avoid the cheque printing. Is there any way out to print only the payment voucher through F-58 and FBZ5
    Please guide me how to tackle it or how to remove the mandatory field setting in the output control screen?
    Regards
    Paul

    Hi
    As of my understanding, there is no relation ship between the Sales Organization and this mandatory partner function.
    Here are few suggestions.
    1. Since Partner functions are defualted and made mandatory in the Partner Determination Procedure so you have to remove this Mandatory option for PE from the Partner Determination Procedure that is AG if using standard one.
    2. If you are using a single partner function than , Copy and create a New partner procedure and a new account group . Where in one you can default PE as mandatory and in another one you make a optional where it can be choosen manually while creating the customer.
    Follow the path to check for entries :
    SPRO > sales & distribution > Basic Function > Partner Determination > set up partner determination > select for customer master > select the partner procedure you are using AG as standard > then partner function in procedure > here maintian the check as required like, Mandatory or No check for Non Mandatory .
    Thanks
    RB

  • How to change the lenth of existing field in sap standard table

    Hi all,
    can anybody help,my requirement is, how to change the length of existing field in sap standard table....
    thanks in advance..

    Which field are you thinking of in particular?  Are you wanting to increase or decrease the length?
    Some fields are used so extensively that a change to their length will mean adjusting many tables, some of them potentially very large, and hence taking a long time to adjust.
    Some standard SAP programs expect certain fields to be of specific lengths and won't work if the length is changed.
    Some screens could cease to work.
    If you decrease length, then you could lose data.
    matt

  • How to Hide the Parameter field at run time....

    Hi,
    I have a parameter field which behaves differently depending on the User logged in.
    It has the LOV coming from following SQL.
    SELECT customer_name FROM Cust_mast;
    If the user = 'INTERNAL' then the Where clause will be
    WHERE cust_id in('DELL', 'SBC', 'BANK')
    Else there will be no WHERE clause or the parameter field
    should be hidden in the parameter form.
    So my questions are:
    1) How to hide the Parameter field during Run time?
    OR OR OR
    2) How to change the LOV select statement during Run time?
    Thanks.
    Ram.

    Hi Ram,
    Is there any way to play with the sql query SELECT using DECODE ?I'm not sure of this part, maybe someone else can suggest a way.
    However, what you want can be done in 2 other ways:
    1. Build 2 reports. Both reports will just be duplicates of each other, only difference being that the 'LoV where clause' will be different. Now you can fire the appropriate report in many ways. For example, if the customer is alreay logged inside your custom application, and therefore you already know whether the user is internal of external, you can design your button or link which launches the report to contain logic such that one of the 2 reports is fired depending on who the user is.
    1. Use a JSP parameter form, not a paper parameter form In this case, just build an HTML parameter form in the web source of your report. Use Java logic to populate the LoV drop-down list. When you have to launch the final report, just launch the paper-layout of the report. For example (you will have to modify this):
    <form action="http://machine:port/reports/rwservlet?report=ParamForm.jsp+..." name="First" method="post">
    <select name="selected_customer" onChange="First.submit()" >
    <option value="">Choose a Customer Name
    <rw:foreach id="G_cust_id" src="G_cust_id">
         <rw:getValue id="myCustId" src="CUSTOMER_ID"/>
    <rw:getValue id="myCustName" src="CUSTOMER_NAME"/>
    <option value="<%=myCustId%>"><%=myCustName%>
    </rw:foreach>
    </select>
    </form>
    In the code above, you will have to make sure that your report's data model defines 2 CUSTOMER_ID's (like CUSTOMER_ID_INT and CUSTOMER_ID_EXT). These 2 will be internal and external Cust ID's. Use Java logic to show one of them.
    Navneet.

  • How to Hide Menus and Icons in SAP Login Screen.

    Hi
    Can Any one Guide me on How to Hide Menus and Icons in SAP Screen.
    Example: System Drop Down Menu, Help Drop Down menu Etc and
    ICONS: Trash Button, Truck Button , Print Button
    Using OS Level Regedit or SAP Level using any Parameter.
    Thanks & Regards
    Daniel . K

    AFAIK the system menu can´t be hidden - because people won´t be able to log off (but by using the X in the right upper corner). Additionally it contains additional transactions (own data etc.) that users should be able to change.
    Markus

  • How to hide the Parameter field during Run time?

    Hi,
    How to hide the Parameter field during Run time?
    I have a parameter field which behaves differently depending on the User logged in.
    I am using reports 10G
    For ex: I have 3 field created in JSP
    CUSTOMER
    PROVIDER
    FROM DATE
    END DATE
    If the user = 'SUPER show all the parameter
    CUSTOMER
    PROVIDER
    FROM DATE
    END DATE
    If the user is 'GATEKEEPER" Just show
    PROVIDER
    FROM DATE
    END DATE
    Can I do that?
    Please help
    Thanks.
    KK

    hi, i'm not familiar much with JSP. but i think workaround is to create two window one which have 4 fields and the other which have 3. if user is SUPER then call the first screen otherwise if user is GATEKEEPER then call the second screen.

  • How  to validate the mandatory fields in the view in WDA?

    Dear experts,
                            Iam new to WDA. i just want to know how  to validate the mandatory fields in the view in WDA?please refer any documents for validating the mandatory fields.
    Regards,
    murthy.
    Edited by: Murthy Ganti on Jul 13, 2009 2:31 PM

    Hi,
    Firstly goto view->select the element that you want to make mandatory and set the State property to required.
    Secondly place the below code in the WDDOBEFOREACTION
    DATA: l_view_controller TYPE REF TO if_wd_view_controller.
    * Get view controller
      l_view_controller = wd_this->wd_get_api( ).
    * Check for mandatory attribute
      cl_wd_dynamic_tool=>check_mandatory_attr_on_view(
      EXPORTING view_controller  = l_view_controller
                display_messages = abap_true
    Regards,
    Radhika.

  • How to populate custom fields in SAP standard Basic type DELFOR01(E1EDK09)

    I've a requirement to include and populate 2 custom fields in SAP standard basic type DELFOR01 and Segment E1EDK09 (it is at hierarchy level 1 ) .
    The requirement looks very simple but for this, as per my knowledge, I have to create a new  Basic type with the copy of segment E1EDK09 and attach it to outbound process code and write my own function module to populate the segments.
    It seems ok but the there are some existing codes in the user-exits for the SAP standard function module.These codes will not get triggered.(Or I've copy the user-exits code in my FM)
    Can we do it any other way to handle this kind of situation?
    Thanks in advance for your suggestions and help.

    Hi Phani,
    You have done it correctly. ECC additional data to be moved to EWM, 1. you need to enhance the CIF for master data/ bapi  to populate the data in the custom field in EWM. 2. Make your your are not enhancing only one structure. You need to do it in the CI includes so that the field is available in all the related tables/structures.
    3. The BAPI/FM which updated these tables will take care automatically to update the custom field data if the field is correctly added in all the tables.
    4. If the custom fields are added correctly and still the data is not getting saved , then need to check the mapping of the custom field and bepi extension.
    Let me know if this helps.

  • Include Additional Fields in SAP standard Configurations

    Hi,
    I would like to know how to include some additonal fields in OPUK/OPUJ.  We have defined some .INCLUDE component / fields to SAP standard table PRPS/PROJ.  We want those fields to also appear in OPUK/OPUJ so that we could also defined their characteristics - whether input, mandatory, suppressed, etc.
    Thanks!
    Regards,
    Vivian

    NOT ANSWERED

  • Adding a new field to a standard webdynpro component's layout

    Hi all,
      I need to add a new field to a standard webdynpro component's( in my case the component is ''/SAPSRM/WDC_UI_SC_DOTC_BD')  layout.How do i go about adding a new field to the standard component's lay out?
    can anyone help me with the necessary details?
    Regards,
    Abhinay.

    Check if this is useful to you (Login required)
    https://websmp105.sap-ag.de/~sapidb/011000358700001969972008E.pdf
    Rgds/Kiran

  • Where I can get SAP standard webdynpro application source code

    Dear Experts,
    Where can i get sap standard WebDynpro application source code, because i need to copy that source code and modify that according to my application.
    My scnario.
    Actually i need to develop Carloan WebDynpro application, but its similar ESS-> Travel Expenses->Plan my Travel Expense .. standard WebDynpro application model, so please any one suggest how to copy that source code means where can i get that source code, and when rebuilding time what type of problems facing..
    please anyone suggest
    appreciate if you help regarding this..

    Hai saradha ji,
    thank got i know you are the right person for solve my problame, because i study your blogs, please don't be leave this thred till the my problame solve,
    ok once i find  sca file what i want do steps.. please tell me..
    give me any document step by step.  i don't have FPM. i don't have market place ID, so i unable to download .
    please send related artical this mail id [email protected]
    first i search sca file in my development server once got file.. let you inform.
    sincerely

  • How to make plant mandatory field in Sales order thru standard SAP process

    Hello,
    There is requirement in business that User wants to make plant field Mandatory in Sales order line item once material number is entered. Can you please guide me how I can make Plant field mandatory thru Standard SAP process.
    I had checked it thru Incompletion process & Order type incompletion messages but still Plant field is not becoming mandatory in Sales order. It only gives incompletion log while saving the SO. Please suggest how to do it thru Standard SAP process.
    Thanks & Regards,
    Saurabh

    HI
    Plant will determine based on Customer-material Info Record, Customer Master data & material Master
    If plant is not mandatory in customer Master and Customer material no problem
    but at the time of creating the material master  Plant Mandatory as per my knowledge, so system will pick plant from Material master  that is the case why you required plant Mandatory in Sale order level
    and you need to do Shipping Point Determination for that plant
    Did you check by using User Exit ? if not try once what i have suggested
    Try with User Exit
    MV45AFZZ , FORM USEREXIT_SAVE_DOCUMENT
    VBAP - WERKS = " "
    if VBAP - MATNR , POSNR = not initial
    Error Messgae "E"
    Check and Revert
    Regards,
    Prasanna
    Edited by: prasanna_sap on Feb 14, 2012 11:41 AM

  • Hide and activate fields in SAP Business One

    Hi,
    How do I see the following in SAP Business one 2007 A?
    1 - Where do I see the option of hiding or making a filed mandatory, optional etc.? Can i hide some fields in A/P invoice entry? How do I do that?
    2 - How do I create a field or a column which will populate necessary details. For example..How do I create a column named amount in the A/P invoice so that it shows the corresponding amout of the invoice near the column named Invoice number?
    3 - How to access a particular column from a table structure? Do I need to write an SQL query for this?
    4 - How to pull up a field from a table and make is visible for the users? Do I need to be an ABAP expert for this?
    5 - What are stored procedures?
    Please let me know!! Thanks

    3 - How to access a particular column from a table structure? Do I need to write an SQL query for this?
    Try the link below:
    how do make link between query and UDF
    Yes, you write the query by going to Tools->Query Generator.
    You need to know the FMS number for the varialbe AMOUNT you created.
    You can know that by turning on debug info View->Ssystem Info, and then placing your cursor on AMOUNT. At the bottom left know its FMS variable number. There are multiple ways of dealing with.
    Use the above variable in the Query Generator with a $ sign. Save the query. General (some name)
    Then attach the above query to AMOUNT ShiftF2 and click to dril down to saved query and attach it. Choose the type refreshment.
    I am missing out on some small details, but you have to try it you will get there.

  • How to add a Custom field in the Standard SAP Sales Order main screen

    Dear Experts,
    We have a requirement of adding a Custom field in the Sales Order screen. I know how to add the Customer field in the Additional data B tab of the Sales Order Header Screen as that is the screen user exit provided by SAP. Can someone tell me how to add the Custom field in the Sales Order main screen. Program Name - SAPMV45A and Screen Number - 4001. What is all I need to take care.
    Thanks,
    SNK.

    I have not added the Custom filed in the main screen and added in the Additional data B screen. So closing the message.

Maybe you are looking for

  • Username and pwd for FileAdapter with NFS as transport protocol

    Hi, we installed PI 7.1 in windows env. to access a particular target location manually from the PI windows server, the procedure is: in the Start->Run or in the explorer bar we type the ip as " 121.1.2.3\SourceFolder", then the windows asks for the

  • Sent multiple page Word document containing photos

    I had a 22-page Word document containing a table with small photos of dvds on my old Dell Inspiron laptop.  I forwarded this Word document to my Apple iMac Desktop as an attachment.  When I opened document it only shows page 1 and not the remaining p

  • Oracle 10g in Production

    Hi I wanted to install oracle 10g for production server. But when i going to download oracle there is 3 different downloads are exists. * Enterprise Edition * Standard Edition * Standard Edition One Which one is most suitable for production ? buying

  • What's new in Designer XI 3.0 / XI 3.1?

    Hi, Does anyone have a list of new features for Designer XI 3.0/ XI 3.1 please? Thanks in advance? Regards, Cindy.

  • Insert workflow for a particular Business requirement

    Hi, We have a requirement wherein we do not have SSHR and people are assigned to enter the absences of the employees. But still we need an approval from manager. As per my understanding, we will have to create a new workflow and the same should be ca