Smartforms display details

Hi experts,
Iam working on smartforms.I have data in ITAB like this
4900000513
4900000514
4900000515
4900000516
4900000517
4900000518
4900000519
4900000520
4900000521
4900000522
4900000523
4900000524
4900000525
4900000526
4900000527
4900000528
4900000529
4900000530
But i need to display horizantlly like
4900000513 4900000514 4900000515 4900000516 4900000517
4900000518 4900000519 4900000520 4900000521 4900000522
4900000523 4900000524 4900000525 4900000526 4900000527
4900000528 4900000529 4900000530 4900000531 4900000532
4900000533 4900000534 4900000535 4900000536 4900000537
4900000538
Can any one tell me how can i do this and how to do build structure horizantally?
reward guaranteed
thanks
kaki

Hi,
Tried something on this line. Getting the output as required by you.
Havent done any optimization.
Data: begin of it_vbak occurs 0,
        vbeln like vbak-vbeln,
      end of it_vbak.
data: begin of it_hrzt occurs 0,
        line(55) type c,
      end of it_hrzt.
data: v_tabix like sy-tabix,
      n1 type i,
      n2 type i,
      v_vbeln1 like vbak-vbeln,
      v_vbeln2 like vbak-vbeln,
      v_vbeln3 like vbak-vbeln,
      v_vbeln4 like vbak-vbeln,
      v_vbeln5 like vbak-vbeln.
Select vbeln
  from vbak
  into table it_vbak
  where vkorg = 'HSIL'.
loop at it_vbak.
  write:/1 it_vbak-vbeln.
endloop.
n1 = 1.
n2 = n1 + 5.
v_tabix = sy-tabix.
loop at it_vbak from n1 to n2.
read table it_vbak index v_tabix..
  v_vbeln1 = it_vbak-vbeln.
  v_tabix = v_tabix + 1.
read table it_vbak index v_tabix.
  v_vbeln2 = it_vbak-vbeln.
  v_tabix = v_tabix + 1.
read table it_vbak index v_tabix..
  v_vbeln3 = it_vbak-vbeln.
  v_tabix = v_tabix + 1.
read table it_vbak index v_tabix.
  v_vbeln4 = it_vbak-vbeln.
  v_tabix = v_tabix + 1.
read table it_vbak index v_tabix.
  v_vbeln5 = it_vbak-vbeln.
  v_tabix = v_tabix + 1.
  n1 = v_tabix.
  n2 = v_tabix + 5.
concatenate v_vbeln1 v_vbeln2 v_vbeln3 v_vbeln4 v_vbeln5 into
it_hrzt-line separated by space.
append it_hrzt.
clear it_hrzt.
endloop.
loop at it_hrzt.
  write:/ it_hrzt-line.

