Cheque Printing Program

Hi All,
I am trying to develop cheque layout copying sanded program (F110_D_SCHECK)
..i am using stranded program  to print  (RFFOUS_C)
How can i get the word in amount to the layout with the current set up or is there any way to get layout
Thanks
kanishka

Hi Kanishka,
Use FM HR_IN_CHG_INR_WRDS or SPELL_AMOUNT
Here is the sample code for FM
DATA AMT_IN_NUM LIKE PC207-BETRG. DATA AMT_IN_WORDS(100) TYPE c.  PARAMETERS: AMOUNT LIKE AMT_IN_NUM.  CALL FUNCTION 'HR_IN_CHG_INR_WRDS' EXPORTING amt_in_num = AMOUNT IMPORTING AMT_IN_WORDS = AMT_IN_WORDS EXCEPTIONS DATA_TYPE_MISMATCH = 1 OTHERS = 2 . IF sy-subrc <> 0. MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. ENDIF. WRITE AMT_IN_WORDS.
DATA : T_SPELL LIKE SPELL OCCURS 0 WITH HEADER LINE.
DATA : PAMOUNT LIKE SPELL-NUMBER  VALUE '1234510'.
SY-TITLE = 'SPELLING NUMBER'.
PERFORM SPELL_AMOUNT USING PAMOUNT 'USD'.
WRITE: 'NUMBERS', T_SPELL-WORD, 'DECIMALS ', T_SPELL-DECWORD.
FORM SPELL_AMOUNT USING PWRBTR PWAERS.
  CALL FUNCTION 'SPELL_AMOUNT'
       EXPORTING
            AMOUNT    = PAMOUNT
            CURRENCY  = PWAERS
            FILLER    = SPACE
            LANGUAGE  = 'E'
       IMPORTING
            IN_WORDS  = T_SPELL
       EXCEPTIONS
            NOT_FOUND = 1
            TOO_LARGE = 2
            OTHERS    = 3.
And For Layout whatever Script u have copied from standard , Script itself contains one Layout.
So u can modify the standard Script as per your requirement.
Thanks
Tarak

