Logic for Expand/compress icons

Hi all,
iam creating a custom transaction in which if you click on partner row in Partner tab an address dialog box pops up...
(similar to sales order/header/partner tab)
now, i want my window have the same func as the SAp window has but iam having problems in trying to understand what SAP is doing..
My question:
logic for expand/compress icons in the dialog box..
how can i implement the logic for expand/cmpress icons..
if i click on expand, i should see all the fields and if i compress ,all initial fields should compress and if all fields are filled and then u click on compress the icon should disappear(similar to SAP)..
my present logic is not able to switch the expand/compress properly..iam using screen-names for these...i see that SAP is using icons but iam not sure how to do this..
can anyone input..
gretaly appreciate....

Hi Karunya,
I have done something similar on the selection-screen of a Custom Report using text symbols & icons. You can probably try it out.
parameters:
  p_cstopn type c no-display. 
selection-screen:
  pushbutton 1(33) p_pcust user-command cus.
at selection-screen.
Check whether the additional selections screen is open or closed
  if p_cstopn = space. 
    p_pcust = text-opn. 
  Make all fields invisible
    loop at screen.
      if screen-group1 = c_customize.
        screen-input = 0.
        screen-invisible = 1.
        modify screen.
      endif.
    endloop.
  else.
    p_pcust = text-clo.
  endif.
In the text symbols :
use @3S@ Open Additional Selections forTEXT-OPN &
    @3T@ Close Additional Selections for TEXT-CLO
Good Luck,
Suresh Datti

