Query regarding screen designing

Hi Experts,
   I am designing a page using  sap  webdynpro  java in which page header should contain 5 buttons as follows.
Home  Porders  Corders   Inventory    GReciepts
By clicking GReciepts i should get  4 buttons As follows.
OFSummery   GReciept   GRDetailList    CBSummery.
in OFSummery I have to design a FORM.
which property is required from rootuielement container to reech my requirement.Please help me in this regard.
thank's@Regard's,
Prashanth

For this,
1. First, in the context create an attribute of type Visibility.
Steps for this:
Create a context attribue
In properties of the attribute you see the property 'type'.
To the far right of this is a button with three dots, click it, a window pops up.
Select 'Dictionary Simple Type'.
Expand 'com.sap.ide.webdynpro.uielementdefinitions'.
Select 'Visibility'
Click 'OK'
2. Bind this attribute to the Visible property of the container.
3. On the 'Onclick' action of the header row button, set the visibility value of the container to Visible.
wdContext.current<node>Element().set<Visibilityattribut>(WDVisibility.VISIBLE);
4.in the onInit(), write:
wdContext.current<node>Element().set<Visibilityattribut>(WDVisibility.NONE);
Thanks and Regards,
Shyam.

Similar Messages

  • Query regarding screen capture in webdynpro

    Hi
    i needed to use the java.awt.Robot class to perform a screen capture. This is basically used to capture signature which is done on a applet. But hwile i am using it gives me java.awt.headless exception which basically means that i cannot use display devices or certain other features. is there any way get past this.
    Is there any way i can do a screen capture using webdynpro.
    I have few more doubts regarding a application that i need to make. If i am not able to get a solution for this problem i would explain the scenario and probably someone could help me with solution for the same
    thanks
    regards
    Srikumar V

    The problem is that the iframe control is not really supported and should not be used anymore i think.
    But anyways: Since there is actually no out of the box solution, the steps you would hav to go are as follows:
    1. Get Access to the image data (client side)
    I suppose the paint method of one of the AWT/Swing components is overwritten to draw the signature with a pointig device (eg mouse/touch screen)
    in the method public void paint(Graphics g) you have access to the component's Graphics object.
    When the user presses a button in that applet you need to get the latest graphics object of the component and get the bitmap data out of it.
    This is basically the same as using the java robot screenshot, just more elegant.
    But it is important of course, that the navigation to the new view is somehow triggered by the applet so that it can send the request to the servlet before the applet is destroyed.
    2. Send the data to the Server
    I think the best would be to write a servlet to accept the bitmap data from the applet and store it to a database. When the File is uploaded you have to navigate to the next view (using portal navigation or javascript to reload the parent frame)
    Then you need to query that database from Webdynpro to get the file.
    3. Now you would have to use a library like iText to create a PDF file with your image in it.
    This is all not really easy and I can only describe some rough ideas. I cannot think of an easier way to do it right now since client side coding is not supported by webdynpro.

  • Query regarding screen exits

    Hi ppl,
    I am looking for a screen exit for tcode MSC3n.
    Using SMOD, I found the following enhancements:
    BATCHCHK
    MBCFC010
    SAPLCHVW
    SAPLMHD1
    SAPLV01D
    SAPLV01P
    SAPLV01Z
    SAPLV1ZE
    SAPLV1ZN
    But, all these have function exits. There was no screen exit specifically mentioned in any of these enhancements.
    Does it mean that there is no screen exit or will these function exits be useful?
    Please help.
    Regards,
    David.

    Hi,
    My requirement is to remove 2 fields from a subscreen of the tcode MSC3n and replace with 2 custom fields which I have appended in the standard database table. All the fields are from the same database table.
    Thanks,
    David.
    Edited by: David D on Aug 28, 2009 6:59 AM

  • 0ADHOC error while executing the query from Report Designer

    Hi All,
    When I am executing The Query from Report Designer,  am getting the below error.
    Please help me in this regard.
    The initial exception that caused the request to fail was:
    The Web template "0ADHOC" does not exist in the master system
    com.sap.ip.bi.base.exception.BIBaseRuntimeException: The Web template "0ADHOC" does not exist in the master system
    at com.sap.ip.bi.webapplications.runtime.service.template.impl.TemplateService.getTemplateContent(TemplateService.java:57)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.service.template.PortalTemplateAccessService.getTemplateContent(PortalTemplateAccessService.java:82)
    at com.sap.ip.bi.webapplications.runtime.preprocessor.Preprocessor.parseTemplate(Preprocessor.java:163)
    at com.sap.ip.bi.webapplications.runtime.xml.XmlTemplateAssembler.doInit(XmlTemplateAssembler.java:79)
    at com.sap.ip.bi.webapplications.runtime.template.TemplateAssembler.init(TemplateAssembler.java:133)
    Thanks,
    KVR

    Hi,
    The web template 0ADHOC is usually the standard web template for 3.x queries. The Report Designer executes the reports in java web, thus tries to find the template 0ADHOC in the 7.0 templates and does not find it. Check whether you have maintained the standard web template 0ADHOC for 7.0 reports also:
    Transaktion SPRO -> SAP Reference Image -> SAP NetWeaver -> Business Intelligence -> Settings for Reporting and Analysis -> Bex Web -> Set Standard Web Templates
    Best regards,
    Janine

  • How to run the query in  screen painter

    i am using the patch 36 in business one so pls give information  about 
       how to run the query in  screen painter 
    regard
      sandip adhav

    Hope u have reached Screen painter interface,
    1. Click 'Add Grid' from tool bar.
    2. Go to 'Collections' tab in 'Properties' window.
    3. Choose 'Data Tables' from the Drop down list.
    4. Click 'New' found at the bottom of the Properties Window(same window)
    5. U'll find the place to insert ur query.
    6. U can rename the table name from 'DT_0'
    7. Choose type as 'Query'
    8. Clear content from box 'Query'
    9. Enter ur query there. Dont forget to Click 'SET'
    10. Go to Preview option from tool bar.
    now ur query will be displayed as table format.
    Note: First try with simple query b4 going for linking option.
    Regards,
    Dhana.

  • Visual studio lightswitch takes very long time (hangs for 20 sec) when changing entities properties in screen design

    hi, I have lightswitch project that is growing up every day. Now it has 200 database table and about 450 default screens. When I first started the lightswitch project with few tables
    (about 50 tables), it responses very fast. Gradually when I created the screens, the response takes 10 seconds for any changes I made in the screens or on the tables (*.lsml). Now, it takes 20 seconds (-+2 sec) to be able to do the next change!. For example,
    changing the group name, entity input type, width, table summary property ,arrange fields in the groups, change display name (which I change the most),,etc. Just imaging that I can change 3 things on a minute! I am using lightswitch with VB coding , but no
    programing codes (yet), I uses only HTML screens, no extensions, connected with SQL express 2012 (but I think that has nothing to do with the slowness since the problem is on the screens design time), I have created the project from scratch three times, with
    visual studio 2013 ultimate update 3, update 4, and now with Update 5 CTP 1 !! Yet, the same result. Strange that the freezing time is always about 20 seconds!! Any idea why this is happening? Any resolution?! Regards, Hasan

    Hi Michael 
    again i appreciate your answer ... 
    i was trying to implement your suggested workaround of my problem, unfortunately, it won't work with me !  i cannot split the
    project to smaller modules because of:
    all screens are connected to each other's with buttons and clicks (view selected) 
    i have changed all the "display names" of tables fields (translation). i would have problem in translation whenever i
    need to add tables or fields in the database, then i need to repeat that for all modules. i know that i can use other translation method, but i have already translated thousands of words !
    i have spent 2 months in 2013 to learn MVC, but i did not like it. it is somehow complex for me. i am a volunteer developer (actually i
    am network designer ). 
    i may lose the authentication , as i need to log-in to each module separately.
    is there any root solution to this problem ; the VS Lightswitch (or IDE) slowness when there
    is a lot of screens? maybe in VS2015?
    i had great hopes for the lightswitch, and still it is the only IDE that i can use for the "Charity
    ERP" project.
    regards,
    Hasan

  • Check box in SAP Query selection screen

    I want to keep 2 check box in SAP Query selection screen.
    could you please tell me any one.
    regards,
    kumar

    Hi Vijay,
    If these check boxes are the fields in the table you are using then you can do it in SQ01, otherwise you may required to make the changes in the standard code generated for that query.
    You can find the name of the generated program of the query when you execute the query.
    Reward points if useful.
    Regards,
    Atish

  • Query regarding the fields details in particular form for all the users in

    Dear All,
                  I have one query regarding the fields details in particular form for all the users in company.
    Let take an exapmle if i had created Purchase Order having fields in content tab as 1.Item No. 2.Quantity 3.Unit Proce   4.Total   5. Location.
    While Login in User manager i set these fields only for Purchase order , but when i login from other user and open the similar purchase order the defaults fields are also seen including  above 4 fieds .
    Now my question is how to set the User choice fiels for the particular form that are common to all users.
    Means whenever i login in any user and opens the same document the same fields should be seen....Thanksssss.........

    You have to login with each and every user and do the Form Settings of every forms, so that all the forms look same for all the users.
    This is a manual job and you have do do it with every user login.
    Alternately, you can try out this link that explains
    [How to Copy One Screen Layout to Another User|http://www.sbonotes.com/2008/03/how-to-copy-one-screen-layout-to.html]

  • Query Variable Screen

    Good day,
    Is it possible to remove or protect the "Check" option on a standard Web Query variable screen.
    Thanks

    Hi.
    As I know it is impossible.
    Regards.

  • BEx query selection screen takes long time to popup

    Hi,
    I have a query which is taking long time to popup the selection screen. I have tried in RSRT the generate report option, the generating report takes 45 to 60 mins. After the report is generated the query selection screen comes up in couple of seconds. The first time I run the query everything its fine but then for the second time the problem comes back again.
    The selection screen takes +/- 40 mins to comes up in RSRT and in the portal it times out.
    I have run the statistics of the query and according to the statistics report the query takes a  lot of time for the following component :
    OLAP: Query Gen.     2681,312682
    I have removed the query from the cache monitor and after that regenerate the report. But these steps didnu2019t solve my problem.
    I made two test queries, in one query I have made the CKFu2019s and RKFu2019s directly at the infoprovider, and dragged and dropped in the KF structure. In the other query I made the CKFu2019s and RKFu2019s in the query KF structure itself. The query where I have the CKFu2019s and RKFu2019s at the infoprovider that query times out, the other query where I put the CKFu2019s and RKFu2019s in the query KF structure doesn't has this performance problem.
    What I donu2019t know is why the query is failing when I use RKFu2019s and CKFu2019s from the infoprovider, the other query donu2019t have this problem.
    Please advise how to proceed.
    Thanks in advance,
    Arash

    Hi,
    Please check the following notes which should be useful.
    1387593 - Performance optimization for query change/generation
    1416737 - Performance optimization for query change/generation(2)
    1396485 - Performance optimization for query check/save
    Then please execute the SE38 report ANALYZE_RSZ_TABLES (see notes
    1472915, 1506560) and repair/correct the different tables to optmize
    the query definition tables.
    Regards,
    Amit

  • Create a collection in the beforeshown by query sort by designer does not sort

    In the beforeshown function of a screen, I create a collection. This collection will be displayed in my target screen. I have added in the designer a Sort order by the displayed screen does not conform to this sort.
    Where is my error? The creation of the collection in the beforeshown function makes the query sort order execute before the collection is really created? Or the collection is not really database saved because it has been created in the beforeshown function?
    In the case I must do the sort in the Created function of the target screen with something like
    screen.StrengthCollection.setOrderBy()
    But I do not know how to give the right parameter to setOrderBy...
    Yves Pflieger

    Hi,
    You can try
    To Bind a Query Parameter to a Field
    1.Create a query that accepts a parameter (for example: the ID of a customer). For more information, see How to: Design a Query by Using the Query Designer.
    2.Add the query to the Screen Content Tree. For more information, see How to: Design a Silverlight Screen by Using the Screen Designer.
    3.Add a local field to the screen. For more information, see How to: Add a Local Property to a Silverlight Screen.
    4.In the Screen Members List of the Screen Designer, select the parameter of the query.
    5.On the View menu, click Properties Window.
    6.Select the Parameter Value text box.
    7.Select or type the name of the local field.
    You can refer to article below:
    https://msdn.microsoft.com/en-us/library/ff851987.aspx

  • F4 search-help in infoset query selection-screen fields

    Hi all,
    I created an infoset, and it's corresponding query, and now I need to associate F4 search-help in two of the selection-screen fields. Since they don't have any reference field associated (they are SAP standard table fields), there are no possible values available to select.
    How can I do this?
    I have already tried to use the "AT SELECTION-SCREEN OUTPUT" in the infoset, but I'm not able to do that. When I try to use the select-options generated by the query (SP$00013 and SP$00014) I have a syntax error with "Field not known".
    Can you help me? I never done this before, so I really don't have a guess.
    Thanks in advance.
    Beste regards,
    Sónia Gonçalves

    Hi all,
    I have found thread  that helped me a lot in this issue.
    I just have one more doubt: I created the selection criterion and I can already see it in the query selection-screen, but it's appearing in the top of the selection-screen, in a different area called "General data selections".
    Isn't it possible to include it in the "Report-specific selctions"?
    Thanks in advance.
    Best regards,
    Sónia Gonçalves

  • Query Selection screen field validatoin

    I am testing a query using the RSRT2 transaction and have a query selection screen whose fields i want to create custom validations for. ( which should trigger when check or execute is pressed )
    How can this be achieved ?
    I tried looking for exits but did not find a relevant one.
    Thanks in advance.

    Hello,
    You need to write a routine in SMOD for selection screen validations.
    It will come in i_step = 3. please refer foll code as example:
    The code example is to check whether date is less than or equal to current date. If user enters future date it pop ups saying enter date less than or equal to current date.
    DATA:  LI_VAR like rrrangeexit,
           wa_t_var_range like LI_VAR,
           count type i value 0.
    IF i_s_rkb1d-infocube EQ 'CUBE1' or
       i_s_rkb1d-infocube EQ 'CUBE2'.
    Check whether only one of date variable is entered in variable screen.
    IF I_STEP = 3.
        Read table i_t_var_range into wa_t_var_range with key vnam = 'VARDATE'.
          if wa_t_var_range-low > sy-datum.
            CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
              EXPORTING
                I_CLASS  = 'RSBBS'
                I_TYPE   = 'E'
                I_NUMBER = '000'
                I_MSGV1  = 'Enter date less than or equal to current date'.
            raise again.
          endif.
    ENDIF.
    ENDIF.
    Regards,
    Shashank

  • Query Selection Screen restriction

    Hello All,
    In my query selection screen, i have date, month and week as selection parameters. Now my requirement is that user should select only one of them. If he selects more than one ie combination of two or all three, than query should not show any data.
    Can this be achieved? If yes how.
    Regds,
    Shashank

    Hi,
    You can try out, customer exit with I_STEP = 3.
    using which a exception will be raised if user enters value for more than one variable.
    Hope it helps......
    Regards,
    Umesh.

  • Query Selection Screen does not appear in Web Analyzer

    Hi Experts,
    Query Selection Screen appears when we open the query in Bex Analayzer in production system. But when we open the query in ABAP or JAVA Web view, the selection screen does not appears.
    As the volume of data in the cube is very high, and since the selection screen is not appearing, the query extracts 1.5Mrecords and results in dump.
    Kindly let me know the possibility for selection screen not appearing.
    Note: The selection screen appear in Development system in Bex Analyzer, ABAP View and Java View
    Regards
    Suresh Kumar

    Dear Suresh,
    You can check if the parameter &VARIABLE_SCREEN=X is added to standard template or not, If not add this,
    In order to add this parameter in the webtemplate you have to change 0ANALYSIS_PATTERN and save it as ZANALYSIS_PATTERN and enter this standard web template under TCODE RSCUSTV27.
    Also I would like to explain you the behavior of Web Analyzer,
    Parameter VARIABLE_SCREEN=X only influences the WEB application at startup. This will not come into affect
    when you use the 'New Analysis' button. The 'New Analysis' button resets the dataprovider so this would not
    affect the variable screen and would not redisplay the variable screen as you require.
    Regards,
    Arvind

Maybe you are looking for