Similar Messages

  • Explain flow of standard cheque print program

    Hi All,
    Can anybody explain the flow of standard cheque print program RFFOUS_C.
    The standard cheque print program will use Z form layout to print cheque and remittance advice.I have to add few form routines for RFFOUS_C. Also explain the functions of below mentioned form routines.
    Form routines:
    FM_CHQ_AMT
    Move protective u201C*u201D from field REGUD-SWNES and load value into AMOUNT_CHEQUE.
    FM_REMOVE_STAR
    Move protective u201C*u201D from field REGUD-SWNES and load value into AMOUNT_FIXED.
    Append the currency to the end of the value in AMOUNT_FIXED (if Currency = ZAR u2013 append the value R)
    FM_CHQ_AMT_WORDS
    u2022 Remove extra spaces from the amount in words
    u2022 If currency = ZAR insert the word RANDS after the Rands amount else insert the value in field REGUD-WAERS
    u2022 Combine Rands value and the cents value with the text -AND- (i.e. Rands value u2013AND- cents value)
    u2022 End the cents value with the text CENTS
    u2022 End the amount in words with the text u201C-ONLYu201D.
    u2022 If the amount text is longer than 52 characters split the text into two lines (line 1 (AMOUNT_WORD_1) may hold 52 characters and line 2 (AMOUNT_WORD_2) may hold 62 characters u2013 maximum capacity for writing cheques).
    u2022 Overlay any spaces with the character u201C|u201D

    International Payment Medium - Check (with check management)
    Description
    This program prints prenumbered check forms or non-prenumbered checks whose number is to be assigned from a predefined number range, and links the check number to SAP payment document number or the check number to the settlement result.
    In addition to the checks, you can print their payment advice notes and payment summaries in one program run.
    Requirements
    Check lots
    The checks which are ready for printing are divided up into lots. The user can freely define the criteria by which lots are formed (for example, location of check storage, accounting clerk or printer). The check numbers of a lot must be consecutive.
    A lot is assigned to the checks to be printed via a parameter whose number you define via the corresponding check lot management in the system.
    After entering the lot number, the print program independently searches for the first free check number (even if this is in the next lot rather than in the lot specified).
    Payment Program Configuration
    The parameters that control the way in which the payment medium programs function are configured in Customizing. For more information on configuring the payment program, refer to the Implementation Guide.
    1. Here you need to make specifications for the paying company code. To do this, select the relevant paying company code by choosing Paying Company Codes ->.
    If payment advices are to be printed, define a SAPscript payment advice form for use with all company code payment methods. You will find the form F110_D_AVIS as an example in the standard system.
    You need to create and enter text modules in which the texts for the header, footer, signature and sender are stored. These modules can be included in the forms when they are used. To do this, choose Sender Details, from where you can also branch into text maintenance by selecting the modules. The names of the text can be defined by the user, for example F_0001_HEADER for the letter header in company code 0001.
    2. Here you need to allocate the name of the payment medium program RFFOUS_C to the payment method to avoid incorrect payment media being issued with another program by mistake.
    Furthermore, you can enter a short name (or 'print dataset', for example LIST1S) which makes it easier to find the generated forms in the print manager.
    To do this, first choose Payment methods in country, then select the country of your paying company code and the payment method you require, and then maintain the data necessary for printing the form.
    3. Here you need to make company code specifications for the payment method. To do this, choose Payment Methods In Company Code, then select the paying company code and the payment method. In this menu maintain the following data by choosing Form data or Payment Advice Control:
    The SAPscript form for payment media (F110_PRENUM_CHCK in the standard system).
    The issuer data.
    Sorting the correspondence.
    Sorting the line items.
    The number of note to payee lines on the form and the payment advice note output in accordance with the specified number of lines
    If you specify as many as required note to payee lines on the form then Payment Advice Output According to Number of Lines controls whether in addition a payment advice is always created or not.
    Note: The issuer details are used on the payment medium for city and signature in the standard system:
    Line 1 Name 1 of issuer
    Line 2 Name 2 of issuer
    Line 3 Blank
    Line 4 City.
    Setting up and changing the SAPscript forms (layout sets)
    The following describes the layout of the SAPscript forms in brief. If the forms available in the standard system are sufficient for your requirements, you can skip this part of the documentation.
    You can find further information on forms and the SAPscript editor in the guides on styles and form maintenance and word-processing in the SAPscript editor: Select the menu path Help -> SAP Library.
    1. When setting up SAPscript forms (layout sets), symbols are included in the text; these are then replaced by actual values when the payment medium programs are run. The fields which can be used for this are defined in the Repository and contained in the following structures:
    REGUH Settlement data from the payment program
    REGUP Edited invoice items from the payment program
    REGUD Formatted data for printing the forms
    SPELL Amounts and digits in words.
    FSABE Data on accounting clerk.
    Note that check forms can be issued in foreign currency only if the currency key is also printed on them. If forms are only to be filled out for local currency checks (on which no space is defined for the currency key) then you should remove the symbol for the currency key &REGUD-WAERS& from the check window. The program then prevents you from printing foreign currency checks.
    2. If you want the document long text for an accounting invoice document to be printed on the payment advice form, you must make the following enhancement in element "Long text for invoice document" (specially designed for this purpose):
    /: DEFINE &TXT& := '&REGUP-BUKRS()&&REGUP-BELNR(RF0)&&REGUP-GJAHR&'
    /: INCLUDE &TXT& OBJECT BELEG ID xyz
    The text ID that you must enter for this text (xyz) is defined in the configuration menu and can be read from there. In the standard system, text ID 0003 is predefined for the payment advice information.
    Periodic processing
    Before the payment medium programs can be started, the payment program run must have been successfully completed. Check the status of the payment run, or schedule the payment medium programs by specifying one or more variants.
    Note: If you want to use th 'Payment document update' option, the payment documents must be updated between the time of the payment program run and the time of the payment medium program run.
    Output
    Forms and lists
    Printout files are created per company code and house bank. These can either be printed via the print manager or immediately. Depending on the parameter you select, you can print out one or more of the following:
    Payment medium
    Payment advice notes (if the information cannot be sent via EDI)
    Payment summary
    Error log
    The number of output files is specified in the flow trace; this makes finding and allocating them within the print manager easier.
    Note: If the program was started online, then you reach the print manager from the list by selecting one of the output files displayed.
    Payment Advice Notes
    In addition to being able to print payment advice notes, you can also send these via EDI, fax or email.
    1. To send a business partner a payment advice note via EDI, you need to select the indicator Payment advice note per EDI and maintain the partner agreement on screen "Payment Transactions Accounting" in the master record.
    Using an external converter, the IDoc created by the program can be converted into the EDI format you require (REMADV for example) and then sent.
    2. To send a business partner a payment advice note by fax or email, you must use the process interface 00002040 (Business Transaction Events) to define the selection of the message type (printout, fax or email). Before you can do this, however, you must have carried out the necessary technical (Basis) settings for faxing or sending emails.
    Process interface 00002050 can also be used to change or configure the print parameters and the parameters for optical archiving for payment advice notes.
    Check management
    You can access information about the issued checks via check management, line item display for sub-ledger or bank accounts, or invoice and payment document display. A check register list can also be created for the respective payment run. Errors occurring during check number and document number allocation can also be rectified using check management. You can find check management within Accounts Receivable or Accounts Payable, both parts of Financial Accounting, as well as under the "Environment" menu option in the payment program.
    For more information on check management, esp. about detailed solutions to possible error situations, refer to the FI Accounts Payable manual under Help->R/3 Library.
    Error messages and error log
    Termination of processing
    You can find out the reason why processing was terminated (for example, production run not yet carried out, form does not exist or is not active) by looking at the error message or the related long text.
    Internal SAPscript error
    Check the layout of the forms. It must fulfil the above-mentioned conditions. You cannot, for example, create a bank transfer with the check print program, since bank transfers and checks have a completely different layout structure.
    Error log
    If errors which do not terminate the payment medium program occur when creating the output, the system lists them in the error log. If such a log is created, you must look it over because only you can decide whether the payment medium or payment advices are useless due to the errors the system finds, and decide whether they must be recreated after the errors have been rectified.
    During background processing, the system outputs the error log twice, in the flow trace for the job and in a printout file. The flow trace contains information on how to rectify the errors (from the error message long texts).
    You can display the long text online by choosing the error log from the list of generated output files and then the error message in question.
    Close the thread once your question is answered.
    Rgds,
    SaiRam

  • Cheque Printing Program  Skip  Cheques

    Hi all,
    I have created one cheque print prgram in smartform and am trying to print it on preprinted staitonary , when it prints it skip 2 cheques.
    And if I take the continous cheque printout in A4size then it is coming absolute fine, but when I put a cheque leaf of width 23CM and height 9.3 cm in the printer and give it for print then its skip the 2 cheque leaf and print the next cheque ,I mean its rollout of 2 cheques.
    I am  using z Page Format.I have added Format Type to Device Type.  In  Device Type there are some actions.These action should be activated.For each action there are some code i.e. printer setting code. I have put some code for End OF Line and End Of Page.And i have require code for PRINTER INITIALIZATION action.PRINTER INITIALIZATION action for page size.
    So please tell me PRINTER INITIALIZATION code????
    If so then guide me what are all the settings to be done to get the cheque printed on the cheque leaf?
    Thx

    Hi,
    You will also have to add the defined page size for the Windows Printer.
    Go to printer you have selected and then go to printing preferences here in page size you have to define your page size.
    and then check.
    Regards,
    Bharat

  • Problem in cheque printing Program RFfOUS_C  and Script F110_in_check

    Hi,
    I m stuck up in check printing script,
    I want to print all the line items of main window in another window
    say if i have 4 records displayed in main window the same 4 records has to be printed in another window (INFO Window),
    I have defined another internal table and printing it in another window of the form, but the header record is printer 4 times in the info window,
    how do I go about to print this record of main window to another window
    please expedite

    while printing the check
    i am getting the following error log
    in the page that is to be printed i am getting the same thing
    in form F110_ES_CHEQUE / window MAIN , the element 510-H (Text-H) is missing
    output of the relevent form is defective
    please guide and help
    also
    i have to make some modifications in the check printing
    i have to print check and payment advice side by side on one page (not one upon the other)
    if it is not possible can i have a long check format itself
    in which on the left i can have the payement advice details and on the right we can have the check
    does SAP have it width constraint ?
    the standard program is having 3 pages and i want check in just 1 page
    how can we customize check as per our requirements
    please guide Sir

  • Cheque printing form always prints an extra page...

    Hello Experts,
    I have a custom form the cheque printing program RFFOUS_C. Now, my problem is that it
    always prints an extra page even though the MAIN page doesnt have any line items. So instead of
    expecting only 1 page it always shows 2 pages. And the worst thing here is that they I cannot customize
    the standard program since it is the client's rule.
    Any of you have encountered this problem before?

    Hi,
    in your Form there is only One Page created?
    just check if  there exists any other page and in the Standard attributes of the page in "Next Page", the other page is set.
    Ideally there should not be any page as the Next Page.

  • Smiley characters displayed in cheque printing in F110

    Hello Gurus,
    We are using the customised Z copy of the cheque printing program RFFOUS_C and the sapscript. I have customised the layout of the cheques to be printed based on the different banks.
    This is working fine when done through transaction F-58 i.e. based on different banks different layout's are printed. However, when this is done through transaction F110, and i check the spool the script is printed but some junk parameters are also displayed like <smiley> characters.
    Can anyone let me know why this could be happening.  << Priority normalized >>
    Regards,
    Ritwik Rajkumar
    Edited by: Rob Burbank on Sep 22, 2011 9:52 AM

    Hi Mannu,
    You need to go to F110 --> Environment --> DME Administration --> Goto the screen Program SAPMFDTA.
    Here under the include MFDTAI01 put a break-point at the below mentioned perform routine.
    module docu_xdown input.
      perform docu_show using 'FDTA' 'DOWNL_MIT'.
    endmodule.
    This might solve your issue.
    Regards,
    -Syed.
    Edited by: wahid hussain syed on Jun 8, 2009 8:32 AM
    Edited by: wahid hussain syed on Jun 8, 2009 8:35 AM

  • Transaction code(s)- that trigger 'Cheque' SAPscript & print program

    Hi,
    I have to do some modifications in the cheque (CANADA) SAPscript form and the corresponding print program as per the user requirements.
    <b><u>Form Output and Debugging</u></b>:
    Can you please let me know which transaction code(s)
    trigger(s) the cheque SAPscript form and its corresponding print program.
    Version: SAP 4.6c
    Thanks in advance.
    With Best Regards,
    Vidya

    F110

  • Do we have different Print Programs for printing Cheques in Different Lang

    Hi Peers,
    I have requirement of  Cheque printing in SPANISH Language.
    We have been using Program RFFOUS_C (International Payment Medium - Check (with check management)) for printing Cheques in French & English.
    This same print program does not work with the Spanish Script ZF110_ES_CHEQUE which is copy of French script.
    I am wondering if we have to use a different Print Program (RFFOES_T) or is it the issue with the data & configuration.
    Could you please clarify.
    Thanks in advance!
    Regards,
    Daniel

    Hi,
    Thanks for the suggestion!
    The Print Program set in FBZP is RFFOUS_C  for the country Mexico.
    The Print program works well in Client DCO100 but the same printprogram when used in DCO101 doesn't work for the Mexico script.
    The Mexico script is also a copy from client DCO 100 . In the this Mexico script I have changed the currency & Defined language as 'S' at some places .
    The payments are processed but no Spool requests are generated.
    Thanks,
    Daniel

  • How to Debug Standard Program & Custom Scripts in Cheque Printing

    Hii
    Am working on APP Cheque Printing...
    here am using standard driver Program 'RFFOUS_C'
    and two customised script for Cheque print and payment advice print..
    please let me know , How to dubug my cutostomised script while printing through F110 .....
    its not working evenif am activating Debugger in Script or also through RSTXDBUG Prgm
    Note : In APP ,  when am Processing  through F110 , In background mode processing takes place and finally Spool is generated....
    Awaiting for ur reply...
    Thanks in Advance
    Edited by: LU JACK on Sep 19, 2008 1:18 PM

    Hi,
    Go to SE71 , give form name ZXXX and go utilities activate debugger
    Go to SE38 give driver program name 'RFFOUS_C' .and execute click OK button give printer name like LP01 and see print preview or print
    it will go debugger mode.
    it will help ful you.
    Regards,
    Bhupal.
    Edited by: bhupal reddy on Sep 19, 2008 1:34 PM
    Edited by: bhupal reddy on Sep 19, 2008 1:35 PM

  • How to Debug Standard Program & Customised Scripts in Cheque Printing

    Hii
    Am working on APP Cheque Printing...
    here am using standard driver Program 'RFFOUS_C'
    and two customised script for Cheque print and payment advice print..
    please let me know , How to dubug my cutostomised script while printing through F110 .....
    its not working evenif am activating Debugger in Script or also through RSTXDBUG Prgm
    Note : In APP , when am Processing through F110 , In background mode processing takes place and finally Spool is generated....
    Awaiting for ur reply...
    Thanks in Advance

    Hi,
    yes offcource you have to activate debugger for script ....but additionally
    1. The point in the program where your script is triggered put an external breakpoint.
    2. Before giving the Print Preview or whichever button put '/h'
    3. After putting /h and pressing the button it goes in Debug mode then you can F8 and it will reach the point where you have set the Breakpoint or External breakpoint.
    Thanks,
    Neha

  • Cheque Printing Abap Dumps

    Dear All Gurrus
    i am facing an Abap Dump when user send cheque Printing .other document printing are Ok .please see this error
    Runtime errors         LOAD_PROGRAM_NOT_FOUND       
           Occurred on     04.06.2007 at   16:18:50
    Program " " not found.                                                        
    What happened?
    There are several possible reasons for the error:                                                                               
    or                                                                               
    The current ABAP program had to be terminated because the                                
    ABAP processor detected an internal system error.                                        
    The current ABAP program "SAPLF028" had to be terminated because the ABAP                
    processor discovered an invalid system state.                                                                               
    What can you do?
    Print out the error message (using the "Print" function)                                 
    and make a note of the actions and input that caused the                                 
    error.                                                                               
    To resolve the problem, contact your SAP system administrator.                           
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer                 
    termination messages, especially those beyond their normal deletion                     
    date.                                                                               
    Error analysis
    On account of a branch in the program                                                    
    (CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)                                         
    or a transaction call, another ABAP/4 program                                            
    is to be loaded, namely " ".                                                                               
    However, program " " does not exist in the library.                                                                               
    Possible reasons:                                                                        
    a) Wrong program name specified in an external PERFORM or                                
       SUBMIT or, when defining a new transaction, a new                                     
       dialog module or a new function module.                                               
    b) Transport error                                                                       
    b) Transport error                                                                       
    How to correct the error
    Check the last transports to the R/3 System.                                                                               
    Are changes currently being made to the program "SAPLF028"?                                                                               
    Has the correct program been entered in table TSTC for Transaction "FBZ4 "?              
                                                                                    You may able to find an interim solution to the problem                                  
    in the SAP note system. If you have access to the note system yourself,                  
    use the following search criteria:                                                                               
    "LOAD_PROGRAM_NOT_FOUND" C                                                               
    "SAPLF028" or "LF028U06"                                                                 
    "PAYMENT_FORM_PRINT"                                                                     
    If you cannot solve the problem yourself, please send the                                
    following documents to SAP:                                                                               
    1. A hard copy print describing the problem.                                             
       To obtain this, select the "Print" function on the current screen.                    
                                                                                    2. A suitable hardcopy prinout of the system log.                                        
       To obtain this, call the system log with Transaction SM21                             
       and select the "Print" function to print out the relevant                             
       part.                                                                               
    3. If the programs are your own programs or modified SAP programs,                       
       supply the source code.                                                               
       To do this, you can either use the "PRINT" command in the editor or                   
       print the programs using the report RSINCL00.                                                                               
    4. Details regarding the conditions under which the error occurred                       
       or which actions and input led to the error.                                          
    System environment
    SAP Release.............. "620"                                                                               
    Application server....... "PKSAPT10"                                                     
    Network address.......... "184.208.96.235"                                               
    Operating system......... "Windows NT"                                                   
    Release.................. "5.0"                                                          
    Hardware type............ "4x Intel 801586"                                              
    Character length......... 8 Bits                                                         
    Pointer length........... 32 Bits                                                        
    Work process number...... 0                                                              
    Short dump setting....... "full"                                                                               
    Database server.......... "PKSAPT10"                                                     
    Database type............ "MSSQL"                                                        
    Database name............ "T10"                                                          
    Database owner........... "t10"                                                                               
    Character set............ "English_United State"                                                                               
    SAP kernel............... "640"                                                          
    Created on............... "Oct 29 2006 23:44:46"                                         
    Created in............... "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"                 
    Database version......... "SQL_Server_8.00 "                                                                               
    Patch level.............. "155"                                                          
    Patch text............... " "                                                                               
    Supported environment....                                                                
    Database................. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"                     
    SAP database version..... "640"                                                          
    Operating system......... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"               
    User, transaction...
    Client.............. 210                                                                 
    User................ "AGHAZNAVI"                                                         
    Language key........ "E"                                                                 
    Transaction......... "FBZ4 "                                                             
    Program............. "SAPLF028"                                                          
    Screen.............. "SAPMF05A 0700"                                                     
    Screen line......... 43                                                                  
    Information on where terminated
    The termination occurred in the ABAP program "SAPLF028" in                               
    "PAYMENT_FORM_PRINT".                                                                   
    The main program was "SAPMF05A ".                                                                               
    The termination occurred in line 332 of the source code of the (Include)                 
    program "LF028U06"                                                                      
    of the source code of program "LF028U06" (when calling the editor 3320).                 
    Source code extract
    003020     IF sy-subrc NE 0                     "bei nicht in PAYR vorhandenen o.
    003030         AND payr-vblnr EQ reguh-vblnr.   "durch FCH7 (Scheck neu drucken)
    003040       opayf-pstap = 0.                   "in Auftrag gegebene Schecks wird
    003050     ELSE.                                "der Stapel mitgegeben, sonst die
    003060       CLEAR payr.                        "Restart-Schecknummer aus PAYR  
    003070     ENDIF.                                                               
    003080                                                                          
    003090     IF t042z-formi IS INITIAL.           "alte Zahlungsträger (nur Scheck)
    003100       SUBMIT (t042z-progn) WITH zw_laufd = reguh-laufd                   
    003110                            WITH zw_laufi = reguh-laufi                   
    003120                            WITH zw_zbukr = reguh-zbukr                   
    003130                            WITH zw_xvorl = space                         
    003140                            WITH sel_zawe = i_opayf-rzawe                 
    003150                            WITH par_zdru = 'X'                           
    003160                            WITH par_priz = i_opayf-ppriz                 
    003170                            WITH par_zfor = i_opayf-pzfor                 
    003180                            WITH par_avis = i_opayf-pavis                 
    003190                            WITH par_pria = i_opayf-ppria                 
    003200                            WITH par_stap = i_opayf-pstap                 
    003210                            WITH par_rchk = payr-chect                    
    003220                            WITH par_begl = space                         
    003230                            WITH sel_hbki = reguh-hbkid                   
    003240                            WITH sel_hkti = reguh-hktid                   
    003250                            WITH par_anzp = par_anzp                      
    003260                            WITH par_fill = i_opayf-pfill                 
    003270                            WITH par_espr = i_opayf-pespr                 
    003280                            WITH par_isoc = i_opayf-pisoc                 
    003290                            WITH par_sofo = i_opayf-psofo                 
    003300                            WITH par_novo = i_opayf-xnovo                 
    003310                            AND RETURN.                                   
        ELSE.                           "neue Zahlungsträger (z.Zt. nur OFX) 
    003330       CALL FUNCTION 'PAYMENT_MEDIUM_ONLINE'                              
    003340         EXPORTING                                                        
    003350           im_formi = t042z-formi                                         
    003360           im_reguh = reguh                                               
    003370           im_opayf = i_opayf                                             
    003380         TABLES                                                           
    003390           tb_regup = xregup.                                             
    003400     ENDIF.                                                               
    003410                                                                          
    003420   ENDFUNCTION.                                                           
    Contents of system fields
    SY field contents..................... SY field contents.....................
    SY-SUBRC 4                             SY-INDEX 0                            
    SY-TABIX 1                             SY-DBCNT 1                            
    SY-FDPOS 0                             SY-LSIND 0                            
    SY-PAGNO 0                             SY-LINNO 1                            
    SY-COLNO 1                             SY-PFKEY UAN                          
    SY-UCOMM BU                           
    SY-TITLE Payment with Printout: Display Overview                              
    SY-MSGTY I                             SY-MSGID F5                           
    SY-MSGNO 312                           SY-MSGV1 1500000011                   
    SY-MSGV2 KOPK                          SY-MSGV3                              
    SY-MSGV4                              
    Active calls / events
    No.... Type........ Name..........................
           Program                                
           Include                                  Line    
           Class                                  
         4 FUNCTION     PAYMENT_FORM_PRINT                                          
           SAPLF028                               
           LF028U06                                   332
         3 FORM         FCODE_BEARBEITUNG                                           
           SAPMF05A                               
           MF05AFF0_FCODE_BEARBEITUNG                2333
         2 FORM         FUSSZEILE_VERARBEITEN                                       
           SAPMF05A                               
           MF05AFF0_FUSSZEILE_VERARBEITEN             148
         1 MODULE (PAI) FUSSZEILE_BEARBEITEN                                        
           SAPMF05A                               
           MF05AI00_FUSSZEILE_BEARBEITEN               46
    Chosen variables
         4 FUNCTION     PAYMENT_FORM_PRINT                                          
           SAPLF028                               
           LF028U06                                   332
    I_CC_CURR                      PKR                                    
                                   54522                                  
                                   0B200                                  
    I_OPAYF                        KOPKLOCL                     0002  XCCIT
                                   4454444422222222222222222222233332254445
                                   BF0BCF3C00000000000000000000000020083394
    ... +  40                      IH  X           0001000005             
                                   4422522222222222333333333322222222222222
                                   9800800000000000000100000500000000000000
    ... +  80                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 120                                             00000000000000  
                                   2222222222222222222222233333333333333  
                                   0000000000000000000000000000000000000  
    I_REPRI                                                                               
    2                                      
                                   0                                      
    I_VBLNR                        1500000011                             
                                   3333333333                             
                                   1500000011                             
    I_WWERT                        20070604                               
                                   33333333                               
                                   20070604                               
    REGUH-LAUFI                    00001*                                 
                                   333332                                 
                                   00001A                                 
    <%_TABLE_LFA1>                 ???                                    
    REGUH-ZBUKR                    KOPK                                   
                                   4454                                   
                                   BF0B                                   
    I_OPAYF-RZAWE                  C                                      
                                   4                                      
                                   3                                      
    I_OPAYF-PPRIZ                  LOCL                                   
                                   4444                                   
                                   CF3C                                   
    I_OPAYF-PZFOR                                                                               
    2222222222222222                       
                                   0000000000000000                       
    I_OPAYF-PAVIS                                                                               
    2                                      
                                   0                                      
    I_OPAYF-PPRIA                                                                               
    2222                                   
                                   0000                                   
    I_OPAYF-PSTAP                  0002                                   
                                   3333                                   
                                   0002                                   
    PAYR-CHECT                                                                               
    2222222222222                          
                                   0000000000000                          
    REGUH-HBKID                    CITIH                                  
                                   44544                                  
                                   39498                                  
    REGUH-HKTID                    CTOLH                                  
                                   45444                                  
                                   34FC8                                  
    PAR_ANZP                       0                                      
                                   3                                      
                                   0                                      
    I_OPAYF-PFILL                                                                               
    2                                      
                                   0                                      
    I_OPAYF-PESPR                                                                               
    2                                      
                                   0                                      
    I_OPAYF-PISOC                                                                               
    2                                      
                                   0                                      
    I_OPAYF-PSOFO                  X                                      
                                   5                                      
                                   8                                      
    I_OPAYF-XNOVO                                                                               
    2                                      
                                   0                                      
    %_PRINT                            000                                
                                   2222333222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  40                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80                                0 ########                   
                                   2222222222320000000022222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 120                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 160                                    0                 ####   
                                   222222222222223222222222222222220000   
                                   000000000000000000000000000000000000   
    KNBK-KOINH                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  40                                                                               
    22222222222222222222                   
                                   00000000000000000000                   
    T042Z-FORMI                                                                               
    222222222222222222222222222222         
                                   000000000000000000000000000000         
    <%_TABLE_T012>                 ???                                    
    REGUH                             2007060400001* KOPK0001000005       
                                   2223333333333333224454333333333322222222
                                   0002007060400001A0BF0B000100000500000000
    ... +  40                                        1500000011 PKR  LHP1Co
                                   2222222222222222223333333333254522445346
                                   000000000000000000150000001100B200C8013F
    ... +  80                      mpany        Supreme Gas Ind. Pvt. Ltd 
                                   6766722222222577766624672466225772247622
                                   D01E90000000035025D5071309E4E0064E0C4400
    ... + 120                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 160                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 200                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 240                         Lahore                              
                                   222466676222222                        
                                   000C18F25000000                        
    SYST-REPID                     SAPLF028                               
                                   5454433322222222222222222222222222222222
                                   310C602800000000000000000000000000000000
    T042I-HBKID                    CITIH                                  
                                   44544                                  
                                   39498                                  
    XREGUP[]                       Table IT_1065[1x1184]                  
         3 FORM         FCODE_BEARBEITUNG                                           
           SAPMF05A                               
           MF05AFF0_FCODE_BEARBEITUNG                2333
    %_SPACE                                                                               
    2                                      
                                   0                                      
    RC                             0                                      
                                   0000                                   
                                   0000                                   
    SYST-REPID                     SAPMF05A                               
                                   5454433422222222222222222222222222222222
                                   310D605100000000000000000000000000000000
    SY-REPID                       SAPMF05A                               
                                   5454433422222222222222222222222222222222
                                   310D605100000000000000000000000000000000
    VORSCHL_GRIRG                                                                               
    222                                    
                                   000                                    
    XBKPF-BELNR                    1500000011                             
                                   3333333333                             
                                   1500000011                             
    %_DUMMY$$                                                                               
    2222                                   
                                   0000                                   
    VAKTAB                                                                               
    222222222222222222222222222222         
                                   000000000000000000000000000000         
    XBKPF-BUKRS                    KOPK                                   
                                   4454                                   
                                   BF0B                                   
    VORSCHL_GITYP                                                                               
    22                                     
                                   00                                     
    XBKPF-GJAHR                    2007                                   
                                   3333                                   
                                   2007                                   
    C_INFO_LINK                    100                                    
                                   333                                    
                                   100                                    
    BKPF                           210KOPK15000000112007KZ20070604200706040
                                   3334454333333333333334533333333333333333
                                   210BF0B15000000112007BA20070604200706040
    ... +  40                      620070604161846000000000000000020070604A
                                   3333333333333333333333333333333333333334
                                   6200706041618460000000000000000200706041
    ... +  80                      GHAZNAVI   FBZ4                        
                                   4445445422244532222222222222222222222222
                                   781AE16900062A40000000000000000000000000
    ... + 120                             12345                           
                                   2222222333332222222222222222222222222222
                                   0000000123450000000000000000000000000000
    ... + 160                         0000                         PKR  ###
                                   2223333222222222222222222222222254522000
                                   000000000000000000000000000000000B200000
    ... + 200                      ##     #####  ####### RFBU             
                                   0022222000002200000002544522222222222222
                                   0C000000000C00000000C0262500000000000000
    ... + 240                                                                               
    222222222222222                        
                                   000000000000000                        
    BSEG                           210KOPK15000000112007002 000000000000000
                                   3334454333333333333333332333333333333333
                                   210BF0B150000001120070020000000000000000
    ... +  40                      0          25K   SLHP1        ##########
                                   3222222222233422254453222222220001000000
                                   0000000000025B0003C80100000000000000C000
    ... +  80                      ##################PKR  #################
                                   1000000000000010005452200000000000000000
                                   000C000000C000000C0B200000000C000000C000
    ... + 120                      #######################################
                                   0000000000000000000000000000000000000002
                                   000C000000C000000C000000C000000C000000C0
    ... + 160                         000   ###############################
                                   2223332220000000000000000000000000000000
                                   000000000000000C0000C000000C000000C00000
    ... + 200                      ##0000000020070427                     
                                   0033333333333333332222222222222222222222
                                   0C00000000200704270000000000000000000000
    ... + 240                                                                               
    222222222222222                        
                                   000000000000000                        
    SY-SUBRC                       4                                      
                                   0000                                   
                                   4000                                   
    %_ARCHIVE                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  40                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 120                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 160                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 200                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 240                                                                               
    222222222222222                        
                                   000000000000000                        
    SAPOS-GITYP                                                                               
    22                                     
                                   00                                     
    T001-WAERS                     PKR                                    
                                   54522                                  
                                   0B200                                  
    SAPOS-GRICD                                                                               
    22                                     
                                   00                                     
    OPAYF                          KOPKLOCL                     0002  XCCIT
                                   4454444422222222222222222222233332254445
                                   BF0BCF3C00000000000000000000000020083394
    ... +  40                      IH  X           0001000005             
                                   4422522222222222333333333322222222222222
                                   9800800000000000000100000500000000000000
    ... +  80                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 120                                             00000000000000  
                                   2222222222222222222222233333333333333  
                                   0000000000000000000000000000000000000  
    SAPOS-GRIRG                                                                               
    222                                    
                                   000                                    
    RF05A-KOATX                                                                               
    222222222222                           
                                   000000000000                           
    BKPF-WWERT                     20070604                               
                                   33333333                               
                                   20070604                               
    SY-XFORM                       CONVERSION_EXIT                        
                                   444545544454545222222222222222         
                                   3FE65239FEF5894000000000000000         
    SY-MSGID                       F5                                     
                                   43222222222222222222                   
                                   65000000000000000000                   
    ANL_HKONT                                                                               
    2222222222                             
                                   0000000000                             
    T001W                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  40                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... +  80                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 120                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 160                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 200                                                                               
    2222222222222222222222222222222222222222
                                   0000000000000000000000000000000000000000
    ... + 240                                    #                        
                                   222222222222220                        
                                   000000000000000                        
    SPACE                                                                               
    2                                      
                                   0                                      
    SY-MSGNO                       312                                    
                                   333       

    Specification of form is missing in pmnt method C for comp.code KOPK
    In the include program RFFORI01 the query "SELECT * FROM t042z WHERE land1 EQ t001-land1 AND zlsch IN sel_zawe AND progn EQ sy-repid" is returning a null value for progn. This null value is passed to "003100 SUBMIT (t042z-progn) WITH zw_laufd = reguh-laufd" (Refer to the short dump).
    Refer to IMG for adding specification of form.
    Regards,
    Khalid Mustafa
    Development Consultant Netweaver-ABAP

  • AP Cheque Printing Report

    Hi All,
    Can anybody help me out to do the AP cheque printing report using XML Publisher.
    Followings are the steps I did.
    1. Create rdf and register in APPS.
    Executable is defined in Customization AP application
    Concurrent Program is in Payables application.
    2. Create Data Definition and Template in XML Publisher administrator in Payables.
    3. Attached the Concurrent program in AP Format set up.
    4. Make the Payment, The report is calling and showing completed normal but the output is not coming.
    5. Then I run the XML report Publisher and pass the request id then the output is coming as PDF.
    But the requirement is when we make the payment , The output should come and it will go to the printer for printing..
    Please help me where I made the mistake.
    or please guide me what approach I should follow.
    Thanks in Advance.
    Pradipta

    Here is my code:
    function AfterReport return boolean is
    vrequest_id number;
    v_success BOOLEAN;
    v_printer fnd_concurrent_requests.printer%TYPE;
    v_print_style fnd_concurrent_requests.print_style%TYPE;
    begin
    -- Set up printer for the following reports
    -- Get the printer and style for this report for use with the following reports select printer, print_style
    into v_printer, v_print_style
    from fnd_concurrent_requests
    where request_id = :P_CONC_REQUEST_ID;
    srw.message(999, 'Print options: ' || v_printer || '/' || v_print_style);
    v_success := fnd_request.set_print_options (v_printer
    ,v_print_style
    ,1
    ,TRUE
    ,'N'
    ,'SKIP'); IF NOT v_success THEN
    srw.message(999, 'Failure to set print options'); ELSE
    srw.message(999, 'Print options set'); end if;
    -- Submit the XML Report Publisher request to complete the printed Dunning Letters
    vrequest_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
    'XDOREPPB',
    NULL,
    NULL,
    FALSE,
    :P_CONC_REQUEST_ID,
    222, -- Receivables
    'XX_ARDLPPRT_RPT',
    'en', 'N', 'RTF', 'PDF', NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
    -- commit to submit request
    commit;
    IF vrequest_id = 0 THEN -- if request id
    srw.message(999, 'Failure to submit Concurrent Request to Print Dunning Letters');
    ELSE
    srw.message(999, 'request id ' || to_char(vrequest_id) || ' submitted');
    end if;
    -- Original Afterreport trigger stuff
    SRW.DO_SQL('alter session set sql_trace false');
    return (TRUE);
    end;

  • Vendor Address not getting printed properly in cheque printing.

    Hi
    While printing the vendor address for the cheque printing, for certain vendors the street no. is not getting printed & for certain vendors PO Box is not getting printed.
    In the program we are fetching vendor address from REGUH table & then passing onto the global variables which are being used in the script & data is there in the database table for both street & PO Box number.
    The code in the script is as follows:
    /:           ADDRESS PARAGRAPH UH TYPE '3'
    /:             TITLE    &W_ANRED&
    /:             NAME     &W_ZNAME1&,&W_ZNAME2&,&W_ZNAME3&,&W_ZNAME4&
    /:             STREET   &W_ZSTRA&
    /:             POBOX    &W_ZPFAC& CODE &W_ZPST2& CITY &W_ZPFOR&
    /:             POSTCODE &W_ZPSTL&
    /:             CITY     &W_ZORT1(28)&
    /:             COUNTRY  &W_ZLAND&
    /:             FROMCOUNTRY &W_LAND1&
    /:             ADDRESSNUMBER &W_ZADNR&
    /:           ENDADDRESS       
    Can anyone please let me know, what could be the possible reason for this?

    you can tyr with TYPE '1' or TYPE '2'
    : ADDRESS PARAGRAPH UH TYPE '3'

  • Reg:Print program For FB03

    Hi All,
       In the Fb03 Transaction When i give print Preview I want to show the Document Date as Blank, by default print preview its coming, hoe can i restrict this, i have done the following steps i don't know how to proceed after this, the steps are as follows,
    I have Created a new correspondence type as ZFB03 in OB77.
    For Allocation Program For Correspondence i have given the Correspondence and company code in OB78
    I don't Know what to give in the Form Name For Correspondence Print?
    and also i don't know which program i have to copy and change to ZProgram and where to assign it?
    Does anybody know how to resolve this issue?

    Hi Suresh,
    Goto the TCODE OB96 and click on the position and enter your company code..
    you will get directly the print program and its form name... the default print program is RFKORD00.
    Else you can do like this....
    In SPRO follow this path.
    ex:-Form 16A
    Financial Accounting
    Global settings
    withholding tax
    Extended Witholdong tax
    POstings
    India
    Withholding tax certificates for vendors
    maintain no.groups and script forms.
    For cheques and Payment Advisory.
    Go to FBZP
    click on printmethods in company code
    click on position
    give Company code and payment method
    then in the next screen double click on the payment method
    This way you will get to see the forms assigned to it.
    For Forms for Correspondence.
    Financial Accounting
    ---Global settings
    correspondence
    define form names for correspondence print.
    Thanks & regards,
    Dileep .C

  • Cheque print from F110 (Automatic Payment Transaction)

    Hello Friends,
    I have a requirement to print the cheque from t.code F110 (Automatic Payment Transactions).
    Normally when run Auto payment from F110 it will give A4 size print out at top having Address details and then item details, and finally Cheque data will print.
    But our requirement is only Cheque print, we dont want to print total page.
    For this Script is F110_PRENUM_CHCK and print program is RFFOUS_C.
    can any one suggest me how to solve this issue.
    Regards,

    HI,
    carry out the following changes with the help of the functinal guy around.
    In F110 goto the Printout/data medium tab, there click on the Variant name against pgm - RFFOUS_C, say it is Z_VAR1, now click on the 'Maintain Variants' (pushbutton on tool bar)
    This will take you to the Variant screen of this pgm,
    Under the 'Print control' block deselect the 'Print payment summary'
    Under the 'Output control' block change the value of 'Number of Sample printouts' to 1.
    Hope this helps.

