SAP Script -Removing Blank Space

I am working on Customer Accounting Stmt.
On First Page I have to display header window , main window , account and footer window
Account window will be displayed on last page only.
Account window is phisically present after main window.
So blank space is getting created after main window.
My question is how to remove this blank space?
How to change the main window size dynamically?
Or any other solution to this problem?

Hi Vimal,
Check this link
https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=windowonlastpagescript&adv=false&sortby=cm_rnd_rankvalue
Regards,
Sravanthi

Similar Messages

  • Remove blank spaces in a text field?

    How can I remove blank spaces in a text field? Some text fields have a lot of blank fields that need to be removed so that I can report only on the text.
    CRXI
    Edited by: Burton Roger on Feb 10, 2009 5:48 PM

    Ex:
    "Hi,
    I have a need for monthly service desk reporting.
    Please provide data on single sheet.
    Thank you"
    I would like to shrink it down to -
    Hi, I have a need for monthly service desk reporting. Please provide data on single sheet. Thank you"

  • Removing Blank Spaces caused by Supressed data

    Hi All,
    How we can remove the balank spaces caused by supressed data in crystal reports.for eg
    Item Code:I0002
                   Timer
                   For Time Info
                   100
    ItemCode:I00003
                   Pen
                   20
    if there is txt added against pen as for Timer(For Time Info)
    it will leave blank space.How to remove blank space.
    Thanks,
    Neetu

    Hi Neetu
    I have tried replicating your requirement at my end using Xtreme Sample database below are the steps which I have followed.
    1)I have customer Id field,Customer name field field placed in details section.
    2)Click on Section Expert
    3)Click on Details.
    4)Check the second option as "Suppress(No Drill Down)".In front of that there is one icon as "X-2".Double click on that icon.
    5) Type the below formula
         if {Customer.Customer ID}=157 and {Customer.Customer Name} ="Aruba    
         Sport" then true
        else if {Customer.Customer ID}=148 and {Customer.Customer Name}
         ="Koala Road Bikes" then true
         else false
    6)Save and close.
    With this formula where condition matches the specific criteria it will suppress the section and there will be no blank spaces.The rest of the data will be shown.
    Hope it will help you.
    Regards
    Asha

  • Remove blank spaces

    Dear Forum,
    Field bkpf-xblnr is 16 char. I need to remove the space before and after in case user does not enter at the first position.
    example, user enter the value bb1234567bbbbbbb during the entry screen in bkpf-xblnr where i will put 1234567 to another new variable in my program.
    May I know what can i do?
    Thanks

    Dear,
    we use a keyword in SAP ABAP called CONDENSE with an addition NO-GAPS to remove all blank spaces in a char type data object..
    so for you..
    condense bkpf-xblnr no-gaps
    will work
    more help at
    http://help.sap.com/abapdocu_70/en/ABAPCONDENSE.htm

  • How to Remove Blank spaces in the text elements for a smartform

    Hi All,
    Can any one please help me out to remove the blank spaces in the text elements.
    We are printing Labels using the Zebra Printer and we have rotated the windows to 90 degrees.
    We are able to see out text and barcodes. But the issues is when we are printing the label. We are getting spaces in the Text and in the Text elements fields. I have tried to give &g_name(C)&. But it is not working even i worked with style sheet spaces no luck.
    Currently out text and fields are printing like this
    s h r i y a n
    material number
    1111  -001  -000
    They should print like
    shriyan
    1111-001-000
    According to the ZEBRA suggestions we are using the font helve.
    Plase help us it is very urgent.
    Reward point will be given.
    Thanks

    Hi,
    Just use Condense g_name inside the program lines.
    Just to see how it behaves put a hard breakpoint.
    Break Username. and check the condense statement.
    condense <your field> no-gaps.
    Create program lines ahead of printing. give the field you want to condense in the input and output parameters of the program lines.
    Use condense inside the program lines.
    Thanks,
    Vamshi.

  • PI removing blank spaces at the end of the lines in a plain text file

    Hi -
    I have an interface that transfers a file via FTP. I defined both the sender and receiver to transfer either Text or Binary but the interface removes every blank space I have after the last character. The file is a fixed lenght file.
    Example:
    Original file:
    Hello world(space)(space)(space)(space)(space)(space)(space)(space)(eol)
    where (space) is the space character and (eol) is the end of line char.
    File after it is received.
    Hello world(eol)
    I already defined the parameter Row.fieldFixedLenghts with 10164 which is the lenght of the lines of the file.
    Any ideas why it may be happening?
    Thanks,
    Carlos.

    Hi -
    I tried both the parameters:
    xml.fieldContentFormatting
    structure.fieldContentFormatting
    The received file still has the problem. All the blank spaces are cleared out.
    The file is a plain text file not an XML file. May this be the issue?
    Thanks,
    Carlos.

  • Remove blank spaces in excel output file

    it is a BOM report and the output is into a excel file.
    problem with the excel file output is : i gives blank spaces sometimes after the number and sometimes before the number...
    so, how can i remove those blank spaces for the values.
    ive nearly 15 columns having values in each column.
    so, how to get rid of blank spaces for these values in the columns in the xls file. is there any fn..module or a command that i can put in the code.

    Hi,
        above mentioned FM canbe used to eliminate extra zeros   in char field. eg. material number.
      MATNR will contain 18 char.-000000000045678925.
      toget only 45678925 F.M -conversion exit can be used.
      for ur reuirement use SHIFT statement only.
    regards,
    Prashanth Maturu.

  • How to remove blank spaces in the source code of my page?

    I created a page with the following code for testing:
    <dsp:page>
    <dsp:importbean bean="/atg/commerce/catalog/ProductLookup"/>
         <dsp:droplet name="ProductLookup">
              <dsp:param name="id" value="xprod2046" />
              <dsp:param name="elementName" value="product" />
              <dsp:oparam name="output">
                   <dsp:valueof param="product.DisplayName"/>
              </dsp:oparam>
         </dsp:droplet>
    </dsp:page>
    It only shows the product name in the browser. But if I look at the source code of my page he created 61 lines in response to this code, where a line is the product name and the other 60 have nothing.
    I know how to remove these lines that the ATG creates no content because my project is full of these empty lines.
    Anyone ever had this problem and could help me?
    Thanks

    Hi ,
    Yup this is a problem ,
    you can use following ways :
    1- use jsp comments eg :
    <dsp:page>
    <dsp:importbean bean="/atg/commerce/catalog/ProductLookup"/><%--
         ----%><dsp:droplet name="ProductLookup"><%--
              ----%><dsp:param name="id" value="xprod2046" /><%--
              ----%><dsp:param name="elementName" value="product" /><%--
              ----%><dsp:oparam name="output"><%--
                   ----%><dsp:valueof param="product.DisplayName"/><%--
              ----%></dsp:oparam><%--
         ----%></dsp:droplet><%--
    ----%></dsp:page>
    2- End tags at next line :
    e g :
    * <dsp:page
    * ><dsp:droplet name=”xyz”
    * ><dsp:oparam name=”output”
    * >Name: <dsp:valueof param=”abc”
    * /></dsp:oparam
    * ></dsp:droplet
    * ></dsp:page>
    3- Always use TAB instead of using SPACEBAR whie writing source code.
    4 - From JSP 2.1 onwards we have a page directive trimwhitespaces ( see if that works , i was not able to ), google for it for more info
    5 - You can modify your build scripts to remove white spaces from jsps while building EAR.(complex though, as you may not want to trim all white space.)
    6 - modifying the deployment descriptor.
    <init-param>
    <param-name>trimSpaces</param-name>
    <param-value>true</param-value>
    </init-param>

  • How to remove blank space left from Images Word import

    Hi all,
    I'm working on a document which has been imported from Word, because of the conversion process a lot of images (that where pasted directly from Powerpoint in Word) didn't get converted properly and ended up in different part of the resulting Pages document.
    The issue is that the images were found somewhere else, but the space they were occupying in the document was left ..sometimes in that space I find a squared frame which I can easily remove but some other times I just find a blank space which is impossible to remove or select.
    This results in breaking the text for 10-13 lines. It is impossible to make the text filling this space. I can assure I cannot select this area with any tool (also by selecting 'make master objects selectable') and Im using the 'show invisibles' mode.
    Please any suggestion or advise?
    Im available to send a part of the document so anyone may check if wants to help me..
    Thanks a lot
    cheers

    Hi Jerry thanks for your possible help , please find below a part of the text Im working, the issue is at the end of page 16 where I highlighted in yellow the text, I cannot get rid of the space at page 16:
    Sorry if the document is in Italian and it is quite understanble for all you..
    http://www.wupload.com/file/2677565317/example_of_my_problem.pages
    I had to put it on wupload  because the file is 77MB, sorry!!!
    ..and I dunno why...the whole document is 264 pages and is 77,8 MB I thought that only 17 pages were less...
    I think thisis another BIG ISSUE thie FILE:.I think there is something hidden in it which is subtracting space...
    Actually whne I imported the original document from Word it became 100MB, then I got rid of all the images but still 77MB, in word it was just 12MB with images..
    Any more idea/suggestions about this size issue please?
    Thanks a lot to everyone
    cheers
    simo
    PS
    in some of the footnotes there are some citation I imported using Endnote x5, but this is not affecting too much the size, as before these citations when I imported the document were not

  • How can I remove blank space after month value while selecting to_char(sysdate)

    select to_char(sysdate,'dd-month-yyyy') from dual;
    when I give this query, I'm getting a blank space after the month value. How can I trim that?

    Or else try this one
    select to_char(sysdate,'dd-fmmonth-yyyy') from dual;
    Best of luck.

  • Not being remove Blank space in Supplier Name

    Dear,
    Actully we have round more than 200 supplier having supplier name with space due to this client face problem especially in parameter while running reprots or sometime occur in oracle application, therefor i have developed this routine to remove space from the left & right side of suppliername, but not being update although some update get performed when package execute showig status sucessfull & error is blank as mentioned below.
    If any know about to update supplier name in Fron-End, right now we update supplier name but it's not wokrin could y please guide how can we upadate supplier name individulay so we can do it fron-end as per needed.
    DBMS_OUTPUT.PUT_LINE(' STATUS '||v_return_status||' ERROR '||v_error_msg);
    STATUS S ERROR
    declare
    v_return_status varchar2(100); --OUT NOCOPY VARCHAR2,
    v_error_msg varchar2(100); --OUT NOCOPY VARCHAR2);
    begin
    for i in (
    select s.*,par.jgzz_fiscal_code,par.sic_code,par.tax_reference,par.tax_name From ap_suppliers s,hz_parties par
    where ltrim(rtrim(s.vendor_name)) <> s.vendor_name
    and s.vendor_name = par.party_name
    and created_by_module = 'AP_SUPPLIERS_API'
    and vendor_name = 'ABC ' ) loop
    v_return_status := null;
    v_error_msg := null;
    POS_VENDOR_PUB_PKG.Update_Vendor
    p_vendor_id => i.vendor_id ,
    p_segment1 => i.segment1 ,
    p_vendor_name => ltrim(rtrim(i.vendor_name)),
    p_vendor_name_alt => i.vendor_name_alt ,
    p_summary_flag => i.summary_flag ,
    p_enabled_flag => i.enabled_flag ,
    p_segment2 => i.segment2 ,
    p_segment3 => i.segment3 ,
    p_segment4 => i.segment4 ,
    p_segment5 => i.segment5 ,
    p_employee_id => i.employee_id ,
    p_vendor_type_lookup_code => i.vendor_type_lookup_code ,
    p_customer_num => i.customer_num ,
    p_one_time_flag => i.one_time_flag ,
    p_parent_vendor_id => i.parent_vendor_id ,
    p_min_order_amount => i.min_order_amount ,
    p_terms_id => i.terms_id ,
    p_set_of_books_id => i.set_of_books_id ,
    p_always_take_disc_flag => i.always_take_disc_flag ,
    p_pay_date_basis_lookup_code => i.pay_date_basis_lookup_code ,
    p_pay_group_lookup_code => i.pay_group_lookup_code ,
    p_payment_priority => i.payment_priority ,
    p_invoice_currency_code => i.invoice_currency_code ,
    p_payment_currency_code => i.payment_currency_code ,
    p_invoice_amount_limit => i.invoice_amount_limit ,
    p_hold_all_payments_flag => i.hold_all_payments_flag ,
    p_hold_future_payments_flag => i.hold_future_payments_flag ,
    p_hold_reason => i.hold_reason ,
    p_type_1099 => i.type_1099 ,
    p_withhold_status_lookup_code => i.withholding_status_lookup_code ,
    p_withholding_start_date => i.withholding_start_date ,
    p_org_type_lookup_code => i.organization_type_lookup_code ,
    p_start_date_active => i.start_date_active ,
    p_end_date_active => i.end_date_active ,
    p_minority_group_lookup_code => i.minority_group_lookup_code ,
    p_women_owned_flag => i.women_owned_flag ,
    p_small_business_flag => i.small_business_flag ,
    p_hold_flag => i.hold_flag ,
    p_purchasing_hold_reason => i.purchasing_hold_reason ,
    p_hold_by => i.hold_by ,
    p_hold_date => i.hold_date ,
    p_terms_date_basis => i.terms_date_basis ,
    p_inspection_required_flag => i.inspection_required_flag ,
    p_receipt_required_flag => i.receipt_required_flag ,
    p_qty_rcv_tolerance => i.qty_rcv_tolerance ,
    p_qty_rcv_exception_code => i.qty_rcv_exception_code ,
    p_enforce_ship_to_loc_code => i.enforce_ship_to_location_code ,
    p_days_early_receipt_allowed => i.days_early_receipt_allowed ,
    p_days_late_receipt_allowed => i.days_late_receipt_allowed ,
    p_receipt_days_exception_code => i.receipt_days_exception_code ,
    p_receiving_routing_id => i.receiving_routing_id ,
    p_allow_substi_receipts_flag => i.allow_substitute_receipts_flag ,
    p_allow_unorder_receipts_flag => i.allow_unordered_receipts_flag ,
    p_hold_unmatched_invoices_flag => i.hold_unmatched_invoices_flag ,
    p_tax_verification_date => i.tax_verification_date ,
    p_name_control => i.name_control ,
    p_state_reportable_flag => i.state_reportable_flag ,
    p_federal_reportable_flag => i.federal_reportable_flag ,
    p_attribute_category => i.attribute_category ,
    p_attribute1 => i.attribute1 ,
    p_attribute2 => i.attribute2 ,
    p_attribute3 => i.attribute3 ,
    p_attribute4 => i.attribute4 ,
    p_attribute5 => i.attribute5 ,
    p_attribute6 => i.attribute6 ,
    p_attribute7 => i.attribute7 ,
    p_attribute8 => i.attribute8 ,
    p_attribute9 => i.attribute9 ,
    p_attribute10 => i.attribute10 ,
    p_attribute11 => i.attribute11 ,
    p_attribute12 => i.attribute12 ,
    p_attribute13 => i.attribute13 ,
    p_attribute14 => i.attribute14 ,
    p_attribute15 => i.attribute15 ,
    p_auto_calculate_interest_flag => i.auto_calculate_interest_flag ,
    p_validation_number => i.validation_number ,
    p_tax_reporting_name => i.tax_reporting_name ,
    p_check_digits => i.check_digits ,
    p_allow_awt_flag => i.allow_awt_flag ,
    p_awt_group_id => i.awt_group_id ,
    p_pay_awt_group_id => i.pay_awt_group_id ,
    p_awt_group_name => null ,
    p_pay_awt_group_name => NULL ,
    p_global_attribute1 => i.global_attribute1 ,
    p_global_attribute2 => i.global_attribute2 ,
    p_global_attribute3 => i.global_attribute3 ,
    p_global_attribute4 => i.global_attribute4 ,
    p_global_attribute5 => i.global_attribute5 ,
    p_global_attribute6 => i.global_attribute6 ,
    p_global_attribute7 => i.global_attribute7 ,
    p_global_attribute8 => i.global_attribute8 ,
    p_global_attribute9 => i.global_attribute9,
    p_global_attribute10 => i.global_attribute10 ,
    p_global_attribute11 => i.global_attribute11 ,
    p_global_attribute12 => i.global_attribute12 ,
    p_global_attribute13 => i.global_attribute13 ,
    p_global_attribute14 => i.global_attribute14 ,
    p_global_attribute15 => i.global_attribute15 ,
    p_global_attribute16 => i.global_attribute16 ,
    p_global_attribute17 => i.global_attribute17 ,
    p_global_attribute18 => i.global_attribute18 ,
    p_global_attribute19 => i.global_attribute19 ,
    p_global_attribute20 => i.global_attribute20 ,
    p_global_attribute_category => i.global_attribute_category ,
    p_bank_charge_bearer => i.bank_charge_bearer ,
    p_bank_branch_type => i.bank_branch_type,
    p_match_option => i.match_option ,
    p_create_debit_memo_flag => i.create_debit_memo_flag ,
    p_party_id => 2085 ,
    p_parent_party_id => i.parent_party_id ,
    p_jgzz_fiscal_code => i.jgzz_fiscal_code,
    p_sic_code => i.sic_code ,
    p_tax_reference => i.tax_reference,
    p_inventory_organization_id => NULL ,
    p_terms_name => NULL ,
    p_default_terms_id => NULL ,
    p_ni_number => NULL ,
    p_last_update_date => NULL ,
    x_return_status => v_return_status,
    x_error_msg => v_error_msg
    DBMS_OUTPUT.PUT_LINE(' STATU S '||v_return_status||' ERROR '||v_error_msg);
    end loop;
    end;
    Edited by: oracle0282 on Dec 24, 2011 3:36 AM
    Edited by: oracle0282 on Dec 25, 2011 9:51 PM

    Just a thought..
    How about creating a new supplier and then opt for Supplier Merge?
    Using supplier merge you may transfer all the open PO's and invoices of the old supplier to the new
    supplier. By using the supplier merge, the old supplier would be end date automatically by the
    system.
    P.S. I am NOT sure whether there exist a datafix to edit the supplier name.
    Regards,
    Srini

  • Remove Blank Space from Crystal report

    Hello,
    i am new in crystal report work.
    recently, i have created one crystal report which display item and remaining other detail like tax detail,item grand total, Some extra remark,etc.
    But my scenario is that if i take three or more item then it take two page that's ok. on that case i have no problem,
    but if i  take only single item it will take two pages.
    how can i remove unnecessary area.
    i attached below image for better understanding.
    i also provide crystal report if required.
    if there is image not visible then i also attach below.
    Plz... Help me ASAP.
    Thanks,

    It seems like your tax detail section is another sub report please compact the subreport if attached.
    Right click on the object and select Format Object > checkbox "Supress Embedded Field Blank Lines"
    Right Click on the section and click "Fit Section"

  • REMOVING BLANK SPACE IN XML USING JDOM

    <?xml version="1.0" encoding="UTF-8"?>
    <Person >
    <Employee1>
    </Employee1>
    <Employee2>
    </Employee2>
    <Employee3>
    </Employee3>
    </Person>
    I want to remove <Employee2>
              </Employee2>
    and my output should look like this
    <Person >
    <Employee1>
    </Employee1>
    <Employee3>
    </Employee3>
    </Person>
    so i have written code
    import org.jdom.Document;
    import org.jdom.Element;
    import org.jdom.JDOMException;
    import org.jdom.input.SAXBuilder;
    String str = "C://Employee.xml"
    SAXBuilder builder = new SAXBuilder();
    document = builder.build(str);
    Element root = document.getRootElement();
    Element employeeChild1 = root.getChild("Employee1");
    Element employeeChild2 = root.getChild("Employee2");
    employeeChild1.getParent().removeContent(employeeChild1);
    employeeChild2.getParent().removeContent(employeeChild2);
    File file = new File( fileName );
    fos = new FileOutputStream( file );
    Format format = Format.getRawFormat();
    format.setOmitDeclaration(false);
    format.setTextMode(Format.TextMode.PRESERVE);
    outp = new XMLOutputter( format );
    outp.escapeElementEntities(" ");
    outp.output( document, fos );
    fos.flush();
    when i run this code my output comes like this in editplus
    <Person >
    <Employee1>
    </Employee1>
    <Employee3>
    </Employee3>
    </Person>
    and in internet explorer it shows correct
    <Person >
    <Employee1>
    </Employee1>
    <Employee3>
    </Employee3>
    </Person>
    i want to know how can i delete that blank line also because internet explorer adjust the settings and delete blank line but i want to view in editplus
    Element is getting deleted but the index is not getting deleted
    Please let me know Thanks in advance

    Is this an InDesign question? You are talking about PDFs. Are they exported from InDesign, and you are asking how to fix them some way in InDesign before exporting again to PDF? Or are you placing PDFs into InDesign. If neither of these is your question, you may want to ask over in the Acrobat forum.

  • Removing Blank Space (line) Accompanying Layout Breaks

    I've used a layout break to make a portion of text two-column after a one-column section. Whatever I do, whereever I put it, the layout break takes space. It's a farily tight document, in a 10pt. font, and the line the layout break takes screws up the layout of the whole page. How can I get it to not put a whole blank line between the one-column section and the two-column section?

    I might not fully understand the problem but take the paragraph break off the end of the line on the first section:
    vs

  • Remove blank space below tabs

    There is a persistant of blank bar below my tab bar. Unable to remove through customization.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    You can check for problems caused by a corrupted localstore.rdf file.
    *http://kb.mozillazine.org/Corrupt_localstore.rdf

Maybe you are looking for

  • How do I go back to forgotten apple ID that all apps were purchased under?

    I tried to sync another new iPhone 4 to my computer to help out someone. The computer seen it as a replacement for my phone. The changed apple ID is now what my apps are under. I'm guessing that's the problem anyway. So how do I recover my iTunes acc

  • Outgoing payment print layout

    I want to add journal entry details in Outgoing Payment print layout but when I choose source: database, I can not find Journal Entries-Rows in that list How can I display journal entries in Outgoing payment report because my accountant need it Regar

  • Arc is not implemented for SQL Server 2005 physical model

    I added the Arc in my relational model, which is supposed to provide that references are mutually exclusive (so only one refering column can be not null). However there is not any implementation for this in the SQL Server 2005 physical model. The SQL

  • Sequence presets and settings

    This question was posted in response to the following article: http://help.adobe.com/en_US/premierepro/cs/using/WS630B3868-F095-46fe-8690-A5BDBCFD6EC8.ht ml

  • Removing a job - user_jobs x user_objects

    Hi everyone, I have a doubt about removing a job. Using a script, I removed (almost) all objects of the database. But, querying the user_objects I found one register where the object_type column value is JOB, and in the user_jobs doesn't have any reg