How to have header for CL_SALV_TABLE displayed in custom container?

Hello ABAP Objects Community,  I am trying to write report using CL_SALV_TABLE and using a screen created in SE51 with a custom container control in which to put ALV grid.  However, when I try to put a header on the table, it does not display.
In reading the SAP help for "Display List Header and Footer", there is a grid that shows under what conditions the SET_TOP_OF_LIST can be used.  eg- Classic ABAP List, FullScreen, InTheContainer.  And for InTheContainer it is showing "No".
I found the demo program  SALV_DEMO_TABLE_SELECTIONS.  Look at form d0100_pbo.  This is what I am trying to do, except that I want it to have headers/footers.
If it is not possible to have headers/footers when using CL_SALV_TABLE in a container, what would be the coding technique for achieving this?
Best Regards,
Dean Atteberry.
Edited by: Dean Atteberry on Jul 27, 2009 11:01 PM
Edited by: Dean Atteberry on Jul 27, 2009 11:03 PM
Edited by: Dean Atteberry on Jul 27, 2009 11:03 PM

Thank you, Marcin, for your reply. 
I implemented Namish Patel's  code for exercises #1 (basic program) and #5 (header/footer) in abap and ran same.  It created alv grid with headers/footers.  However, upon looking at his factory statement, it is using the (default) "fullscreen" display type.  I am needing to put the alv grid in a container created on a screen in SE51, so am having to use the EXPORTING statement with parameters r_container (points to container object instance) and container_name (literal string name of component).
I found a description of how to use the ABAP control framework in ERPGenie that shows how to do what I was needing.
[http://www.erpgenie.com/sap-technical/abap/abap-control-framework]
Thank you again for responding to my question.
Dean Atteberry.
Edited by: Dean Atteberry on Jul 28, 2009 10:09 PM

Similar Messages

  • Oracle Service Bus 10.3 - split join how to set header for invoked service

    In Oracle Service Bus 10.3 how can I set the header for the service being invoked. We make parallel calls to 2 different business services. One of the invoked service requires header to be set and I am unable to figure out how it can be done. Below are snippet of the code and WSDL.
    --- Login Operation start ---
    <operation name="login">
    <wsdlsoap:operation soapAction="blah"/>
    <input name="loginRequest">
    <wsdlsoap:body use="literal"/>
    <wsdlsoap:header message="passport:loginHeader" part="hppwsHeaderElement" use="literal"/>
    </input>
    <output name="loginResponse">
    <wsdlsoap:body use="literal"/>
    </output>
    <fault name="genericFaultException">
    <wsdlsoap:fault name="genericFaultException" use="literal"/>
    </fault>
    </operation>
    --- Login Operation end ---
    --- hppwsHeader Element --
    <complexType name="hppwsHeaderElement">
    <sequence>
    <element maxOccurs="1" minOccurs="0" name="version" type="tns1:version"/>
    <element maxOccurs="1" minOccurs="0" name="tx-id" type="tns1:tx-id"/>
    <element maxOccurs="1" minOccurs="1" name="systemLangCode" type="xsd:string"/>
    </sequence>
    </complexType>
    --- LoginRequest Element ---
    <xs:element name="loginRequestElement" type="s0:loginRequestType"/>
    <xs:complexType name="loginRequestType">
    <xs:sequence>
    <xs:element name="userId" minOccurs="1" maxOccurs="1" type="xs:string"/>
    <xs:element name="password" minOccurs="1" maxOccurs="1" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    --- LoginResponse Element ---
    <xs:element name="loginResponseElement" type="s0:loginResultType"/>
    <xs:complexType name="loginResultType">
    <xs:sequence>
    <xs:element name="sessionToken" minOccurs="1" maxOccurs="1" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    In Oracle Workshop for WebLogic when I create a split-join .flow file while adding the invoke service call to login operation I am prompted to create the loginRequest and loginResponse variables. I can assign the appropriate expression to loginRequest.loginRequestElement prior to making the invoke call but then the backend business call fails because "systemLangCode" is not defined and set. Actual fault is
    <ns1:genericFault xmlns:ns1="http://hppcbl.globalops.company.com/webservice">
    <systemLangCode>en</systemLangCode>
    <fault>
    <ruleNumber>589</ruleNumber>
    <fieldName>systemLangCode</fieldName>
    <code>field.empty</code>
    <desc>System language code is required.</desc>
    <ftype>2</ftype>
    </fault>
    </ns1:genericFault>
    I would really appreciate if someone could guide me on how to resolve this
    Regards,
    -Nilay

    There is this $header variable which you should populate before calling the BS. What is the type of BS? If it is WSDL BS , Any Soap BS then above solution will work. I assume that yours is WSDL based BS and setting $header should resolve this issue.
    AnyXML and Messaging type BS services requires that you create proper pay load (setting $header will not work).
    There is also other actions Set Transport Headers {outbound request/inbound response} which can be used to set transport related headers but not soap headers.
    Manoj

  • How much is 3GS for a completely new customer ?

    Until now, the only apple product i've ever used is my ipod. i just want to know, how much is it for a new customer like me if i'm planning to buy three 3gs? i want to know the price for both the 16gb and the 32 gb. and are the price will be accompanied with a contract to at&t? if yes, for how long and how much should i pay beside for the handset?

    right, at first i'm not sure about the 199$ and 299$ price, because i thought those prices are only for existing iphone users...
    Yeah, i want to buy iphone for use in Indonesia, but the first thing i want to know is how much it will cost in the Us, so I canpredict how expensive it is when it is launched in my country. is it possible that the price in Indonesia and New Zealand is the same, if not cheaper, with the prices in the US when they are finaly launched in those countries? Because i'm planning to go to NZ for my vacation, and who knows if they launched this thing when i'm there....

  • Help Regarding a Picture Display in Customer Container.

    Hi,
    I am generating a ALV report output with an ICON in every  line to show the corresponding picture of the material in a Pop-up window.
    Now for displaying the picture at usercommand from ALV ,
    HTML browser is placed on the custom container screen and the URL is passed to the variable EDURL which helps in processing the material picture on the screen.
    The issues that  in this process is.. Picture pop-up currently shows briefly the previous picture before retrieving requested image .
    Please help me to solve this,
    Thanks
    Priyanka.

    Hi,
    While calling the pop up clear, refresh  all the variables and pass the new values.
    I guess when you are calling the Image for first time you are not getting any delay or previous image.
    So basically see the variables when calling for the first time and implement for the rest of times also.
    BR
    Dep

  • How to have Header and body in reciever SOAP adapter channel

    Hi Experts,
    Please help me with the following scenario.
    I am designing a webservice scenario and have the WSDL available .
    The webservice expect the SOAP message as follows
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Header>
        <SecurityHeader xmlns="http://onefile.cyzone.co.uk/webservices/proactive">
          <PortalID>int</PortalID>
          <Username>string</Username>
          <Password>string</Password>
        </SecurityHeader>
      </soap:Header>
      <soap:Body>
        <OrganisationCreate xmlns="http://onefile.cyzone.co.uk/webservices/proactive">
          <Organisation>
            <Title>string</Title>
            <Standards>
              <Standard>
                <StandardID>int</StandardID>
              </Standard>
              <Standard>
                <StandardID>int</StandardID>
              </Standard>
            </Standards>
          </Organisation>
        </OrganisationCreate>
      </soap:Body>
    </soap:Envelope>
    I imported the WSDL as external definition and can see all messages in XI
    In the corresponding operation( from WSDL) as given below, it indicates SecurityHeader to be used as SOAP header. However, the WSDL has OrganisationCreate and OrganisationSecurityHeader as separete messages. How do we combine these two in Message Interface.
    - <wsdl:operation name="OrganisationCreate">
      <soap:operation soapAction="http://onefile.cyzone.co.uk/webservices/proactive/OrganisationCreate" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      <soap:header message="tns:OrganisationCreateSecurityHeader" part="SecurityHeader" use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    Please advice.
    Thanks in advance,
    Mona

    Hi,
    Yes you are not supposed to create SOAP envelop, you have to cerate whole.
    See below links Consuming XI Web Services using Web Dynpro – Part II-/people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
    Consuming XI Web Services using Web Dynpro – Part I -/people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0d7349b6-0901-0010-ddbe-ec43178a61ff
    /people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client
    /people/kevin.liu/blog/2006/04/12/wsdl-11-binding-extension-for-soap-12
    Regards
    Chilla..

  • How to use filter for alv display in webdynpro

    hi,
         i have use select-options and what ever data is coming from the data base i display it using alv.
    i also want to include functionality like filter and all that , that comes in normal alv.please guide me how can i do it.
    thanks

    hi please remind  that this is not the proper forum for this ...go to this
    Expert Forums » ABAP Development » UI Programming

  • How to parse html for and display hyperlinks?

    I'm trying to design a report that has a text field that contains html formatted text and includes links. These links need to be clickable in a thick client Java application I'm developing and the only way I can see in Crystal Developer to make a clickable link is to have a discrete text element with a hyperlink (set using the hyperlink tab in the element properties) for each link.
    The problem I have is that there can be any number of links in the html and I need a scalable way to extract and display these links.
    So far I have used formulas in Crystal Developer to parse the html and extracte the links into a fixed size array and then display each link in a separate text element. I would like to be able to have only one 'link' text element in the report design and create as many link elements as required depending on how many links are present in the html.
    How is this possible? With some funky grouping voodoo maybe, or something else? Please help me achieve this.
    Cheers,
    Elliot.

    Hi Elliot,
    Follow these steps, and check the output.
    1.Right click on the field object and select "Format Editor".
    2.Click on the "Paragraph" tab and select the "Text interpretation" as "RTF Text" or "HTML Text".
    3.Click on "Ok" button.
    Hope this helps.

  • How to translate heading for new_internal_link_admin

    Hello SAP experts
    I would like to change the danish translation of the heading you see if you try to create an internal link through the UICommand "new_internal_link_admin". You can find this UICommand in Content Management > User Interface > Commands > UI Commands with Selection and you can see it in action if you go to Content Administration > KM Content and click "Folder > New > Link...". Here you see the heading "New Internal Link", and the question is how I can change this text?
    I have ten points ready for the one who can help me solve this troublesome issue.
    Kind regards,
    Martin

    Hi Patricio
    First thank you for helping me out.
    I know that I should duplicate the command, and create a new bundle file in order to make an upgrade proof solution. But where and what is the Label Key for the heading "New Internal Link" in the dialog box that the UICommand "new_internal_link_admin" opens?
    I don't see it... and because of that I believe we will be forced to change some .properties-file directly on the server. But if that is not neccessary, I would be a happy man (because I can't find that file).
    Kind regards,
    Martin

  • How to have Safari remember PDF display preference (two pages continuous)?

    I am using the built-in PDF viewer in safari and every single time I am a opening a link or document I have to right-click and choose "two pages continuous" (or at least zoom out) to obtain suitable display preferences.
    Is there a way to have Safari remember the last-used or preferred display settings for PDF? All recent versions of Safari (including Yosemite) have this problem.
    Thank you so much,
    Christophe

    Thank you most kindly Aandi,
    Exactly!! It boggles my mind sometimes ... I'm reading manuals all day long, running a dozen complicated applications (making movies, music for movies, and now 'books'), and my brain did not register the most obvious ... a dozen times I scanned that menu item. Tick, tock.
    You help is most appreciated...
    Ben

  • Cfbind within a cfselect - How to have multiple values in display propery?

    I am binding a cfselect tag to a CFC, it's working as expected but I want to have more than one value populating the display="" part of the 2nd cfselect.The CFC returns a query of company information based off of the activty_id sent in.
    This is what I currently have (roughly):
    <cfajaxproxy cfc="mysite.templates.cfc.companies">
    (this is working fine)
    <cfselect name="activity_id" bind="cfc:mysite.templates.cfc.companies.fncActivity()" display="activity_name" value="activity_id" bindonload="yes" />
    Here's where I want to display more than one value. This works as shown below but I want display="company_name company_city company_state" in the cfselect instead.
    <cfselect name="company_id" bind="cfc:mysite.templates.cfc.companies.fncCompany({activity_id})" display="company_name" value="company_id" />
    In debugging the CFC I am getting this returned:
    Bind failed for select box company_id, columns matching the value or  display attributes specified on the cfselect tag are not present in the  query
    Is this possible?

    The display attribute can only reference a single column. Concatentate the values together under a single column in your query. Then use the new column name in your bind.

  • How to change layout for list display in background

    Hi All,
    I want to change layout for the list display of tcode fbl1n when i execute in background. is there anyway to select our own layout when i execute in background. When i execute in foreground we can change the layout by selecting change layout button, but how it possible when in backgroung, is there any way please let me know.
    Thanks in advance.
    Regards,
    Vishal

    Hi,
      Create a list variant by executing the program and changing the layout and saving..
      Then use the "Layout" parameter in the selection screen and give the variant you created earlier...
      Then while executing in background the list variant will be pickedup accordingly (given in the selection screen)..
    Hope this helps...
    THanks,
    Naren
    Message was edited by: Narendran Muthukumaran

  • How to resize photos for retina display to avoid pixelation?

    My original image file looks fine but after scaling down, it looks pixelated. However, it looks fine on non-retina display. Why is this so and how do I solve it?
    Would appreciate your help!

    Can you give us more details about the size/resolution of the photo before and after scaling it down?

  • [Solved]how generate a *.files for pkgfile whit a custom off-line repo

    I reated a repo whit repo-add (and options) but I noticed that I cannot get throw manpages a way to create a $repo.files for pkgfile
    my reppo is on my home for now, I learning how create one,thisis why I ask
    any 'hiden' or special combination of script for creating that file??
    another think is... abs download from the master svn branch right??
    Last edited by Jristz (2013-06-08 02:53:45)

    $ repo-add --files foo.files.tar.gz pacman-4.1.1-1-x86_64.pkg.tar.xz
    ==> Adding package 'pacman-4.1.1-1-x86_64.pkg.tar.xz'
    -> Computing checksums...
    -> Creating 'desc' db entry...
    -> Creating 'depends' db entry...
    -> Creating 'files' db entry...
    ==> Creating updated database file 'foo.files.tar.gz'
    Second to last line:
    " -> Creating 'files' db entry...
    The "$repo.files" database is just a regular database with extra files in it. You can name it whatever you want. Pacman can use it the same way it uses the regular "$repo.db" file.
    The only reason that servers include both $repo.db and $repo.files is that $repo.files is larger. Most people do not need the file lists, so there is no need to download them. If you are running a local server, then you should just create one database with "repo-add --files", can create a symlink:
    $ repo-add --files foo.db.tar.gz
    $ ln -s foo.db files.db
    Otherwise, you have to run repo-add twice. Once to create $repo.db without the file lists, then once again to create $repo.files with the lists.
    My repo-add_and_sign script does this automatically. It can also batch-sign packages and databases.

  • How to trace reason for failure to synchronize customer in OPM Financials

    Sirs,
    I created a customer in Order Management and process Synchronize Customer in OPM Financials. The result is "Failed"
    How to trace the reason for the reason to synchronize?

    Sirs,
    I created a customer in Order Management and process Synchronize Customer in OPM Financials. The result is "Failed"
    How to trace the reason for the failure to synchronize?
    thanks!

  • I have a problem with display page which contain flash. The text is unreadable, see attachement.

    When I start flash app on www.wsistudens.com then text is undreadable, cannot read the article.
    Can I send attachement? I cannot find the email contact to firefox.

    Attachement

Maybe you are looking for

  • How to Connect My Intranet Site to the Office's Server

    Hi, My boss recently wanted me to create an "intranet" site for the office. it bascially is supposed to be a one webpage with llinks to different folders on the server for greater ease for the sales reps. What are the steps to link the buttons on my

  • How do you turn off Auto-Sync without connecting  the ipod  to PC?

    My Purchased Tracks was deleted off my computer, but I still have all of them on my ipod. I have iTunes 7, so I am aware I can transfer all my purchased music from my ipod to itunes. But I know auto-sync is set up, so when I connect it to my computer

  • Pro*C  using client server and the sqlca - any takers

    Hi all This is my 1st post and it's about Pro*C. At work, we are porting our Pro*C apps from VMS to XP/NT. Has anyone done this before, anything to be aware of? Also am planning a client/server architechture for my next project, but with Pro*c, and a

  • Error 997

    For reasons unknown to me, CFMX Server service won't start (had been auto-starting fine for years). When I attempt to start it, I get "Error 997: Overlapped I/O operation is in progress." I've not installed any new programs since the server last work

  • I hove forgot my appe id security question. What can I do ?

    I hove forgot my appe id security question. What can I do ?