Similar Messages

  • How do I remove expand / collapse icon for JTree empty folders

    Hi
    I am using a JTree as a file system browser. I use DefaultMutableTreeNode nodes.
    I have a problem with empty folders.
    Empty folders show the expand / collapse icon, leading the user to believe there are sub-directories. When the user double-clicks the folder, the expand / collapse icon goes away. This is a "haha-gotcha" glitch that I really don't want my users to have to continually deal with.
    So, how might I get my JTree to not show the expand / collapse icon for empty folders?
    Thanks
    Wayne

    Maybe I can use the FileSystemView isTraversable(File f) method in my TreeCellRenderer class to check if anything is in the directory.
    But I still need to know how to disable the expand / collapse icon for such a node.

  • 'Expand All' icon in a tree structure?

    Hi experts,
    If we create a tree UI element in ABAP WD, we automatically get a 'Collapse All' icon.Is it possible to have a 'Expand All' icon as well?
    thanks in advance,
    Pras

    Hello Pras,
    You will not get any Collapse All icon when you create a tree UI Element .
    You can expand or collapse the tree by clicking on the  Parent Elements in the tree.
    If you want to explicitly handle the Expand All and Collapse All functionality you need to put a button in the toolbar with name Expand ALL and handle it explicitly by setting attribute EXPANDED to abap_true for each and every element in the tree for Expand All action and vice versa for Collapse All.
    Hope this is of some help.
    Regards,
    Ismail.

  • Request for reporting  available icon is missing !

    Hi,
    I have an infocube which has been uploaded by ODS and the data load was successful. 
    But--
    The request for reporting available Icon is missing in the request.
    Prior to this dataload, yes there were falided requests which i had deleted before uplaoding it self.
    Why i am not seeing the icon?
    Raj

    Hi Raj,
    If you are using BI 7, then in the mange tab of the infocube check in the extream right ....
    otherwise it should appear...
    if you are talking abt ODS then you might have missed the step to activate data in ods.
    hope this helps..
    cheer's
    HVR.

  • Logic for carry forward of previous stock to current period stock.

    Hi Experts,
    Client is using already MC.9 for see the stock analysis report, however as per there requirement we are exploring BOM as well as fetching quantity from table level as well. in my report I am experiencing  difficulty to carry forward previous period closing stock quantity to current period stock quantiy, if there is no received for current period, however the same is happens in MC.9
    Could any one tell me what is the logic behind MC.9 which is do carry forward previous period closing  stock to current period stock quantity in report.
    As per the requirement I am using S031, S032,S033, however unable to get logic for carry forward the previous month stock quantity to current month.
    have a requirement of creating a report of showing material stock period wise for each plant in below mention format.
    Header 1
    Header 2
    Header 3
    Header 4
    LFGJA/LFMON
    ROH (MT)
    HALB (MT)
    FERT (MT)
    11.2013
    100.000
    121.000
    121.00
    12.2013
    50.000
    12.000
    123.00
    01.2014
    23.231
    .23.234
    45.342
    02.2014
    23.231
    34.094
    45.098
    03.2014
    34.098
    98.983
    00.000
    04.2014
    00.000
    69.093
    98.098
    05.2014
    00.000
    89.098
    00.000
    For Example Break up of ROH material plant wise in below mention format.
    LFGJA/LFMON
    WERKS
    MENGE (MT)
    11.2013
    P001
    30.000
    11.2013
    P002
    50.000
    11.2013
    P003
    20.00
    Thanks in advance,
    SKN

    Hi,
       The last period closing stock = current period opening stock. You may get the details from MBEWH and S032 tables. Refer the doc: Material Stock and Valuation History tables - how to read them
    Regards,
    AKPT

  • In MVC, do i need a View or Page with flow logic for POPUP window

    Hi All,
    I have the below scenario using the MVC pattern.
    I have a main view with 3 trays, each tray has two buttons, for example first tray has Create Order button. When I click on this button, I need a popup window to come with a tableview and a button(Create), where I select some rows and click on the button Create  to create order.
    But as per the MVC pattern I canu2019t call the view (popup) from another view(main view).  So should I create a VIEW or PAGE WITH FLOW LOGIC for the popup? .
    I need 6 popup to be called from the main view and once the function is done close the popup.
    Please suggest me the flow for this scenario.
    Cheers,
    Srini.

    Srini,
    1. You can call the view in pop-up because you will be calling the controller using open.window.
    Here is the sample code:
    method DO_REQUEST .
      data:
            li_vw           type ref to   if_bsp_page,
            lv_form_field   type          string,
            li_md           type ref to   zcl_model01.
      dispatch_input( ).
      li_md ?= get_model( 'm01' ).
      lv_form_field = request->get_form_field( 'invoice_create' ).
      if lv_form_field is initial.
    *------ Request to display main page
        li_vw = create_view( view_name = 'main.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      elseif lv_form_field eq 'true'.
    *------ Request to display Invoice page in pop-up
        li_vw = create_view( view_name = 'invoice.htm' ).
        li_vw->set_attribute( name = 'model' value = li_md ).
        call_view( li_vw ).
      endif.
    endmethod.
    Layout:
          function do_Invoice()
          { var s=0; r=1; w=300; h=300; x=screen.width/2;
            x=x-w/2;
            var y=screen.height/4;
            y=y-h/2;
            popUp=window.open('main.do?invoice_create=true','win','width='+ w
            +',height='+ h +', left=' + x +',top='+ y +');
    Option2:
    Ofcourse you can't bind the model in page becos those are 2 different things. But all you need to do is access the model to get some value. To know how to access the model from Page w/flow logic look at [this link|Passing model reference to a page in a Popup].
    Raja
    Edited by: Raja Thangamani on Apr 14, 2009 11:22 AM

  • What is the logic for 2LIS_17_I3HDR to pick a order as completed on time?

    Hi, Experts:
    I am working on PM using 2LIS_17_I3HDR to load data. In 2LIS_17_I3HDR, there is a field called "orders completed on-time". I am wondering what is the logic for 2LIS_17_I3HDR to identify if an order was completed on time. I would assume it compares some kind of completion/finish date with a planed/schduled comletion/finish date. Would someone please tell me what fields in what table or in transaction IW39 DOES does 2LIS_17_I3HDR  use for this?
    Many thanks!
    Jenny

    Hi, Ram:
    Thank you for the reply!
    The key figure is ZHLAFIH_TGERL (Number of On-time Closed Orders). I saw some SAP programs refering to its component type "DZHLAFIH_TE" too.
    Thanks,
    Jenny
    Edited by: Jenny Chen on Dec 2, 2009 7:53 PM
    Edited by: Jenny Chen on Dec 2, 2009 7:55 PM

  • I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money? Does it have a line in and how do you monitor sound? Will I need adaptors and a interface?

    Can anybody help?
    I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
    Does it have a line in and how do you monitor sound?
    Will I need adaptors and an interface?
    Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
    I see all the upgrades as additional memory or a faster process?
    Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
    The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
    I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
    I have £500 already and willing to add another 500 to 700 pounds, then software extra.

    Can anybody help?
    I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
    Does it have a line in and how do you monitor sound?
    Will I need adaptors and an interface?
    Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
    I see all the upgrades as additional memory or a faster process?
    Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
    The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
    I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
    I have £500 already and willing to add another 500 to 700 pounds, then software extra.

  • How do I remove the "TOC" btn in the playbar WITHOUT removing the TOC "Expand/Collapse" icon?

    I am working in CP7 on a project with a Table of Contents that is set to 'Overlay'. The client has requested that I remove the "TOC" button in the playbar, without removing the TOC "Expand/Collapse" icon, so that the user can still hide/reveal the TOC when necessary. The only control I can find is the "Show TOC" checkbox under Project > Table of Contents. However, un-checking this option removes both the "TOC" button AND the "Expand/Collapse" icons. Is it possible to remove just the "TOC" button in the playbar?

    If you are using SWF output you can always edit the playbar in Flash and remove it.
    If HTML5 you can edit the JavaScript out put to remove the button from the playbar.

  • Logic for making ASN as an attachment to a email?

    hi all,
    can anyone help me trying to write a logic for making the Advanced Shipment Notification as an email attachment after having converted it into pdf format?
    I need logic for:
    1) Initially converting it into pdf
    2) Making the pdf as an attachment and not as a general email content.
    Thanks & Regard/Aryan

    Dear Aryan,
    This conversion to pdf can be done by using program RSTXPDFT4, and for the pdf to be sent as attachment you need to contact your technical team as they will write a script for that, scheduling of the same can also be done.
    Reward Points if it helps,
    Regards,
    N

  • Where to see the logic for 0FYEAR (SAP Exit)

    There is already an SAP exit 0FYEAR. There is a requirement to make ZFYEAR1 just like 0FYEAR. So, i want to see where the code (logic) for 0FYEAR is present so that i can write the the same for my custom variable(ZFYEAR1) in CMOD. Can anyone help me with the name of the program?

    Include ZXRSRU01 --> Function Module EXIT_SAPLRRSO_001
    or
    Search for Function Module RSVAREXIT_ [variable name]
    Variable Name = 0FYear

  • GL A/c numbering logic for chart of accounts BAIN

    Hi,
    Will any expert pl let mek now What is the GL A/c numbering logic for chart of accounts BAIN (BAIN is standard ch of A/c for India apart from CAIN)?
    Regards
    Anand

    Your question is not clear about numbering logicu2026
    First of all the GL Account # are always externally assigned (it can be either numeric and alphanumeric)
    The length of GL account is 10 digits. But if you give it as 6 in TC OB13 then
    u2022     Numerical account numbers
    The system includes zeros to the left of the number
    0000001234
    u2022     Alpha-numeric account numbers
    The system includes zeros to the right of the number
    1131DB0000

  • GOS - Services for Object attachment icon

    I may be posting this in the wrong forum, but my question is this.  Is the Services for Object button ICON supposed to change colors or something when there is an attachment?  How can you tell if there is an attachment for the object?

    Thanks for the reply.  This is true, what you say.  But I was talking about the the Services for Object Icon.  I want to know if an attachment exists without having to click on on the button.  I would expect the button to change colors or something if there is an attachment.

  • Jsp code for image compression

    Hai,sir this is surendra i am doing a project using jsp and mysql.
    In that each user can put his image and i am storing that image in mysql blob but that results to that database size.
    So i need jsp code for image compression or another way for storing images.

    There's no need to store images in db. You may store them in a dedicated folder.

  • Reg : Logic for Report

    Hi ,
    I would like to know one logic for preparing functional specification for one MM report. This report should fetch all materials that are below safety stock.
    Please help me.

    HI,
    The logic is you take the current unresticted stock of a material from MARD table, field name is LABST.now you check for the safety stock of the particular in MARC table Field name-EISBE.
    Now compare the current stock with the safety stock,generate a report for the materials whose present stock is less than the safety stock.
    for this requirement safety stock should be maintained in the material master,other wise your report will not work.
    Regards,
    velu

Maybe you are looking for

  • Using Two DAQ, is it possible?

    Hi you guys! First of all, my name is Carlos and i´m a student of Mechanical Engineering. At the time, we dispose (in our university) from several test banks that are in poor conditions, so I been told to repair one of them. In`s a Refrigeration Test

  • Setting the classpath of classes12.zip for Tomcat

    Hi I am using Apache Tomcat webserver and while trying to run a jsp page which intializes oracle.jdbc.driver.OracleDriver it throws an error java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver Please suggest how to set the classpath of

  • Out of memory errors when trying to sync local and remote sites

    We cannot get our remote and local sites synchronized for the first time. We have a huge site and we get out or memory errors or the synch just doesn't work. Any solutions or insights? Our site has 9,000+ HTML files and accompanying images, pdfs, etc

  • Process keys maintenance  for Inventory data

    Hi, Can any one suggets the Procedure for to maintain the Process keys at the time of extracting  Inventory data from Ecc6.0 to BI 7.0. Thanks, Chandra G

  • Editable components in JList cell?

    I want to create a JList of objects, where the list entries contain a JCheckBox that corresponds to a boolean property. It's easy to add the checkbox by writing a new ListCellRenderer. BUT, the checkbox can't be edited-- mouse-clicks only select/dese