Split Tiff in SAP

Hi all,
the problem is ... I´ve got a mutipage TIFF and I need the single pages. How can I split that TIFF for further processing in SAP?
Thanks in anticipation.
Regards Marc

Moderator message - Cross post locked

Similar Messages

  • JAI(Java Advanced Imaging) Problem with splitting TIFF images

    Hi
    I am getting problem with height when I use this program to split TIFF images
    ImageDecoder decImage = ImageCodec.createImageDecoder("tiff", inStr,
    null);
    Then it creates RenderedImage page by page and encodes them to file:
    String outFileName = "";
    OutputStream outStr;
    TIFFEncodeParam encParam = new TIFFEncodeParam();
    encParam.setCompression(TIFFEncodeParam.COMPRESSION_PACKBITS);
    for (int i=0,n=this.getPageCount(); i < n; i++)
    outImage = this.decImage.decodeAsRenderedImage(i);
    outFileName = "C:\\Temp\\Split" + i + ".tif";
    outStr = new FileOutputStream(outFileName);
    BufferedOutputStream bOutStr = new BufferedOutputStream(outStr);
    encImage = ImageCodec.createImageEncoder("tiff",bOutStr,encParam);
    encImage.encode(outImage);
    bOutStr.flush();
    bOutStr.close();
    }The images are shrinking when I split . I need a solution to this problem.
    Thanks for any help in advance
    Sudheer.

    Hi
    Did you get a solution for your problem. I am also trying to split a TIFF file.
    Thanks in advance
    Antony

  • Split dates in SAP Query

    Dear experts,
    While using  a query over a specific period in which a person has multiple periods they are displayed as mulitple lines. In the output I want to include the validity period of this line.
    SAP uses during runtime the fields:
    SYHR_splits_wa-begda
    SYHR_splits_wa-enda
    These contain the exact dates I want to have in the output.
    While creating infosets a number of  (extra) fields calculated during runtime can be used as a selection & output option (the all start with SYHR_)
    a. Is there a way to add SYHR_splits_wa-begda?
    What we tried to do was create a new field in the infoset with:
    Newfieldname = SYHR_splits_wa-begda.
    This way we were not able to genereate.
    Declaring the field SYHR_splits_wa-begda leads to the fact that it remains empty during run time (and the query goes into an endless loop)
    Any suggestions on how to include the start date of the split in the output is very welcome!
    regards,
    Sebastiaan van de Weerdt

    What can be done is, you can add an additional field to the infoset and in the field code part,
    call either of the function modules:
    CONVERSION_EXIT_IDATE_OUTPUT External date OUTPUT conversion exit (e.g. 01JAN1994)
    CONVERSION_EXIT_LDATE_OUTPUT Internal date OUTPUT conversion exit (e.g. YYYYMMDD)
    CONVERSION_EXIT_SDATE_OUTPUT Internal date OUTPUT conversion exit (e.g. YYYYMMDD)
    The function modules allow to get a part of the passed date too.
    Hope it helps.
    Thanks,
    Saipriya

  • Split Shift in SAP

    Hi friends
    Do we have some options in Standard SAP to maintain split shifts
    Employee works from morning 8 to 12 p.m. then again comes and works from evening 4 to 8.
    How can we create a work schedule for this and kindly adivse on how to proceed further.
    Please advise.
    Regards
    Santhosh.S
    Edited by: Santhosh Somasekharan on Mar 27, 2010 5:19 PM

    Just a suggestion
    Can you set it up as one shift with a four hour break in the middle.
    i.e. set up a daily work schedule from 08:00 to 20:00
    with a 4 hour break from 12:00 to 16:00 ?
    bg

  • U00BFIs it possible to print a .TIFF from SAP?

    I am developing CRM, and in the CRM Activities it is possible to attach files of different types (.TIFF, .XLS, .DOC, etc). The client wants the application to print directly the document without their having to open a new application. For example, they want to print a .xls without opening the excel (at least manually). Is this possible?
    Thanks in advance!
    Best regards,
    Paola del Giorgio

    Yes,  search forum for OLE.
    Regards,
    Rich Heilman

  • How to use SPLIT statements in SAP

    I have a Variable which stores two field values like Purchase Order No and Date now I want to display this Value correctly from that Variable
    e.g VAR1 = PONO/Date
    How to print PONO on one line and Date on the other line from the VARIABLE VAR1.

    Hi Nandan,
    There are different ways to do this.
    Suppose your variable contains always a fixed length of two other values like PO number an Date.
    DATA: v_pono         TYPE ebeln,
          v_date         TYPE sydatum,
          v_variable(18) TYPE C.
    v_variable = '000001234520050201'.
    You can then read the parts like this:
    v_pono = v_variable+000(010).
    v_date = v_variable+010(008).
    Suppose your variable contains always a variable length of two other values like PO number an Date.
    DATA: v_pono         TYPE ebeln,
          v_date         TYPE sydatum,
          v_variable(20) TYPE C,
          v_table        LIKE v_variable OCCURS 0.
    v_variable = '12345/20050201'.
    You can then read the parts like this:
    SPLIT v_variable AT '/' INTO TABLE v_table.
    READ TABLE v_table INTO v_pono INDEX 1.
    READ TABLE v_table INTO v_date INDEX 2.
    Or you can use it like this:
    SPLIT v_variable AT '/' INTO v_pono v_date.
    Hope this gives you some clues.
    Regards,
    Rob.

  • Split Valution in SAP IS Retail

    Hi Experts,
    II need to separate stock by price. For example vendor offer discount for particular article which has stock already at DC or Store. How can I differentiate these stocks at DC or Store? Can split valuation concept apply here?.
    Regards
    Vijai Jain

    Split valuation should be a good solution for this requrement. Partial stocks of an article can be valuated separately at the site level. Valuation categories and types are defined for each site; that is, for each valuation area level.
    A valuation type characterizes one of the possible types of stock for a certain valuation category. Default valuation types can be defined for a valuation category.
    This affects the valuation type that is to be entered in a purchase order. If you want to carry out split valuation for an article, you enter a valuation category in the accounting data of the article. This defines which valuation types can be specified.
    - kanica
    PS : I got this link sometime back. Might help you. [http://www.sap123.com/showthread.php?t=29]

  • Split Valuation For Material Having No Open PO & Stock

    Hi Experts,
    Will somebody throw light on split valuation where there is no any open PR, PO & Stock for that material but system does not allow to make material split valuated.
    System shows error meassge giving old PO nos list.
    (Logically all these POS whole business transcations/cycle is  completed )
    I want split valaution to be done to the material whose stock is nil also there is no any open PR,PO for that plant in the system.
    But I dont prefer to delete line items of the old PO for doing the split valuation.
    Please suggest solution
    Thanks in advance.
    Ramesh
    Edited by: RameshChandra  Soni on May 17, 2008 11:46 AM

    Hi,
    You can find severaé threads about this on this forum.
    Some hints:
    1. In MM02 try to set the split valuation > Save > SAP will give error message > Push the appearing 'Display errors' button > SAP will say what hinders you from being able to set the split valuation.
    2. As I remember stock has to be zero in current and previous period. (You can set your stock to zero in the previous period using MB1A201posting date in the past; after having set split valuation you can reset your stock level via MB1A+202).
    3. IMPORTANT: you have to archive all existing batch records.
    4. etc
    BR
    Csaba

  • Issue with Document Splitting

    HI All,
    After I activated Document Splitting, I have posted an Invoice(F-43). It has splitted correctly.
    31 Vendor      PC1  20,000 Dr
    31 Vendor      PC2  10,000 Dr
    40  Exp A/c1  PC1   20,000
    40  Exp A/c2  PC2   10,000
    When I'm making payment through F-53, Its not splitting correctly. Below is the enry I am getting.
    Its not splitting the amount made from Bank. In F-53, In Profit Center field, I gave PC2.
    Pls let me know what mistake I made in Configuration.
    and why Its showing Zero Balance Clearing A/c in this entry.
    50 Bank A/c                             30,000
    25 Vendor A/c                         20,000
    25 Vendor A/c                         10,000
    50 Zero Balance clearing A/c  10,000
    40Zero Balance clearing A/c   10,000
    Niranjan Yandamuri

    Hi Niranjan,
    Split Processor basically does two things: splitting a document line item or adding balancing entries for selected dimentions (profit center, etc). Split Processor determines whether a line needs to be split based on Split Rule. A Sprilt Rule is assigned to Business Transactions, A Business Transaction with a Variant defines which Item Categories are avalable for Split Rule to split or not split.
    Here is the documentation for Item Category:
    http://help.sap.com/erp2005_ehp_05/helpdata/EN/ee/79c5c00ca249b783bc74fff0e484aa/frameset.htm
    Here is the concept of document splitting:
    http://help.sap.com/erp2005_ehp_05/helpdata/EN/87/3da04028f40160e10000000a1550b0/frameset.htm
    Here is how to configure document split process:
    http://help.sap.com/erp2005_ehp_05/helpdata/EN/49/121407cbff280ee10000000a42189c/frameset.htm
    Hope this is helpful.
    Regards,
    Ming

  • Data mapping from SAP to excel

    I have executed one report which is giving one basic list. As per the maximum line size all the data are splitted in separate pages.Whenever we download it separate xcel sheet it is coming in the same manner i.e in splitted manner. I just want to know if it is possible to accumulate the splitted data from SAP into Xcel in a single horizantal style and if possible please explain how can we do that.

    Hi Sam,
    Good!
    Its possbile. Try to insert a puch button in the basic list. for that particular fucntion code usre the FM
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    FILENAME = FILENAME
    WRITE_FIELD_SEPARATOR = 'X'
    append = 'X'
    TABLES
    DATA_TAB = jtab
    Thanks,
    Sunil

  • XML File splitting in PI

    Hi all,
    We have a requirement that the receiving application can accept files only of size 2MB. So this is a limitation from the receiving application
    The source system is SAP ECC system and the receiving application is a legacy application.
    Technically it is a ABAP Proxy to File scenario. Receiving application can accept files only in XML format.
    SAP ABAP Proxy code is written in such a way to read all the records in a SAP table and the full table load is sent as an proxy xml message to PI, PI has to split this  full xml file  in to chunks based on some condition and then transfer it to receiving legacy application.
    Can we achieve file splitting in PI for XML files based on no.of records or size.
    Please share your inputs/pointers to provide the best solution to this requirement.
    regards,
    Younus

    Hi,
    Yes this can be done by the amount of records you send through at a time.
    So lets there is 10000 records. You might only send 200 at a time and that will keep it under the 2mb limitation.
    This is a simple if function on your nodes. Please see the links below that would help you.
    Split source message into multiple target messages
    Defining Message Splits - SAP NetWeaver Process Integration - SAP Library
    Configuring Mapping-Based Message Splits - Integration Directory - SAP Library
    Split mapping created no messages SAP PI 7.11
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b?overridelayout=t…
    Regards,
    Jannus Botha

  • Amount split in MIRO - payment method supplement

    Dear All,
    We have activated amount split functionality at the company code level and are getting an additional tab while doing MIRO. Requrirement is to get the payment method supplement field (ACSPLT-UZAWE) in the amount split screen.
    I have tried creating a variant by clicking on the yellow/blue configuration icon on top right of this dialogbox and the field is not marked invisible (infact none of the fields are invisible) yet am not able to see the PmtMthSupl in the "splitting of the final amount" window
    Can anyone help me with this. How can i get all the  visible fields on the miro screen
    Thanks & Regards
    Pooja

    hi,
    You need to enable an amount split via your company code settings so that you can post different amounts of your vendor invoice to different vendor accounts or different withholding tax accounts.
    Settings:
    SPRO >> Financial Accounting>> Financial Accounting Global Settings >>Company Code >> Enter Global Parameters
    here select your company code and on the Company Code Global Data: Details screen, select Enable amount split. and then Save...
    CHECK THE LINK IT COULD BE USEFULL:
    [AMOUNT SPLIT|http://help.sap.com/erp2005_ehp_04/helpdata/DE/2e/c5393cafb9de22e10000000a11405a/frameset.htm]
    Regards
    Priyanka.P

  • Printing QR-Code barcodes in SAP smartforms

    Hi,
    Is it possible to print QR-Code barcodes in SAP smartforms using system barcode font? Can anybody please let me know the font settings for QR-Code in SE73 font maintenance?
    A sample QR-Code lablel can be found [here|http://images.orkut.com/orkut/albums2/ATUAAADhaahG5MxsqQ66lcSO9oHRWD3X8zh7yv1kEakKwMtVHchChN1WfZlM__2D0_o8H7AS4_UaTTCymQQtvXHb9-q3AJtU9VCWnzkZ4gC1sVnCekVuQ90qmhzeMw.jpg].
    Regards,
    Milan

    Hi Milan,
    I'll blog in SDN about my research that I presented at TechEd during session CD119 (blog) but I'll begin sharing with you some ideas.
    Basically, without relay on any printer specific driver I would propose to follow the following steps:
    1.Generate the QR Code image file (.PNG) with one of the methods presented in the following pages
    2.Upload the image into the SAP system
    2.1 Convert the generated file (file.png) to TIFF using SAP IGS class CL_IGS_IMAGE_CONVERTER (see GRAPHICS_IGS_IMGCONV_DEMO)
    2.2.Upload. Use report RSTXLDMC to upload the image into SE78
    3.Include the image into the Form:
    3.1.SAPScript/:INCLUDE ZHEX-MARCO-name OBJECT TEXT ID ST
    If everything is clear, the missing point should now be the first one. To generate the PNG from ABAP I found some options if you like, the better I think is presented in my open source project called abap2qrcode published here http://code.google.com/p/abap2qrcode/.
    I know it's not trivial and I'm curious to know what do you think about it.
    Sergio

  • Size of SQL Server 2005 Database for SAP B1 2005 B is heavy

    Hi all,
    In my company we are working with SAP B1 2005 B SP 25.
    Our Database is in SQL Server 2005. Its Size reaches 6 GB in less then two years periods.
    Can Any body guide me to reduce the size or how to maintain database. Can we split Database in SAP B1 ?
    Due to the size users getting less speed
    Awaiting your valuable guidance for the same.
    Best Regards,
    Chintesh Soni

    Hi Chintesh,
    I would advise caution doing any of the things suggested in SAP Note 548772. In particular, I strongly recommend you do NOT set auto-shrink on. This is a really bad idea on a production database and I can't understand why SAP would suggest it.
    Is it the data file that is 6GB or the overall size of the database (ie data and log files)? If your log file is large  then this can slow performance. I recommend setting up transaction log backups on an hourly basis. This is good practice and not only keeps the log file healthy but also gives you the option to recover your data to the last transaction log backup in the case of an emergency. If you don't want transaction log backups then do as the SAP note mentions and set the recovery model to simple and do a once-off truncation of the log file.
    Are you doing regular maintenance on the database (ie rebuilding indexes, updating statistics)? Are you monitoring fragmentation on the data drive and doing a defrag occasionally to keep the drive healthy?
    Kind Regards,
    Owen

  • Splitting Error

    Hi all,
    We have a process chain ZPCD_HR_0007 where we are getting an error in the infopackage as below
    Error: Splitting error User Exit employee/date/hrs 00100545 20071106 2.000     RSM     799     
    The source system is SAP HR.
    It shows Error occurred in only u201CExtractionu201D of the Details tab in the infopackage.
    Please reply asap.
    Thanks,
    Gurus

    Hello,
    this issue is already discussed in another thread of yours:
    Splitting Error in Sap BW
    I will close this one.
    Regards,
    Paula Csete

Maybe you are looking for