Strategy for implementing drpdownlistbykey in header / detail relationship

Quite often I have header details relationships that I want to display.  The volumes of data are typically small, so rather than make multiple trips to the database I choose to load all the data into context during the init routine.  Implementing an efficient way to dispay this data and keep the header details relationship syncronized on the screen is where I am looking for suggestions.
A good example would be selecting a user from a list and displaying details of that user in a series of text views.
Currently to implement this, I load all the user detail into separate elements within a node. Simultaniously I load a value set with key information which is then used by a drop down list.   A series of text views are bound to attributes in the context outside the detail node.  These attributes contain the currently selected user detail information.  When a user is selected from the drop down list, the select event fires, and a search is performed of all the detail node elements for that key.  Once found, the user detail information is copied from the appropriate element to the corresponding 'current value' attributes.
This process seems a bit cumbersome to me.  I am wondering if there are more efficient ways to manage this routine scenario.  Possibly there is a way of binding the text views directly to the attributes in the detail node and switching the element that is currently displayed?  I am just not aware of any way to do that.
Any suggestions would be greatly appreciated
-Sheldon

Say you have a context node "Users", cardinality 0:N, with attributes like "Name" etc.
Use a DropDown<b>ByIndex</b> element, bind property "texts" to attribute "Name". Assign an empty action to the "onSelect" event.
Create a form for the details, bind the contained InputField, TextView, whatever to the attributes inside node "Users".
Then you can select a user from the dropdown list (which displays the user names) and the detail form automatically displays the data of the (lead-)selected context element.
Armin

