Date Seperation in check printing

Hi,
I the SAP Scripts , i am having the date variable's value as 21102011.
I want to introduce the logic for the separation of each number by space to print in the check as the check contains 8 boxes respectively.
that is, i want to print the date  as 2 1 1 0 2 0 1 1 .
i am not getting the logic as i am new to ABAP.
Please provide me with the logic for separation of Numbers in Date .

Hi,
Use off set.
Use tab seperator.
Date0(1),,Date1(1),,Date+2(1),,and so on...
Regards,
Surya

Similar Messages

  • Date Format in Check Printed from F110

    Hi,
    I'm on 4.6C.
    Company: US10 (United states local configuration)
    I'm doing the check printing thru Tcode F110 and for printing we are using program RFFOUS_C. Earlier we were getting date format as MM.DD.YYYY but if vendor is form Spain (I'm not sure) I have started getting format as DD/MM/YYYY.
    Why?. Should I change vendor's country to US on Tcode FK03?
    I have checked the user setting (Tcode SU3) of the person who did the printing, in that also the date format is MM.DD.YYYY.
    A lot of thanks in advance.
    Best Regards,

    Hi Sid,
    Thanks for your quick answer.
    My Date's fields in RFFOUS_C are: &REGUH-ZALDT& and &REGUP-BldAT&
    /: SET DATE MASK = 'MM.DD.YYYY'
    OR
    /: SET REGUH-ZALDT MASK = 'MM.DD.YYYY'  ????
    I must set date mask in every window??
    a lot of thanks in advance.
    best regards

  • Data seperator check

    Hello,
    I am uploading CSV file to internal table,I need to check the data seperator should be only
    semicolon.
    Content will be like this.
    Ex:    a;b;c;d
               ;p; ; q
    How can i do that ?
    Rgds,
    Karthi.

    Its my code, here i am able to check the data seperator.
    if the data seperator is not semicolon then any one of the fields would be empty
    then i throw a message to terminate the Program.
    But there are cases i can also have empty value for fields.
          split g_r_tab_temp at ';' into   g_r_tab_final-vkorg
                                           g_r_tab_final-matnr
                                           g_r_tab_final-prodh
                                           g_r_tab_final-loc_snp.
          if sy-tabix eq 1.
            if g_r_tab_final-vkorg eq ' ' or
               g_r_tab_final-matnr eq ' ' or
               g_r_tab_final-prodh eq ' ' or
               g_r_tab_final-loc_snp eq ' '.
              message i100 with text-011.
              leave program.
            endif.
          endif.

  • [Urgent] How to print Line items Twice in Check Printing ??

    Hi <b>Experts</b>,
    We have got a requirement of printing the vendor invoice info(Line Items) above and below the actual check.
    Eg.
    Page 1
    1-8 Line Items
    Voided Check
    <b>1-8 Line Items</b>
    Page 2
    9-16 Line Items
    Voided Check
    <b>9-16 Line Items</b>
    Page 3 ..... (last Page)
    17-20 Line Items
    Actual Check
    <b>17-20 Line Items</b>
    Now, All the things are printing fine except dual printing of the Line items at the below of Check.
    Please help me..... i am using Check print program <b>RFFOUS_C</b>.
    If anyone can has done something like this before than please send me the code for it.
    If someone requires more clarification, please ask me.
    Regards,
    <b>Abhishek</b>

    Hi Abhishek,
    we have done check printing here. but can u pl tell me why is the line item required to be printed below the check also??
    u must have observed that in the check sapscript ( F110_PRENUM_CHCK), the main window is situated above the check window.. n the line items are coming within the main window...since the line items are dynamic data( not fixed), u have to create a window below the check n that has to be a MAIN window again for it to display multiple data.. so wen ur last page is getting called ( u need to find that out that wen is the last page getting called ), u can insert a write_form for this new main window along with the other write_form( for the earlier main window).
    it can get very complex though as i dont know if this will certainly work...
    is the requirement reaaly to print the line items below the check or anything else will do?? as it wud greatly reduce ur headache...

  • R12 - check printing : How to set RTF template for preprinted stationary

    Hi all,
    We are on R12 instance and have requirement of check printing on preprinted stationary. For this requirement we are customizing standard RTF template.
    Preprinted stationary layout is like upper part ( check nmber, check date) then body part ( invoices details ) and then trailer part ( check amount, supplier name)
    Problem: When I am printing check against only one invoice then print is coming properly but if I print check against more than one invoice then trailer part (check amount, supplier name) is moving forward. I want trailer part to be fixed on same position.
    If anyone have already done this please guide me.
    Thanks n advance,
    Mandar
    Edited by: MS on Aug 26, 2010 8:29 AM

    Try to put them in a Table Columns.
    I Hope they will not move...
    Thanx,
    Deepak

  • Format Payments check printing program completes in warning APP-FND-00500:

    Hi All,
    I'm in process of converting Oracle Payables check printing from reports 6i to XML publisher.
    I created template, data definition and changed the output for concurrent program to XML.
    I tried printing check and 'Format Payments (Evergreen)' concurrent program completed with warning.
    Log file has following error.
    APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. An error occurred while AOL tried to spawn the print process
    Cause: AFPPRN received a return code of failure from the OSD routine FDUPRN. An error occurred while AOL tried to spawn the print process.
    Any one there has any idea what this error is for.
    Thanks
    pallavi

    This could have something to do with the fact that your printer is not set up correctly. Can you run a plain text (OReports) file output to the same printer? If not, then the printer is not set up in FND correctly. If you can ...
    Remeber that unless you have a more modern printer that can handle PDF documents natively then XMLPs PDF is going to need to be converted to PS or PCL. I would suggest you investigate the PASTA printer driver and get that set up. It provides the ability to call a program pdf2ps for instance, to convert the PDF to PS. There is a bunch of info on metalink
    Tim

  • Data received ( display in printer control penal)

    I have issue with HP Color laserjet 3530 MFP, Whenever I print via network I got this message on printer screen data received but not printing the file. i the mean time it happen always with PDF files to print, Please any one can help me to reslove this issue.
    Please email me when you want to send response to me I would be much appreicated
    Thank You
    Naseer Habib
    Moderator Edit: removed personal information

    1. We resolved the web service return issue and when testing the WSDL in the Analyzer the records were returned for the query and the result is consistent in all tabs.
    2. Recreated the ADF application using the new WSDL and coded the Data Control. Still no records returned.
    Checked the data in the Analyzer when running the application in firefox and saw the input but in the output section didn't have any valuabe data.
    The data indicate the actual service is being initiated fine. It had lines as:
    <script type="text/javascript" src="/ProviderPm/afr/partition/gecko/default/opt/table-11.1.1.5.0-1095.js">
    3. Created a proxy for the same WSDL and tested the client. The service was initiated and able to get the top result but not the records in the subsection where it is an array of the records.
    The output/result structure in the WSDL is defined as:
    1) Qryoutput then below it 2)six elements and another structure (ListRecords) 3)in ListRecords have RecordArray that contains the elements of the record.
    In the proxy client I am able to read the six elements in the second level. But the RecordArray always indicate zero records. Yet when testing in the Analyzer with the same input
    returns actual records!!
    The Analyzer works but neither using the data control or the proxy can get the second level records.
    I exhausted all options I am aware of and can't see a solution. (I had to deal with two bugs already, hope this is not a third one)
    Thanks for looking into this issue.

  • Help needed in AP Check Printing R12 XML Tags

    Hi,
    I have taken the standard template and am trying to customize the template for the requirement. I have also generated the XML file.
    I have to restrict the no of invoices to 17 and if only one invoice is there other 16 blanks should print. if I am printing data for single check/invoice number the output is fine. The problem is with multiples sites, the invoice numbers are getting repeated., i..e., for two supplier sites the two invoices are getting printed along with one check number and details and then two invoices with the other check are getting printed in another page.
    I tried to use innergroup_And_V_First_rec= <?for-each@section:OutboundPaymentInstruction?><xsl:variable xdofo:ctx="incontext" name="inner_group" select=".//OutboundPayment"/><?for-each:$inner_group?><?if:(position()-1) mod $no_of_lines_per_page=0?><xsl:variable name="first_rec" xdofo:ctx="incontext" select="position()"/>
    But is not woriking..
    Im not able to attach the template here
    But below is what my template looks like..
    Group: OutboundPaymentSortByCheckNumber
    V_no_of_lines_per_pageV_inner_group_And_V_First_rec
    ChooseWhen Void by Overflow
    ************************** VOID **************************                                                                                                                       **** VOID ****
    ************VOID************                                                                 ************VOID************
    ************VOID************                                                                
    End when
    Otherwise
    Invoice No.     Invoice Date     Description     Gross Amount     Discount     Net Amount
    Grp:DocumentPayable
    ChooseWhen Setup Check
    Document Seq          Invoice No     *********          Document Description               *******          Payment Amt
    End when               
    OtherwiseDocument Seq
    If_For
    Invoice No
    filler_chk
    Invoice Date
    Document Description
    Doc Gross Amt
    t.00
    tt.00ef
    End_filer
    PLEASE DETACH AND RETAIN THIS STATEMENT AS RECORD OF YOUR PAYMENT.     0.00
    t.00
    tt.00
    <?call-template:Header?>
    <?template:countdown?>
    Temp_Param
    Recursive_Template
    <?end template?>
    <?template:Header?>
    End otherwise
    End Choose
    EndGrp:DocumentPayable 
    page_breakEnd_if_And_For_loopBelow will be printing the check details.
    Please help.
    Thanks and Regards.

    HI,
    I played with it for some days trying to debug and found that there is a box which is hidden which has 2 lines and PER written. U may have to drag the box to a next page to see the box completely and type in the name of the person for signature and then put the box again. I did that and now it looks fine:)

  • I can't print using airprint from my iPhone 4.  Everything with the phone and the printer and router are up to date.  I can print from my iPad 2 with no problems.  What's wrong with the iPhone 4?

    I can't print using airprint from my iPhone 4.  Everything with the phone and the printer and router are up to date.  I can print from my iPad 2 with no problems.  What's wrong with the iPhone 4?

    I just wanted to leave a note that it's working now. I'm not sure if it was the latest iTunes update that got it working or that i decided to start a new library instead of using the one i had backed up on Windows 8 (it didn't occur to me to check using the old library when i re-installed iTunes). But if anyone is having this problem, it might be worth trying again with a new installation of iTunes to see if the latest update works for you, and if not, try using a fresh library instead of a backup (by fresh library i mean discard your old library completely and start a new library, not just restore as new iPhone, a whole new library).

  • SAP Script Check printing Layout, Line Items to display twice in First Page

    Hi All,
    This requirement is for US check printing Layout.
    My Requirement is to display Items twice on the first page.
    Eg : Main Window has 10 Items, I need to display all the Items at the bottom in another window at the bottom.
    I can't create 2 Main windows in the first page, as the data from the Main window 1 overflows to Main window 2 in the first page.
    I copied print program RFFOUS_C into a Z-version and try to implement the logic, however unable to print the line items in the bottom window.
    Kindly give your valuable Inputs.
    Thanks
    Vinayak

    Hi
    I had the same request for a check form in Canada. I solved it by writing the line item output into variables and print these variables in a second window. It was ~10 hours of effort, not a real nice technical solution but it worked.
    If you require I can send you a PDF of the sap script form definition. You can contact me at [email protected] Answers can take 1 week or more. 
    Best regards
    JD

  • Configuration of Check printing in Automatic Payment Program

    Hi
    I am able to run the automatic payment program. But I am not sure how to configure check lots and check printing.  Could any one please help me with step by step instruction regarding the configuration required after running the program.
    Thanks
    Hariharan G

    Hi
    For the program RFFOUS_C give Variant(X).
    select maintain Variants button and select continue button.
    give program run date , Identification feature , paying company code , sending company code , payment method , House Bank , Account ID , Check Lot NO..
    Under Print Control
    select Print checks checkbox , give printer name and select print immediately checkbox.
    select Print Payment Advice Notes checkbox , give printer name and select print immediately checkbox.
    select Print Payment Summary checkbox , give printer name and select print immediately checkbox.
    No. of sample printouts (0) and select do not Void any checks checkbox.
    select Attributes button and give description and save.select back arrow.
    select Printout button and select Start Immediately checkbox.
    In the job name for the ? give variant name(X) and enter.
    To see the printed checks from the menu select System -
    >Services -
    >Jobs -
    >Job Overview(SM37) and execute.
    Also go to SP01 and execute.
    we will get the list of spool requests.
    Regards
    Venkat
    Edited by: Venkat Dara on Feb 4, 2009 12:55 PM

  • Payment Document with Check Print Out

    Hi All,
    When i posted a Document though F-58 for getting the
    output of Test Check Print Out, The Document was saved
    and showing a message of Print Job was generated. now
    where should i check the output print out veiw.
    shall i go to SM37.
    Please help me.........
    Thanks & Regards,
    Shekar

    Hi,
    Goto T.Code SP01.
    Enter User Name and Date created ,then Execute(F8).
    It will display all spool files.select correct one and print.
    If this helps,please assign points.
    Thanks,
    Rau

  • Check printing problem.

    for check printing through f-58 or FBz5 my client requred format is not matching with standard script
    F110_PRENUM_CHCK . so i need to create new script for check as well as for Pmnt advice .
    instead of script can we create Smartform and configure the smartform? fro payment advice i am
    not finding any code in  progam RFFOUS_C .
    if i create now script or smartform where i should change the code in this program....i made z program of RFFOUS_C .
    Thanks,

    Hi,
    Make your own z program 'ZRFFOUS_C', in that find include 'RFFORI01', just make a Z copy of that include code, 'ZRFFORI01'.
    Now in this Z include 'ZRFFORI01', find the subroutine 'scheck', comment all the FMs starting with
    OPEN_FORM, READ_FORM_LINES, CLOSE_FORM, START_FORM, WRITE_FORM  in that include, and just at the end,
    Now try to find this piece of code at the start of the subroutine scheck:
      IF flg_sort NE 2.
        SORT BY avis.
        flg_sort = 2.
      ENDIF.
      hlp_ep_element = '525'.
    and paste the below code after 'ENDIF' and before '  hlp_ep_element = '525'.'  :
      DATA: lf_fm_name     TYPE rs38l_fnam.
      DATA: lf_formname    TYPE tdsfname.
      DATA: i_bank    TYPE zregup,
            i_bank1   TYPE zregup.
      DATA: w_reguh TYPE reguh,
            w_regud TYPE regud.
      DATA: i_reguh LIKE reguh OCCURS 0,
            i_regud LIKE regud OCCURS 0,
            count TYPE n,
            lino TYPE n,
            output TYPE ssfcompop,
            cpa   TYPE ssfctrlop,
            spool TYPE ssfcrescl,
            spool1 TYPE ssfcresop.
      lf_formname = 'ZFRM_FIS_CHEQUE'..................ur Z smartform name
    ******Now in the same subroutine, at the last , whr the loop ends:
        APPEND : regup TO i_bank,
                 reguh TO i_reguh,
                 regud TO i_regud.
      ENDLOOP.
      hlp_ep_element = '525'.
    *****start your code hea
      SORT i_reguh BY lifnr.
      DELETE ADJACENT DUPLICATES FROM i_reguh COMPARING lifnr.
      DESCRIBE TABLE i_reguh LINES lino.
      LOOP AT i_reguh INTO w_reguh.
        count =  count + 1.
        cpa-no_dialog = 'X'.
        cpa-no_close = ' '.
        cpa-preview = ' '.
        cpa-getotf = ' '.
        cpa-langu = ''.
        output-tdimmed = ' '.
        output-tddelete = ' '.
        output-tdnoprint = ' '.
       IF count EQ 1.
          output-tdnewid = 'X'.
       ELSE.
         output-tdnewid = ' '.
       ENDIF.
       IF count EQ lino.
          output-tdfinal = 'X'.
       ENDIF.
        reguh = w_reguh.
        CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
          EXPORTING
            formname           = lf_formname
          IMPORTING
            fm_name            = lf_fm_name
          EXCEPTIONS
            no_form            = 1
            no_function_module = 2
            OTHERS             = 3.
        CLEAR regud.
        READ TABLE i_regud INTO regud WITH KEY ovbln = w_reguh-vblnr.
        CALL FUNCTION lf_fm_name
          EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
        output_options             = output
      USER_SETTINGS              = 'X'
            i_bank                     = i_bank
            i_ven                      = reguh
            i_ban                      = regud
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
         EXCEPTIONS
           formatting_error           = 1
           internal_error             = 2
           send_error                 = 3
           user_canceled              = 4
           OTHERS                     = 5
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDLOOP.
    ****This is how it has been done at my client side, u please consult a FI consultant as well, about this
    Edited by: Azeem Ahmed Matte on Feb 24, 2009 1:00 PM

  • Check printing is running and running.

    Hi,
    Check printing in payroll is running and running. I looked at database end , nothing slowing. pLease let me know where and what can I have to check?
    Thanks

    Hi,
    Please post the application release along with the database version and OS.
    Was this working before? If yes, any changes have been done recently?
    Can you find any locks in the database? Any errors in the database log file?
    Do you have the statistics collected up to date?
    Please enable trace as per (FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]) to find out why this concurrent program takes long time to run.
    Thanks,
    Hussein

  • Oracle XML to HSBC XML mapping for R12 AP Check Printing

    Hi,
    Our environment is Oracle APPS R12.
    We need to send an electronic payment information to HSBC bank.  So this will be generated 'like' a check from the payments process, but for payment types of WIRE, ACH, etc...and the output is an XML file in a format specified by the bank HSBC.  We need to send an XML file to HSBC per their spec.  The data that needs to go in this file is the same payment information that Oracle already provides in the standard check printing.  We need to take that data and turn it into XML matching the HSBC spec (hence the XML to XML mapping).
    I am not sure how to get the source for standard check printing prog. Any idea of how to do Oracle XML- HSBC XML Mapping? Any help is really appreciated.
    Thanks
    Valli

    Review this note, you will get source of check printing program
    R12: Master Troubleshooting Guide for Oracle Payables Check Printing issues (Doc ID 1353280.1)
    thanks

Maybe you are looking for