Reg smartforms -  creating a new page for each customer number

Dear friends,
This is a sample program for smartform.
Below is my coding ...
TABLES : KNA1.
SELECT-OPTIONS : S_KUNNR FOR KNA1-KUNNR.
TYPES : BEGIN OF ZFS_KNA1,
        KUNNR TYPE KNA1-KUNNR, 
        NAME1 TYPE KNA1-NAME1,
        ORT01 TYPE KNA1-ORT01,
         END OF ZFS_KNA1.
DATA : ITAB TYPE STANDARD TABLE OF ZFS_KNA1 INITIAL SIZE 0,
       WA TYPE ZFS_KNA1.
SELECT KUNNR NAME1 ORT01 PSTLZ LAND1 FROM KNA1 INTO TABLE ITAB WHERE KUNNR IN S_KUNNR.
Now i am having one secondary window (cusotmer number) and main window(name and city).
I am able display list of cm nos, names and city in one page.
But i want to display name, city and number of customer in one single page.
suppose 5 customer numbers are there.....then 5 seperate pages should be displayed.
pls help me.
Regards,
S. Vinod

Hi,
In your loop node... you have sort criteria....
give the fieldname of the customer number KUNNR and check the check box under the begin of sort event...
An event node is created... under that event  node... create command node for triggering new page and dont forget to tick the checkbox for " not on first page" in the conditions tab....
and under that you can create text elements to display the data
regards
padma

