Displaying Header Data within Group Section

I am trying to reformat our 1099 forms and am having trouble getting our company address to show up w/in the table that contains each individual employee's information. I can't upload the data since it contains sensitive info but basically I have a group for each employee's info:
<LIST_G_MAIN_SELECT>
<G_EMP>
<NAME>Rob</NAME>
<SSN>111-11-1111</SSN>
<EMP_ADDRESS>500 Any Street</EMP_ADDRESS>
</G_EMP>
<G_EMP>
<NAME>Steve</NAME>
<SSN>111-22-1111</SSN>
<EMP_ADDRESS>450 Any Street</EMP_ADDRESS>
</G_EMP>
</LIST_G_MAIN_SELECT>
<C_COMPANY_ADDRESS>1000 N 1ST STREET</C_COMPANY_ADDRESS>
In my template I am using a <?for-each:G_EMP?> and then have the employee info in the table but I also need to put the C_COMPANY_ADDRESS in every table as well. When I point to that field it does not show up. I am assuming it is b/c it is outside the group?
Thanks in advance!!
Rob

Hi Rob,
put them in variable outside the place where it is accessible and access it inside the loop
<?variable:var_add;/APXT7F99/C_COMPANY_ADDRESS?> put this before the loop.
and inside the loop access it as <?$var_add?>
or
make the the loop from root ie. absolute path not by relative path
something like
<?for-each:/APXT7F99/LIST_G_MAIN_SELECT/G_EMP?
inside the loop, you can access the addres as <?../../C_COMPANY_ADDRESS?>
or
Would be glad to assist you , if i have the xml and template , remove sensitive info and send them :) to my id.

