OT: Display long product list in Wordpress

I've got an extensive list of chemicals to be shown on a page on a Wordpress site. Anyone got a clever idea for the best way to do this? I've thought about a horizontal accordion, but I'm not thrilled with how that looks....

Stick them in a database and call them out in alphabetical order you can then have a tabbed jQuery area A-B, C-D etc with some subtle effects.
I'm assuming the names are short so you may have 3/4 columns on a page down to one for smart phone if you're doing responsive?
Dunno - just thinking on my feet here.
How about one of those areas that seem to keep on going forever with the spinny loader icon like at the bottom of the page in the link below. Can't remember what that is called now but seems to be current.
Matt Bellamy takes mother Marilyn grocery shopping in LA after split with Kate Hudson | Daily Mail Online

Similar Messages

  • How can I display favorites products list as table?

    When I insert favorites list module on a page,
    {module_favorites,i,27,0}
    it renders them as <li> (one per row).  I want them to render as the product list. (Several products per row).
    {tag_productlist,3,,6,alphabetical,true,false}
    How can I do this?
    Also, if I want to insert all products with a certain tag in a page (that is not the Catalog page), It renders as list, not as table.  This is the module I called: {module_productfeaturelist,store,4,Default,,true}

    No - I still can't make it work. Tried a lot of different things but it's like theres only one LI in the list, containing all the items added to the fauvorite list.
    I tried to remove the classes, and this is how it looked in Firebug:
    <div id="favourites">
    <ul>
    <li id="catProdTd_5244310">
    <link type="text/css" rel="stylesheet" href="/css/style.css">
    <div class="hproduct">
    <link type="text/css" rel="stylesheet" href="/css/style.css">
    <div class="hproduct"> <link type="text/css" rel="stylesheet" href="/css/style.css">
    <div class="hproduct">
      <link type="text/css" rel="stylesheet" href="/css/style.css">
    <div class="hproduct">
    </li>
    </ul>
    </div>
    I don't know how to target the LI's inside the module?

  • Catalog to click through product list

    Hello,
    I am trying to get this page: http://splendourinteriors.cloudsourcecms.com/services to behave as follows. The catalogs are displayed dinamically as they are added in the back-end, when clickting through the catalog you will see the list of products. Somehow I remember seeing this done and doing this by using the overall layout to display the catalogs and the individual catalog to display the products...and I don't remember writing any special js for it, it was working out of the box.
    However, now this no longer works. Clicking through catalogs it will display the list of sub-catalogs now (well, currently hidden but still there).
    Was this how it always worked and I am remember it wrongly? What can I do to make it display the list of products instead on catalog clickthrough?
    Thanks!
    Maria

    I had a look at that site and it seems to work the way you want it to work. Services is your top level catalogue. Any catalogue you create and add it as a subcatalogue to services will show up on http://splendourinteriors.cloudsourcecms.com/services page. If you click through to any of the catalogues on http://splendourinteriors.cloudsourcecms.com/services you will get a list of products. For example, I click on catalogue-1 and I'm taken to http://splendourinteriors.cloudsourcecms.com/services/catalog-1 where I can see the products inside that catalogue.
    In any case, whenever you're viewing something inside the online shop you are seeing the overall layout and tags {tag_cataloguelist} and {tag_productlist} are trying to render any subcatalogues or products the current catalogue you are viewing contains. Hope that makes sense
    Cheers,
    mario %)

  • Check boxes are not being displayed in any list applets

    Issue: The check boxes are not being displayed in any list applets in the system. A check box can be marked in the system, but as soon as the user clicks anywhere outside of the box the check box 'visibly' disappears. If you hover the mouse over the check box it displays a 'Y'. However, check boxes are working fine for the form applet, the issue is only with the list applet.
    I verified the checkboxes work fine in the thick client and in production. However, it is the testing environment, which belongs to client, that is showing the above behavior. I think there is some setting that is missing for them. But I am unable to figure it. I would really appreciate if someone could help !!
    Thanks in advance

    One way that you could make it work (just tried it out again) is to use the windings font
    and use the checkboxes from there. However, you need to register the font with xml publisher. In the template builder for Word, you can put a configuration file under:
    C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\config
    (depnding on your installation). The file should have the name xdo.cfg or xdoconfig.xml.
    There is an example file: xdo example.cfg that you rename and change accoringly.
    The font is there setup for windows 2000 as an example. Select the correct font
    path - for my XP it is:
    <font family="Wingdings" style="normal" weight="normal">
    <truetype path="C:\WINDOWS\fonts\wingding.ttf" />
    </font>
    Then you can put the symbols into your RTF template and it will be rendered.
    At least it worked for me - with 5.6.2. (Availbable on Wednesday or Thursday), but
    I am pretty sure I tried it before with 5.5.
    Didn't have the 5.5 manual with me - so I have to check what that says again..
    Hope it helps,
    Klaus

  • How to add new fields to CRM contract Product List tab?

    Hi all!
    I would like to add a new custom field for CRM contract (CRMD_BUS2000121) item level, on the Product List tab.
    Here I found CRMT_0100A_ORDPRP_I_EXT_UI structure, therefore I enhanced this with new append structure and new fields.
    I also added the new fields to ORDPRP_I append structure and mapped the new fields in CRMC_MAP.
    For some reason the new fields are on the screen but they are grey, not changeable. What did I do wrong?
    Thanks,
    Tamas Pentek

    Actually for the new IC webclient UI you have need to take a look at your options:
    1.  New Installation:
    Use the EEWB and add the fields.  As part of the EEWB work, you will have a couple of post-processing steps where you will add your generated fields to the new screens.  However this doesn't require any programming.
    2.  Upgrade from CRM 4.0/50
    - New fields to add as part of upgrade
    See the directions for new installation
    - Existing fields to add as part of upgrade
    --See the blog on the 40/52 CUSTOMER_H migration for transaction fields
    --Business Partner fields part of BUT000 available via UI configuration tool, no extra work needed
    --Business Partner fields part of tabular extension, manual work required, I am still "perfecting" this method and plan on writing a blog once I have the technique finished.
    --Product Attributes - use the transaction CRMM_UI_PROD_GEN and CRMM_UIU_PROD_CONFIG
    I know CRM 2007 is based on the same tech foundation as 2006s, with some differences in how the UI tool works and the fact there are some screen layout changes(editable overviews).  The extension procedures are generally the same.  I can answer some of you extension questions based on my work with CRM 52 so far.  It will generally apply to your situation.
    BTW:  The PCUI is no longer supported in CRM 2006s and above.  Even the old SAP GUI transactions such as BP, COMM_PRODUCT are removed from the standard CRM menu.   The SAP CRM web client should be used instead now.
    Take care,
    Stephen

  • Alv- displaying long text in alv output

    hi,
              as per my requirement, i need to be display long text (length >1000 characters) in alv list or alv grid.
    i get the entaire long text and keep it in final internal table and pass it to alv functional module,  but  it unable to display the compleate long text( in alv-grid).
    the alv list displays the complete long text but not in the row, it displays in the second rown and few field labes of long text and its previous field label are displayed in impro[per order.
    is there any possible way to display long text in alv.
    regards,
    revoori

    Hi Ashok,
    try to pass the below while filling your long text.
    wa_fieldcat-seltext_l  = 'Your Long Text'.
    wa_fieldcat-ddictxt = 'L'.
    for more info check below
    Long Text --- 1000 characters
    hope it works
    Thnaks!
    Edited by: Prasanth on Mar 8, 2009 4:03 PM

  • Some .htm file not displaying in Topic List, but displaying in RH11 folder

    Hi All,
    We are running a project using RH 11, team consist of 3 person (include me)
    But we have problem with many  .htm file from my 1st coworker, file not displaying in Topic List in my Robohelp and 2nd coworker.
    Although we already get the latest file again and again
    But .htm file displaying in all our RH11 folder.
    In my 1st coworker RH, all file displaying in Topic List also RH11 folder, but when file generated then
    Many files from 1st coworker, hyperlink is not working well (broken link / file not found)
    Does anyone have experience about this problem
    Thanks

    First of all, make sure you do not have the following files in source control: .cpd, .pss, .ldb.
    These files contain local information that can cause problems when in source control.
    Then try this:
    Everyone deletes the .cpd file.
    Everyone gets the latest files for the whole project from source control.
    Open the project.
    Does everything now display correctly?
    If yes, you need to make sure you delete the cpd file before opening the project each day, and also during the day if you know a co-worker has made changes that you need. This file is a database which includes a list of all the files Robohelp knows about. When other people are adding and removing files, this information no longer matches properly. I recommend doing a Get Latest in these situations as well, just to make sure Robohelp can find the correct information.
    If you are still not seeing the correct files repeat the above process, but at step 2, pick the options to Overwrite local files. I can't say where you will see these options - they may be two checkboxes in a dialog box when you select Get Latest - it will depend on your source control application.
    Hope this helps.

  • Google product listing ad campaigns are not opening with Firefox

    I have a Google Adwords account with Product Listing Ads. Everything was working fine on 10/31, however today, 11/3, the Product Listing ad campaigns are no longer openings and the cursor just spins.
    I have contacted Google regarding this problem and they are able to fully access the account. I have also tried my account on another browser with no problems. Can you please tell me what update was made in the past couple of days, or what I need to do so that I can fix this?
    Thank you.

    This issue can be caused by corrupted cookies or cookies that are blocked.
    *check the permissions on the about:permissions page and in "Tools > Page Info > Permissions"
    *https://support.mozilla.org/kb/fix-login-issues-on-websites-require-passwords
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Default selected product in product list

    I have a list of products in a region from a dataset. I have
    a detailregion that shows the data from the selected item in that
    region.
    In the product list, I have the spry:select set to a CSS
    rule. When the region and detailregion are first displayed, the
    first item is selected and displayed by default. But, it's not
    using the spry:selected CSS rule until I actually make a selection.
    How can I make the default selected item initially show using
    the spry:selected rule?

    Ok, I'm using a spry:repeat to fill in table rows as a list
    of products. So, I used a spry:choose in the table, then in the
    <tr> tag used a spry:when ds_row == 0
    spry:selected="selected". Then a second <tr> with
    spry:default="default, without the selected part.

  • JComboBox display two different lists

    I have a JComboBox in a JTable column. The requirement is that the JComboBox displays two different lists based upon which mouse button is clicked on the JComboBox. i.e When user clicks on mouse Button1 the JComboBox should popup with a list of products(user default products). But, when the user clicks on mouse Button2 the JComboBox should popup with a different list of products(all the products).
    Any help will be appreciated,
    Thanks in advance!

    UNDEBUGGED, UNTESTED, OFF THE CUFF CODE
    public class myEditor extends AbstractCellEditor implements TableCellEditor {
      private int sel = 0;
      private String[][] str = {{"Option 1", "Option 2", "Option 3"},
                            {"Select 1", "Select 2", "Select 3"}};
      private JComboBox[] fieldCombos = new JComboBox[str.length];
      private DefaultCellEditor[] fieldEditors = new DefaultCellEditor[str.length];
      public myEditor() {
        for (int i=0; i<fieldEditors.length; i++) {
          fieldCombos[i] = new JComboBox();
          for (int j=0; j<str[0].length; j++) {
            fieldCombos.addItem(str[0][j]);
    fieldEditors[i] = new DefaultCellEditor(fieldCombos[i]);
    public Component getTableCellEditorComponent(JTable table, Object value,
              boolean isSelected, int row, int column) {
    fieldCombos[sel].setSelectedItem(value);
    return fieldEditors[sel];
    public void setSelector(int Selector) {
    if (Selector>=0 && Selector<str.length) sel=Selector;

  • Poor Performance : Structure Display - IH01 / Structure List - IE02/IE03

    Hi All,
    We are using version ECC 6.0
    When we run transaction IH01 (Structural Display), the system almost gets hanged (i.e: NO output at all for hours together). We are not able to view the structural display even if we maintain the "Display levels below" as 5. The hourglass runs for ever without displaying any output which prompts us to abort the transaction in between.
    Moreover we are facing similar problem in Transaction IE02 & IE03 (Change & Display Equipment) when we click the structe list for an equipment. Here also the system takes a long time to display the structure list of that equipment. However after some times the system displays the output.
    Kindly post your valuable suggestions on resolving the problem.
    Thanks and with Best Regards.
    Kannan J

    I think displaying 5 levels below definitely affects your performance. Try to run it with 1 level below and see if it makes any difference.
    There is also a config setting that affects the performance of IH01 which is, Master Data>Technical Objects>General Data-->Define Selection Procedure for Structural Display and BOMs.
    Try to set this setting see if it helps.
    Hope it helps,
    PJ

  • Trying to change product list css

    I know this is a little off-topic, i.e. hacking BC with jQuery... but if you can help... I am trying to change the product list css for items displayed in the catalogue. I'm implementing jQuery masonry script to effect a responsive layout for small products with a script removing and adding two classes. The script works fine and I have it all working perfectly (for example here: http://silverster-***-race.dotsilo.com/air-filters), except where the small product list is displayed from a sub-catalogue list ../parentCatagory/childCategory. Here's an example where the list is displayed vertically rather than the intended masonry style: http://silverster-***-race.dotsilo.com/Gauges/srp-gauges
    This is the default HTML that BC creates (wrapped with with my own DIV and  ID) :
    <div id="items">
    <ul class="productList productSmall">
    <li id="catProdTd_6742743" class="productItem">
    <!-- Some product content here -->
    </li>
    <li id="catProdTd_6742744" class="productItem">
    <!-- Some product content here -->
    </li>
    </ul>
    </div>
    I have been able to change the classes (from .productItem to .item .masonry-brick) with jQuery elsewhere on the site (like air filters example and the home page: Home - Japanese Race Supplies).
    The jQuery I used to change the classes successfully was this:
    $('div#items ul li').removeClass('productItem').addClass('item masonry-brick'); // this script replaces the class .productItem with .item .masonry-brick
    My problem seems to be that the sub-catalogue (sub-directory) is ignoring the script. Is there something I'm missing when working with a sub-directory like this? I did look at a pure CSS work around, but it's complicated with Masonry generating its own classes too. Any help or suggestions appreciated.
    Thanks. - Simon

    Hey Simon, how are things?
    Your running Javascript Simon, that runs after server side scripting, BC wont be overriding those things.
    You also do not have to change ANY classes when using things like masonary, You just specify your targets to match the classes that you have in your projects. Document guides for things like plugins are just guides and will have their own classes based on what the author is doing.
    One of the key things to javascript is fixing and avoiding errors:
    On the second page you linked you have the following errors -
    "NetworkError: 404 ERROR: The file requested could not be found. - http://silverster-***-race.dotsilo.com/Gauges/twitter/jquery.tweet.js" 
    jquery.tweet.js
    "NetworkError: 404 ERROR: The file requested could not be found. - http://silverster-***-race.dotsilo.com/Gauges/js/tinynav.min.js" 
    2
    tinynav.min.js
    TypeError: $(...).tweet is not a function
    Things stop working when you have errors.
    On the first page you have this error:
    TypeError: $(...).replaceText is not a function $(".cartSummaryItem").replaceText( "Shopping cart is empty.", " " );
    In terms of the Masonry stuff. You do not need that to make your cart responsive But if you do want to target elements:
    var container = document.querySelector('#container');
    var msnry = new Masonry( container, {
      columnWidth: 200,
      itemSelector: '.productItem'
    This of course wont count for the productItemLast but >  ".productList.productSmall > li" will also work.
    There would be no need to add a class in terms of the CSS as well.
    Its hard to follow your code a bit to see anything else, I can not see Masonry actually running on either page you linked and the last page also has no products.
    Sorry if I am missing what your trying to achieve.

  • Installed Products List Linux

    I want to generate the installed products list usually created by running the Universal Installer. Display is not set in our environment. Does anybody know how to generate this list without using the Installer GUI?

    you could export dislplay to another machine using "export DISPLAY=<i_addres>:0.0"

  • *Updated* Flexstore Product List

    Is there anyway to call the product details page from items
    in the ProductListItems? So onclick display the products details,
    I've tried using the clickHandler(event) used on
    ProductCatalogThumbnail page the but it dosn't seem to load up the
    details
    Thanks
    -----------Older Message---------------
    Hi,
    I'm working with the Flexstore sample code and am trying to
    change how the compare list displays its data in the
    ProductFilterPanel (the area where it just shows product name and
    bin icon). By default it displays each item per row, is it possible
    to change this is display in columns instead for example...
    Current:
    Product 1
    Product 2
    Product 3
    Wanted:
    Product 1, Product 2, Product 3
    If anyone could help it would be great.
    Thank you

    Hi,
    I've managed to cheat and switch the e.xTO and e.yTo commands
    to
    e.xTo = yTo;
    e.yTo = 0;
    If anyone needed it.
    Now I've managed this is there anyway to call the product
    details page from items in the ProductListItems? So onclick display
    the products details, I've tried using the clickHandler(event) used
    on ProductCatalogThumbnail page the but it dosn't seem to load up
    the details
    Thanks

  • Help needed Displaying ALV  Secondary list without using oops concept

    Hi Experts
    Help needed Displaying ALV  Secondary list without using oops concept.
    its urgent
    regds
    rajasekhar

    hi chk this code
    ******************TABLES DECLARATION*****************
    TABLES : VBAP,MARA.
    *****************TYPE POOLS**************************
    TYPE-POOLS : SLIS.
    ****************INTERNAL TABLES**********************
    DATA : BEGIN OF IT_VBAP OCCURS 0,
    VBELN LIKE VBAP-VBELN, "SALES DOCUMENT
    POSNR LIKE VBAP-POSNR, "SALES DOCUMENT ITEM
    MATNR LIKE VBAP-MATNR, "MATERIAL NUMBER
    END OF IT_VBAP.
    ****************TEMPORARY VARIABLES******************
    DATA : V_VBELN LIKE VBAP-VBELN."SALES DOCUMENT
    DATA : V_MTART LIKE MARA-MTART. "MATERIAL TYPE
    *****************FIELD CATALOG***********************
    DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
           WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    ****************LAYOUT*******************************
    DATA : WA_LAYOUT TYPE SLIS_LAYOUT_ALV.
    ***************VARIANT*******************************
    DATA : G_VARIANT LIKE DISVARIANT.
    ****************SAVE*********************************
    DATA : G_SAVE(1) TYPE C.
    *****************EVENTS******************************
    DATA : XS_EVENTS TYPE SLIS_ALV_EVENT,
           G_EVENTS TYPE SLIS_T_EVENT.
    ******************PF STATUS**************************
    DATA : PF_STATUS TYPE SLIS_FORMNAME VALUE 'SET_PF_STATUS'.
    ******************USER COMMAND************************
    DATA : USER_COMMAND TYPE SLIS_FORMNAME VALUE 'SET_USER_COMMAND',
           R_UCOMM LIKE SY-UCOMM.
    ****************SELECTION SCREEN************************
    SELECT-OPTIONS : S_VBELN FOR VBAP-VBELN.
    ***************AT SELECTION SCREEN*********************
    AT SELECTION-SCREEN.
      PERFORM VALIDATE.
    **************START-OF-SELECTION**************************
    START-OF-SELECTION.
      PERFORM GET_DETAILS.
      PERFORM FIELDCAT.
      PERFORM LAYOUT.
      PERFORM VARIANT.
      PERFORM SAVE.
      PERFORM EVENTS.
      PERFORM ALV_DISPLAY.
    *********************FORMS*******************************************
    *&      Form  validate
          text
    -->  p1        text
    <--  p2        text
    FORM VALIDATE .
      SELECT SINGLE VBELN
                    FROM VBAP
                    INTO V_VBELN
                    WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'enter valid vbeln'.
      ENDIF.
    ENDFORM.                    " validate
    *&      Form  get_details
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DETAILS .
      SELECT VBELN
             POSNR
             MATNR
             FROM VBAP
             INTO TABLE IT_VBAP
             WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'no details found'.
      ENDIF.
    ENDFORM.                    " get_details
    *&      Form  fieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM FIELDCAT .
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'VBELN'.
      WA_FIELDCAT-OUTPUTLEN = 10.
      WA_FIELDCAT-SELTEXT_L = 'SALES DOC'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'POSNR'.
      WA_FIELDCAT-OUTPUTLEN = 6.
      WA_FIELDCAT-SELTEXT_L = 'ITEM'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'MATNR'.
      WA_FIELDCAT-OUTPUTLEN = 18.
      WA_FIELDCAT-SELTEXT_L = 'MATERIAL NO'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
    ENDFORM.                    " fieldcat
    *&      Form  LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM LAYOUT .
      WA_LAYOUT-ZEBRA = 'X'.
    ENDFORM.                    " LAYOUT
    *&      Form  VARIANT
          text
    -->  p1        text
    <--  p2        text
    FORM VARIANT .
      CLEAR G_VARIANT.
      G_VARIANT-REPORT = SY-REPID.
    ENDFORM.                    " VARIANT
    *&      Form  SAVE
          text
    -->  p1        text
    <--  p2        text
    FORM SAVE .
      CLEAR G_SAVE.
      G_SAVE = 'A'.
    ENDFORM.                    " SAVE
    *&      Form  EVENTS
          text
    -->  p1        text
    <--  p2        text
    FORM EVENTS .
      CLEAR XS_EVENTS.
      XS_EVENTS-NAME = SLIS_EV_TOP_OF_PAGE.
      XS_EVENTS-FORM = 'TOP_OF_PAGE'.
      APPEND XS_EVENTS TO G_EVENTS.
    ENDFORM.                    " EVENTS
    *&      Form  TOP_OF_PAGE
          text
    FORM TOP_OF_PAGE.
      WRITE :/ ' INTELLI GROUP'.
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  ALV_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    FORM ALV_DISPLAY .
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
         I_CALLBACK_PROGRAM             = SY-REPID
         I_CALLBACK_PF_STATUS_SET       = PF_STATUS
         I_CALLBACK_USER_COMMAND        = USER_COMMAND
      I_STRUCTURE_NAME               =
         IS_LAYOUT                      = WA_LAYOUT
         IT_FIELDCAT                    = IT_FIELDCAT
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
         I_SAVE                         = G_SAVE
         IS_VARIANT                     = G_VARIANT
         IT_EVENTS                      = G_EVENTS
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
        TABLES
          T_OUTTAB                       = IT_VBAP
       EXCEPTIONS
         PROGRAM_ERROR                  = 1
         OTHERS                         = 2
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " ALV_DISPLAY
    *&      Form  SET_PF_STATUS
          text
    FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'Z50651_PFSTATUS' EXCLUDING EXTAB.
    ENDFORM.                    "SET_PF_STATUS
    *&      Form  SET_USER_COMMAND
          text
    FORM SET_USER_COMMAND USING R_UCOMM
                                RS_SELFIELD TYPE SLIS_SELFIELD.
      CASE R_UCOMM.
        WHEN 'DC'.
          READ TABLE IT_VBAP INDEX RS_SELFIELD-TABINDEX.
          IF SY-SUBRC = 0.
            SELECT SINGLE MTART
                          FROM MARA
                          INTO V_MTART
                          WHERE MATNR = IT_VBAP-MATNR.
            IF SY-SUBRC <> 0.
       MESSAGE E000 WITH 'NO MATERIAL DESCRIPTION FOR SELECTED MATERIAL NO'.
            ELSE.
              WRITE :/ 'MATERIAL NO :',IT_VBAP-MATNR.
              WRITE :/ 'MATERIAL TYPE :' , V_MTART.
            ENDIF.
          ENDIF.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'EXIT'.
          LEAVE TO SCREEN 0.
        WHEN 'CLOSE'.
          CALL TRANSACTION 'SE38'.
      ENDCASE.
    REPORT  Z_ALV_INTERACTIVE  MESSAGE-ID ZMSG_50651
                                    LINE-SIZE 100
                                    LINE-COUNT 60
                                    NO STANDARD PAGE HEADING.
    ******************TABLES DECLARATION*****************
    TABLES : VBAP,MARA.
    *****************TYPE POOLS**************************
    TYPE-POOLS : SLIS.
    ****************INTERNAL TABLES**********************
    DATA : BEGIN OF IT_VBAP OCCURS 0,
    VBELN LIKE VBAP-VBELN, "SALES DOCUMENT
    POSNR LIKE VBAP-POSNR, "SALES DOCUMENT ITEM
    MATNR LIKE VBAP-MATNR, "MATERIAL NUMBER
    END OF IT_VBAP.
    ****************TEMPORARY VARIABLES******************
    DATA : V_VBELN LIKE VBAP-VBELN."SALES DOCUMENT
    DATA : V_MTART LIKE MARA-MTART. "MATERIAL TYPE
    *****************FIELD CATALOG***********************
    DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
           WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    ****************LAYOUT*******************************
    DATA : WA_LAYOUT TYPE SLIS_LAYOUT_ALV.
    ***************VARIANT*******************************
    DATA : G_VARIANT LIKE DISVARIANT.
    ****************SAVE*********************************
    DATA : G_SAVE(1) TYPE C.
    *****************EVENTS******************************
    DATA : XS_EVENTS TYPE SLIS_ALV_EVENT,
           G_EVENTS TYPE SLIS_T_EVENT.
    ******************PF STATUS**************************
    DATA : PF_STATUS TYPE SLIS_FORMNAME VALUE 'SET_PF_STATUS'.
    ******************USER COMMAND************************
    DATA : USER_COMMAND TYPE SLIS_FORMNAME VALUE 'SET_USER_COMMAND',
           R_UCOMM LIKE SY-UCOMM.
    ****************SELECTION SCREEN************************
    SELECT-OPTIONS : S_VBELN FOR VBAP-VBELN.
    ***************AT SELECTION SCREEN*********************
    AT SELECTION-SCREEN.
      PERFORM VALIDATE.
    **************START-OF-SELECTION**************************
    START-OF-SELECTION.
      PERFORM GET_DETAILS.
      PERFORM FIELDCAT.
      PERFORM LAYOUT.
      PERFORM VARIANT.
      PERFORM SAVE.
      PERFORM EVENTS.
      PERFORM ALV_DISPLAY.
    *********************FORMS*******************************************
    *&      Form  validate
          text
    -->  p1        text
    <--  p2        text
    FORM VALIDATE .
      SELECT SINGLE VBELN
                    FROM VBAP
                    INTO V_VBELN
                    WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'enter valid vbeln'.
      ENDIF.
    ENDFORM.                    " validate
    *&      Form  get_details
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DETAILS .
      SELECT VBELN
             POSNR
             MATNR
             FROM VBAP
             INTO TABLE IT_VBAP
             WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'no details found'.
      ENDIF.
    ENDFORM.                    " get_details
    *&      Form  fieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM FIELDCAT .
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'VBELN'.
      WA_FIELDCAT-OUTPUTLEN = 10.
      WA_FIELDCAT-SELTEXT_L = 'SALES DOC'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'POSNR'.
      WA_FIELDCAT-OUTPUTLEN = 6.
      WA_FIELDCAT-SELTEXT_L = 'ITEM'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'MATNR'.
      WA_FIELDCAT-OUTPUTLEN = 18.
      WA_FIELDCAT-SELTEXT_L = 'MATERIAL NO'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
    ENDFORM.                    " fieldcat
    *&      Form  LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM LAYOUT .
      WA_LAYOUT-ZEBRA = 'X'.
    ENDFORM.                    " LAYOUT
    *&      Form  VARIANT
          text
    -->  p1        text
    <--  p2        text
    FORM VARIANT .
      CLEAR G_VARIANT.
      G_VARIANT-REPORT = SY-REPID.
    ENDFORM.                    " VARIANT
    *&      Form  SAVE
          text
    -->  p1        text
    <--  p2        text
    FORM SAVE .
      CLEAR G_SAVE.
      G_SAVE = 'A'.
    ENDFORM.                    " SAVE
    *&      Form  EVENTS
          text
    -->  p1        text
    <--  p2        text
    FORM EVENTS .
      CLEAR XS_EVENTS.
      XS_EVENTS-NAME = SLIS_EV_TOP_OF_PAGE.
      XS_EVENTS-FORM = 'TOP_OF_PAGE'.
      APPEND XS_EVENTS TO G_EVENTS.
    ENDFORM.                    " EVENTS
    *&      Form  TOP_OF_PAGE
          text
    FORM TOP_OF_PAGE.
      WRITE :/ ' INTELLI GROUP'.
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  ALV_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    FORM ALV_DISPLAY .
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
         I_CALLBACK_PROGRAM             = SY-REPID
       I_CALLBACK_PF_STATUS_SET         = PF_STATUS
         I_CALLBACK_USER_COMMAND        = USER_COMMAND
      I_STRUCTURE_NAME               =
         IS_LAYOUT                      = WA_LAYOUT
         IT_FIELDCAT                    = IT_FIELDCAT
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
         I_SAVE                         = G_SAVE
        IS_VARIANT                      = G_VARIANT
         IT_EVENTS                      = G_EVENTS
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
        TABLES
          T_OUTTAB                       = IT_VBAP
       EXCEPTIONS
         PROGRAM_ERROR                  = 1
         OTHERS                         = 2
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " ALV_DISPLAY
    *&      Form  SET_PF_STATUS
          text
    FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'STANDARD' EXCLUDING EXTAB.
    ENDFORM.                    "SET_PF_STATUS
    *&      Form  SET_USER_COMMAND
          text
    FORM SET_USER_COMMAND USING R_UCOMM
                                RS_SELFIELD TYPE SLIS_SELFIELD.
      CASE R_UCOMM.
        WHEN 'DC'.
          READ TABLE IT_VBAP INDEX RS_SELFIELD-TABINDEX.
          IF SY-SUBRC = 0.
            SELECT SINGLE MTART
                          FROM MARA
                          INTO V_MTART
                          WHERE MATNR = IT_VBAP-MATNR.
            IF SY-SUBRC <> 0.
       MESSAGE E000 WITH 'NO MATERIAL DESCRIPTION FOR SELECTED MATERIAL NO'.
            ELSE.
              WRITE :/ 'MATERIAL NO :',IT_VBAP-MATNR.
              WRITE :/ 'MATERIAL TYPE :' , V_MTART.
      SUBMIT SLIS_DUMMY WITH P_MATNR EQ IT_VBAP-MATNR
                        WITH P_MTART EQ V_MTART.
            ENDIF.
          ENDIF.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'EXIT'.
          LEAVE TO SCREEN 0.
        WHEN 'CLOSE'.
          CALL TRANSACTION 'SE38'.
      ENDCASE.
    plz reward if useful

Maybe you are looking for

  • How can I find This field in what table OBMNG (Open quantity) Tcode Me23n

    hello, I need to find this field in a table and not in a structure because I am doing an extract. The structure that has this field is MEPO1320, but i cant pull data from it. I tried st05, where used in  and i could not find it, can someone help? ple

  • Need help on configuration in 1:N mapping

    hi experts, i doing idoc to multiple file scenario,.... using 1:N multimapping without BPM... i am following the bolg https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3115... [original link is broken] [original link is broken] [original link is

  • So where can I get, if not design, themes for my 5...

    I'd really like to be able to customize to the fullest. I like the built in Nokia theme, but it's just TOO default for me,a nd besides, EVERYONE has it! Thanks, in advance!

  • Unknown error (1417) and (1428)

    Hi, I have updated Itunes to version 7 and I'm trying to do the same for my ipod (version 1.2) but everytime I try, it give me a error window. When I try to update - The unknown error is (1417) and I also tried to restore instead and still gave me an

  • User and Pass command to record

    Saving of user and pass gets a resounding F Grade. To be brutally honest, if the programmers who wrote the code in question were working for me, they would now be fired. I have little regard for such incompetence in this day and age. It has been out,