Automatic prog

sap guru's:_
   we have one company code under the DOMESTIC VENDORS, AND FORIGN VENDORS, both are the available, in our company code, now we want to the pay thru automatic payment programme( here is the domestic vendors, currnices, INR, foreign vendors currencies, DIFFERENT, So is it possible, TO PAY in automatic payment programe,if the  possible, what we configuraiton, where do the customization about this one plz HELP ME.....

Hi,
Checkout the following link.
http://help.sap.com/saphelp_erp2004/helpdata/en/47/8bf634b576bc4ee10000009b38f83b/frameset.htm
Hope this helps.
Please assign points as a way to say thanks.
Regards,

Similar Messages

  • In Automatic Payment Prog - MT103 Problem

    Dear Friends,
    I have a problem for Automatic Payment Programme,
    I am Using MT103 format
    when i run Automatic Payment Programme it is Ok everything Fine it posted correclty,
    when i want to create DME file through this T.Code - FBPM - it is also working but giving 1 Error...
    this is an Error. please giv me Solution what i have to do....
    Recipient bank SWIFT code of payment medium in format MT103 is missing       
        Message no. BFIBL02307                                                   
    Diagnosis                                                                    
        The payee bank SWIFT code of the payment medium in format MT103 is       
        missing.                                                                 
        If this data is not entered by the sending bank in the message MT103,    
        then the payment medium file will be invalid.                            
    Procedure                                                                    
        The payee bank can be entered directly as a format parameter (field      
        Payee bank SWIFT code) or can be read from the house bank DME data       
        (indicator Payee in house bank DME data in the format parameters).       
        With logical or physical individual payments (field Payment medium type: 
    Collective, logical, physical individual payments of format parameters
    the payee bank is filled with the payee bank SWIFT code when neither o
    the two options are chosen (Maintain bank data).                     
    With collective payments, the payee bank is not filled if you do not 
    choose any of the named options.                                     
    Choose one of the named options to fill the payee bank, make sure that
    the payee bank is filled afterwards by the sending bank of the MT103 
    message, or switch off output of the prefix in the format parameters 
    (Indicator Create SWIFT MTxxx prefix).                               
    Please help me in this..
    Thanks,
    Srem...

    Hello,
    Please find out to which Bank you are transferring money. For Ex: your bank is AAA and u are transferring to YYY bank. In this case you must enter YYY Bank swift Code. Please go to the Bank change screen and enter SWIFT CODE for YYY Bank. This code you will get it from the Bank.
    Hope this will help youu2026.
    Please reward if this answer helps you..
    What is Swift Code?
    The Society for Worldwide Interbank Financial Telecommunication. Within the context of international payment transactions, the SWIFT code (standard throughout the world) enables banks to be identified without the need to specify an address or bank number. SWIFT codes are used mainly for automatic payment transactions.
    Thanks and Regards
    M.Manohar

  • Pls give me step by step sequence of Automatic Payment Prog

    Hi,
    Pls give me step by step sequence of Automatic Payment Program.
    Thanks in Advance

    Hi,
    Automatic Processing :  In this processing the system prepares open item to be paid and prepare a payment document & to this payment document the system prepares a cheque with the payment advise note automatically
    Configuration of Automatic Payment Program :  SPRO -  Ref-IMG-FA-A/R&A/P u2013 Business Transaction- Outgoing Payments u2013 Automatic Outgoing Payment u2013 Payment Method/Bank Selection for payment program u2013 Set up all Company codes for payment transactions.(T.Code:FBZP)
    New Entries
    Company code : 6023
    Control data
    Paying Company code : 6023
    Enter & Save  back to menu item
    Setup paying  Company Code for Payment Transactions :
    New entries
    Paying Company Code : 6023
    Control Data
    Minimum amount for incoming payment ________
    Minimum amount for outgoing payment  500  INR
    Forms
    Sender Details
    Select Forms
    Form for the payment advice u2013 Select International Payment advice Note F_110_IN_AVIS
    Save          back to menu Item
    Setup payment methods per country per payment Transaction :
    New Entries
    Country IN
    Payment method X (any identification No or Alpha)
    Description Cheq
    Payment method for
    u2022     Outgoing payment
    Payment method classification    * Check
                                       Posting Details
                                       Document type for payment KZ
                                       Clearing Document Type     KA
    Use classic payment medium programs payment medium program RFFOUS_C
    RFFO  :     Program Code
    US     :     Country
    C     :     Payment
    Name of Print dataset :  LIST1S
    & SAVE  Back to menu Item
    Setup payment methods per Co code for Payment Transactions
    New Entries
    Paying Company Code : 6023
    Payment Method X
    Minimum Amount 500
    Maximum Amount  5000000
    Select form data
    Forms
    Form for the payment transfer medium F_110_PRENUM_CHECK
    (International u2013 Check (with check management)
    Next form
    Enter & Save  back to menu item
    Set up Bank determination for Payment Transaction : 
    Select Position button
    Paying Company Code 6023
    Paying Company Code     Name
    6023     Reliance Infocom
    Select Company Code
    Select Bank Selection : Ranking Order
    New Entries
    PAYMENT      CURRENCY            RANK ORDER          HOUSE BANK
    X          INR               1                   6SBI0
    X          INR               2                   6ICIC  (NEXT PREFERED BANK)
    ENTER & SAVE
    Select Bank Accounts
    New Entries
    HOUSE BANK     PAYMENT     CURRENCY        ACCOUNT ID    BANK SUB A/C
    6SBI0               X                   INR          6S002          211002
    6ICIC                X                   INR          6I002          211002
    If we do not specify currency --- all the currency accepted
    Save
    Select Available Amounts
    New Entries
    House Bank     Account ID     Days     Currency     Available for O/  Pay
    6SBI0             6S002     999         INR               500000
    6ICIC              6I002     999         INR               500000
    Save & Bank to Menu Item
    CHANGE VENDOR MASTER RECORD TO SPECIFY THE PAYMENT METHOD    XK02 :
    Vendor          1000000
    Co Code      6023
    Co Code Data
      Payment Transactions
    Enter
    Automatic Payment Transactions
    Payment Method    X
    & Save
    lly
    For all the Vendor Master Record specify the payment method
    Execution of Automatic Payment Program :-       Accounting u2013 FA u2013 A/P u2013 Periodic
    Processing F-110 u2013 Payments
    Enter Run Date : 20-04-2006
    Identification Code : YRK00
    Select Parameters
    Posting Date : 20-04-2006 Doc entered upto 20-04-2006
    Payment Control
    Company Code     Pmt Method          Next Posting Date
         6023               X               21-04-2006
    Accounts
    Select Vendor Accounts 1000000 to 3840099
    Specify the range of vendors
    Save the parameters
    Select Status Button
    Select Proposal Button
       Start immediately
    Continue
    Press enter key until the system displays a message payment proposal has been created.
    To Check Payments List u2013 Select Edit Proposal
        Continue
    The System displays
    Vendor      Item      PM       H.Bank                    Curr        Amount
    1000000          2          X           6S002    6SBIO        INR       500000-00
    To Block the Payment :   Double click on the item - again double Click
    Block
    Payment Block   A  Blocked for payment
    Continue
    Select back button
    Select exceptional list item u2013 Select Reallocation Block
    Payment Method X
    House Bank 6ICIC  61002
    Continue
    Select back button
    Save
    Select back button
    Select Printout/datamedium
    From printing/data medium exchange
    Program                Varient
    RFFOAVIS                            6023  AVIS
    Keep the cursor on first row/Columns Enter
    Name  : 6023 AVIS
    Select maintain Varients
    Select Continue Button
    Program run date
    Paying Co. Code  6023
    Number of Sample
    u2022     Print immediately
    u2022     Select attributes
    Varient Name
    Meaning     Payment advice form
    & Save
    Select back button
    Keep the cursor on 3rd row first column
    Program     Variant
    RFFOAVIS     6023 AVIS
    RFFOEDI1
    RFFOUS_C    6023SBI  (3RD ROW FIRST COLUMN)
    Select maintain Variant
    Paying Co Code : 6023
    Further Selection
    Paymethod   X
    House Bank  6SBI0
    Account ID 6S002
    Check Lot No : 2
    *     Print Checks                    Printer LP01   *  Print immediately
    *     Print Payment Advise Note          Printer LP01   *  Print immediately
    *     Print Payment Summery          Printer LP01   *  Print immediately
    Output Control
    Number of Sample Printouts     0
    Select Attributes Button
    Varient Name          6023SBI
    Meaning          State Bank of India
    Save
    Select back button
    From Printing
    Program Variant
    RFFOAVIS
    RFFOEDI1
    EFFOCUS_C 6023 ICICI
    Maintain Varient
    Paying Co Code : 6023
    Further Selections
    Payment Method X
    House Bank 6 ICIC
    Account ID 61002
    Check Lot No.2
    Print Control
    *     Print Checks                    Printer LP01   *  Print immediately
    *     Print Payment Advise Note          Printer LP01   *  Print immediately
    *     Print Payment Summery          Printer LP01   *  Print immediately
    Output Control
    Number of Sample Printouts     0
    Select Attributes Button
    Varient Name          6023ICICI
    Meaning          ICICI
    Save
    Select back button
    Select Status Button
    Select Payment Run
    Start Date : 20-04-2006  Start immediately
    Create Payment medium
    Select Continue Button
    Press Enter Key until system the display message u2013 payment run has been carried out
    Select Printout
    Print JOB
    JOB NAME          F11020060420-YRK00--?  1
    To check the job: System u2013 Services u2013 Output u2013Control u2013 Execute
    Spool No Type Date Time Status Pg Title Cheque
    *1167
    Select Display Content Button
    *1168               Payment Advice
    Post with Print Form  : 
    Accounting u2013 FA u2013 A/P u2013 Document Entry u2013 Outgoing Payment u2013 F-58
    Post+Print Form
    Payment method and form specifications
    Co Code   : 6023
    Payment Method X
    House Bank 6 ICIC
    Check Lot No : 2
    Alternative Form F110-PRENUM-CHK
    Printer
    Printer for Forms LP01       * Print immediately
    Payment Advice Printer LP01
    Enter Payments
    Document Date : 20-04-2006
    Posting Date      : 20-04-2006
    Bank Posting details
    Amount : 10000
    Value Date : 20-04-2006
    Payee
    Vendor  383001
    Select Process Open Items
    Select Partial Payment
    Simulate
    Post
    Print Parameters
    Output          LP01
    Number of copies 1
    *Continue
    The System display-PrintJob was generated System u2013 Services- Output Control
    Spool Req Number   XXXX
    Execute               Title
    Cheque
    u2022     Select  Display Content Button

  • HOW TO CREATE TEXTELEMENTS AUTOMATICALLY I WROTE PROG BUT GETTING ERROR?

    DATA: ITAB TYPE TABLE OF STRING,
          WA_LINE TYPE STRING,
          LENGTH TYPE I,
          STRING1 TYPE STRING,
          T1 TYPE STRING VALUE 'TEXT-',
          RESULT TYPE STRING,
          KEY(3) TYPE N VALUE 001,
          IDX TYPE SY-TABIX,
          IT_STRING TYPE TABLE OF STRING,
          IDX1 TYPE SY-TABIX VALUE 2,
          WA_STRING TYPE STRING,
          LIN TYPE I,
          LIN1 TYPE I,
          FLAG(1) TYPE C.
    DATA : TARGET_TEXTPOOL TYPE TABLE OF TEXTPOOL.
    DATA : WA TYPE  TEXTPOOL.
    *PROG = 'Z_TEXT1'.
    PARAMETERS PROG TYPE C LENGTH 30.
    READ REPORT PROG INTO ITAB.
    LOOP AT ITAB INTO WA_LINE.
      IF WA_LINE IS NOT INITIAL.
        IDX = SY-TABIX.
        IF WA_LINE CS ''''.
          IF  WA_LINE NS 'WHEN' AND WA_LINE NS 'SET' AND WA_LINE NS 'SELECT'
            AND WA_LINE NS 'CHECK' AND WA_LINE NS '*.TXT' AND WA_LINE NS 'CALL'
            AND WA_LINE NS 'MESSAGE' AND WA_LINE NS 'DEFAULT'.
           SPLIT WA_LINE AT '''' INTO TABLE IT_STRING.
           DESCRIBE TABLE IT_STRING LINES LIN.
           LIN1 = LIN / 2.
           DO LIN1 TIMES.
            READ TABLE IT_STRING INTO WA_STRING INDEX IDX1.
            IF WA_STRING IS INITIAL.
              EXIT.
            ENDIF.
              LENGTH = STRLEN( WA_STRING ).
                 IF LENGTH > 3.
            WA-ID = 'I'.
            WA-KEY = KEY.
            WA-ENTRY = WA_STRING.
            WA-LENGTH = LENGTH.
            APPEND WA TO TARGET_TEXTPOOL.
          INSERT TEXTPOOL PROG FROM TARGET_TEXTPOOL LANGUAGE SY-LANGU.
          INSERT REPORT PROG FROM itab.
            INSERT WA INTO TABLE
            CONCATENATE T1 KEY INTO RESULT.
            CONCATENATE '''' WA_STRING '''' INTO STRING1.
            REPLACE STRING1 IN WA_LINE WITH RESULT.
            MODIFY ITAB FROM WA_LINE INDEX IDX.
           INSERT TEXTPOOL PROG FROM TARGET_TEXTPOOL LANGUAGE 'E'.
            KEY = KEY + 1.
            IDX1 = IDX1 + 2.
      CLEAR WA_STRING.
      CLEAR STRING1.
      ENDIF.
          ENDDO.
              ENDIF.
            ENDIF.
        CLEAR WA_LINE.
      ENDIF.
      IDX1 = 2.
    ENDLOOP.
    loop at itab into wa_line.
      write:/ wa_line.
    endloop.
       INSERT TEXTPOOL PROG FROM TARGET_TEXTPOOL LANGUAGE SY-LANGU.
           INSERT REPORT PROG FROM itab.
    WRITE 'HI'...

    hi guru,
    i have written code but i am not able to display the TOTAL text at the end please verify the code.
    *& Report  ZSALES_DISCOUNT
    REPORT  ZSALES_DISCOUNT.
    type-pools: slis.
    tables: vbak,vbap.
    SELECT-OPTIONS: so_vbeln for vbak-vbeln.
    types: begin of ty_vbak,
           VBELN type vbak-vbeln,
           ERDAT type vbak-erdat,
           NETWR type vbak-netwr,
           WAERK type vbak-waerk,
           end of ty_vbak,
           begin of ty_vbap,
           vbeln type vbap-vbeln,
           POSNR  type vbap-posnr,
           KWMENG type vbap-KWMENG,
           VRKME TYPE VBAP-VRKME,
           NETWR type vbap-netwr,
           WAERK type  vbap-waerk,
           DISAMT type  vbap-netwr,
           end of ty_vbap.
    data: w_vbak  type ty_vbak,
          it_vbak type table of ty_vbak,
          w_vbap  type ty_vbap,
          it_vbap type table of ty_vbap,
          w_fieldcat type slis_fieldcat_alv,
          i_fieldcat type slis_t_fieldcat_alv,
          w_fieldcat1 type slis_fieldcat_alv,
          i_fieldcat1 type slis_t_fieldcat_alv,
          w_slis_selfield type slis_selfield,
          user_command type SLIS_FORMNAME,
          W_IS_LAYOUT TYPE SLIS_LAYOUT_ALV,
          repid type sy-repid,
          V_LINES TYPE I,
          i_event TYPE slis_t_event,
          i_sort TYPE  slis_t_sortinfo_alv,
           wa_sort TYPE slis_sortinfo_alv.
    W_FIELDCAT-COL_POS = '1'.
    W_FIELDCAT-FIELDNAME = 'VBELN'.
    W_FIELDCAT-OUTPUTLEN  = '20'.
    W_FIELDCAT-SELTEXT_L  = 'SALES DOCUMENT NUMBER'.
    APPEND W_FIELDCAT TO I_FIELDCAT.
    CLEAR W_FIELDCAT.
    W_FIELDCAT-COL_POS = '2'.
    W_FIELDCAT-FIELDNAME = 'ERDAT'.
    W_FIELDCAT-OUTPUTLEN  = '20'.
    W_FIELDCAT-SELTEXT_L  = 'Date of Order Created'.
    APPEND W_FIELDCAT TO I_FIELDCAT.
    CLEAR W_FIELDCAT.
    W_FIELDCAT-COL_POS = '3'.
    W_FIELDCAT-FIELDNAME = 'NETWR'.
    W_FIELDCAT-OUTPUTLEN  = '20'.
    W_FIELDCAT-SELTEXT_L  = 'net value of sales order'.
    APPEND W_FIELDCAT TO I_FIELDCAT.
    CLEAR W_FIELDCAT.
    w_FIELDCAT-COL_POS = '4'.
    W_FIELDCAT-FIELDNAME = 'WAERK'.
    W_FIELDCAT-OUTPUTLEN  = '20'.
    W_FIELDCAT-SELTEXT_L  = 'net value currency'.
    APPEND W_FIELDCAT TO I_FIELDCAT.
    W_FIELDCAT1-COL_POS = '1'.
    W_FIELDCAT1-FIELDNAME = 'VBELN'.
    W_FIELDCAT1-OUTPUTLEN  = '20'.
    W_FIELDCAT1-SELTEXT_L  = 'SALESORDER_NO'.
    APPEND W_FIELDCAT1 TO I_FIELDCAT1.
    CLEAR W_FIELDCAT1.
    W_FIELDCAT1-COL_POS = '2'.
    W_FIELDCAT1-FIELDNAME = 'POSNR'.
    W_FIELDCAT1-OUTPUTLEN  = '20'.
    W_FIELDCAT1-SELTEXT_L  = 'ITEMS'.
    APPEND W_FIELDCAT1 TO I_FIELDCAT1.
    CLEAR W_FIELDCAT1.
    W_FIELDCAT1-COL_POS = '3'.
    W_FIELDCAT1-FIELDNAME = 'KWMENG'.
    W_FIELDCAT1-OUTPUTLEN  = '20'.
    W_FIELDCAT1-SELTEXT_L  = 'NET_QUANTITY'.
    W_FIELDCAT1-qfieldname =  'VRKME' .
    W_FIELDCAT1-qtabname = 'VBAP' .
    W_fieldcat1-datatype = 'QUAN'.
    W_fieldcat1-do_sum = 'X'.
    APPEND W_FIELDCAT1 TO I_FIELDCAT1.
    CLEAR W_FIELDCAT1.
    W_FIELDCAT1-COL_POS = '4'.
    W_FIELDCAT1-FIELDNAME = 'VRKME'.
    W_FIELDCAT1-OUTPUTLEN  = '20'.
    W_FIELDCAT1-SELTEXT_L  = 'NET_QUANTITY'.
    W_fieldcat1-datatype = 'UNIT'.
    APPEND W_FIELDCAT1 TO I_FIELDCAT1.
    CLEAR W_FIELDCAT1.
    W_FIELDCAT1-COL_POS = '5'.
    W_FIELDCAT1-FIELDNAME = 'NETWR'.
    W_FIELDCAT1-OUTPUTLEN  = '20'.
    W_FIELDCAT1-SELTEXT_L  = 'NET_AMT'.
    W_FIELDCAT1-cfieldname = 'WAERK'.
    W_FIELDCAT1-ctabname = 'VBAP'.
    W_fieldcat1-datatype = 'CURR'.
    W_fieldcat1-do_sum = 'X'.
    APPEND W_FIELDCAT1 TO I_FIELDCAT1.
    CLEAR W_FIELDCAT1.
    W_FIELDCAT1-COL_POS = '6'.
    W_FIELDCAT1-FIELDNAME = 'WAERK'.
    W_FIELDCAT1-OUTPUTLEN  = '20'.
    W_FIELDCAT1-SELTEXT_L  = 'CURRENCY'.
    APPEND W_FIELDCAT1 TO I_FIELDCAT1.
    CLEAR W_FIELDCAT1.
    W_FIELDCAT1-COL_POS = '7'.
    W_FIELDCAT1-tabname = 'IT_VBAP'.
    W_FIELDCAT1-FIELDNAME = 'DISAMT'.
    W_fieldcat1-do_sum = 'X'.
    W_FIELDCAT1-OUTPUTLEN  = '20'.
    W_FIELDCAT1-SELTEXT_L  = '30% DISCOUNT_AMT'.
    W_FIELDCAT1-cfieldname = 'WAERK'.
    W_FIELDCAT1-ctabname = 'VBAP'.
    W_fieldcat1-datatype = 'CURR'.
    APPEND W_FIELDCAT1 TO I_FIELDCAT1.
    W_IS_LAYOUT-ZEBRA = 'X'.
    W_IS_LAYOUT-NO_VLINE = 'X'.
    W_IS_layout-no_input = 'X'.
    W_IS_layout-colwidth_optimize = 'X'.
    W_IS_layout-totals_text = 'Totals'(201).
    START-OF-SELECTION.
      PERFORM SORT.
      PERFORM build_events.
    SELECT VBELN ERDAT NETWR WAERK from VBAK into table It_vbak where vbeln in so_vbeln.
    repid = SY-REPID.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        I_CALLBACK_PROGRAM      = repid
        I_CALLBACK_USER_COMMAND = 'INTERACTIVE'
        IS_LAYOUT               = w_is_layout
        IT_FIELDCAT             = i_fieldcat
      TABLES
        T_OUTTAB                = it_vbak
      EXCEPTIONS
        PROGRAM_ERROR           = 1
        OTHERS                  = 2.
    *&      Form  INTERACTIVE
          text
         -->R_UCOMM      text
         -->RS_SELFIELD  text
    FORM INTERACTIVE USING R_UCOMM LIKE SY-UCOMM
    RS_SELFIELD TYPE SLIS_SELFIELD.
      IF RS_SELFIELD-FIELDNAME = 'VBELN'.
        DATA: TEMP_VBELN TYPE VBAK-VBELN,
              total TYPE STRING,
              subtot_text TYPE slis_subtot_text.
        CASE R_UCOMM.
          WHEN '&IC1'.
            CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
              EXPORTING
                INPUT  = RS_SELFIELD-VALUE
              IMPORTING
                OUTPUT = TEMP_VBELN.
            TEMP_VBELN = RS_SELFIELD-VALUE.
            SELECT VBELN POSNR KWMENG VRKME NETWR WAERK INTO CORRESPONDING FIELDS OF TABLE IT_VBAP
            FROM VBAP WHERE VBELN = TEMP_VBELN.
            IF sy-subrc = 0.
              SORT IT_VBAP BY VBELN POSNR KWMENG .
            ENDIF.
            LOOP AT IT_VBAP INTO W_VBAP .
              W_VBAP-DISAMT = ( ( W_VBAP-NETWR  / 100 ) * 30 ).
              W_VBAP-DISAMT = W_VBAP-NETWR - W_VBAP-DISAMT.
              MODIFY TABLE IT_VBAP FROM W_VBAP.
            ENDLOOP.
           PERFORM SORT.
           PERFORM EVENT.
           PERFORM SUBTOTAL_TEXT CHANGING subtot_text.
            CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
              EXPORTING
                I_CALLBACK_PROGRAM = REPID
                IS_LAYOUT          = w_is_layout
                IT_FIELDCAT        = I_FIELDCAT1
                it_events          = i_event
                i_default          = 'X'
              TABLES
                T_OUTTAB           = IT_VBAP
              EXCEPTIONS
                PROGRAM_ERROR      = 1
                OTHERS             = 2.
        ENDCASE.
      ENDIF.
    ENDFORM.                    "INTERACTIVE
    *&      Form  sub_populate_sort
          text
    FORM SORT .
      wa_sort-spos = '01' .
      wa_sort-fieldname = 'VBELN'.
      wa_sort-tabname = 'IT_VBAP'.
      wa_sort-up = 'X'.
      wa_sort-subtot = 'X'.
      APPEND wa_sort TO i_sort .
      CLEAR wa_sort.
    ENDFORM.                    "sub_populate_sort
    *&      Form  sub_get_event
          text
    FORM build_events.
      CONSTANTS : c_formname_subtotal_text TYPE slis_formname VALUE
    'SUBTOTAL_TEXT'.
      DATA: l_s_event TYPE slis_alv_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 0
        IMPORTING
          et_events       = i_event
        EXCEPTIONS
          list_type_wrong = 1
          OTHERS          = 2.
    Subtotal
      READ TABLE i_event  INTO l_s_event
                        WITH KEY name = slis_ev_subtotal_text.
      IF sy-subrc = 0.
        MOVE c_formname_subtotal_text TO l_s_event-form.
        append l_s_event to i_event.
       MODIFY i_event FROM l_s_event INDEX sy-tabix.
      ENDIF.
    ENDFORM.                    " sub_get_event
    *&      Form  SUBTOTAL_TEXT
          text
         -->P_TOTAL        text
         -->P_SUBTOT_TEXT  text
    FORM c_formname_subtotal_text CHANGING P_TOTAL TYPE ANY
                          p_subtot_text TYPE slis_subtot_text.
      IF p_subtot_text-criteria = 'VEBLN'.
        p_subtot_text-display_text_for_subtotal
        = 'TOTAL'(001).
      ENDIF.
    ENDFORM.                    "subtotal_text

  • Automatic Payment prog for Incoming payment by bills of exchange

    Hi,
    I would like to know, weather we can use the transaction F110 for incoming payments from customers by bills of exchange, if yes, what are the necessary configurations for the same.
    thanks
    Vikash

    Hi,
    Good afternoon and greetings,
    Please go through the following SAP OSS Notes
    Note 444521 - F110: Expiring currencies and bill of exchange payable
    Note 360145 - Expiring currencies: Bills of exchange
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • How To Change The Patter generates during creation of Prog using SE38

    Dear Guru,
    I have Encountered an Issue.
    The Scenario Is like this :-
    As soon as we create a new prog using SE38 it automatically generates a standard pattern like below :
    *& Report  ZSR_TEST_05
    REPORT  ZSR_TEST_05.
    But the requirment is like this as soon as we create a new prog using SE38 it automatically it should generate the The Pattern like below :--
    *& Project            :
    *& Program Name       :
    *& Transaction Code   :
    *& Program Type       :
    *& Functional Domain  :
    *& Technical Coding   :
    *& Functional Guidance:
    *& Coding Review      :
    *& Spec. Review       :
    *& Program Description:
    REPORT  ZSR_TEST_05.
    After going through sdn documentation i have identified that using dynamic pattern we can create this and call that dynamic pattern using PATTERN button in ABAP editor.
    But the thing we require as soon as we generate the prog thr. SE38 atomatically all the details must generate before the report <report_name>.
    For achieving thins what i have to do ... please show me some path to achieve this
    Thanks & Regards
    Saifur Rahaman

    Hello Saifur
    Not sure if you can make SE38 to do what you want (yet it is likely). If you do not want to create lots of ABAP patterns why not define a simple ZTEMPLATE report containing the basic set of comments:
    *& Project            :
    *& Program Name       :
    *& Transaction Code   :
    *& Program Type       :
    *& Functional Domain  :
    *& Technical Coding   :
    *& Functional Guidance:
    *& Coding Review      :
    *& Spec. Review       :
    *& Program Description:
    REPORT  ZTEMPLATE.
    *& Initialize report
    INITIALIZATION.
    *& PBO of Selection-Screen
    AT SELECTION-SCREEN OUTPUT.
    *& PAI of Selection-Screen
    AT SELECTION-SCREEN.
    *& Begin of Main Program
    START-OF-SELECTION.
    *& End of Main Program
    END-OF-SELECTION.
    New reports are then created by copying your ZTEMPLATE template.
    Regards
      Uwe

  • Automatic PO creation from PRs?

    Hi,
    I got to generate automatic purchase orders from purchase requisitions.
    A stdd Transaction ME59N is already availablefor this, but I need to create POs without GR. This is a requirement in IS Media module.
    We can approach in 2ways: 1. copy the stdd and modify
                                              2.create a Z prog from scratch
    Please help me if you have worked on a similar requirement.
    with regards,
    Ravi
    points will be given

    Hi,
    I believe you can setup this in the configuration not to do GR..
    You can check the purchasing document type config or purchasing item category configuration..
    Also check with your MM functional consultant to achieve this..
    Thanks
    Naren

  • Automatic creation of billing from VF04

    Hi all,
    i want to automate creation of billing document for all the deliveries for which PGI done.
    i think we have to define a job which will call VF04.
    my question is when we do VF04 manually, we have to give selection criteria like sales org etc and then it displays the list of all the deliveries and then we have to select the deliveries manually and press collective billing/individual billing.
    so when the batch job calls the VF04, how will the batch job tells VF04 to select all deliveries and generate the invoices.
    regards
    sachin

    Hi there,
    When you schedule a job, there is something called variants that you maintain for each prog in the job. The variants wiol take care of all the entries that we manually do in VF04. In the variants you will mention the shipping points, sales org, dates etc.
    In SM37,search the relevant job, select the job & click on steps. It will display the progs of the job. Next to the progs you will find the variants. Select the prog in the step & display variants. It will display the variants will all the selection options.
    Regards,
    Sivanand

  • Item Text in FBL3N copied automatically from MIRO line item

    All,
    When a purchase order is created to a cost centre, G/L account and cost centre are entered manually. Often Purchase Order only uses short text field as reference, ie, Material is not mandatory.
    MIRO process is then done for PO after GR, and the PO text (short text) is copied into MIRO.
    G/L account line items can be displayed in FBL3N, detailing the document numbers related to the invoice/PO once posted.
    The field "Text" is defaulted as blank, even if created with reference to a PO which contains text. Does anybody know of a way to automate process so that the text field is populated with the text from MIRO.
    Thanks.

    Hi Jacob,
    You can transfer what ever the data from the MIRO to Accounting document using BTE.
    Goto SE37 - SAMPLE_PROCESS_00001120 (this is the standard BTE for account document posting). copy this with ZSAMPLE_PROCESS_00001120.
    In this you cannot modify the tables t_bkpf and t_bseg. you can use t_bkpfsub and t_bsegsub.
    For this a little bit config is required.
    1) Goto t-code FIBF-> settings->Products->... of a customer.
    Click new entries -> product name- ZPRODUCT , text - any text, RFC dest - ZSAMPLE_PROCESS_00001120, A - enable check box -> save.
    2) Go back -> settings -> P/S Modules -> ... of a customer.
    Click new entries -> event - 00001120, Product - ZPRODUCT, Ctr - Country key, Appl - FI-FI, Function module - ZSAMPLE_PROCESS_00001120 -> save.
    3) Go back -> settings -> Process Modules -> ... of a customer.
    Click new entries ->Process - 00001120, Ctr - Country key, Appl - FI-FI, Func module - ZSAMPLE_PROCESS_00001120, Product - ZPRODUCT -> save.
    Now goto SE37->ZSAMPLE_PROCESS_00001120
    logic.
    loop at t_bkpf.
    loop at t_bkpfsub.
    move 'your value' to t_bkpfsub-value.
    modify t_bkpfsub index sy-tabix.
    endloop.
    endloop.
    loop at t_bseg.
    loop at t_bsegsub.
    move 'your value' to t_bsegsub-value.
    modify t_bsegsub index sy-tabix.
    endloop.
    endloop.
    ''your value' is imported value.
    no need to worry abt modified values. after execution of BTE it will go to standard prog and copy the values of t_bkpfsub] and t_bsegsub[ to SAP tables. so pls be perfect with code. SAP wouldn't allow change the values in t_bkpf] and t_bseg[ values. you can add your own fields in bkpf_subst and bseg_subst.
    But make sure that, pls write the code in FM with conditions like cocode doc type etc. bcz this BTE is very important. it will executes before acc doc is posted.if you do not specify any conditions it will execute for all co codes in acc doc. it will affect business. you can debug this BTE. put a break point in FM and see the values while post the MIRO.
    once import the values free memory id and clear the variables what ever u used in BTE.
    Best Regards,
    Mohan.

  • Create purchase order automatically from Sales order.

    Hi,
    I have ticked  Create purchase order automatically check box in item category TAS and TAB but still not able to generate Purchase Order automatically.???
    any clue.
    thanks/ashu

    You need to have your prerequisites in place for the automated creation of the purchase requisition before the purchase order can be raised:
    You may already have done this, but check that your material has the purchasing information on it (trxn MM02, purchasing tab), that a purchasing information record exists for that material and vendor in that purchasing org (trxn ME12), check that a source list exists as well (trxn ME02). If you have created the source list or purchasing info record after the sales order has been created then you will need to go into trxn ME56 to assign them manually. That should release the PO to be created.
    In standard 3rd party, the PO is created using ME59 (prog RM06BB20), which can be run as a batch job.
    Jon

  • Need help to automate a process

    Hello friends,
        We have customized the program RPRCCC00 for credit card clearing.
    WE run this program for diff. countries. It reads the credit card expense file
    from application server. We daily receive the file names in mail.
    After this we run PRCCE for correction and PRCCF for downloading the corrected
    files. At end we run PRCC to load the corrected files.
    Is there any way to automate this entire process. Because daily it takes
    2 hrs to complete the credit card clearing.
    Please help.
    Thanks
    shlesha

    Hi Shlesha ,
    What you can do is ,
    You can first make a Prog which reads the file country wise from the particular folder on say application server and pass the file in the prog RPRCCC00 and return
    if the above process completed sucessfully
    then u can feed the output in the second program i.e. PRCCE again through submit and return
    and then I u download the file through PRCCF into another folder .
    Now run another job for PRCC which will upload the file and process.
    Incase u have XI system in place it can take care of transferring the files from email into a desired location on the server..
    You will have to discuss the feasibility of the process with your functional as well as ur technical team...
    This is going to need strong functional and techno inputs ...
    Thnks
    Sahil

  • Mails not going automatically to out of sap systems

    Hi,
    How to send mails automatically from SAP to other external mail id? when we are pushing manually it is going,but automatically its not going.
    We have configured SMTP in SCOT t.code and created background job also.
    Pls advise.
    Thanks
    Syed

    Hi,
    Thanks for advice, I did already those steps. When I pushed manually, it is going but, it should go automatically I have schedule the SAPCONNECT Job on Background with prog RSCONN01.
    Mlunxsnd this programmer should run when release the mails, it was not ran, it given  RFC error.
    Please advice asap.
    Thanks in Advance
    Syed.S

  • Reprinting check of automatic payment program

    Hi Gurus,
    I want to reprint the cheques generated from automatic payment program in one go.From FBZ5 I can print only sigle sigle chques.But I wanna to reprint all the cheques in one go.
    Kindly reply.
    Regards,
    Abhinandan.

    This depends on which Prog you are using for the Check Printing.
    In case it is RFFOUS_C then run this in SE38. Here you can give the F110 Payment Run identification and other necessary parameters; in the Last Section (re-print checks) of the dialog box you can key-in necessary parameters for reprinting.

  • Automatic generation of AWR reports

    Hi,
    How to schedule the automatic JOB to generate the AWR reports hourly basis. ( automatic comparing between 2 snapshots and then generate the text file).
    Thanks in advance.

    Hi,
    If you want the report to be send to your mail through the ORACLE ENTERPRISE MANAGER than you have to write one perl script like below: Adjust statements and addresses as per your requirement.
    The main views are:
    dba_hist_snapshot & dba_hist_thread which are helping us in doing this.
    Hope I answered your question
    autoawr.pl :
    # My perl script for automatically generating awr report
    # By default, report is sent to DBA_EMAIL_LIST_RPT, unless
    # it's overridden by ORA_SP_EMAIL_LIST_RPT
    # 05/26/2006 - Changed snap level from 5 to 6
    # exec statspack.snap(i_snap_level => 6, i_modify_parameter => 'true');
    # NOTES
    # FUTURE ENHANCEMENTS
    # MODIFICATIONS
    # $Log: spreport.pl,v $
    # Revision 1.4 2003/09/02 21:33:14 oracle
    # bugfix (instance_number)
    # Revision 1.3 2003/08/26 19:13:22 oracle
    # add ORA_SP_HACK1
    # Revision 1.2 2003/08/26 18:54:09 oracle
    # mod
    # Revision 1.1 2003/08/26 17:19:58 oracle
    # ic
    # ----------------------- main processing -------------------------------------
    # in case $0 is a full pathname, strip of the directory name
    $progname = $0;
    $progname =~ s/^.*\/// ;
    $progdir=$0;
    $progdir=~ s/\/[^\/]*$// ; if ($progdir eq $0) { $progdir='.'; }
    # set prog to equal progname minus file extension and the "."
    $prog=$progname;
    $prog =~ s/(.*)\..*$/\1/;
    $usage="Usage: $progname <dbname> [<report_begin_datetime in a format of '08/27/07 06:30'> <duration in minutes, at least 60>]\n" ;
    if ( $#ARGV < 0 )
    print $usage;
    exit 1;
    my @arglist=@ARGV;
    $dbname=$ARGV[0];
    shift;
    if ( $#ARGV > -1) {
    $report_user_specified_time="yes";
    # $report_begin_datetime="$ARGV[0] $ARGV[1]";
    $report_begin_date=$ARGV[0];
    $report_begin_time=$ARGV[1];
    $report_begin_datetime="$report_begin_date $report_begin_time";
    $report_duration=$ARGV[2];
    print "Boris: dbg> number of ARGV=$#ARGV, report_begin_datetime=$report_begin_datetime, report_duration=$report_duration\n";
    # print "Boris: dbg> UserSpecifiedTime=$report_user_specified_time\n";
    # ----------- PORTIBILITY: set envdir to the appropriate value
    $envdir=$progdir;
    $ENV{'ENV_FILE'}="$envdir/dba.env";
    $ENV{'APP_NAME'}=$dbname;
    # ----------- End of PORTIBILITY
    # initialize execution environ.
    require("$envdir/ld_env.pl");
    require("$envdir/ora_common.pl");
    $tm_start=`date`; chop $tm_start;
    $tm_stamp=`date "+%Y%m%d"`; chop $tm_stamp;
    $tm_stamp2=`date "+%Y%m%d_%H%M%S"`; chop $tm_stamp2;
    # $ENV{'LD_ENV_DEBUG'}=1;
    my $status=&ld_env;
    # set up log file. If for some reason it's no good, set log file to /dev/null
    $LOG_PREFIX="$ENV{'ORA_ADM_DIR'}/log/${prog}_${dbname}.log";
    $LOGFILE="${LOG_PREFIX}.${tm_stamp}";
    if (open(LOGFILE, ">>$LOGFILE") == 0)
    print "Cannot open log $LOGFILE; discard log info \n";
    open(LOGFILE, ">/dev/null");
    if ( $status != 0 )
    &abort($status, \*LOGFILE, "Failed to load environ: $LD_ENV_ERRMSG\n");
    my $work_dir=$ENV{'DBA_WORK_DIR'};
    if ($work_dir eq '') {
    abort_auto(2, "Env var DBA_WORK_DIR not defined\n");
    } else {
    $status=`mkdir -p $work_dir`;
    if ($status != 0) {
    abort_auto($status, "mkdir -p $work_dir failed\n");
    # ---- main processing
    $RPT_PREFIX1="$ENV{'ORA_ADM_DIR'}/log/awr_ash/awr_${dbname}.rpt";
    $RPTFILE1="${RPT_PREFIX1}.${tm_stamp2}";
    $RPT_PREFIX2="$ENV{'ORA_ADM_DIR'}/log/awr_ash/ash_${dbname}.rpt";
    $RPTFILE2="${RPT_PREFIX2}.${tm_stamp2}";
    #### no need for a special/"perfstat" connection: $ENV{'ORA_CNCT_STR'}=get_env2('ORA_SP_CNCT_STR', 'perfstat/perfstat');
    #### print "dbg> Connecting to the database as: $ENV{'ORA_CNCT_STR'}";
    my $days_minus = get_env2('ORA_SP_DAYS_MINUS', 1);
    ### To avoid "ORA-20200: The instance was shutdown between snapshots x1 and x2", ensure that dba_hist_snapshot.startup_time is the same for min(snap_id) and max(snap_id)
    ### To avoid "ORA-20200: End Snapshot Id y1 must be greater than Begin Snapshot Id y1", take reporting time interval between 5am and 5pm
    if ( $report_user_specified_time eq "yes") {
    $awr_begin_date=$report_begin_date;
    $awr_begin_time=$report_begin_time;
    print "Boris: dbg> awr_begin_date=$awr_begin_date, awr_end_date=$awr_end_date, awr_begin_time=$awr_begin_time, awr_end_time=calculated...\n";
    $fudge=5; # that's 5min
    $sql="
    select t.dbid, t.instance_number, min(s.snap_id), max(s.snap_id)
    from dba_hist_snapshot s, dba_hist_thread t
    where --
    trunc(s.end_interval_time) = trunc(to_date('$awr_begin_date', 'MM/DD/YY'))
    and to_char(s.end_interval_time+5/1440, 'HH24:MI') >= '$awr_begin_time'
    and to_char(s.end_interval_time, 'SSSSS') <= (to_number(substr('$awr_begin_time', 1, 2))*60 + to_number(substr('$awr_begin_time', 4,2)) + $report_duration +$fudge)*60
    and t.instance_number = sys_context('userenv', 'instance')
    and t.instance_number = s.instance_number
    and t.thread# = sys_context('userenv', 'instance')
    and t.snap_id = s.snap_id
    and t.dbid = s.dbid
    group by t.dbid, t.instance_number, s.startup_time
    order by t.dbid, t.instance_number, s.startup_time desc
    else {
    $awr_days_minus=$days_minus;
    $awr_begin_time=4;
    $awr_end_time=16;
    print "Boris: dbg> awr_days_minus=$awr_days_minus, awr_begin_time=$awr_begin_time, awr_end_time=$awr_end_time\n";
    $sql="
    select t.dbid, t.instance_number, min(s.snap_id), max(s.snap_id)
    from dba_hist_snapshot s, dba_hist_thread t
    where trunc(s.begin_interval_time)= trunc(sysdate - $awr_days_minus )
    and to_char(s.begin_interval_time, 'HH24') >= $awr_begin_time
    and to_char(s.begin_interval_time, 'HH24') <= $awr_end_time
    and t.instance_number = sys_context('userenv', 'instance')
    and t.instance_number = s.instance_number
    and t.thread# = sys_context('userenv', 'instance')
    and t.snap_id = s.snap_id
    and t.dbid = s.dbid
    group by t.dbid, t.instance_number, s.startup_time
    order by t.dbid, t.instance_number, s.startup_time desc
    my @output ;
    $status = run_query($sql, \@output);
    if ( $status == 0 )
    my $line = $output[0] ;
    my ($id_dbid, $id_inst_num, $id_min, $id_max) = split(' ', $line);
    print "Boris: dbg> Query output line=$line";
    if ( $id_min eq '' || $id_max eq '' )
    # not stats
    &tee_auto("Error: can't determine min=$id_min and/or max=$id_max snap_id, days_minus=$days_minus, dbid=$id_dbid, inst#=$id_inst_num)\n");
    exit;
    else
    &tee_auto("# generate sprpt for delta between snp_id '$id_min' and '$id_max' (days_minus='$days_minus')\n# f=$RPTFILE1\n");
    if ( $report_user_specified_time eq "yes") {
    $id_ash_begin_datetime="$report_begin_date $report_begin_time";
    $id_ash_duration=$report_duration;
    else {
    $id_ash_begin_datetime=`date --date yesterday "+%D 05:00"`; chop $id_ash_begin_datetime;
    $id_ash_duration=720; #mins: 12 hours (from 5am to 5pm)
    # print "Boris: dbg> id_ash_begin_datetime=$id_ash_begin_datetime, id_ash_duraton=$id_ash_duraton\n";
    $sql = "
    spool $RPTFILE1
    select systimestamp from dual;
    spool off
    run_sql("$sql");
    $sql = "
    define dbid=$id_dbid
    define inst_num=$id_inst_num
    define begin_snap=$id_min
    define end_snap=$id_max
    define report_type='text'
    define report_name=$RPTFILE1
    @?/rdbms/admin/awrrpti
    run_sql("$sql");
    $sql = "
    define dbid=$id_dbid
    define inst_num=$id_inst_num
    define report_type='text'
    define report_name=$RPTFILE2
    define begin_time='$id_ash_begin_datetime'
    -- define default_report_duration='$id_ash_duration'
    define duration=$id_ash_duration
    -- define duration=720
    -- define end_time='$id_ash_date_begin_5pm'
    define slot_width=''
    define target_session_id=''
    define target_sql_id=''
    define target_wait_class=''
    define target_service_hash=''
    define target_module_name=''
    define target_action_name=''
    define target_client_id=''
    define target_plsql_entry=''
    @?/rdbms/admin/ashrpti
    run_sql("$sql");
    ## Concantenate: cat $RPTFILE2 >> $RPTFILE1;
    open ( awr_report, ">>", $RPTFILE1 ) or die "Could not open for writing file $RPTFILE1: $!";
    open ( ash_report, "<", $RPTFILE2 ) or die "Could not open for reading file $RPTFILE2: $!";
    while ( my $line = <ash_report> ) { print awr_report $line; }
    # send report
    my $if_notify = 1;
    if ( $if_notify && -r $RPTFILE1 )
    if ($ENV{'ORA_SP_HACK1'} eq '1') {
    &tee_auto( "# detected ORA_SP_HACK1 -- hack the report a bit...\n");
    # prefix each line of report with '# ' to hack around
    # the problem with Exchange mail server interpreting
    # certain patterns as email attachements...
    my $ed = get_env2('ED', 'ed');
    $cmd="$ed $RPTFILE1 <<eof
    Best regards,
    Rafi
    http://rafioracledba.blogspot.com/

  • How culd b a prog. name under development field for standard SAP prog.??

    Hi Experts,
    Just curious that, a FI/CO prog. with name GP2I9IU2LWTB3VSHAU4K8ENBKLB100  (its associate tx  is a FI/CO transaction, its S_ALR_87012993 ) noticed that, its developed & changes by here my coleague at client place-SAP customer( I mean to say that, NOT by SAP)......but, I do not undesratnd that, How it culd b possible that, its developed & changed by other than SAP!!!!! it shuld b a standard SAP tx and prog. right??
    I know it happens for Z FM development, VOFM developments etc., but here how its?
    thanq

    This is report writer/painter program,this is not an custom ABAP program.So once anyone create report/painter with SAP tools,system generetes default program in behind the scene.And by default the USERid of owner will be created under program history.
    As like below:
    REPORT GP6LOHEDHH7OAU3YK4SZ542BX4I600 MESSAGE-ID GR
                    NO STANDARD PAGE HEADING
                    LINE-SIZE 170 LINE-COUNT 58.
    *         Executable for report group ZPC1                             *
    *         report group   : ZPC1 Profit Center Accouting                *
    *         program class  : RW_EXECUTION                                *
    *         program version: 00000002                                    *
    *         client         : 600                                         *
    *         user      :  GUJARGOUD                                      *
    *         date      :  12/11/08                                        *
    *         time      :  12:42.59                                        *
    *         release   :  700                                             *
    I made this report by Reporting tools but i didn't create any program.System automatically generates the History and ABAP program it self.

Maybe you are looking for

  • MOVED: h67ma-e35 won't overclock

    This topic has been moved to Overclocking, Undervolting. https://forum-en.msi.com/index.php?topic=163374.0

  • Wine makes mic stop working.

    A bit of a niche problem. But my mic stops working in linux apps when my wine game application is started. Closing the wine application makes the mic work again. It's an inboard mic. I don't use the sound from the wine application so I don't need to

  • Prepared stmt

    How does 'Like' keyword work in prepared statement. It is not working when I am trying to use the following statements.... squery = "SELECT COUNT(*) As COUNT FROM table_name WHERE RTRIM(LTRIM(column1)) LIKE ?"; pstmt = con.prepareStatement(sQuery) ps

  • ASA write mem error in context

    ASA#                                                                                (this is system context) context context   allocate-interface Port-channel2.1 INSIDE   config-url disk0:/configs/context.cfg   join-failover-group 1 i get following e

  • 2008R2 cluster - Outlook 2010 - RemoteApps - No sound

    Currently running a 2008 R2 cluster, and users are complaining about no sound via Outlook 2010 when using remoteapps. Sure enough if you use the full remote desktop client, sound is not an issue. IE, and other apps have no issues with sound via the r