Similar Messages

  • How to display Header data

    Hi All,
    How can i display header data in a simple report(its not an ALV report).
    i am planning to use event TOP-OF-PAGE for this.is this correct?
    Can anyone explain me through a piece of code.
    Thanks,
    Rupesh

    Hi,
    Top-of-page is an event which will produce a static header that is even you scroll the list the header will be displayed. But when you not use the top-of-page event You will notget the static header.
    say for example,
    data : itab like mara occurs 0 with header line.
    select * from mara into table itab upto 100 rows.
    loop at itab.
    write : /1 itab-matnr.
    endloop.
    top-of-page.
    write : /1 'header'.
    also use the code,
    data : itab like mara occurs 0 with header line.
    select * from mara into table itab upto 100 rows.
    write : /1 'header'.
    loop at itab.
    write : /1 itab-matnr.
    endloop.
    see the difference in the header.
    Regards,
    Sanki.

  • Scenario....displaying header data in tables....

    Hi experts,
    i have a scenerio in which i m displaying the data with header  and  after that in the next line i need the data from another table with a diffrent header the data being related to one of the field  of the above displayed data.I require this to continue for different data...
    Let me explain you with an example.....i display the data from sflight with header...which contains carrid,connid,currency,price etc...and now in the next line i require booking details from sbook for the same carrid to be displayed with a header...i want this sequence to be repeated for each carrid in sflight.
    i hope i get some help from you people.....
                                                                                    thnx and regards......
                                                                                    Runali

    Hi Runali.
    You could achieve this by using a table as TablePopin:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/23/5e9041d3c72e7be10000000a1550b0/frameset.htm
    Cheers,
    Sascha

  • RECN: Conditions Tab: Header data for second section not appearing

    Hello,
    Need your kind advise please. I have entered a contract successfully. The contract type is Pay:Rates Payment. The contract has been successfully saved.
    The problem comes when I am trying to display the contract. Here is what's happening sequentially:
    Procedure 1
    1.  I am using TCode RECN and keying in the contract number.
    2. Upon pressing Enter, the General Data tab of the contract is opening.
    3. I am clicking on the icon to change the status from 'display' to 'change'. The mode successfully becomes the 'change mode'.
    4. I am clicking on the Conditions tab and I can see that the screen shows two sections. The top section shows the various conditions that I have created. The bottom section shows the details of the condition for the line item selected from the top section.
    5. I am making the necessary changes and successfully saving the changes made to the contract. Then I am pressing F3 and coming back to the main RECN screen.
    BUT:
    An error occurs when I modify the above procedure slightly.
    Procedure 2
    1. When I am entering the contract once more, the first screen that is opening is the Conditions tab of the contract (quite naturally as this was the last screen that i used just now).
    2. When I am then clicking on the icon to change the status from display to 'change', the system is issuing an error message "Please fill all the mandatory fields".
    3. Upon close examination i am finding that in the bottom section of the Conditions Tab (which is supposed to show the details of the condition on which the cursor has been selected in the top section) the field just above the 5 tabs (ie. Condition, Terms, Calculation, Distribution, Memo) is not populating with the name of the condition on which the cursor has been selected in the top section.
    4. Since this field is a mandatory field, the system naturally throws the error "fill up all mandatory fields".
    The point to be noted is that this field gets perfectly populated when i am following the procedure 1. But in the same contract, this field doesnt get populated and throws the error message when I am following the Procedure 2.
    Request you to please help me understand why in the procedure 2, the field is not getting populated.
    Regards.

    Hello Veman,
    Many thanks for the kind response. However in my case the problem is that when I am trying to go into the 'change' mode for an existing record (which has already been once successfully saved), it is STILL throwing the error message 'fill up all mandatory fields'. The only way to come out of the screen is to press the 'cancel' button.
    What is even more funny is that when I am trying to enter the contract directly using the menu RE Cntract - Change from the first RECN screen, then there is no problem coming.
    My question is WHY is the system throwing that error message when clearly there is no error existing in the record. I believe this will be a programming error. The problem that i am referringto matches very closely to the solution provided vide note number 1291666. The reason why I cant apply this note is because my SAP release is 600 whereas this remedy is for 602, 603 ans 604.
    Regards,
    Suvarghya Dutta

  • How to display header data of an input layout

    Hi Experts,
    I have a problem with the two-parted layout. The header information is not displayed in the folder (neither for the input nor for the output layout).
    Some data can be displayed in variables and/or column headings but still I need to show some more important data.
    Does anybody have an idea how to solve this?
    Any hints will be appreciated.
    Thanks,
    Attila

    Hi Alexander,
    Yes, I mean the folder type '1 Folder with Separate Input/Output Areas, Not Web-enabled'. We use the upper layout for data input for several combinations and we sum up the data in the lower output layout.
    In this way the user doesn't have to swith to a query and refresh it every time he wants to know where he is. So I think it makes a lot of sense.
    The thing is, I have only one active button (Check) for the input layout and no buttons at all for the output layout.
    I checked the header settings in BPS0, its OK. I have three unchecked characteristics. But I still don't have the header or the 'Header On/Off' button when I execute the folder.
    I'm affraid this option is not available in our version as Vlad wrote. Which SEM version do you have ?
    Best,
    Attila

  • Display Header data to item level in me21n

    Dear Friends ,
    I have the  requirement that Incoterm field in me21n at header level while creating purchase order needs to get reflected at item level too. Currently it is blank (at item level).
    Is it the development or Customisation?
    Can anybody please explain me how to go abt it?

    If you enter an Incoterm on header level, this is valid for all items that do not explicitly have an Incoterm.
    If you then enter an Incoterm on item level, this overwrites the Incoterm entered on header level.
    So it's not clear why this requirement has come up.
    http://help.sap.com/saphelp_srm50/helpdata/en/0c/b91b3f7f9e3642e10000000a114084/content.htm

  • Display header data only in multiple xl sheets

    hi all,
    my rewuirement is as follows.:
    i need to write a code for template. when i click this template i have to header in different xlsheets. idont have line items.
    plz send me the code.
    thanks,
    maheedhar.t

    arey nani...requirement spelling correct ga ledu ..choodu okasari

  • Display all dates between date range (Time Dimension left outer join Fact)

    All,
    I have done some searching around this issue but within all the posts regarding date variables, date prompts and date filtering I haven't seen one exactly answering my issue (maybe they are and I just dont have my head around it correctly yet).
    My report requirement is to allow a user to select a start day and an end day. The report should show all activity between those two days - AND display 0/null on days where there is no activity. That second part is where I am getting hung up.
    The tables in question are:
    TimeDim
    EventFact
    CustomerDim
    My BMM is setup as follows:
    TimeDim left outer join EventFact
    CustomerDim inner join EventFact
    If I run a report selecting DAY from TimeDim and a measure1 from EventFact with day range 1/1/2010 - 12/31/2010 .. I get a record for every day and it looks perfect because of the left outer join between TimeDim and CustomerDim.
    But .. if I add in a field from CustomerDim, select TimeDim.DAY, CustomerDim.CUSTNAME, EventFact.MEASURE1, OBIEE only returns records for the days that have EventFact records.
    This is due to the fact that the TimeDim is still outer joined into EventFact but adding in CustomerDim makes OBIEE setup an inner join between those tables which then causes only data to be returned where EventFact data exists.
    There is a way around this in this simple case and that is to define the relationship between CustomerDim and EventFact as an outer join as well. This will give the desired effect (but an outer join between these two tables is not the true relationship) and as I add additional dimensions and add additional logical sources to a single dimension in the BMM it gets complicated and messy.
    Ive also messed with setting the driving table in the relationship, etc.. but it has not given the desired effect.
    Has anyone ever encountered the need to force display all dates within a specfied range with a fact table that may not have an entry for every date?
    Thanks in advance.
    K
    Edited by: user_K on Apr 27, 2010 11:32 AM

    It worked!!!* Even my time drill downs and date based filtering still work!
    That is awesome. Never would have thought of that intuitively.
    Now, just need a little help understanding how it works. When I run my report and check the logs I can see that two queries are issued:
    Query 1: Joins the fact table to all the associated dimensions. I even changed all the relationships to inner joins (which is what they truly are). And calculates the original measure. If I copy and paste this query into sql developer it runs fine but only returns those rows that joined to the time dimension - which is what was happening before. It is correct but I wanted a record for every time dimension record.
    Query 2: Looks like the following:
    select sum(0)
    from timedim
    where date between <dateprompt1> and <dateprompt2>
    group by month *<--* this is the time dimension level specified in Query 1, so it knows to aggregate to the month level as was done in query 1
    Final Question: So what is OBIEE doing ultimately, does it issue these two requests and then perform a full outer join or something to bring them together? I couldn't see anywhere in the log a complete query that I could just run to see a similar result that I was getting in Answers.
    Thanks for all the help .. Id give more points if I could.
    K

  • Hierarchical display of data

    Hi All,
    I want to display header data & after single record of header
    record corresponding item details to be displayed.
    What i have to use for that. Is it possible with ALV GRID.
    Please Give me reply

    hi
    good
    Add following code to 'STATUS_0100'(PBO module)
    Create ALVtree Hierarchy
      PERFORM create_alvtree_hierarchy.
    Add following code to 'Z......F01' INCLUDE
    *&      Form  CREATE_ALVTREE_HIERARCHY
          text
          Builds ALV tree display, (inserts nodes, subnodes etc)
    form create_alvtree_hierarchy.
      DATA: NODE LIKE MTREESNODE,
            ld_node type string.
      LOOP AT it_ekko INTO wa_ekko.
    Build the node table.
    Caution: The nodes are inserted into the tree according to the order
    in which they occur in the table. In consequence, a node must not
    occur in the node table before its parent node.
      Node with key 'Root'
        node-node_key = wa_ekko-ebeln. " 'Root'.   "#EC NOTEXT
        " Key of the node
        CLEAR node-relatkey.      " Special case: A root node has no parent
        CLEAR node-relatship.     " node.
        node-hidden = ' '.        " The node is visible,
        node-disabled = ' '.      " selectable,
        node-isfolder = 'X'.      " a folder.
        CLEAR node-n_image.       " Folder-/ Leaf-Symbol in state "closed":
        " use default.
        CLEAR node-exp_image.     " Folder-/ Leaf-Symbol in state "open":
        " use default
        CLEAR node-expander.      " see below.
        node-text = wa_ekko-ebeln.      "'Root'.
        APPEND node TO node_table.
        LOOP AT it_ekpo INTO wa_ekpo WHERE ebeln EQ wa_ekko-ebeln.
        Node with key wa_ekpo-ebelp    "'Child1'
          ld_node = sy-tabix.
          concatenate wa_ekpo-ebelp ld_node into ld_node.
          node-node_key = ld_node.  "'Child1'. #EC NOTEXT
        Node is inserted as child of the node with key wa_ekpo-ebeln  "'Root'.
          node-relatkey = wa_ekpo-ebeln.  " 'Root'.
          node-relatship = cl_gui_simple_tree=>relat_last_child.
          node-hidden = ' '.
          node-disabled = ' '.
          node-isfolder = ' '.
          CLEAR node-n_image.
          CLEAR node-exp_image.
          node-expander = ' '.  " The node is marked with a '+', although
                           it has no children. When the user clicks on the
                           + to open the node, the event
                           expand_no_children is fired. The programmer can
                           add the children of the
                           node within the event handler of the
                           expand_no_children event
                           (see method handle_expand_no_children
                           of class lcl_application)
          node-text = wa_ekpo-ebelp.
          APPEND node TO node_table.
        ENDLOOP.
      ENDLOOP.
    Add nodes to alv tree
      CALL METHOD GD_TREE->ADD_NODES
        EXPORTING
          TABLE_STRUCTURE_NAME = 'MTREESNODE'
          NODE_TABLE           = NODE_TABLE
        EXCEPTIONS
          FAILED                         = 1
          ERROR_IN_NODE_TABLE            = 2
          DP_ERROR                       = 3
          TABLE_STRUCTURE_NAME_NOT_FOUND = 4
          OTHERS                         = 5.
    thanks
    mrutyun^

  • How to display the header data on different position in alv report

    hi all,
    how to display the header data on different position in alv report.
    for example ,
    customer                                                   name
      xxxx                                                         xxxx
                     vendor        name     street 
                      xxxx         xxxx      xxxxx
    pls   help me .

    hi
    as per my understanding you need to trnasfer header internal table data  to pdf..
    please check the following links for internal table to pdf..
    Convertion of Internal table data to PDF
    This link is related to ur issue
    Re: how to insert the calling of the FM: OTF to PDF
    Thanks

  • How to display text value in the header data (Header text) of credit memo

    Hi...
    I need to display the text value of the text field in the header text of the header data in credit memo.
    The text values are stored in a ztable and i need to display it based on the billing document stored in vbrk (zfield) that was inserted during the creation of credit request..
    Appreciate your help on how to do this...
    Thansk and will surely reward the points..
    Kanthi..

    Hi kanthi ,
                   Read the value from Z Table and during the creation of cedit memo check out for some exit where u the value from The zTABLE AND use function module SAVE_TEXT with object and id in the header text .
    Please award if useful.

  • Group and display XML Data

    Hi,
    I am building a Dynamic form with below XML to be displayed in tabular format grouped by resultType with comma separated resultDesc.
    <resultTypeParent>
         <resultInfo>
              <resultType>ACP</resultType>
              <resultDesc>Policy</resultDesc>
         </resultInfo>
         <resultInfo>
              <resultType>ACP</resultType>
              <resultDesc>Compliance</resultDesc>
         </resultInfo>
         <resultInfo>
              <resultType>ACP</resultType>
              <resultDesc>Operations</resultDesc>
         </resultInfo>
         <resultInfo>
              <resultType>ACP</resultType>
              <resultDesc>Frameworks</resultDesc>
         </resultInfo>
         <resultInfo>
              <resultType>FKE</resultType>
              <resultDesc>Data</resultDesc>
         </resultInfo>
    </resultTypeParent>
    The output should look like,
    ACP                                             FKE
    Policy, Compliance,                       Data
    Operations, Frameworks
    Can someone help me with a solution/ideas?
    Thank you,
    Sandeep

    You can try converting the blob object first to a string and then displaying it in the Output text field. You can refer to
    How to Convert  Blob to String ? Hi All,
    for converting a blob to string. It many not be a very good idea if the size of the blob very large.
    Thanks,
    TK

  • HR BAdi to display the header data of employee (PA30)

    Hello All,
    I am using transactions PA30 and PA20 to change the HR master data. I will explain my problem as follows.
    1) Transaction pa30. Enter personal number. Press enter. Screen will display employee basic info at header, just before selecting the any infotype. SSN number is also displayed for USA employee.
    2) I will select infotype 0002, change the SSN number, save it. before saving, in function module exit:EXIT_SAPFP50M_002 (INCLUDE ZXPADU02) , i am encrypting the SSN number and then stores it in DB.
    3) In BADI HRPAD00INFTY(BEFOE_OUTPUT), i am taking same encrypted SSN number form DB, decrypt it, and showing on screen.
    But the header part is still showing encrypted value. It is not decrypting the value before display. After investigation i found that, while displaying header part, mentioned Badi is getting called. I want to decrypt he same before display in header part only. It is working fine with detailed part (Means 0002 infotype screen).
    Which Badi should i use to decrypt the SSN number, before display it in header part??
    Any help??
    Thanks,
    Prashant

    Hi Prashant,
    The Badi method is triggering before the PBO, Means before infotype screen 3000
    In your requirement you have to implement the method AFTER_INPUT rather than BEFORE_OUTPUT in the same BADI implementation
    This will work, Try it out.
    Thanks
    Pavan
    Edited by: pavan kanike on Jan 30, 2009 7:34 PM

  • How to display current date in query header?

    Hi,
    How to display current date in query header?
    I use Query Designer for development.
    Thanks,
    Arun KK

    Hi Arun,
    You can define fixed header lines and footer lines so that when you generate the query list, they can receive current values of certain fields. When you define a header line or a footer line, you must specify a character string of the type &field, where field is the short name of a field.
    This function allows you (for example) to place a sort criterion in the header line.
    You can include the following fields as variables in the headers directly:
    %NAME
    Name of the user processing the query
    %DATE
    Current date
    %TIME
    Current time
    %PAGE
    Current page number (6 characters)
    %P
    Current page number (3 characters)
    These fields can be used in the short forms N,D,T and P. If you want to use these letters as short names for query fields, the field values from the query are used.
    You can also see the link
    [http://help.sap.com/saphelp_nw70/helpdata/EN/6e/dd68721faf11d6b1d500508b6b8b11/frameset.htm]
    Regards,
    NR

  • DISPLAY RUNNING TOTAL IN GROUP HEADER

    Post Author: sharonmtowler
    CA Forum: Formula
    I know there is a way to do this, just forgot how. i am in version 8.5.  i have a manual running total which calculates order qty for the entire sales order.i (dont like using the rt wizard-buggy)
    the knowledge base says to use a cross tab, but there hit or miss also.
    does anyone know how to show the display formula for a manual runnning total in the group header instead of group footer?

    Post Author: pandabear
    CA Forum: Formula
    Hi Sharon,
    I wanted to try this before I sent it to you, but my Crystal is down because (blah, blah, long story here....yawn....).
    I think I understand.  You want to show the "Total" for each group, in the group header instead of the group footer?
    My experience is that Crystal works from the top down (read: limiting), so I need a work around to do this.
    1 - Do the calculation in the query...sum by group, filter with a "Case" statement, etc.  If there's a reason you can't do that then
    2 - (and this is what I wanted to try first) see if you can group on the same field twice. 
    Group 1 - Test.field
    Group 2 - Test.field (same field)
    If you can,
    then just carry the total from the group footer of the previous group (same field) above you, and bring it down
    (shared var ?) to the group below.
    My 2 cents is up.
    Hope this helps,
    The Panda

Maybe you are looking for

  • Peculiar exception thrown. while starting the WLS6.0

    The following error is displayed event after using the original config.xml.booted file to start the server. I did this because I was trying to convert the existing wls510 properties file & for that I was creating one more server called myserver withi

  • Render-out of memory

    Hi I have a short project, only 7 minutes. All stills/pdf files. None are horribly big. Using Motion to add some movement. First couple of shots I'm trying to render after adding a small move in FCP 7.0.1 and it gets to about 55% then says 'Out of me

  • Site Studio Designer

    Hi, I designed a website in SiteStudio Designer.But when I try to open any of the pages in browser,it is giving error as "Page not Found".Even in the Home page,under websites,though my sitename appears,I am not able to view it.Please guide. Thanks in

  • Albums listed in itunes

    I don't know if this has been covered before but just wondering why itunes will always list an artists albums by alphabetical order instead of chronological order. Can this be done becausse i have tried to no avail.

  • My 3 year old MacBook Pro, with OS 10.7.1, won't play movie DVDs I burned on Panther. Why?

    My 3 year old MacBook Pro, with OS 10.7.1, won't play movie DVDs I burned on Panther. Why?