Maybe you are looking for

  • How to find the existence of a tag in  XML file through  XSLT Mapping?

    Hello Friends, Working on an SAP XI interface ,I have come across a situation where I need to map the values only when a particular tag exists in the inbound XML file.I need to use the XSLT mapping for the same. Requesting your advice on as to how ma

  • What's the best Mac for editing HD video

    I have a 2009 2.66 quad core Power Mac with the RAM maxed out at 16Gb, 1066MHZ DDR3.  The OS is 10.6.8.  I edit using FC 7 pro.   I am editing HD footage from a Canon Vixia HF G10, which uses AVCHD on the camera and imports files to the computer as A

  • Issue with EVC and MAC learning

    Hi, I have a testing scenario that seems no to work and I don't find eny clue. On switch 3800-B I have configured this two ports. To the port  0/8 I have connected a host with IP address and MAC f0f7.55cf.6201. interface GigabitEthernet0/8 switchport

  • Macbook Pro screen doesn't work

    When I opened my Macbook Pro the screen was white. I googled for a few minutes and found that I had to clear my PRAM. I did this and now the screen is black. When I connect an external monitor you can see the background on it but I can't do anything

  • What is the maximum number of devices that can be connected with FaceTime?

    I have tried to find in theh Apple web pages the maximum number of devices that one can connect to with FaceTime. Specifically, how many iPad2 or iPad (new) devices can connect to each other with FaceTime? What about an older iMac running Mountain Li