Similar Messages

  • Post-query trigger order for data blocks in master detail relationship

    Using Forms [32 Bit] Version 10.1.2.2.0 (Production) Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production.
    I have the following problem with a form I am working on. It has a master data block with multiple detail data blocks. I am trying to create a post-query trigger on one of these detail blocks that will do a select using the value of a field from another of the detail blocks.
    The problem is that the post-query trigger of the data block I am trying to do the select with is firing before the post-query trigger of the block I need the value from is firing. I tested by just putting in a display message and having it return the value of the id I am tryign to use. Right after I do a query on the form, I get the messages saying:
    "Error: cannot find price for id:" and there is no id, and then the message from the other datablocks post-query saying, "id is: 123"
    Is there a way to change the order that the datablocks are queried? Or should I be using a different trigger to do this?

    Do you mean as it is displayed in the object navigator? It's not the first block under the data block section, but it is above the other block that is exceuting before it, so I assumed the order in that did not matter.
    EDIT: Thanks Magoo! That solved the issue.
    Edited by: a small rabbit on Sep 4, 2009 11:28 AM

  • Best strategy for implementing a wizard?

    Hi all,
    I'm currently writing a wizard in java based on the wizard model provided from the sun developer network. The panel structure in the wizard is non linear. I want the content of later panels to be dependent on input from earlier panels. Specifically, I want a directory entered by the user in the first panel to provide a path to a File object in the third panel. You see, currently all the panels are instantiated along with the wizard class. I was wondering whats the best approach to doing this:
    - Creating a new wizard that takes input data from the earlier wizard.
    - Instantiate the third panel after data has been entered.
    - Write some kind of function that will update the third panel after next has been clicked in the first panel.
    If anyone has any suggestions, I'd love to hear them.
    Thanks.

    The first step to writing a GUI is to choose its architecture, like MVC or MVP: [http://martinfowler.com/eaaDev/uiArchs.html]

  • How to get the Change Document Header details for a given date

    Hi All,
    Can anyone help me on this Change Document Header details(CDHDR).
    Better way to pull the information of Change Document Header details(CDHDR). No Index is maintained for the tables.
    So please suggest better Optimising techniques to get the Change Document Header details(CDHDR).
    Using this Function module : CHANGEDOCUMENT_READ_HEADERS how to import the DATE_OF_CHANGE.
    Thanks in advance
    Regards
    Chakri

    HI,
    Go through the documenattion of the FM u can get the details.. and also where used list
    Regards,
    Nagaraj

  • Table name for the AMOUNT field in header details of costomer invoice

    hi experts,
                    I need the table name for the field AMOUNT(wrbtr) which is in header details in fb70 tcode .I have checked many tables like bseg bsid,  there its showing the amount but at item level.

    Hi,
    the table behind structure INVFO is RBKP (Header level).
    For item level you have table RSEG.
    These tables refer to MM.
    Once the MM documents are completed and you post the corresponding invoice RBKP data goes to BKPF and RSEG data goes to  BSEG data.
    The relattion between MM(RBKP/RSEG) and FI(BKPF/BSEG) documents is in field BKPF-AWKEY. This field usually contains (RBKP-BELNRRBKP-GJAHR that is MM documentMM year).
    e.g. (BKPF-AWKEY = 51056024412009)
    Best regards.

  • How to define a schema for fixed length consisting of multiple records of different types having header detail and footer at positions 22 and 23 namely having 10 for header 20 for detail and 30 for footer

    how to define a schema for fixed length consisting of multiple records of different types having header detail and footer at positions 22 and 23 namely having 10 for header ,20 for detail and 30 for footer.
    here is the sample file
    DDWTYBILL13092502572 1000000112\\NHLSFS\ORACLE\ORACLE\BILLING\VERIFY\            2013/09/25 01:19:08 BILLEND     
    DDWTYBILL13092502572 2000000212PRIVATE             PRIVATE             STY5572142     010700         INV                              12STYD000789                  02-AUG-20130000010472      STY       STY       1100611006MGIT                91  NNM    DIMPHANA,CN,CELESTE NERINA                                                                                                        09-JAN-1964                              TYG       A2        DR DU PREEZ                                                                                         5602181             63301345       TB731543                                           Suspect TB ?CA, (L) EMPIEEM                                           Ward A2                                           TYGERBERG HOSPITAL                                                                                  Z03.0                                                       Z03.9                                                          05-AUG-201305-AUG-201324-SEP-2013FEND    113.60
    DDWTYBILL13092502572 2000000312PRIVATE             PRIVATE             STY5572149     010700         INV                              12STYD000789                  02-AUG-20130000010472      STY       STY       1100611006MGIT                91  NNM    DIMPHANA,CN,CELESTE NERINA                                                                                                        09-JAN-1964                              TYG       A2        DR DU PREEZ                                                                                         5602181             63301345       TB731548                                           Empyema BPF                                                           Ward A2                                           TYGERBERG HOSPITAL                                                                                  Z03.9                                                       Z03.9                                                          05-AUG-201305-AUG-201324-SEP-2013FEND    113.60
    DDWTYBILL13092502572 2000000412PRIVATE             PRIVATE             STY5572351     010700         INV                              12STYD000789                  02-AUG-20130000010472      STY       STY       1100611006MGIT                91  NNM    DIMPHANA,CN,CELESTE NERINA                                                                                                        09-JAN-1964                              TYG       A2        DR DU PREEZ                                                                                         5602181             63301345       TB731584                                           Suspect TB ?EMPIEEM, ?CA                                              Ward A2                                           TYGERBERG HOSPITAL                                                                                  Z03.0                                                       Z03.9                                                          05-AUG-201305-AUG-201324-SEP-2013FEND    113.60
    DDWTYBILL13092502572 2000000512PRIVATE             PRIVATE             STY5572352     010700         INV                              12STYD000789                  02-AUG-20130000010472      STY       STY       1100611006MGIT                91  NNM    DIMPHANA,CN,CELESTE NERINA                                                                                                        09-JAN-1964                              TYG       A2        DR DU PREEZ                                                                                         5602181             63301345       TB731585                                           Suspect TB ?EMPIEEM, ?CA                                              Ward A2                                           TYGERBERG HOSPITAL                                                                                  Z03.0                                                       Z03.9                                                          05-AUG-201305-AUG-201324-SEP-2013FEND    113.60
    DDWTYBILL13092502572 2000000612MAJOR               MAJOR               STY5577530     010700         INV                              12ZTYG000009                  02-AUG-20130000010472      STY       STY       1100611006MGIT                91  NNS    ZOZI,S,SIYAMBONGA                                                                                                                 27-MAR-2010                              TYG       D3        DR MAHOMED                                                                                          5602181             113799662      TB731663                                           Lymphadenitis                                                         Ward D3                                           TYGERBERG HOSPITAL                                                                                  I88.9                                                       Z03.9                                                       H1 07-AUG-201307-AUG-201324-SEP-2013MEND     58.52
    DDWTYBILL13092502572 2000000712MAJOR               MAJOR               STY5577537     010700         INV                              12ZTYG000009                  06-AUG-20130000010472      STY       STY       1100611006MGIT                91  NNS    DLAMINI,N,NTLANTLA                                                                                                                09-OCT-1976                              TYG       F1        DR WZESE                                                                                            5602181             135524676      TB731666                                           Suspect TB                                                            Ward F1                                           TYGERBERG HOSPITAL                                                                                  Z03.0                                                       Z03.9                                                       H1 07-AUG-201314-AUG-201324-SEP-2013MEND     58.52
    DDWTYBILL13092502572 30003034120000003032END

    You can create an nXSD using Native Format Builder and use lookAhead attribute to read values at specific position and use that as the choice. You can find an example here
    http://docs.oracle.com/cd/E11036_01/integrate.1013/b28994/nfb.htm#BGBBAJFD

  • Implementation strategy for non sap sources

    hai friends,
                could anyone help with the
    'implementation strategy for non sap sources'.

    Hi,
    Its the same as with R3 sources.Only difference is you'll have different underlying interfaces. Non SAP systems can either be flat files, ETL systems or legacy systems using ETL connection, Oracle or Java systems XML, etc.
    But your stategy would remain the same only per your non sap source system, the transactions and the ways you configure your datasources would differ.
    Cheers,
    Kedar

  • JAR creation failed. See details for additional information.-invalid header

    Hi
    I am working with 2 databases , 1 is oracle and the other is sybase in my java application.
    The java application gets data from both the databases and creates 3 output files and 1 audit log file .
    Now i tried creating the jar file
    my manifest file looks like this :
    Manifest-Version: 1.0
    Sealed: true
    Main-Class: tableA
    Class-Path:jtds-1.2.jar;classes12.jar ----------------------------> is this correct .
    Now when i try to create the jar file it gives me an err
    JAR creation failed. See details for additional information.-
    invalid header field
    invalid header field
    ANyone pls help me ... I am creating the jar file like rhis
    export -> selecting JAR file -> selecting 1 and 3 rd checkboxes ->location of the jar file -> next->selecting 2 checkboxes in JAR PACKAGING OPTIONS -> ( my question is how to create the manifest file with class-path , their is no option ) so i am creating the manifest file and creating the jar file and then adding the class-path to the manifest file and removing the jar file and recreating the jar file now selecting the manifest file .
    is this giving the above error --> if so how to create the manifest file before creating the jar file with class-path and main class

    Double post: [http://forums.sun.com/thread.jspa?threadID=5358017&messageID=10559776#10559776]

  • Screen variants for Header details info

    Hello Experts,
    I have a requirement to use Screen variants for the header related details to default values in FB50 and use Account assignment template for line item related details.
    We can create the screen variants in FB50 by right click on "screen variants for item" folder and select Create Screen variants in Screen variants. Even if i follow the alternate path to create screen variants in SHD0, and add it in the Tree of FB50, i still am not able to get the header details after choosing the created screen variant.
    Can someone help me to achieve defaulting the header information in FB50 using screen variant and tell me how can we use account assignment template after defaulting the header data?
    Thanks,
    Sindhu
    Edited by: SindhuSSwamy on Dec 22, 2009 2:55 AM

    Hi Bill,
    Yes, There are ways to disable these links. Since, You are in SRM40 (Think There is SRM40/EBP(SRM Server 50)only), you should be able to use BADU BBP_SC_MODIFY_UI to hide them which is simple.
    Regarding Ship-to/Performance Location, Use Doc Change BADI to read storage location address and pass it onto Ship-to/Performance Location. We have done many times in the past.
    SAP standard screen variants for the Shopping view is very limited. But, you can develop you own screen variants in SHDO and use Screen Variant BADI to trigger your customs.  We had used this and is pretty good. No hassle of HTML changes / maintaining them every upgrade. 
    Thanks,
    Jay

  • Header Details to be Printed only for the line item details.

    Hi All,
    I have the following requirement.
    I have Page1 with the Logo, Header Window, Vendor Window, Send Invoice To, Delivere Invoice To and Main Window. Main Window Starts from the middle of the page. In the Page2 i have Logo, Header window and Main Window. In the Page3 i have only Main Window.
    In the Footer of the Main Window i have Placed the Terms and conditions which should always be Printed in the New Page. So in the footer i have given a command "Go to New Page " and given the page as Page3.
    The requirement is Logo,and Header Window should appear only for the Line items and not for the Terms and conditions.
    For the Page1 i have given the Next Page as Page2. Suppose if there is only one line item then it Prints in the first Page itslef and the control flows to the Page2 and since in the page2 i have given the condition for the Logo and header window to print only if line item is more than 1 and since Main Window is starting from the middle there is a blank Space appearing in the start of the page.
    The command i have given in the footer to trigger new page that is page3 is not getting triggered. If there are more than one line item then its printing the logo and header window and so there is no blank space appearing and it is working fine.
    Please let me know how to avoid this blank space and move my main window to the start of the Page if there is only one line item.
    Thank you.

    Dear Vasudha,
    I am a little bit confused regarding your query,
    "In the Footer of the Main Window i have Placed the Terms and conditions which should always be Printed in the New Page. So in the footer i have given a command "Go to New Page " and given the page as Page3. "
    When you say footer of main window does it mean , that you are using a table inside your main window and the command node your have inserted is in the footer of the table ?.I hope it is, because my suggestion is based on this assumption.
    Well my suggestion for your issue is,
    1.I  hope you are aware we can trigger a next page in two ways, one by setting the next page static attribute & second using  the command node which you have used.In your case you will have to use a combination of both.
    2.I feel your First page design is ok. Set its static next page attribute to PAGE2. Similarly set the static next page attribute for PAGE2 as PAGE2 itself. This should take care of your table which you have placed in the main window. If the table contains only one lineitem it will get over in the first page itself. If the lineitems are more in the table, it will automatically triggerPAGE2 (since static next page attribute for PAGE1 is PAGE2)  and the remaining line items will be displayed. Now no matter how many lineitems you have ,PAGE2 will be triggered repeatedly(since static next page for PAGE2 is PAGE2 itself) until the entire data in your table is displayed.
    In this way your requirement of printing the logo and header windows for the data lineitems only will be fulfilled.
    3.Now the last catch in your case is the printing of PAGE3(The terms and condition page) on an entirely new blank page.
       In the footer section of the table which you have used,  use a command node set to PAGE3.  After the command node and under the same  footer section now insert your terms and condition lineitem.
    Also Check the "at End of table" checkbox and uncheck " AT PAGE BREAK" under OUTPUT OPTIONS tab for the footer section.
    So now this footer section will be triggered only once after all the data in the table is displayed
    4. So now if there is only one lineitem, before the default second page is triggered the command node will trigger the PAGE3 and the terms and condition will be displayed.Else if there are more lineitems the page2 will be triggered again and again and finally when all the lineitems are over, the footer of the table will get triggered. So the command node will take you to the PAGE3 wherin the terms and condition will only be displayed.
    Hope this helps.
    Regards,
    Riju

  • Client strategy for DEV system in an implementation proj

    Hi,
    Can some one advise a good client strategy for an impl project? here's and example and questions i have. if you have a better strategy, pls advise. We want to follow this on ECC 6 DEV system -
    10 - Sandbox (play around before doing config - no transports)
    20 - Golden client (do real config here, and do development here - transports will start from here)
    30 - Test client (for SCC1 testing)
    I am assuming I should do DEVELOPMENT in the same golden client - does that make sense? Else, which should i have a new client? in that case, how will transports move?
    Thanks for all your help

    Hello Jerryp,
    Our customer has similar setup:
    100 - Sandpit
    200 - Dev and Cust
    300 - Testing
    400 - Sandpit 2
    Whenever we need to do any unit tests in client 300, we copy over customizing by using SCC1 transaction (client copy via transport request).
    For example whatever development (code or customizing) we do in 200 is copied over to 300 by SCC1. This ensures the client dependent customizing is in sync with client 300 without destroying data.
    Also, periodically we refresh client 100 and 400 and with data and customizing from 300. No development client independent changes are possible in the sandpit and testing clients.
    Regards,
    Siddhesh

  • Create Operation for Master-Detail Relationship Using Composite Association

    My requirement is to insert record for both the master and the detail at the same time using a single create insert action.I was successful in doing so using the composite association but when I am trying to commit the new record, I am getting the error that for the primary key Null value cannot be inserted.Then, I made the PK for both the master and detail EO's as DBSequence type which resolved the issue.
    My query is , Is there any alternative way to fulfill my requirement by "NOT" using the type for primary key to be DBSequence type?
    Thank you for your help.

    I also want to insert into master detail table in single form but when I insert in master form and then go to detail form for inserting value the master data automatically loss when I press detail create insert button. I am Using Two create insert button one for master and one for detail.
    I have also tried this function for solving my problem in other way but the problem is same
    public String cb8_action() {
    // Add event code here...
    BindingContainer bindings =BindingContext.getCurrent().getCurrentBindingsEntry();
    //OperationBinding operationBinding = bindings.getOperationBinding("CreateInsert");
    //Object result = operationBinding.execute();
    OperationBinding operationBinding1 = bindings.getOperationBinding("CreateInsert1");
    Object result1 = operationBinding1.execute();
    if (!operationBinding1.getErrors().isEmpty()) {
    return null;
    return null;
    Please Help me.

  • Release strategy for quantity contract

    Hi Gurus,
    In quantity contract ..  target value will not filled by the value(in header details) as it is quantityt contract.
    We may have different line items with different cost..
    my doubt is how the release strategy will be triggered for the quanityt contract and how the system will consider the whole value of the contract..
    please explain/clarify
    regards
    subbu

    Hi,
    The release strategy for the contract will work in the exact mechanism as for the PO i.e. it will be determined  based upon the total net value of the entire purchasing document.
    Cheers,
    HT

  • SAP Strategy Management implementation :BOOK

    Dear Gurus,
    I have searched SAP Press and Amazon but didn't find a suitable book for SAP Strategy management implementation.
    Could you please mentioned a cook book or ISBN number or any help is appericiatble.
    I am looking for Business as well as technical detail.
    Thanks & Regards
    Arif.

    Qureshi,
    As previously mentioned, there isn't any books about Strategy Management implementation. There are three areas that seem to get the most attention, but as SSM is changing in features, functionality and connectivity, it's moving faster than anything that could be published. The best documentation on implementation of SSM is the guides available on the Service Marketplace. These are regularly updated, so you always have access to the latest information.
    1) PAS - You build your multi-dimensional models in PAS. PAS has some amazing flexibility, especially how it handles time. Understanding how to use PAS seems to be a big challenge - as you can tell by the many questions on the Forum regarding models. There is no published book on PAS that I know of and even the PAS training in the SAP Education class is aimed as an overview. My suggestion here is at the very least try to take a SAP Education class on SSM that includes PAS training.
    2) Connectivity with SAP BW - Because of some fundamental differences between how PAS and BW deal with data, there is a tool - called the BICA - that SSM uses to harmonize BW and SSM data. There is a paper available on the EPM BPX on best practices with BICA.
    3) Wrangling KPIs - Strategy Management is about focusing on the essential areas of a business. Since this is YOUR business, your strategic objectives will be necessarily different - how else can you differentiate your products or services if you are doing everything the same as your competitors? This is not a situation of seeming how many more measures you can include, it's is trying to focus on doing those things that really are going to be game-changers for your organization.
    This business side aspect of Strategy Management is actually the area that will show the most success - and ROI - in the organization, although the typical focus is on the technical aspects of the application. Strategy Management continues to change the application to help address the different ways that people construct their organizational strategy and how they communicate it as well as monitor it. Do not underestimate the importance of the business side of this application.
    All three of these areas really strongly recommend Consulting Services. There are both SAP and 3rd Party consultants available for these areas. Why should you spend the money on a consultant?
    A) You will get implemented and running more quickly - less delays, less problems, more success. I have witnessed several projects where the organization wanted to DIY and faltered because there was no expertise on the team. Projects these days HAVE to be successful -right out of the gate - so get experienced help.
    B) Knowledge Transfer - There aren't any books and your boss isn't going to pay for a 5 day offsite training course. Bring in a consultant and work with them to learn what they do, how they do it, so you can become self-sufficient. It's much easier to build a consultant into a project budget than training. Although training is essential, I just never understand why executives neglect this important area.
    C) Personalized Help - The needs you have for your implementation and successful operation are going to be unique because it's going to revolve around your current technical architectural, your company's practices, as well as the structure of your organization. Having a consultant allows you to better use your time and the project's time by focusing on the needed areas and getting through the typical bumps that always accompany a new program's rollout.
    I am NOT a consultant, so I have no alterior motives. I DO want organizations to be successful with SSM implementations and from what I have witnessed the difference between success and merely muddling through is how willing the organization is to bring in either a SAP consultant or work with a knowledgable 3rd party consultant.

  • How to setup a release strategy for store generated purchase order

    Hi there,
    Does anybody know how to setup a release strategy for store/plant generated purchase order? I have a request from our client, but I never cross this before. Please help and let me know the step with every single detail.
    Greatly thank for your help.
    Kind Regards,
    2tea

    Please go thru the below Release Procedure and check whether you have maintained all the settings properly.
    PO RELEASE STRATEGY
    The release code is a two-character ID allowing a person to release (clear, or approve) a requisition or an external purchasing document. The release codes is basically controlled via a system of authorizations (authorization object M_EINK_FRG).
    Use SE12, structure CEKKO to check all the fields available for controlling the Purchase Order.
    e.g. If the total value for the Purchase Order exceeds 10,000, release strategy 01 is assigned to the Purchase Order. There is only one characteristic created in this example. For controlling the Purchase Order type, create characteristic for CEKKO-BSTYP and the value NB.
    CT04 - Create Characteristic e.g. NETVALUE
    Click Additional data Table name CEKKO Field name GNETW and press enter
    (for currency dependent field, you are prompt to enter the currency which the system then converts the currency of the Purchasing document into this currency)
    In the Basic data (X refers to tick),
    X Mutliple values
    X Interval values
    In the Value data, in the Char. value column, type >10000 and press enter
    Save your data
    CL02 - Class
    Class - Create REL_PUR
    Class type - 032
    Click Create
    Description - Release Procedure for Purchase Order
    In the Same Classification section, click Check with error
    In the Char. (characteristic) tab, type NETVALUE to assign your characteristics to the class
    OMGS - Define Release Procedure for Purchase Order Type
    Release Group - New entries
    Rel.group Rel. Object Class Description
    02 REL_PUR Rel. Strategy for PO
    Release codes - New entries
    Grp Code
    02 01
    Release indicators
    Release indicators Release Description
    0 Blocked
    1 X Release
    Release Strategy
    Release group 02
    Rel.strategy 01
    Release codes 01
    Release status 01
    Classification Choose your check values
    OMGSCK - Check Release Strategies
    (make sure there are no error messages)
    Once the Purchase Order is not release, buyers will not be able to print the Purchase Order.
    Goods Receipts will be shown with Message no. ME 390 - Purchasing document XXXXXXX not yet released.
    In 4.6c, Purchase Order with Release Strategy have a tabs at the end of the Header. This allowed the buyers to check the release status of the Purchase Order.
    The person with the release authorization have to use ME28 to release the Purchase Order.
    Regards,
    Ashok