Similar Messages

  • How to hide display details in sap gui and create ad-hoc request in UWL?

    Hi,
    how to hide display "details in sap gui" and "create ad-hoc request" in UWL?
    Please telme the step-by-step procedure to hide "details in sap gui" and "create ad-hoc request".
    Thanks,
    Rashmi

    Hi,
    Thanks for the information. It was very helpfull.
    Can you please tellme where can we fine UWL iView? I tried to find this out in two ways.
    1) Portal Content -> Content Provided by SAP -> End User Content -> Standard Portal Users -> Views -> com.sap.coll.iviews -> Universal Worklist (finally i got this iView). Here i dint find any property called "List of UWL Actions to exclude". In the link which you had given, its written that we can modify the iView and add the name of the actions under the Actions to exclude from the UWL property.
    Which iView do we need to modify and where can i find that property?
    2) I downloaded the xml file and then tried to find this property "List of UWL Actions to exclude" or " Actions to exclude from the UW". But i couldnt find both the properties in xml file.
    Thanks,
    Rashmi

  • Problem in displaying detail along with Aggregate data.

    Hi
    I am new to BIP and I am facing problem to display detail as well as aggregate values at a time.
    My data is like below
    Security Value
    S1 10     
    S2 20     
    S3 30     
    S3 40     
    S4 50     
    S5 60     
    S5 70     
    I want to display data in report as
    Security Value
    S1 10     
    S2 20     
    S3 30     
    S3 40     
    Total S3 70
    S4 50     
    S5 10     
    S5 70     
    Total S5 80
    I tried using for <?for-each-group:G_2;./Security?> but I am getting following output:
    Security Value
    S1 10     
    S2 20     
    S3 30     
    Total S3 70
    S4 50     
    S5 10     
    Total S5 80
    Template:
    <?for-each-group:G_2;./Security?> <?Security?>:<?Value?>
    <?if:count(current-group()/SECNAME)>1?> Total <?Security?>:<?sum(current-group()/Value)?> <?end if?> <?end for-each-group?>
    The problem is I need to display detail as well as aggregate data. Please suggest.

    Hi Kavipriya
    Thanks for your response.
    I tried the code you provided but I am getting blank PDF report from RTF template.
    Also I didn’t understand <?variable:GRP;G2?>, is this declaration of group variable or something?
    Below is my xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!--Generated by Oracle BI Publisher 11.1.1.3.0-->
    <DATA_DS>
    <G_1>
    <SECURITY>S1</SECURITY>
    <VALUE1>10</VALUE1>
    </G_1>
    <G_1>
    <SECURITY>S2</SECURITY>
    <VALUE1>20</VALUE1>
    </G_1>
    <G_1>
    <SECURITY>S3</SECURITY>
    <VALUE1>30</VALUE1>
    </G_1>
    <G_1>
    <SECURITY>S3</SECURITY>
    <VALUE1>40</VALUE1>
    </G_1>
    <G_1>
    <SECURITY>S4</SECURITY>
    <VALUE1>50</VALUE1>
    </G_1>
    <G_1>
    <SECURITY>S4</SECURITY>
    <VALUE1>30</VALUE1>
    </G_1>
    </DATA_DS>
    And following is the code I used in RTF template
    <?variable:GRP;G1?>
    <?for-each-group:G1;./SECURITY?> <?xdoxslt:set_variable($_XDOCTX,'SEC',./SECURITY)?>
    <?for-each:$GRP[./SECURITY= xdoxslt:get_variable($_XDOCTX,'SEC')]?>
    <?SECURITY?>:<? VALUE1?> <?end for-each?>
    <?if:count(current-group()/SECURITY)>1?> Total <?SECURITY?>:<?sum(current-group()/VALUE1)?> <?end if?>
    <?end for-each-group?>

  • How to display details through toggle button in a table.

    Hi Experts,
    I have a table, which has a list of orders in the table. I also have a button in every row, wherein on click of the button i should be able to display detailed information of  the selected order under the row. This button should actually perform the actions of hiding and unhiding the detailed information. Can anyone help me with this.Please check the attachment.
    Thanks & Regards
    Chittibabu

    Hi Chittibabu,
    what about using a TreeTable control?
    SAPUI5 SDK - Demo Kit
    Regards
    Tobias

  • How can I get Firefox to display details about a JavaScript error when one occurs?

    When in Internet Explorer I can set it up to display JavaScript errors as follows. Select Tools then Internet Options… then the Advanced tab. Under Browsing, find '''Display a notification about every script error '''and be sure its box is checked.
    I cannot find out how to do this in Firefox. I would like for it to display details about JavaScript errors when they occur instead of doing nothing.

    *Web Developer: https://addons.mozilla.org/firefox/addon/60

  • Central Search to display Detail Area 1 directly

    Subj: Central Search to display Detail Area 1 directly upon selection of a single promotion.
    Hi all,
    We have a requirement in 5.0 version wrt to Central Search.
    When we enter a Trade Promotion Identfication in the central search area and click on Start, the corresponding Search result Area displays the selected Trade Promotion Details. However when we try to double click on this Trade Promotion number in the Search Result area, the detail Area 1 is not called. It forces us to click on the Goto->Details menu to display the details of the Promotion.
    Our requirement is to avoid this and display the Promotion directly at the  first instance itself when there is only a single promotion selected in the Search Area.
    Please let me know if any of you have worked on a similar requirement. All your inputs would be highly valuable to me as I am just 3 days old to PCUI.
    Looking forward for your quick response.
    Thanks in advance!
    Regards,
    Gayathri.

    Hello,
    I've got the answer from OSS:
    "CRM 5.0 UI was designed in this way that only the search result list will display on the page 1 and on the detail pagethe details of the record selected in page 1. This behaviour remains thesame even when the result list returns just one record. So unfortunately it is not possible to directly display the detail view."
    Bad news :-(.
    Regards
    Gregor

  • PFCG display details No technical details available

    Hi abbapers,
    I want view the transaccions of menu,
    In t-code PFCG go to tab Menu, right button on t-code and obtain message error No technical details available
    Can you help me, please?
    Cordial greetings.

    thank at all for your attention,
    Sabyasachi Rudra, is possible that change the node text by other name, I´m not sure.
    I want view the t-code associated to menu, then when right button on several when push display details, obtain message error No technical details available.
    In this case, I execute the option, then go to system ... status. Then with the name t-code, go to table TSTC (se16), and search name program corresponding of the t-code.
    If I view in the field text that it is IMG Activity. Is this the reason when appear the message error No technical details available. ?
    In this case if go to the se80 with the name program SAPLS_CUS_IMG_ACTIVITY (FunctionPool) that is the same that others options of the menu too.
    If go to left window on Dictionary Structures, Are used others names tables in the IMG ACTIVITY ?
    I want obtain name of tables that are used in t-code Can you help me please?
    Thank you very much.
    Cordial greetings.

  • Display Details View - Date_out

    Hello Experts,
    In one of our SNP Planning book I have entered some quantity in Keyfugure Distribution Receipt (planned).
    When i take the Display details, i am getting order with DATE_OUT field as first working day of the month. But i want to shift it to middle of the month. Please let me know how to acheive this.
    My Planning bucket profile is monthly.
    Thanks in advance.
    Best Regards,
    Srinivas

    Hi Srinivasa
    I think you are looking at the "Period Type", look on the "Lot Size" tab then click on the "Quantity and Date determination" sub-tab. There should be two fields halfway down in the "Scheduling" area. The first says "Use period factor" and the second says "Period Factor". You have two choices:
    1) Uncheck the "Use period factor", this will then use 0.5 by default
    2) If this is checked you can also enter 0.50 in the "Period Factor", this tells the system to place the receipt in the middle of your bucket, in your case "M" being a monthly period bucket.

  • Smartforms -  displaying the include text restricting to spras.?

    In Smartforms i have used include text to display Header text of an invoice .
    I provided all the relevant details for the include text such as,
    1:text name:wa_vbdkr-vbeln
    2:text object-vbbk
    3: text -id-0001
    4:language-nast-spras.
    The problem is in the output it always displays english text eventhough nast-spras is Slovakian .Output should be blank if not maintained.(Header can be maintained in any language).
    Is there any possibility of displaying the text restricting to spras.
    Thanks in advance

    Hi Anji,
    Thanks for your reply .
    We use the so10 only when we have fixed data such as address then we go for it.
    But that's not my case .Header text can be changed any time for given Invoice.
    If maintained it should appear for that language if not it should be blank.

  • Smartforms display problem

    Hi experts,
    Iam working on smartforms.
    I have header and details tables.In the header table(T_HDR) i have 2 different VBELNs .
    In the details table iam getting details for each VBELN.
    So first loop iam getting 3 details & in the second loop
    iam getting 2 details records like this.
      loop at t_hdr into g_hdr
       select * into ....vbap.. t_det where t_hdr-vbeln.
        CALL FUNCTION 'SF function module'
        EXPORTING
          CONTROL_PARAMETERS = CONTROL
        TABLES
          T_HDR              = <b>G_HDR</b>
          T_DET              = <b>T_DET</b>
      endloop.  " t_hdr
    Since customer number is same in t_hdr, i want to display t_hdr values only one time in the smartforms first page.
    In the next page i want to display all the details using t_det.
    I got the all the details and it is fine.
    Only problem is iam getting FIRST page is getting repeated.
    How can i reistrict to display first page <b>only one time</b>?And how to get all the details in the next pages?
    Output options are not working.
    reward guaranteed
    thanks
    kaki

    Hi Kaki,
    How have you defined your "Next Page" in smartform?
    The Main Window shud be there in Next Page too.
    Regards,
    Anjali
    Also, Pls close your previous posts as "solved/V.Helpful/helpful" or solved it on your own. This would <b>only</b> encourage others to help you with your queries.
    Re: itab spaces
    Rules of Engagement:
    Welcome and Rules of Engagement

  • Hide a field in ALV "Display Details" list

    Hi Experts,
    I have a requirment where I have to hide a field in ALV output, as well as in "Details display".  I already put NO_OUT = 'X' for that field in fieldcatalog itself. It is hidden in the ALV output anyway, but the problem is when user selects a row and clicks on "Details" button in toolbar of ALV, it still displays the hidden fields of that ALV list with/out headings there. 
    Hope you understood my problem, pls respond soon if you hav any solution for this?
    Thanks
    Sarav

    Use TECH = 'X' in field catalog.
    Regards,
    Raymond

  • UIX Master-Detail  - Find button does not display detail lines

    Hello,
    We have a master-detail UIX page. Master has one attribute only. When 'Next' or 'Previous' buttons are pressed, the next master-detail records are displayed.
    However, when master attribute's value is changed by the user and the 'Find' button is pressed, the new detail lines are not displayed. Also we get following error:
    JBO-26080: Error while selecting entity for <ViewObject>
    Has anyone experienced this issue before?
    Thanks, Ali.

    Please dis-regard this post. The correct sequence is to click on Find button, enter new value then click on Execute button to query new values.
    Thanks, Ali.

  • CL_SALV_TABLE to display details

    It seems quite simple but I could not get it works.  I need to write a report with header data and when double click on a selected line or click a push button to trigger event, it will show detailed data on a separate screen using CL_SALV_TABLE. 
    My program show the header data and it work the first time, but when I choose a different header line, it still show the same item data because I have a code when the object is not bound, display the data.  I was able to get the correct header line and populate detailed data into the table.  The only obstacle I have is that in my code it said
    IF gr_cont IS NOT BOUND.
        CREATE OBJECT gr_cont
          EXPORTING
            container_name = 'CONTAINER_100'
          EXCEPTIONS
            OTHERS         = 1.
        IF  sy-subrc <> 0.
          MESSAGE a052(zvn) WITH
          ' No container object found'.
        ENDIF.
        TRY.
            cl_salv_table=>factory(
            EXPORTING
    *      list_display   = list_display
              r_container = gr_cont
    *       container_name =
            IMPORTING
              r_salv_table = gr_alv
            CHANGING
              t_table = gt_orders
          CATCH cx_salv_msg INTO gr_error.
        ENDTRY.
    *      Display alv
        gr_alv->display( ).
    So when come the second time, the object is not initial.  Please help. thanks.
    PS: I can use cl_gui_alv_grid but I want to use factory method in cl_salv_table.
    Edited by: Matt on Aug 18, 2009 9:21 PM - added  tags surround the ABAP so it looks nice...

    You need to use
        gr_alv->refresh( ).
    Its works as same refresh_table_display in cl_gui_alv_grid

  • Smartforms: Display text in a style not set globally

    Hi,
    I have this problem. I wish to display a text in a fixed box/window in my smartform. This text is dinamically handled in this box by an abap code. I can have two types of text of different number of words. For the short text I don't have problems but when I try to include a longer text, this text is truncated.
    More exacly I have as smartform style ZMM defined in output option tag. I set a global variable with the name of the text modules that I want to include. I tried to define a text module with a new style i.e. ZMM1 but when I show the test it is the same as the style is ZMM.
    How can I handle texts with different size of charactes or reduce the space between two linee but only for this text in this specific window?
    Any help well be well appreciated.
    Thanks in advance.
        Luigi

    well you can create additional paragraph formats for this purpose in your golbal style and use those in your text.

  • How to Display Detailed navigation passing Top level navigation node name

    Hi All,
    I have prepared a DLN par file but unfortunatly my requirement is such that I need to pass one of the toplevel node name as input parameter and that should display the corresponding DLN which is from 3rd level.
    I have checked in sdn for passing a value to the navigation tag lib which will consider it as a selectednode but could find none.
    Can some body suggest me how to acheive this.
    Thanks in Advance.
    Sai Krishna. K

    Hi Kiran,
    Thanks for your Reply..
    Following is my Scenario:
    I use 2 same versions of portals connected via federated portal concept.
    I have my detailed navigation par file in portal2 and was calling it from portal1 from a iview.
    Since I am not physically navigating in portal2(which mean there is no selected node to iterate ), when I call that iview in portal1 it is picking up only 1st node in top level navigation.
    So i need to pass "My reports" (as 1st level) & "India" (as 2nd level) as parameters such that it gets only its DTN at all times from 3rd level.
    Hope you understand my scenario, below is my iteration code logic.
    <div id="myslidemenu" class="jqueryslidemenu">
    <ul>
         <nav:iterateSelectedNavNodesLevel level="<%=START_LEVEL%>">
         <%-- the 'currentDepth' attribute provides the byte value of the current level --%>
        <nav:recurseNavNodeChildren currentDepth="depth">
             <% current = start + depth.intValue() - 1; %>
             <%=writeClosingTags(last - current)%>
             <%
            last = current;
            %>
            <%-- we want to distinguish between folder and leaf nodes so we can use different graphics --%>
              <%-- complete the html syntax for the 'class' attribute pass it as an anchor attribute--%>
              <li><nav:navNodeAnchor navigationMethod="byURL" />
              <%-- checks for additional navigation level and the appropriate html tags to accomodate them --%>
            <nav:ifNextRecursionDepthWillIncrease>
                <ul>
            </nav:ifNextRecursionDepthWillIncrease>
            <nav:ifNextRecursionDepthWillNotChange>
                </li>
            </nav:ifNextRecursionDepthWillNotChange>
        </nav:recurseNavNodeChildren>
        <%=writeClosingTags(last - start)%>
        <% last = start; %>
    </nav:iterateSelectedNavNodesLevel>
    </ul>
    </div>
    As per the passing parameter concept please explain me a bit more clear with step by step procedure.
    <b>Here if not passing parameters, providing static values will also do for my requirement.</b>
    Many Thanks,
    Sai Krishna.
    Edited by: Konchada Sai Krishna on Feb 14, 2009 9:42 PM

Maybe you are looking for

  • Hard drive failure on Satellite L300-154

    On the 28th of March the hard drive in my Toshiba L300 154 failed and would not boot from the recovery partition or recovery discs. I installated a new hard drive identical to the one previous (just without the branding) and decided to try my Windows

  • Unable to get Windows 7 partition to connect to the internet.

    Hey all, I have come here in my last ditch effort of desperation. I purchased a new 21.5' iMac yesterday and have been trying all day to get Win7 installed via bootcamp. The drive is partitioned, I can early boot in and out of Windows. However, I am

  • How can I get my Wifi to work again on iphone?

    Ever since I updated my IOS, I have had trouble with my Wifi.  I can connect at home where the password is stored and there is no issue.  When I go to work, I cannot connect.  My work has a public Wifi where every day that you sign on and try to go t

  • NoClassDefFoundError while accessing JMS Queue from JDev 10.1.3.3

    Hi, I'm trying to get a handle of a JMS queue, which resides on Oracle App Server 10.1.3.4, from a Java Program which I'm trying to run from JDeveloper 10.1.3.3. I'm trying to make an RMI connection to the App server from JDeveloper by passing follow

  • Mail sending with subject and attachment

    hai all,        my requiremnet is i want to send a mail with a body and pdf attachemnt , but with the below code iam able to send both as attachment , but how to send along with body. *& Report  ZV_TEST