How to conditionally hide/show form item for multiple requests?

Ver 4.1.0
Hi There,
I have a database form where in one of the fields I need to hide /show based on if the user selects a copy row option or create a new row.
To explain in details,
1. I have a report and form application created. When the user edits a record, in that page I have added a copy button also, so when the user hits the copy button, the page is reloaded where the user can create a new record with the save button disable and the create button visible. when the user submits the form using Copy the request is set to "COPY' and in the form, one of the fields has conditional display "REQUEST =Expression1" with value "COPY" This works fine.
2. However, on the reports page, there is a "CREATE" button also, where the user can directly create a new record and the request value is "CREATE"
I wanted to add both COPY and CREATE to the conditional display something like
"REQUEST=Expression1" with value "COPY, CREATE" (without quotes)
however, the item does not display. I guess it only accepts one value since its =.
Any suggestions on how the conditional display for an item can be done based on multiple request types?
Thanks!
Sun
Edited by: ryansun on Oct 18, 2012 3:08 AM

Hi Sun,
Try changing your condition to a PL/SQL Expression and in expression 1 field add something similar to below and see if it works:
  :REQUEST like 'CREATE' or :REQUEST like 'COPY'This is straight off the top of my head and untested.
Hope this helps
Paul

Similar Messages

  • Re:- How to see customer/vendor open items for profit center wise

    any one help me regarding : How to see customer/vendor open items for profit center wise. That is possiable or not please suggest to me. I am using 4.6c version .

    Run the report from Tcode FBL1N for vendor open item and from FBL5N fron Customer open items.
    When you get the report, click on Change Layout icon ( or press Control + F8 from keyboard), search Profit Center fron the Table of Hidden fields on the right hand side. Move that field to the Left hand side table. Click ok, now you should be able to see the Profit Center column in your report.
    You can save this layout by clicking on the Save Layout icon ( or press Control + F12 from keyboard)
    Next time you can choose the saved layout by clicking on the Select Layout icon ( or press Control + F9 from keyboard)
    Regards
    Dharmveer

  • How Can I Create One Entry Sheet For Multiple Line Items of A PO

    Please Tell Me How Can I Create One Entry Sheet For Multiple Line Items of A PO

    hi,
    It is not possible to create single Service Entry sheet for multiple PO line items. It is 1 to 1 relation.
    you have to make different service entry sheets for different item of service master.
    regards
    Manish Joshi

  • HCM Processes and Forms : Using single Form Scenario for Multiple Countries

    Hi ,
    I have a requirement to design a HCM P&F form ( Single Process, Single Form Scenario ) to support multiple countries.  Form fields should be visible/invisible based on the country ( derived from the login Manager).  please help me with the following questions.
    1. Is it right way to enable/disable the fields in the same form scenario for multiple countries ( Approx. 20-25 countries)
    2. Is there any limitation to no. of fields on the form? does the form performs well with multiple dynamic conditions?
    3. If yes, what is the best way to do this? through Java Script / Back end Generic Service?
    Thanks in Advance,
    VR.

    Hi VR,
    1. Is it right way to enable/disable the fields in the same form scenario for multiple countries ( Approx. 20-25 countries)
    -You can use same form scenario or process for multiple countries if you are using fields based on international structure HCMT_BSP_PA_XX_R*. If you intend to use country specific fields then you may like to use different form scenario for different countries.
    2. Is there any limitation to no. of fields on the form? does the form performs well with multiple dynamic conditions?
    - As such there is no limiation for the fields.Yes, form performs well with multiple rule configurations.
    3. If yes, what is the best way to do this? through Java Script / Back end Generic Service?
    I interpret you would like to derive & show fields based on same backend logic, in that case you should generic service.
    If you want to show fields based on manager's logon then you should also use authorization BAdi.
    Regards
    Pooja

  • How to Maintain Payment with one check for Multiple Vendors?

    Dear Gurus,
    i have a scenario for outgoing payment, here it is
    i have some open items for multiple vendors. say it for open item
    1. with amount 5000 USD for vendor A
    2. wiht amount 10000 USD for vendor B
    my company pay both open item 1 & 2 with one check, say the check no is 27382830 and the amount is 15000 USD. The check is given to the Bank as an order to Pay the vendor. so the check does not have receiver name. i attach a formal letter to the bank to ask them for making payment with that check. the letter contains a detail the amount, vendor bank account number, account holder, and the vendor name.
    so how i can threat this business scenario into SAP? i want to trace check number used to pay the vendors.
    hope you can give some clues. is it possible to maintain scenario above with automatic payment?
    best regards,
    land lord

    Hi,
    Yes you can map this scenario in SAP and use F110 for this. But you will also have to use some Z programs..
    1. For F110 FBZP configuration, maintain outgoing bank clearing Account (this will be a dummy account and not the actual Outgoing Bank Account) as the Bank Sub Account.
    By doing this when you run payment in F110, entry will be
    Vendor A A/c...Dr.
    outgoing bank clearing Account Cr.(1)
    Vendor B A/C... Dr.
    outgoing bank clearing Account Cr.(2)
    2.Then you will have to use Post with clearing transaction codes and make one entry
    outgoing bank clearing Account Cr.(1)..Dr.
    outgoing bank clearing Account Cr.(2)..Dr.
    To Bank Outgoing Account(Actual Bank outgoing Account) Cr.
    3. Now, when you get the single cheque no. from Bank against both the vendors, then thru FB02, change the assignment field/Reference field for Che No. updates.
    But do check BRS also for its reconciliation.. If you do it on a daily basis.. then it would not be difficult.
    Hope this helps you..
    Regards,
    SAPFICO

  • Wrong payer value while creating PRO FORMA invoice for multiple delivery

    Hi experts,
    I am trying to create PRO FORMA Invoice for multiple deliveries thru VF01.
    The problem here is the payer value is copied as the value of payer for the first delivery to all invoices. All other fields are picked up properly.
    Please help me to idenify the problem. Also if I create the invoices thru VF04 the invoices the created with correct payer.
    Thanks in advance.

    Hi Ankur,
    Thanx for the input.
    Right now we have customized routine 909 for header level and std. routine 004 for item level.
    Code for routine 909 is
    FORM BEDINGUNG_PRUEFEN_909.
    SY-SUBRC = 0.
    Fakturasperre
    IF LIKP-FAKSK NE SPACE.
    SELECT SINGLE * FROM TVFSP WHERE FAKSP = LIKP-FAKSK
    AND FKART = TVFK-FKART.
    IF SY-SUBRC = 0.
    PERFORM VBFS_HINZUFUEGEN USING '000000' '014' SPACE SPACE SPACE.
    SY-SUBRC = 4.
    EXIT.
    ENDIF.
    SY-SUBRC = 0.
    ENDIF.
    break-point.
    SELECT * FROM VBFA WHERE VBELV = LIKP-VBELN.
    IF VBFA-VBTYP_N = 'U' .
    PERFORM VBFS_HINZUFUEGEN USING '000000' '148' LIKP-VBELN
    SPACE SPACE.
    SY-SUBRC = 4.
    Insert + Unicode/Upgrade Project
    STOP.
    LEAVE SCREEN.
    Insert - Unicode/Upgrade Project
    ENDIF.
    ENDSELECT.
    ENDFORM.
    can u please check n confirm if the wrong value is coming due to this code?
    Thank in advance.

  • How to use the same POWL query for multiple users

    Hello,
    I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
    "Query 'ABC' is already open in another session."
    where 'ABC' is the query name.
    Can you please tell me how to use the same POWL query for multiple users ?
    A fast reply would be highly appreciated.
    Thanks and Regards,
    Sandhya

    Batch processing usually involves using actions you have recorded.  In Action you can insert Path that can be used during processing documents.  Path have some size so you may want to only process document that have the same size.  Look in the Actions Palette fly-out menu for insert path.  It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..

  • I opened a new developer account but shows The item you've requested is not currently available in the U.S. store.

    i opened a new developer account but shows The item you've requested is not currently available in the U.S. store.

    actually my ios developer account has been approved two days ago, and transfer an app from other account. when i try to enter my user account via iTunes then it shows "Item Not Available, The item you've requested is not currently available in the U.S. store." So what should i do??!!

  • How do I set individual sound alerts for multiple email accounts?

    How do I set individual sound alerts for multiple email accounts?

    Here: http://www.guidingtech.com/15275/get-different-notifications-per-mail-account-io s-6/
    Long and short of it, the settings can be individually changed under Notifications. Select Mail and then the account you want to change the sound to.

  • Updation of FOC item for multiple customers at a time

    Freinds,
    I have an issue regarding Free Goods item updation using T code - VBN1.  Normally we are updating an FOC item with the main line item along with quantity(exclusive or inclusive) for a particular period. The same process will repeat for each customer code using the T code.  My question is, whether there is any option to update the same set of FOC item for multiple set of customers at a time, instead of entering one by one for each customers.  Please help me out in this.  Thanks.

    If this is going to be a regular exercise, then you need to consider to add one more combination of Customer / Material based on which, you can create LSMW and make use of it regularly.  This is straight and simple approach to achieve the desired result.  On the other hand, if you dont want to touch your existing configuration, then you have to copy the standard program SAPMV13N, create a BDC, add input parameters as you wish and upload.
    G. Lakshmipathi

  • Hide/Show the items in form

    Hi all,
    I am having one form in oracle apex3.1 and having some form elements like below.
    ================================
    NAme : textbox
    job : radio botton with (freshor,experieced)
    year of experience : tx
    if i select the experienced from job radio , i have to display "year of experience : tx" otherwise no need to display that row.
    =================================
    Please help me . i am trying last one month . Please give me step by step procedure.
    Thanks in advance.
    Regards
    Dhanush.R

    function onchange_jobtype(pValue) {
         var empIdFField      ="P2_REM_EMP_ID";
         var empNameFField     ="P2_REM_EMP_NAME";
         var contNameFField      ="P2_REM_CONTRACT_NAME";
         var empIdlField           ="L_P2_REM_EMP_ID";
         var empNameLField     ="L_P2_REM_EMP_NAME";
         var contNameLField      ="L_P2_REM_CONTRACT_NAME";
         if(pValue=="None") {
              html_HideElement(empIdFField);          
              html_HideElement(empIdLField);
              html_HideElement(empNameFField);          
              html_HideElement(empNameLField);
              html_HideElement(contNameFField );          
              html_HideElement(contNameLField);
         else if(pValue=="Employee") {
              html_ShowElement(empIdFField);          
              html_ShowElement(empIdLField);
              html_ShowElement(empNameFField);          
              html_ShowElement(empNameLField);
              html_HideElement(contNameFField );          
              html_HideElement(contNameLField);
         else if(pValue=="Contract") {
              html_HideElement(empIdFField);          
              html_HideElement(empIdLField);
              html_HideElement(empNameFField);          
              html_HideElement(empNameLField);
              html_ShowElement(contNameFField );          
              html_ShowElement(contNameLField);
    From above JS, I am able to hide/show the Textfields. But i am not able to hide/show the Label . Already I have created the Label and set the addition id.
    Please suggest me , how can i proceed on this ?

  • How to control "hide/show" in a table on row level

    I was trying to implement controlling/rendering of "hide/show" in a table on row level, but no luck. Is is possible to render the "hide/show" in a table based on the row attribute? If the row attribute is "true", then render the "hide/show" at that row; If the row attribute is "false", then not render the "hide/show" for that row. Is this feasible? Thanks.

    I think this should be possible, what u need to do is as follows:
    1) Add a decode statement to your VO query to get 0/1 based on your condition like
    decode('',true,0,1) render_flag
    2) In VO attrinute mappings caste this attribute as boolean instead of number.
    3) Attach this attribute to render flag of hide/show via SPEL.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • HOw to display the show form in News browser insted of render listitem dire

    Hi,
    I have created a xmform .
    I have entred some data using the news authoring .
    when I see the content thru news browser, By default it displays the content which in defined in my xmlform render listitem .
    I want directly to display my xml show form rather then my render listitem.
    how to achieve this ?
    Should I have to do some coding on this ? if so can some one guide me to achive this ?
    thanks
    pkiran

    Hi PKG,
    I think the easiest way to achive this, is to design your RenderListItem form like your ShowForm and restrict the number of items in your collection renderer to "1".
    So a list is rendererd with exactly one item.
    Kind Regards
    --Matthias

  • How to use adifferent Show form to display a document created by XML forms

    Hi,
    I have created some XML documents using an XML form.
    The XML form contains two Show forms, Show & Show2. The default is Show. When I view the XML document via a KM Docs iView the default Show form is used to display the resource.
    If I wish to display the XML document using a KM Docs iView, but using the Show2 (non-default) form how is this done?
    I have created Layout Sets for each of the different ways to display the XML forms, but there is no option to choose Layout Set in the KM Docs iView config.
    Thanks,
      Tom
    Edited by: Tom Parle on Apr 3, 2008 12:45 PM

    Hi Tom,
    Check out the SAP Help site [Linking Your Own List Forms into iViews|http://help.sap.com/saphelp_nw04s/helpdata/en/0e/1affa0f8c47447a164998b60025aea/frameset.htm]
    I think it explains exactly what you are looking for.
    Hope it helps,
    Robert

  • How do I update grouping or description for multiple items?

    As the question implies, I would like to update information in the Grouping and Description fields for multiple items as a way to keep things organized. What I have discovered is that there are some quirks in the new Get Info window that were not in past implementations, which are completely inexplicable and nonsensical to me.
    For instance, when you open the Get Info window for an item that has no information in, for instance, the Grouping field, you will not see a Grouping input field, as in this screenshot. The Grouping field should be where the bottom arrow is. Notice also that the Description field is available. I will get back to that in a minute.
    If you manually double-click into the Grouping field on the main iTunes screen, you can enter the information there. Then, when you open the Get Info window, ta-dah! The field magically reappears, as in the screenshot below.
    The trouble comes when you want to edit this field for multiple tracks. If you select multiple tracks, and they do not all have the Grouping field already populated, the field does not appear. What this means is that you are forced to manually enter the information for every track! This is completely unacceptable when you need to edit information for, as in my case, 122 tracks. The following image shows the Get Info window that appears after selecting two items, one with the Grouping field manually populated, and one with no info in the Grouping field.
    Not only has the Grouping field disappeared, but the Description field, as well. Thanks, Apple, but I think I can decide for myself whether or not to populate these fields for multiple items. Let's get 'em back, huh?
    SO… does anyone know of any valid method for accomplishing this task? Without manually entering the same information in hundreds of fields? This is the future; computers are supposed to do these monotonous tasks for us, aren't they?
    Oh, please don't suggest Option-clicking to open the older, better, Get Info window, as Apple has decided that we should not have that option any longer. We apparently have to organize our music their way. Think different!

    The Add Field button was in the editors of 12.0.1 (where the new-style editors had a very "half-finished" feel)  - it is not there in 12.1.  Apple have determined which metadata fields should be available for each kind of media, with no option for the user to modify this.  In Apple's own words: "Get Info has been completely redesigned in iTunes 12 to focus your attention only on what’s necessary for the selected item."
    The only options are:
    temporarily change the media kind (Options tab) to one that includes the field you want to add values to, enter those values, and then change the media kind back again
    make the relevant fields visible in an appropriate list view and edit values there - the big limitation being that you can only do this one item at a time
    I can see - to a degree - why Apple may have made some limitations so that metadata elements are available based on their relevance to different media kinds.  However, one of the issues mentioned above seems like a bug - if a single audiobook file can have a Description tab, I see no reason at all for that not to be available for multiple items of the same kind.
    If not already done so, report these issues and dissatisfaction with the "new" metadata editors in 12.1 (and the absence of a "back door" for the old-style ones) using Apple's iTunes feedback page.

Maybe you are looking for

  • Why am I not able to donate via text message?

    After I sent a code to donate, I get a message asking what my billing zip code is. I reply with that and get a response saying, "Your wireless account is not eligible to donate. Your donation cannot be processed. You can still donate at redcross.org.

  • How to reset the military usage value in GTS Business partner

    Hello Experts, Does anyone know how to reset the Military usage value='2' to blank on the Business partner within GTS? I tried putting a blank there, clicking on the accept entries button followed by  saving the Business partner. It does not seem to

  • Is my iMac too old to benefit from ML?

    I have an iMac, a 2007 alu model with a 2GHz Core 2 Duo, 4 Gb RAM. I know ML will run via the minimum specs required, but will it run ok? Is this a release that not just adds features but also tightens up/improves the code? I ask as last year I upgra

  • CLOSING AN AIR APPLICATION

    I am writing an air application.  If a user clicks the close button up in the titlebar, I want to be able to create a pop-up that asks if they would like to save their project before exiting.  The problem is that the program just exits without displa

  • Java Date format :2008-09-02-10.55.51.973996

    Hi All, I want to ge the date in the form "2008-09-02-10.55.51.973996" right now Im using the follwing format String DATE_FORMAT1 = "yyyy-MM-dd-HH.MM.SS.Z"; sdf1 = new java.text.SimpleDateFormat(DATE_FORMAT1); String frmtTdydate = sdf1.format(tdysdat