Using a structure within a structure in a FM for BAPI

Hi,
As an associated type for a field I want to use a structure. I have a field named opening hours that holds data for opening hours for a week per shop. I define a field in the "top" structure that has an associated type which is a structure. The top structure is defined in the tables tab of the FM.
Why does this fail when I want to use the FM in a BAPI and how to get around this ?

Try posting some actual code.  It will make it easier to answer your question.  Also provide details of what you mean by "fail".

Similar Messages

  • Buy and use iPad 3 within 30 days will be exchanged for the iPad 4

    Good News for people who just bought ipad 3 within 30 days, Some Apple stores will apply exchange policy for ipad3 to get ipad4 .First store in San Francisco ! Let's call your Apple store and ask them ! Anyone knows this ?

    Good News for people who just bought ipad 3 within 30 days, Some Apple stores will apply exchange policy for ipad3 to get ipad4 .First store in San Francisco ! Let's call your Apple store and ask them ! Anyone knows this ?

  • When I try and use email from within Firefox, it brings up settings for a previous provider. How do I change this?

    Hi, I used to have an earthlink account. No longer. But when I'm in a Firefox internet page that has the option to email from that page, it brings up the old account. How do I fix this to reflect my new outgoing mail account?

    See this support article - https://support.mozilla.org/en-US/kb/change-program-used-open-email-links

  • Having header line in the structure inside another structure

    How can I have a header line in a structure within a structure?
    (I have posted a question before...but seems to be unclear..so I closed that thread and open a new one)
    Thanks!
    When compiling the below codes, I got error message stating that 'The internal table "IT_SALES_ORDER-DETAIL" has no header line - explicit specification of an output area with "INTO wa" or "ASSIGNING <fs>" is required'.
    I know that the problem can be solved by using field symbols... but I wonder I can have a header line declared in a structure within another structure.
    types: begin of ty_header,
             vbeln like vbak-vbeln,
             erdat like vbak-erdat,
             audat like vbak-audat,
             vkorg like vbak-vkorg,
             vtweg like vbak-vtweg,
             spart like vbak-spart,
             kunnr like vbak-kunnr,
             netwr like vbak-netwr,
             end of ty_header.
    types: begin of ty_detail,
             posnr like vbep-posnr,
             edatu like vbep-edatu,
             etenr like vbep-etenr,
             ettyp like vbep-ettyp,
             wmeng like vbep-wmeng,
             bmeng like vbep-bmeng,
             vrkme like vbep-vrkme,
             mbdat like vbep-mbdat,
             lddat like vbep-lddat,
           end of ty_detail.
    types: begin of ty_sales_order,
               header type ty_header,
               detail type ty_detail occurs 0,
           end of ty_sales_order.
    data: it_sales_order type standard table of ty_sales_order
          with header line initial size 0.
    data: it_selected_order type standard table of ty_header
          with header line initial size 0.
    select *
      into corresponding fields of table it_selected_order
      from vbak
    where erdat > '01.01.2005' and erdat < '31.12.2005'.
    write :/ sy-subrc.
    loop at it_selected_order.
      clear: it_sales_order-header, it_sales_order-detail.
      move-corresponding it_selected_order to it_sales_order-header.
      select *
        into corresponding fields of table it_sales_order-detail
        from vbep
       where vbeln = it_sales_order-header-vbeln.
      append it_sales_order.
    endloop.
    loop at it_sales_order.
      write :/ it_sales_order-header-vbeln.
      loop at it_sales_order-detail.
      endloop.
    endloop.

    You have to use a work area here, no header lines.
    report zrich_0002 no standard page heading.
    types: begin of ty_header,
    vbeln like vbak-vbeln,
    erdat like vbak-erdat,
    audat like vbak-audat,
    vkorg like vbak-vkorg,
    vtweg like vbak-vtweg,
    spart like vbak-spart,
    kunnr like vbak-kunnr,
    netwr like vbak-netwr,
    end of ty_header.
    types: begin of ty_detail,
    posnr like vbep-posnr,
    edatu like vbep-edatu,
    etenr like vbep-etenr,
    ettyp like vbep-ettyp,
    wmeng like vbep-wmeng,
    bmeng like vbep-bmeng,
    vrkme like vbep-vrkme,
    mbdat like vbep-mbdat,
    lddat like vbep-lddat,
    end of ty_detail.
    types: begin of ty_sales_order,
    header type ty_header,
    detail type ty_detail occurs 0,
    end of ty_sales_order.
    data: it_sales_order type standard table of ty_sales_order
    with header line initial size 0.
    data: it_selected_order type standard table of ty_header
    with header line initial size 0.
    <b>data: wa_detail type ty_detail.</b>
    select *
    into corresponding fields of table it_selected_order
    from vbak
    where erdat > '01.01.2005' and erdat < '31.12.2005'.
    write :/ sy-subrc.
    loop at it_selected_order.
      clear: it_sales_order-header, it_sales_order-detail.
      move-corresponding it_selected_order to it_sales_order-header.
      select *
      into corresponding fields of table it_sales_order-detail
      from vbep
      where vbeln = it_sales_order-header-vbeln.
      append it_sales_order.
    endloop.
    loop at it_sales_order.
      write :/ it_sales_order-header-vbeln.
    <b> loop at it_sales_order-detail into wa_detail.</b>
      endloop.
    endloop.
    Regards,
    Rich Heilman
    Message was edited by: Rich Heilman

  • Help with Adobe.premiere.elements12. Please It would appear under the organizer tab that the photos are organised in the lowest folder in the folder structure within Windows Explorer.  How can I use the Windows Explorer structure to organise the photos wi

    Help with Adobe.premiere.elements12. Please
    It would appear under the organizer tab that the photos are organised in the lowest folder in the folder structure within Windows Explorer.  How can I use the Windows Explorer structure to organise the photos within Elements.

    In a situation such as yours, I tend to consolidate items into folders so I have folders of nice workable numbers of images, somewhere between 20 and 200 images. Now, whatever, once you've imported, do your moving within LR, not the OS! I will select all in a folder and drag into a folder a level or two or three above, and then delete the newly empty subfolders. I hope this helps a bit!
    Once you've reached just new Imports of camera output, you'll be flying along.

  • Can I use an event structure within another event structure

    Hi
    Can use an event structure within another event structure?
    Thanks
    Yasamin
    Solved!
    Go to Solution.

    I attached my Vi from my old project (MY OLD VI). It is worked correctly.
    But I decided that use event structure instead of case structure.
    I attached my new VI as a picture and as a LabVIEW VI too (network_analyzer_8510_920527 Frequency Sweep.vi )
    My graphs show by pressing "case 5: button (Bottom of page right hand).
    Then I want to show each of graph in a large window( in a new VI) by clicking a key (for example "show 1").
    Thanks
    Yasamin
    Attachments:
    my VI.JPG ‏256 KB
    network_analyzer_8510_920527 Frequency Sweep.vi ‏72 KB
    MY OLD VI.vi ‏69 KB

  • How do I manage photos using a folder - subfolder type structure?

    How do I manage photos using a folder - subfolder type structure as I have done previously within Windows? For example, my photos were stored with a folder for each year and sub-folders for each month whicheach  held the photos. Can I do this in iPhoto?

    For example, my photos were stored with a folder for each year and sub-folders for each month whicheach  held the photos
    Why bother?
    Check out the search box at the bottom of the Window. (Click on the Magnifying glass, it opens it) Now click on the mgnifying glass in the search box) and select 'Date'. Now you can find all the photos from any day, month or year. If you want to find the photos from a range - say a paticular week - then you can do that with a Smart Album.
    Organising photos by date means you have to remember the date the shot was taken, and after a while, and after a few thousand shots, this gets harder and harder to do, so you spend more and more time rooting through folders.
    iPhoto offers a range of organising tools and each offers more possibilites to quickly find the shot you're looking for. For instance:
    I use Events simply as big buckets of Photos: Spring 08, July - Nov 06 are typical Events in my Library. I use keywords and Smart Albums extensively. I title the pics broadly.
    I keyword on a
    Who
    What
    Where basis (The When is in the photos's Exif metadata). I also rate the pics on a 1 - 5 star basis.
    Using this system I can find pretty much find any pic in my 45k library in a couple of seconds.
    So, for example, I have a batch of pics titled 'Seattle 08' and a  typical keywording might include: John, Anne, Landscape, mountain, trees, snow. With a rating included it's so very easy to find the best pics we took at Mount Rainier.
    File -> New Smart Album
    set it to 'All"
    title contains Seattle
    keyword is mountain
    keyword is snow
    rating is 5 stars
    Or, want a chronological album of John from birth to today?
    New Smart Album
    Keyword is John
    Set the View options to Sort By Date Ascending
    Want only the best pics?
    add Rating is greater than 4 stars
    The best thing about this system is that it's dynamic. If I add 50 more pics of John  to the Library tomorrow, as I keyword and rate them they are added to the Smart Album.
    In the end, organisation is about finding the pics. The point is to make locating that pic or batch of pics findable fast. This system works for me.

  • Controlling File structure within iphoto

    Aloha,
    I am new to the macs and am trying to figure out the filing system with iphoto. I am interested in doing the following with my files in iphoto:
    1. Is there a way that I store the images in folders that mimic my organization in iphoto? If not how can I navigate to a particular photo?
    2. If I have a folder structure that I want to import to iphoto how do I go about doing that? As I belive iphoto uses 3 main picture storing folders (data, modified and original). Am I to drag my additional files into original? and will it mimick that structure within iphoto?
    Thanks
    macbook Mac OS X (10.4.7)

    nayrsmith
    I'll take these one at a time:
    Can I do a mix of how the images are stored? aka some that are imported in the file structure that I have them organized in, and others (presumably new images) that are imported directly into iphoto? How would this work
    Not comfortably, though you could do it using aliases I guess. You could certainly experiment with a few shots. My worry would be the complexity of the system would leave open the possibility of Human Error.
    2. If I use filing outside of iphoto, I have to manually delete files? aka trashing then iphoto will not delete them from the files? What about if I rotate or modify the image in iphoto, does this then become permanent aka I cannot revert to the original?
    Yes you would have to manually delete the files. No, you can still Revert To Original.
    3. If I do use the filing outside of iphoto is there a way to use automator to delete pictures when I trash them
    Not that I know off. I'm no Automator expert, but I looked in the Automator Library and could see nothing. The difficulty would be trying to make an internal app event (empty iPhoto Trash) match to a system event (Move to Trash) without a hook of some form from the Automator Library, Might be worth a post in the Automator Forum.
    4. Iam concerned about space; does iphoto create a duplicate file for each image that is modified in iphoto (what constitutes modifcation, just cropping etc, or rotating as well?).
    Yes, iPhoto makes an apparent duplicate of each file that is modified, and yes, modification includes any change. If your concerned about space, move the entire library to an external disk.
    I am still skeptical about not having any control over how the images are stored, thus my hesitancy about just going with iphotos database storing.
    The iPhoto Safety Net: If you go with the default setting in iPhoto your photo are stored - in plain view - at Home/Pictures/iPhoto Library Folder in the Originals folder, where they are organised in Rolls (really just a folder) based on Date. You can go there and visit them anytime. They are just as accessible as in your own file structure.
    The iPhoto Library Folder is organised as follows:
    There are various files, which are the Library itself and some ancillary files. Then you have three folders
    Originals are the photos as they were downloaded from your camera or scanner.
    (ii) Modified contains edited pics, shots that you have cropped, rotated or changed in any way.
    This allows the Photos -> Revert to Original command
    (iii) Data holds the thumbnails the the app needs to show you the photos in the iPhoto Window.
    But remember, It is strongly advised that you do not move, change or in anyway alter things in the iPhoto Library Folder as this can cause the application to fail and even lead to data loss.
    So essentially, the storage on iPhoto is as plain and secure as your own file system.
    Feel free to ask more if you need more.
    Regards
    TD

  • Corrupted structures within query's

    Any help appreciated.
    I have a structure within a query which seems to have become corrupted in some way and therefore no longer works. When the structure is re-created in exactly the same way however it works fine. The structure is used in several query's and I do not want to have to re-create it again in each of them. Is there any way I can find out why a structure has become corrupted?, or fix it in a way which will refresh all the related query's?
    For info; the BW system has recently been upgraded from BW3.1 to BI7.
    Many Thanks

    Lee,
    try reimporting your structure from DEV.... it could be possible that it has got corrupted due to some changes not being done properly.
    Am not too sure if you can do a where used list for the same.... try using the where used list in the query designer but usually it is local to the query
    Arun

  • Conditions within a Structure

    Is is possible to use a condition in a query that has a structure in the rows?  If so, please explain.

    Hi Eugene,
    I should elaborate.  Yes, I have tried it and it does work if I have 1 selection within the structure within the rows.  I have multiple rows with the same material that is grouped within the selections by a transaction type.  When I have more than 1 selection, any material that meets the conditions at the first selection level is repeated in every selection although the criteria is not met.  I feel this defeats the purpose of using a condition.  I would like it to consider each record independently.  If you do not receive this type of results, perhaps you are doing something different than me.  Please advise.
    Thanks,
    Diane

  • Is it possible to create a menu structure within iWeb with a so called tree layout? iWeb only provides automatically a horizontal layout

    Is it possible to create a menu structure within iWeb with a so called tree layout? iWeb only provides automatically a horizontal layout

    Not in iWeb itself.
    You have to create these menus yourself. Start here :
         A List Apart: Articles: Suckerfish Dropdowns
    Also, see podcast episode 9 of
         CSS Tricks and Tips
    and then add them to a webpage with the HTML Snippet.
    Or add the menu to the webpage with a JavaScript.
    Here's a sample page :
         http://www.wyodor.net/mfi/roodhout/
         http://www.wyodor.net/mfi/spelling/
         http://www.wyodor.net/mfi/Maaskant/Some_Menus.html
    The how-to-do page are here and here.
    More sample pages on my Made for iPad with iWeb pages.
         http://www.wyodor.net/mfi/
    You may have to learn HTML, CSS, JavaScript, AJAX, DOM and how iWeb creates its pages.

  • Structure inDesign document and export as XML for use in the web

    Hello everyone,
    I just recently started using inDesign and I am fascinated by its possibilities! I use it for a project where a finished inDesign layout that is used for a printed publication is now supposed to be transformed for implementing it on a web site. My job is to export the inDesign document as an XML file. After massive reading the last weeks I'm quite familiar with the structuring and tagging in inDesign. Though there's some issues I do not understand. Your precious advice would be of highest meaning to me
    The programmer who will later use my XML output for the web-transformation needs the document structured in different levels like "Root > Chapter > Subchapter > Text passage / table". I already structured the document with tags like title, text passage, table, infobox,... but the structure is just linear, putting one item following to another.
    How can I structure the document with reoccuring tags that enable me to identify the exact position of an item in the document's structure? So that I can say for example "text passage X" is located in chapter 4, subchapter 1. This has to be done because the document is supposed to be updated later on. So maybe a chapter gets modified and has to be replaced, but this replacement is supposed to be displayed.
    I hope my problem becomes clear! That's my biggest issue for now. So for any help I'd be very thankful!

    Our print publications are created in InDesign CS5 for Mac then the text is exported to RTF files then sent to an outside company to be converted to our XML specifications for use by our website developers.  I would like to create a workflow in which our XML tags are included in the InDesign layouts and then export the XML from the layouts.
    Some more detail about what kind of formatting is necessary might be helpful.
    I know that IDML files contain the entire layout in XML format.  Is it a good idea to extract what we need from IDML, using the already-assigned tags?
    Well, if you want to export the whole document, it's the only reasonable approach.
    We use a workflow system such that each story is a seperate InCopy document, stored in ICML format (Basically a subset of IDML). Our web automation uses XSLT to convert each story into HTML for use on our web site; it also matches it up with external metadata so it knows what is a headline and what is not, etc.. It is not exactly hassle free, and every once in a while someone uses a new InDesign feature that breaks things (e.g., our XSLT has no support for paragraph numbering, so numbered paragraphs show up without their numbers).
    You could do the same thing with with IDML, you'd just have to pick out each story, but that's small potatoes compared to all the XSL work you're going to have to do.
    On the other hand, there may be better approaches if you're not going to export the whole document. For instance,  you could use scripting to export each story as an RTF file, and then you could convert the RTF files into HTML using other tools.

  • How to use File Adapter with hierarchial Structure?

    Hi,
    How to use File Adapter with hierarchial Structure like..
    Data:
    --Header Details:
    Line Item Details:
    Data
    Bcoz I am getting a Flatfile in a hierarchial way as shown below.
    Header Details :1
    Line Item a
    Line Item b
    Header Details :2
    Line Item c
    Line Item d
    Kishore

    Hey Kishore,
    In order to create a structure you need to use the file with convertion mode on the sending communication channel of the file adapter.
    check the link for the needed configuration paramters.
    If the structure is more complexed you can use the Contetnt master(CM) from itemfield which allows to ceate XML file from complex flat files and more.
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm">File sender adapter</a>
    If you have any question i'll be more than happy to assist.
    Nimrod Gisis

  • Trouble using cfincludes with multi-folder structure

    We are rebuilding our site using <cfinclude> to pull in
    standard headers and footers for each page. The headers and footers
    each have many links in them. How can we deal with the fact that
    the pages calling the cfincludes are not all at the same level in
    the folder structure? How can we create one include file for the
    header and one include file for the footer that can each be used
    throughout the site regardless of the level in which the calling
    page is located? Thank you.
    Cheers!
    James

    How can we create one include file for the header and one
    include file for the footer that can each be used throughout the
    site regardless of the level in which the calling page is
    located?
    Create the one header.cfm and the one footer.cfm. Include
    them in Application.cfm/OnRequestEnd.cfm or in Application.cfc.

  • How to use shift register in this structure?

    Dear All,
    In order to use less variety of graph, I want to use shift register to manage and send data to graph.
    But there is not only event structure in my vi, for some reason(because I want to use only one button to control running and stop, and this must do through variety of button, I can't put this loop into the event structure) I must use other while loops, I don't know how to use shift register in this structure.
    Please tell me anything helpful.
    Thank you!
    Attachments:
    shift register.vi ‏26 KB

    hi there
    there are a lot of solutions. my favorite one is the usage of a so called "FGV" (functional global variable). this allows you to strore, manipulate and transport data through your app with a minimum of wires. see attachment.. (other users may have other favorite solutions...)
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"
    Attachments:
    Shift Register 7.1.zip ‏20 KB

Maybe you are looking for