Help reqd on copies of layout(smartform)

Hi experts....
my requirement is....the records in the table of my smartform will be displayed more than once as per the user request from the selection screen....i'e,its like a copies of same set of records in different pages...where we give usually like in print pages option such  as no. of copies1,2 3 etc....
but i want this,it should be done in smartform way....when the user gives 3 in the selection screen my form print should give 3 copies of same set of records as in the main window of the 1st page/layout...
if u have answer...pls post ur replies...will be rewarded imm based on the correct solution....
thanks
sankar

hi sankar,
based on selection of copies u can use DO..ENDDO...for that copies...
and inside that DO...ENDDO u can call ur smartform...
hope this may help u..
please reward in case usefulll...
regards,
prashant

Similar Messages

  • COPA Report Layout with Object List (ALV)

    Hi,
    I have question about the COPA report layout with object list (ALV). Everytime I executed the report with ALV format, the amount for quantity column always shows with 3 decimal number, menwhile for amount column always follow by 2 decimal number.
    Can anyone help me regarding this matter? I do not know how to turn off the decimal number to be 0 in this type of layout, although in the form itself I already put 0 decimal number.
    Thanks.

    Hi,
    Better to raise this issue in CO Forum. You can expect some solution.
    regards

  • To create a COPA Budget layout

    Dear All,
    Cany anyone give me some background To create a COPA Budget layout
    Regards
    Venkat

    Hello
    For information, there is different way to do that.
    For my point of view Excel is better tha SAP to help controler. So I recommend to create an Excel file with the data.
    After to load it into COPA use the standard way,
    Transaction KEFA => base on a structure standard like CE0<ID COPA> or to create your own. In this step you define the structure of your input file
    Transaction KEFB => define the mapping between your file (transacion KEFA) and the COPA structure, also you can adjust constant, fix value, mapping, ....
    Transaction KEFC => upload the data.
    you have to know if you load many time the budget SAP will determine the gaps between the old value and the new valeu. So you file has to be the new value and not the old value.
    I hope to be clear if not contact me.
    Best regards
    Philippe

  • Error in MIRO Help Reqd

    I have setup new instance. Created p.o & done MIGO things worked fine. In MIRO typically error is seen in tax code. I have assigned Tax procedure TAXGB to country IN. In Fin Acct in tax on sales & purchases defined new taxcode VX with country option IN. Still during MIRO its showing error Tax code VN & Country IN doesnot exist in procedure TAXGB. In error msg its M8 249 & origin is shown as check invoice document.
    Help reqd from SAP Gurus pls.
    Regards

    Check these links
    while doing MIRO, i am getting error:-Tax code V0 country IN does not exist
    Tax code Z4 country IN does not exist in procedure TAXINJ
    Tax code V0 country IN does not exist in procedure TAXINN
    Tax code V0 country IN does not exist in procedure TAXINN

  • Urgent Help Reqd: Delta Problem....!!!

    Hi Experts,
    Urgent help reqd regarding follwoing scenario:
    I am getting delta to ODS 1 (infosource : 2LIS_12_VCHDR) from R/3. Now this ODS1 gives delta to Cube1. I got one error record which fails when going to cube (due to master data check).And this record would be edited later.
    So I thought of re loading cube and using error handling to split request in PSA and load valid records in cube.Later when I have coorect info abt error, I would load erroneous record manually using PSA.
    I did following steps:
    1)Failed request is not in cube...(setting is PSA and then into target)....also it has been deleted from PSA.
    2)Remove data status from source ODS1.
    3)Change error handling in infopackage to valid " Valid records update, reporting possible".
    4)start loading of cube.
    But when I did this I got following message :
    <b> "Last delta update is not yet completed.Therefore, no new delta update is possible.You can start the request again if the last delta request is red or green in the monitor"</b>
    But both my requests in cube and ODS are Green...no request is in yellow...!!
    Now the problem is :
    1) I have lost ODS data mart status
    2)how to load valid records to cube, since errorneous record can be edited only after 3- 4 days.
    3)How not to affect delta load of tomorrow.
    Please guide and help me in this.
    Thanks in advance and rest assured I will award points to say thanks to SDNers..
    Regards,
    Sorabh
    Message was edited by: sorabh arora

    Hi Joseph,
    Thanks for replying....
    I apolgize and I have modified the message above..
    I just checked in cube...there is no failed request for today...and neither in PSA....Person who has handed this to me may have deleted this is PSA..and why req is not in failed state in cube...I am not sure..though setting is "PSA and then into data package".....
    So how to go frm here....
    Thanks
    Sorabh

  • Help reqd on PO smartform

    Hi gurus....
    im on the support process for my client......
    my senior did the std smartform for purchase order along with
    the problem now im facing is,in the pur order for the doc type 'ZSTO',the rate(konv-kbetr) is not coming out correctly as per the doc posted in me21n......
    how to edit the codes in the smatform....and how to get the amount for this doc type......for ur ref,c the foll'ing code(which was declared in the current program)
    clear g_kbetr1.
    if ZXEKKO-BSART ne 'ZIMP' .
    if ZXEKKO-BSART ne 'ZSTO'.
    select kbetr from konv into g_kbetr1 where  KNUMv = zxekko-knumv and
    kposn = g_xekpo-ebelp and  kschl = 'JEXS'.
    endselect.
    if sy-subrc eq 0.
    add g_kbetr1 to g_tax1.
    else.
    data: i_konv like konv occurs 0 with header line.
    clear i_konv.
    refresh i_konv.
    select * from konv into table i_konv where  KNUMv = zxekko-knumv and
    kposn = g_xekpo-ebelp.
    loop at i_konv.
    if not i_konv-kschl = 'P001'.
    add i_konv-kwert to g_tax4.
    endif.
    endloop.
    add g_tax4 to g_tax1.
    endif.
    endif.
    endif.
    in the above code,declared as ne "ZSTO"...that one i need with conditional types "p101" which has the rate/amount details......
    pls do the needful with ur examples/replies to me.....on urgent basis
    thanks & regards
    sankar

    THANKS A LOT TO ALL,
    HAVE DONE IT THRU TABLE T001W.
    REGARDS
    SANKAR

  • Urgent: Help reqd for designing layout

    Hi,
    I need some assistance is designing following scenario:
    How to have a calculated column in the layout?
    Consider a cost center group A having 3 cost centers rolled up under it. First amount is planned for group and then distributed either manually or using function to each of the 3 cost centers.
    1. Now in the layout I want a column which shows % for each cost center of the total amount. Ex: if cost center group A = $300 and each cost center has $100 in it then for which cost center it should show 33.33%.
    2. Also not if this % value is changed then figures should change accordingly. Ex: if for 1 cost center 33.33% is changed to 25% then now its amount should change to $75 and $25 should go to not assigned.
    Note: there is no key figure in the cube which stores this % value. It is something which is required only during planning.
    How can I achieve the above scenario?
    Thank you,
    sam

    Now in the layout I want a column which shows % for each cost center of the total amount. Ex: if cost center group A = $300 and each cost center has $100 in it then for which cost center it should show 33.33%.
    Define the key figure for the percentage and include in the layout as a display column; write a fox formula to derive the % and when you run the fox, the comparison colum will be displayed automatically.
    For examaple:
    = * .80.
    If your percentage varies per cost centre, then define a variable of type numeric value and use VARV command to get the variable value.
    Ravi Thothadri

  • Help reqd for smartform....to generate index

    Hi all,
    In my smartform,
    I want to generate a serial number continuosly(like an index) for each item/material wise in my main window.
    FYI-coding i've declared
    CLEAR: PG_INDEX.
    INDEX1 = INDEX1 + 1.
    PG_INDEX = INDEX1.
    &PG_INDEX&
    no errors but im not getting the number in the output display.
    Pls post ur replies with examples.
    thanks & regards
    sankar.

    THANKS

  • Help reqd for PO - Smartform....getting address to display the Street

    Hi abappers,
    i want to print the Delivery address with all name street& pincode...in my PO form...the name of the Delivery(as in PO:me23n) is available in the <b>MT001W</b> table (DB view)...but the corresponding fields for addresses are available in <b>ADRC</b> table....so far...im displaying the name field from MT001W...
    how can i match the table fields thru primary key to join the two tables of MT001W and ADRC....
    FYI (coding)
    select name2 from MT001w into g_name2 where WERKS = g_xekpo-werks.
    endselect.
    if sy-subrc = 0.
    *move g_name2 to g_add.
    *endif.
    select house_num1 street post_code1 from adrc into (g_house , g_street , g_pcode)
    where name2 = g_name2 and langu = 'E'.
    endselect.
    endif.
    it displaying the field text of g_name2 but not diplaying the field records from ADRC.....
    Pls do the needful to solve my issue...
    thanks & regards
    sankar

    THANKS A LOT TO ALL,
    HAVE DONE IT THRU TABLE T001W.
    REGARDS
    SANKAR

  • Problem with layout smartform

    Hello all,
    I have a problem with the layout of smartform.
    My smartform is composed of a window (main).
    Within the main window, there is a loop where they are
    printed a series of tables which are associated with a frame.
    When the smartform printed on the next page, it is incapable to
    to manage the frames in their entirety.
    Thanks.

    Hi,
    my smartform is composed as follows:
    Page 1
      Main
         Loop
            Table 1
            Table 2
            Table n
    Each table consists of a frame.
    The problem is that when the smartform go to the next page, I can not handle frames.
    Part of frame is displayed on the first page, the other party to the second page.
    I tried to put the flag protection page on the tables, but the frame has not been successful.
    I hope someone help me.
    Regards,
    Maurizio.

  • Triggering of copies window in smartforms

    Hi friends,
    Can any one tell me how does the copies windows gets triggered  ie : how does it process..
    As per my knowledge after going through many links and sap help i came to know the main window gets triggered and secondary window gets triggered in the order in which we have defined in the left side node ie: the processing for main and secondary window will be done in the order in which we have defined in the page node and comming to fianl window it gets triggered when the processing is going on for the last time of the node...
    But can any one tell me how does the copies window gets triggered and when...
    Like say in a page the nodes are defined in the below way
    PAGE
       a) secondary window
       b) copies window
      c) main window
      d) copies window
    Now can any one tell me how this copies window gets triggered and how does it create the number of copies which are required using copies window.
    Regards
    Kumar

    Hi Kumar,
    Good question to ponder.. Well the answer is;
    The trigger point for the copy window is from the output command. For eg : if i am tro have  a simple smartform with 2 windows...1 as the main window and the nxt as a cpoy window both have a text element with different texts in each.
    Now in the output options if you mention the number of copies to be printed in the specific printer is "1" then only the main window gets printed. If you provide the number of copies as"2" then there are 2 pages printed..One is only having the main window content and the second with copy window contect. The copy window content is based on teh "OUTPUT TO" option you select for the copy window general attributes.
    Hope this helps!
    Cheers!

  • Print multiple copies of a smartforms in a one spool request

    Dear all,
    I've a network printer "HP Laserjet 4250" configured with an output accessory "Sheet Stapler/Stacker".
    With these accessory all pages of the same spool are stapled together.
    For transaction VL02N we would print n copies of the same delivery using smartforms in this printer, so all copies will be stapled.
    The problem is that in SPAD Copy Counter options if we set the choice "Pass copy counter to the host spool system" only one copy is printed;
    it seems that copy counter parameters has no effects.
    If we set the choice "Pass copies as separate Output Requests", the spool system will send a separate print request for each copy of a document to be printed; but with this option multiple copies are not stapled since they belong to different spool.
    SAP System is ERP 6.0 EHP5 based on windows /SQL 2008 and the last kernel patch.
    Any idea to solve the problem ?
    Thanks
      Maurizio Manera

    Hello,
    By default the number of copies is transferred to the OS host spooler
    and handled by it.
    The flag to pass copies is set in the Output Device definition via
    transaction SPAD as follows:
      SPAD -> Output Device -> <Output Device name> -> Output Attributes ->
              'Pass Copy Counter to Host Spool System'
    Can you please change this flag to:
       'Pass Copies as Separate Output Request(in SAP System)'
    regards,
    John Feely

  • Help needed regarding 'Address Text' in Smartforms

    hi guys,
    To display the address text in Smartforms, we include an 'Address' component and provide the respective address number to it. I just want to know which is the table where the complete address text corresponding to the address number is saved. I have checked the 'ADRC' & 'ADRCT' tables but in vain. Help me out.
    With regards,
    Sandeep Panja.

    Hi Panja,
                 In smartform u have to pass the address no and it's give the full address by FM ADDRESS_INTO_PRINTFORM .plz check this fm and for address check the master table like vendor the table is LFA1 to get the address for it
    tarak

  • Need help with Responsive HTML5 screen layout in RoboHelp HTML 11

    I have a few questions/issues regarding screen layouts for Responsive HTML5 output in RoboHelp HTML 11.
    First off, I decided to just use the Theme1_Standard layout that came with the program (only other default option was Theme2_Government) and started customizing the layout. I originally added a company logo to the 'Header' component in the Customization dialog, but have since decided to remove it. I can't seem to do this from the dialog, so I tried just deleting the image file from the whole project. The file is gone, but the logo is still there. This is only displayed in the header when a topic is displayed, it does not appear in the header at the TOC, Index, Search screen, etc. How do I get rid of this???
    Secondly, the text in the header for the topic screens appears differently than the one on the screens for the TOC, Index, Search, etc. In the former of these, the header is displayed in maroon text in a much smaller font, similar to that used in the topics. In the latter, the topic is displayed based on what I configured in the Layout Customization dialog; much larger in white text on a black background. In each case the heading text serves as a link to the default display topic shown when the help file is launched, which is fine. However, how do I get the header to be consistent across all screens (topics and TOC, Index, etc. alike)???
    As a result of these issues with the Theme1_Standard layout, I'm trying to import a different Responsive HTML5 screen layout than the two provided within RoboHelp HTML 11 (Standard and Government). I did some digging in the program help and found another layout I'd like to use (Theme3_Black.zip) at RoboHelp screen profiles and layouts. I tried importing the new layout, but it's looking for a .SLZ file and the only one in the files that came with the ZIP file is SLZConfig.xml, and I don't think that's what I need, though quite honestly, I don't know.
    I extracted the contents of the ZIP folder to a folder in the !ScreenLayout! folder within the RoboHelp project, but when I open the project, I don't see Theme3_Black as an option. I need to figure out how to import this screen layout because the color scheme matches the one used in the program for which I am writing the help. How do I import and apply this other screen layout???
    Any tips, tricks, or guidance on any or all of these items would be GREATLY appreciated.
    Thanks much in advance,
    Dave

    Item two of the original post is also something I am having issues with:
    "Secondly, the text in the header for the topic screens appears differently than the one on the screens for the TOC, Index, Search, etc. In the former of these, the header is displayed in maroon text in a much smaller font, similar to that used in the topics. In the latter, the topic is displayed based on what I configured in the Layout Customization dialog; much larger in white text on a black background. In each case the heading text serves as a link to the default display topic shown when the help file is launched, which is fine. However, how do I get the header to be consistent across all screens (topics and TOC, Index, etc. alike)???"
    We have the text toggle between red, white and blue depending upon the topic selected. In the customize Selected Layout we have the title color set to white. It seems to think that it is a link and I would like to know how I can force the text to be white and to stay that way no matter which topic is selected.

  • Help with anonymus pl/sql layout using javascript

    Hi people.
    i want to display some records on a region (using apex 4.2) , this anonymous pl/sql script below shows 3 records from database, but the layout only shows me the first record with it's data, the others 2 records, only show me labels.
    i have verified this same query creating a report and it shows the 3 records correctly.
    i guess i am doing something wrong with this javascript routine or i am surely missing something,
    in this link you can see the layout i am getting. (http://sdrv.ms/Xrv0J8).
    the other little help i need is to display in one row for each record. actually i am getting one row for each label and one row for each data record. i have read and found is something about /div, but i don't no how to change it to get desired results, any suggestion is welcome.
    thanks in advance for any help.
    i am completely new in apex and java script, but i have several years experience in pl/sql.
    The Script :
    Begin
    Declare
    Cursor Deliv Is
    Select item,
    To_char (Delivery, 'month dd, yyyy hh24:mi:ss') Delivery,
    Current_date
    From pending_items;
    Begin
    For A In Deliv Loop
    Begin
    Sys.Htp.P ('<script type="text/javascript">');
    Sys.Htp.P ('function cdtd() {');
    Sys.Htp.P (' var xmas = new Date("' || a.delivery || '")');
    Sys.Htp.P (' var now = new Date();');
    Sys.Htp.P (' var timeDiff = xmas.getTime() - now.getTime();');
    Sys.Htp.P (' if (timeDiff <= 0) {');
    Sys.Htp.P (' clearTimeout(timer);');
    -- Sys.Htp.P (' document.write("Some Text Here!");');
    Sys.Htp.P (' // Run any code needed for countdown completion here');
    Sys.Htp.P (' }');
    Sys.Htp.P (' var seconds = Math.floor(timeDiff / 1000);');
    Sys.Htp.P (' var minutes = Math.floor(seconds / 60);');
    Sys.Htp.P (' var hours = Math.floor(minutes / 60);');
    Sys.Htp.P (' var days = Math.floor(hours / 24);');
    Sys.Htp.P (' hours %= 24;');
    Sys.Htp.P (' minutes %= 60;');
    Sys.Htp.P (' seconds %= 60;');
    Sys.Htp.P (' document.getElementById("daysBox").innerHTML = days;');
    Sys.Htp.P (' document.getElementById("hoursBox").innerHTML = hours;');
    Sys.Htp.P (' document.getElementById("minsBox").innerHTML = minutes;');
    Sys.Htp.P (' document.getElementById("secsBox").innerHTML = seconds;');
    Sys.Htp.P (' var timer = setTimeout("cdtd()",1000);');
    Sys.Htp.P ('}');
    Sys.Htp.P ('</script>');
    Sys.Htp.P ('Days ');
    Sys.Htp.P ('<div id="daysBox"></div>');
    Sys.Htp.P ('Hours');
    Sys.Htp.P ('<div id="hoursBox"></div>');
    Sys.Htp.P ('Minutes');
    Sys.Htp.P ('<div id="minsBox"></div>');
    Sys.Htp.P ('Seconds');
    Sys.Htp.P ('<div id="secsBox"></div>');
    Sys.Htp.P ('<script type="text/javascript">');
    Sys.Htp.P ('cdtd();</script>');
    End;
    End Loop;
    End;
    End;

    Let's focus on your delivery dates and javascript for now.
    Why you would put your javascript in htp.p calls in a plsql region is quite beyond me. When you edit the page there is a javascript region where you can put global variables and functions, an excellent spot for this then, and a lot more maintainable than this.
    Now it's also obvious that your query on pending items will return more than one record. So, using a report would serve you well in this case. However, using code like this:
    document.getElementById("daysBox").innerHTML = days;
    document.getElementById("hoursBox").innerHTML = hours;
    document.getElementById("minsBox").innerHTML = minutes;
    document.getElementById("secsBox").innerHTML = seconds;will not serve you. getElementById is meant to return one element uniquely identified by an ID. If you have a report with multiple rows, and elements on each row with the same ID, you are doing something wrong. You would need the delivery date per row, and I guess that you put out your code with htp.p because you do not know how to deal with that and passing it in to the javascript procedure.
    But wouldn't it be more oppurtune for you to simply create a report with a source sql where you calculate each part of the date, and then refresh this region with a certain interval. If you'd refresh every 5 minutes, wouldn't that be more than fast enough to keep track of things? Don't forget, refreshing a region will execute the sql again.
    It's not that you can't accomplish a multirecord report with a countdown per row, but are you comfortable enough with javascript and jquery to code and maintain that versus leveraging plsql and dynamic actions (there is even a dynamic action timer plugin provided by oracle)?

Maybe you are looking for

  • How to map lookup main table field in another main table using MDM 7.1?

    We created a new SAP MDM 7.1 repository with multiple main tables.  The first main table is called ProductMaster table which contains Products information.  The ProductCode is the primary key and the only display field for the table during data loadi

  • Digital Signatures Missing

    hello.. when i downloaded the installer for the "plugin" version of FP 11.7.700.232, for use with "windows xp" and "firefox", i noticed that the installer didn't have a digital signature.. i would think that it is supposed to be digitally signed.. i

  • Mail Adapter Settings ??

    Hi Experts, Please let me know how to use Connection Parameters for Mail Server in the MAIL ADAPTER. 1) Here, What is the URL stands for ? 2) User Name and Password is related to what ? I initailly gave the Company ID and Password, so it worked. But

  • C6 - touch panel not working

    recently i purchased a c6-00 phone from uae. now the touch panel is not working. what can i do

  • Audio Only One Way

    I have not been able to find an answer to this one. When I try either a video or audio chat, the other person can hear me fine. I cannot hear them. Other iChat sounds (such as log on and off, etc.) can be heard just fine. I have audio with other appl