Maybe you are looking for

  • Problem with Panasonic P50G20

    We bought this tv yesterday, I got it all set up and I have problems with my HDMI, white flecks, like snow, and the sound cuts out. ONLY on HDMI channels, if I put in a dvd through a component cable, picture and sound are prefect. I disconnected the

  • Reading CSV files

    Hi, I want to read in a CSV file, which I think I can do using the filereader and tokenizer classes. The complications are: 1) The first line of the csv file is a load of headings - is there an easy way to ignore the first line? 2) I am only interest

  • TCS 2.5 Upgrade - Available as Single Installer?

    I'm using the TCS 2.0 now (after purchasing 1.3 initially & upgrading to 2.0) and I see that the 2.5 upgrade is out now. We're on the TLP licensing program and I used the new licensing website to see that we were entitled to get the 2.5 upgrade. Howe

  • I can't install any windows systeme in my notebook

    hi every one . i want to install xp in my notebook 3000 N200 but in the step to chose the partition where the systeme will be setup a message indicate to me that there no avaible place in the hard disk or there no hd . please help me . thanks

  • Batch with multiple actions.. Watermarking PSD the easy way with Fireworks 8..

    I just use Fireworks 8, Fireworks CS3 always freezes after batching 30 files or so on a 4 gig machine. I'm able to take advantage of a transparent BG in PSD or PNG and insert a bg layer and foreground layer, then export to a jpeg. I haven't been able