Similar Messages

  • Reg smartforms -  creating a new page for each customer

    Hai friends,
    i have selection option for customer(kunnr) in the selection crieria..
    Now i am getting the output in the smartfroms related to the customer details..
    But i am getting details for only one customer...
    suppose there are 10  customers.. i want the details of the 10 cusotmers in 10 different pages...
    PLs help me.
    Rgds,
    Vinod

    Hi,
    First assigned to structure to internal table i_final
    declare L_LINES in global declaration
    right click on main window create program lines in that
    Input parameters: I_FINAL
    In CODE option
    SORT I_FINAL BY KUNNR.
    DESCRIBE TABLE I_FINAL LINES L_LINES.
    After you create LOOP IN data tab give chek the check box
    I_FINAL     INTO     WA_FINAL
    WA_FINAL declare in global declaration
    Under loop create node alternative(CONDITON)
    double click CONDITION in conditions tab
    Field name: L_LINES
    Relational operator:>
    Comparison value:0
    in that CONDITION ---> TRUE & FALSE is available
    in TRUE option create program lines, in that give like
    L_LINES = L_LINES - 1.
    Under TRUE option create COMMAND node
    in General attributes tab: check the chek box go to new page
    in conditions : maintain as
    Field name: L_LINES
    Relational operator:>
    Comparison value:0
    Regards
    Bhupal

  • How do I create a new Folder for each test report based on Serial number?

    I want to be able to create a new folder for each test report based on serial number. Each time a UUT is tested, I want the report to go to the appropriate folder. What is the best way to do this?
    Thanks

    Hello Tman,
    This is a slightly tricky question. The reason being, the report options like the report path etc, are set before you see the serial number prompt when you run your UUT. There might be other ways of getting around this, but a quick solution would be modifying the process model.
    I modified the PreUUT callback to set the report options. I passed the reportOptions as a parameter to this sequence. In the PreUUT sequence, I set the following fields:
    Parameters.ReportOptions.GeneratePath=False
    Parameters.ReportOptions.ReportFilePath= "c:\\"+ Locals.SerialNumber +"\\report.xml"
    I hope this would give you an idea.
    SijinK

  • Creating a dynamic page for each record.

    So I understand how to grab a single row from a database for use on a dynamic page.  Now creating 1,000 pages for each row would be rather tedious even with copy and paste.  So can anyone provide me some information on how to do this without creating each page manually?

    >See what im saying?
    No.
    >What you are suggesting wouldn't actually produce a page for that product which can be linked to from other areas of the site.
    Yes it would. You create a link to a dynamic page and pass it the id of the item you want to display. So instead of using a link to a static page like this:
    <a href="mywidget_01.html">My Widget 101</a>
    You would link to a dynamic page like this:
    <a href="widgets.php?id=101">My Widget 101</a>
    The widgets.php would read the query string and pull the correct data for widget 101 from the database. You could even use url rewriting so the url of the dynamic page for widget 101 would be http://example.com/widget101
    >What I need is an easier way to produce 40,000 static pages.
    That's crazy. It defeats the whole purpose of dynamic sites. Before you start on this, make sure you fully understand your options.

  • To view reports in new page for each cutomer using Report Designer

    HI all
    I have a requirement to view the data (key figures) for each customer in a new page.
    I have created the same using the Report Designer tool.
    Now there is setting for this Group Header 'Customer' i have selected the option 'repeat group header on each page'
    still the query when generated, gives fine results for certain cases but not for all.
    like it will show the each customers in a fresh page for some pages , then in midst there would some 2-3 customers in the same page.
    There is no relation between these customers , they are same as the other customers, no difference at all.then i am not able to figure out the reason why it is behaving so odd.
    Thanks
    Ramesh

    Ramesh,
    right now there really is no way to solve what you are looking for.  There partial solutions, but you will not be able to force a page break in a dynamic report.
    Here is what I have faced, and what I have come up with so far:
    I have a series of reports that have the same column heading, but spread over 5 pages in a fixed structure.  I need to be able to re-use the header and the general report design with 6 reports.  Here is my solution:
    1. Create an outline of the report.  I did all the formatting by creating a report section for each page.  You can force page breaks between the pages.  Upgrade to patch 1502 (came out last week) and you will see some new functionality (such as fit to page, page numbers, etc).
    2. Insert all you page breaks and do all the formatting.
    3. Insert an infoprovider.  Once in, you can just drag and drop the key figure cells into your formatted report.
    4. Create additional modification for formatting as needed.
    This fixes my problem (for now), but I had to do a lot of work to come up with this.  Also, the latest patch (1501 and 1502) has created an issue for me - there is a null exception when I try to use a variable or a filter value in the report body - I can't save the report.  I have an OSS message out, but our BASIS guys are going to be taking the lead on troubleshooting this.
    The reason that you are seeing some customers on the new pages is probably because of "how the cookie falls" - they just fit that way.
    I am trying to be positive and overcome the limitations that are in place right now. If my technical issue is solved, I would recommend upgrading to the new patch (1403 is the latest stable one in my opinion)
    good luck
    Pavel

  • Within the budget template; how would one create an entire year worth of a budget; with out having to create a separate page for each month?

    Help!
    Loving the budget template, but I would like to be able to create an entire years worth of a buget with out creating a whole new transaction/budget page for each month. How do I get the new transaction to identify a new budget chart?
    Thanks, Emily

    Emily,
    No need to think the budget template is only for one month.  Just keep typing the date in the date column of the "Transactions" sheet and the details will update.  You should adjust the budget categories to match the duration of time you want to use.
    If you do want month-by-month, then you can switch to the "Transactions" sheet, select the table, cut
    then switch back to the "Budget" sheet, paste.
    Now rename the "Budget" sheet something like "Budget Jan 2014", and delete the "Transactions" sheet. Set the budget for Jan in the column I highlighted above.  The subsequent months, duplicate the monthly budget:
    Then adjust the the entries in the transactions table inside this sheet.

  • Creating a new CI for each rule in a current CI using PowerShell

    I have a client investigating DCM and for reporting reasons they'd like EACH RULE in a CI to be it's own CI (so it's stored server side and they can report on it). They've imported the Windows 7 baseline recommended by MS and now would like to
    extract each rule and make a new CI based on it.
    So I'm digging around in the rules through PowerShell and I can get them out but they don't seem complete. Here's how I'm getting them:
    $CI = Get-CMConfigurationItem -Id 65210
    [XML]$RulesXML = $CI.SDMPackageXML
    $Rules = $RulesXML.DesiredConfigurationDigest.OperatingSystem.Rules
    This particular rule is a sample one I set up that requires the existence of C:\IT\test.txt. But I don't see the actual text of that rule anywhere in the XML:
    <Rules>
    <Rule xmlns="http://schemas.microsoft.com/SystemsCenterConfigurationManager/2009/06/14/Rules" id="Rule_e0beb149-7459-417f-9ae6-70cbc7f588b1" Severity="None" NonCompliantWhenSettingIsNotFound="false">
    <Annotation>
    <DisplayName Text="TEST - Test File" ResourceId="ID-b11826e5-b3e0-4444-ac2b-b6156ac8f5cc" />
    <Description Text="C:\IT\Test.txt must be present" ResourceId="ID-3dc17d90-e06f-46e1-9504-ec24c843dffb" />
    </Annotation>
    <Expression>
    <Operator>NotEquals</Operator>
    <Operands>
    <SettingReference AuthoringScopeId="ScopeId_811CF9C7-F08C-4528-8C02-E20811B33FD5" LogicalName="OperatingSystem_5c61496b-b4dc-4ca9-a3f7-30c3aec8e2a4" Version="1" DataType="Int64" SettingLogicalName="File_cccd7dc7-e590-494c-b166-6d4aea7abc57" SettingSourceType="File" Method="Count" Changeable="false" />
    <ConstantValue Value="0" DataType="Int64" />
    </Operands>
    </Expression>
    </Rule>
    </Rules>
    I see some GUID references so is the actual rule kept elsewhere in the DB? Or am I just barking up the wrong tree?
    Thanks.
    Keith

    Hi Keith,
    <<This particular rule is a sample one I set up that requires the existence of C:\IT\test.txt. But I don't see the actual text of that rule anywhere in the XML:>>
      In your XML, if you see these lines:  
    <Expression>
    <Operator>NotEquals</Operator>
    <Operands>
    <SettingReference AuthoringScopeId="ScopeId_811CF9C7-F08C-4528-8C02-E20811B33FD5" LogicalName="OperatingSystem_5c61496b-b4dc-4ca9-a3f7-30c3aec8e2a4" Version="1" DataType="Int64" SettingLogicalName="File_cccd7dc7-e590-494c-b166-6d4aea7abc57" SettingSourceType="File" Method="Count" Changeable="false" />
    <ConstantValue Value="0" DataType="Int64" />
    </Operands>
    </Expression>
         It has setting reference with GUID with Method="Count" means this is existential rule referenced to setting blah blah... (If method="Value" means that it has value rule defined) and for existential rule,
    XML has "NotEquals" operator and value is "0" which means that if file not equals to zero means file exist (compliant).
    Hope this helps.
    This posting is provided "AS IS", provides no warranties, and confers no rights. -Praveen S.

  • How do I create a new page for a new subscriber under a domain?

    I have a domain where I want to give each member a subdomain under the domain such as http://www.mydomain.com/Joesdomain.com ? I have a login membership page set up currently with opt in subscribers.  I want to give each person a backoffice with email and product information in their own subdomain after they get logged in, as well as a public_html page too.
    Thanks in advance,
    Romans 838

    You need to setup a script to handle this for you.  Typically most people do this with a solution like CPanels Web Host Manager.  But it depends on your server environment what you would use.

  • How to display multiple records in smart forms in new page for each record

    Hi,
              How to display the data from a internal table in a smart form.
    I want each record to be displayed in seperate page.
    please tell me with example.
    thank u,
    Sarath

    Do this ,
       in the main window - open a loop on your internal table ,
    within the loop open the text and give the output fields,
    after this text  use the Command node and in this set the next page as page1,
    so when the loop gets executed its first record will be on the first page and the second record will be on the next page and so on ..
    Reward to usefull answers.

  • How to use mail merge to fill a table?  Instead of filling the table it is creating a separate page for each entry

    I am creating a pages document with a table where I have entered merge fields and want the table filled out with data from a numbers spreadsheet.  Instead of pulling data and filling the next rows down it is giving me a separate sheet per data.  This worked fine in Word/Excel. What am I missing here?

    I am creating a pages document with a table where I have entered merge fields and want the table filled out with data from a numbers spreadsheet.  Instead of pulling data and filling the next rows down it is giving me a separate sheet per data.  This worked fine in Word/Excel. What am I missing here?

  • ID CS3: Bulk importing one image per page then creating a new page

    Hello,
    I have a project where I have 8.5x11 sized jpgs I would like to bulk import into indesign one per page, and have indesign create a new page for each image automatically. Is there some kind of simple import function that can do this? I have so far not found an easy way to do this.
    Thank you.

    Actually there is a script by Olav Kvern for doing exactly this that comes with IDCS3. It's called "image catalog.jsx". You can access it from your scripts pallet.
    The documentation with it is nil. See my post complaining about it and the author's answer in the scripting forum:
    http://www.adobeforums.com/webx/.59b6d931/2
    It actually works quite well, after you learn to work with it's limitations
    Al

  • New layer for each artboard

    Hi,
    I've just recently started learning Illustrator and have used photoshop for a long time.  I have been getting on OK and yesterday had a file open with about 4 different artboards (was making wedding invitations) and went to start a 5th one and decided to add a new layer to this artboard and it then struck me that all the artboards had exactly the same layer!  Now as a photoshop user this bamboozled me and the photoshop part of me gets annoyed, because I would like every artboard to have a different set of layers so that they are always separate.  Can anyone tell me if I'm just not grasping how illustrator does things or is there a way to set up illustrator to have a new set of layers for every artboard?  Is it just a case that I have to create a new layer for each artboard manually?
    Sorry if this is a basic question, but I've searched for this answer but couldn't find it.
    Cheers in advance.
    Oh and just in case, I'm using CS5 on an iMac.

    and the photoshop part of me gets annoyed
    You need to "turn off" the photoshop part of you when working in Illustrator. Two entirely different worlds, and rightly so.
    because I would like every artboard to have a different set of layers so that they are always separate.
    If that's what you want, there are other programs in Illustrator's category which provide that. Corel Draw X3 is one example. In real use, though, page-specific layers is not the panacea you may think. It has resulted in much tedium and confusion and consternation in the Draw community.
    If you insist on working that way, there's no reason you can't set up your file with top-level Layers coresponding to each Artborad. But you'll probably soon find it more cumbersome and tedious than actually practical.
    Forget trying to think of Illustrator Layers and Photoshop Layers as similar things. They are not. Two entirely different constructs. That's a good thing. They should not be made to "work alike." If anything, Photoshop just needs to change the name from "Layers" to "Films" or "Overlays" or something like that, to help stop this widespread misconception among newcommers.
    JET

  • How to create a new page in SRM5.0 and return data

    Hi,Everyone,
        I want to create a new page,for example:
         when user select a po item,and then we want to create a custom button at po item basic data screen,when user click the custom button,
        we want to pop up a new page for our custom logic.at the pop up page,when user complete some data selection, and then the data should return or refresh to po item.
       And now,I have a question for that:
        How can i return or refresh data(for example,the price) to po item. I have create a bsp page for our pop-up page.
    Thanks.
    andy

    HI,Masa,
       Thanks for your reply. and it's a very useful ways.and i will consider for that way.
       But i think if there have any other way ?
       for example: i create a bsp page for our new page,and through the custom button of po basic item page. and that can realize.but how can i return data to the select item.
      Thanks.
    Regards,
    Andy

  • Do I have to add a new contact for each new phone number?

    I just got my phone and I'm adding in my contact manually. I don't see multiple spots for multiple phone numbers for one person? Do I have add a new contact for each phone number a person has? (I.e. One for their home number, one for their work number, one for their cell number).
    Thanks!

    No.
    There is no reason to have a default number of phone number entries that may not all be used and the same for email addresses.
    When manually entering contact info, after entering the first number for a contact, a new phone number entry is made available directly below.

  • Create new session for each window opening

    From a jsp page i open a page called student.jsp by clicking on students admision no.Therefore lots of pages can be opend in new windows with relevent student details.
    but when i click on the link i called a servlet, get relevent details and redirect to student.jsp. The problem is ,all opened windows have same session id and there are session conflicts.
    How can i create new sessions for each page thru the servlet or is there any other alternatives

    I actually was working on a problem that was similar to this, and the problem is with how each web-browser works with sessions...
    Each browser window (Except in one case with IE) will use the same session in each window.
    However, you might be able to use URL-Rewritting to manage your sessions and get around using cookies for for session tracking. I personally haven't tried this, but I'm betting that it will work.
    Best of Luck,
    Nate

Maybe you are looking for