Modification in F110

Hi,
I need to update the BKPF-XBLNR field when the Payment proposal is run, in the transaction F110. Please help me with this, I have no idea about modifications of the standard transactions.

Look for FI substitution in [forums|http://www.sdn.sap.com/irj/scn/advancedsearch?query=fisubstitution#sdn_content_category_value_forums] and [wiki|http://www.sdn.sap.com/irj/scn/advancedsearch?query=fisubstitution#sdn_content_category_value_wiki].
Regards,
Raymond

Similar Messages

  • F110 payments documents data modification

    Hi Gurus:
    I need your help, cause I have a solve a client requeriment quickly.
    When I use F110 Tx (automatic mass payment), for pays via bank account, I need to copy some data from "invoices to pay" to payment documents asociated, because this data led me make a future correct bank account clearing. The relation between invoice and payment documents is one by one.
    For example, I have to copy the baseline date of a invoice (BSEG-ZFBDT) into the value date of a payment document (Bank position), or the assignment field of the invoice (BSEG-ZUONR) into the same field on the payment document.
    How I can do this?
    BTE's?
    User Exits?
    Sustitutions?
    How can use each solution?
    I hope your answers,
    It's very important for me find the solution to this problem.
    Thanks a lot.
    Rodrigo from Chile

    Hi Gurus:
    I need your help, cause I have a solve a client requeriment quickly.
    When I use F110 Tx (automatic mass payment), for pays via bank account, I need to copy some data from "invoices to pay" to payment documents asociated, because this data led me make a future correct bank account clearing. The relation between invoice and payment documents is one by one.
    For example, I have to copy the baseline date of a invoice (BSEG-ZFBDT) into the value date of a payment document (Bank position), or the assignment field of the invoice (BSEG-ZUONR) into the same field on the payment document.
    How I can do this?
    BTE's?
    User Exits?
    Sustitutions?
    How can use each solution?
    I hope your answers,
    It's very important for me find the solution to this problem.
    Thanks a lot.
    Rodrigo from Chile

  • UserExit or Customer Exit for F110 - '*' on Vendor Line Item Payment Run

    Dear all,
    Background
    Currently in F110, when processing for vendor payments, the item text ( or segment text) is only printed out when item text begins with an asterik ' * '. The asterik is meant to indicate that this document/item is posted from external system. You may do a F1 on the text field for detail explanation.
    In the event, asterik is not present on the item text even if the text is not blank, it will not be printed at all.
    Here are two OSS notes on the asteriks: 312623 and 1292333.
    Include: F110SFS0_SATZ_KOMPLETTIEREN
    *------- Segementtext
      IF REGUP-SGTXT(1) NE '*'.
        REGUP-SGTXT = SPACE.
      ENDIF.
    Requirement
    User is requesting for item text to be printed at all time, when the text exist, regardless of ' * '.
    Question
    Does anyone know of a user exit / customer exit that i could use to do modification for SGTXT ?
    Would appreciate it, if you could share your suggestions / experiences - on this matter, even if it doesn't need to be resolved through user exits.  Thanks in advance

    BTW..you have fot following exits for F110;
    Transaction Code - F110                     Parameters for Automatic Payment
    Enhancement/ Business Add-in            Description
    Enhancement
    RFFOX074                                Frame for user exit RFFOX074 (in program RFFOCH_U)
    RFFOX075                                Frame for user exit RFFOX075 (in program RFFOCH_U)
    RFFOX081                                Frame for user exit RFFOX081 (in program RFFOF__T)
    RFFOX082                                Frame for user exit RFFOX082 (in program RFFOF__T)
    RFFOX100                                Frame for user exit RFFOX100 (in program RFFOUS_T)
    RFFOX101                                Frame for user exit RFFOX101 (in program RFFOUS_T)
    RFFOX102                                Frame for user exit RFFOX102 (in program RFFOUS_T)
    RFFOX103                                Frame for user exit RFFOX103 (in program RFFOUS_T)
    RFFOX104                                user exit
    RFFOX105                                Frame for user exit RFFOX105 (in program RFFOUS_T)
    RFFOX200                                Frame for user exit RFFOX200 (in program RFFONZ_T)
    RFFOX210                                Frame for user exit RFFOX210 (in program RFFOAU_T)
    RFFOX211                                Frame for user exit RFFOX211 (in program RFFONZ_T)
    RFFOX230                                General program for user exit RFFOX230 (in program RFFOJP_L)
    RFFOX240                                Enhancement for User Exit 240 (RFFOAT_P)
    RFFOX250                                Enhancement for User Exit 250 (RFFODK_E)
    RFFOX901                                Framework for user exit RFFOX901 (in program RFFOM100)
    RFFOX902                                Framework for user exit RFFOX902 (in program RFFOM100)
    FDTAX001                                Enhancement to Transaction FDTA (event after the download)
    FEDI0002                                Function exits for EDI DOCS in FI - Incoming pyt adv.notes
    FEDI0003                                Function exits for EDI docs in FI - Save PEXR segments
    FEDI0004                                Function exits for EDI docs in FI - particular events
    FEDI0006                                Function Exits for EDI-docs in FI: Save IDCR Segments
    RFFOX003                                Frame for user exit RFFOX003 (in program RFFOM100)
    RFFOX041                                Framework for user exit RFFOX041 (in program RFFOBE_I)
    RFFOX042                                Framework for user exit RFFOX042 (in program RFFOBE_E)
    RFFOX043                                Framework for user exit RFFOX043 (in program RFFOBE_D)
    RFFOX061                                Frame for user exit RFFOX061 (in program RFFOCH_P)
    RFFOX062                                Frame for user exit RFFOX062 (in program RFFOCH_P)
    RFFOX063                                Frame for user exit RFFOX063 (in program RFFOCH_P)
    RFFOX064                                Frame for user exit RFFOX064 (in program RFFOCH_P)
    RFFOX065                                Frame for user exit RFFOX065 (in program RFFOCH_P)
    RFFOX066                                Frame for user exit RFFOX066 (in program RFFOCH_P)
    RFFOX071                                Frame for user exit RFFOX071 (in program RFFOCH_U)
    RFFOX072                                Frame for user exit RFFOX072 (in program RFFOCH_U)
    RFFOX073                                Frame for user exit RFFOX073 (in program RFFOCH_U)
    Business Add-in
    FI_BSTM_MC_EXIT                         FI Account Statement: Exit from MultiCash Conversion
    FI_F110_SCHEDULE_JOB                    F110: Check before scheduling a proposal/update run

  • F110 for vendor invoices which are debits and for credits BVTYP are used

    Dear all,
    I have the following situation:
    - 1 vendor with many documents to pay
    - some documents have 1 line item that is a debit (positive value in FBL1N)
    - this vendor has 2 bank accounts in master data and I would like to pay the second one, so the Partner Bank Type (BVTYP) field is filled with number 1 and 2
    - before payment at FBL1N, I execute the mass modification of all documents putting the number 2 at the BVTYP field
    - but when I execute the proposal at F110, only the documents with debit have error: No pymt possible because items with a debit bal, but the total is credit for vendor
    I have seen that when I do not fill the BVTYP field in the documents, the F110 is executed normally, I mean, it considers debits and credits (we have previously created a new payment form for this kind of vendors, one that could consider debits and credits).
    PS: at FBL1N, when I open the document with the debit item, it doesn't show the field BVTYP.
    Is there any kind of configuration that I have to make to F110 start considering the filled BVTYP field?
    Thanks in advance.
    Kathia Tsuboi

    Hi Abhi,
    I have created some queries for the same. COuld you help me if I am going in the rite direction.
    I have created a query to find the suppliers which are not being used in the POs for the past one year by using the below query: But for invoices and payments to be included, I am finding it a bit difficult....need help..............
    --FINAL QUERY                                  
    SELECT vendor_id, vendor_name, creation_date, last_update_date
    FROM po_vendors v
    WHERE v.end_date_active IS NULL
    AND v.enabled_flag = 'Y'
    AND NOT EXISTS (
    SELECT 1
    FROM po_headers_all h
    WHERE h.vendor_id = v.vendor_id
    AND h.creation_date(+) BETWEEN (SYSDATE - 365) AND (SYSDATE))
    ORDER BY vendor_id DESC
    Is it possible to send me the program so that it would be helpful for me to use it.
    email: [email protected]
    Help Greatly appreciated.
    Thanks
    Aman

  • Sorting F110 Printout by Vendor Line Items

    Folks,
    How can I sort the Payment prinouts from t-code F110 by Vendor and Line items.
    I tried looking at RFFORI01 but there is no place where I can sort and rearrange the
    items so that one page prinout will be printed first and multi page printouts later.
    I know I can copy RFFOUS_C to Z program and do changes but where to do
    the sorting logic.
    I tried looking at FBZP Transaction but in vain.
    Your help is appreciated

    Do not look at FBZP Transaction ,it is for configure print program and layout.
    GOTO SE38 ,copy print program to zprogram and do the modification.
    This program use Logical database - PYF
    sort  REGUP  by lifnr belnr buzei
    write the sort code after get regup in RFFOUS_C which is below of perform extract_vorbereitung.
    Once you done changes then configure the print program and layout in FBZP Transaction ( This will done by Functional guy ), now test it in F110 Transaction.
    Thanks
    Seshu

  • Check no in reference field in F110

    Hello,
    Is there a way for when the checks are processed to have this automatically populated in reference field of payment document  in transaction F110.
    Or can we put manually in F110. But I did not find the reference field in F110 to key in.
    Regards,
    Tapan

    Hello!
    1. Please review the below note                                    
       30380  RFFOUS_C - Check number not stored in document           
       As per note 30380,                                              
       Point 5. As of Release 4.0C Report RFCHKU00 is delivered in the 
       standard system which copies the check number into a selected   
       reference field of the document. You can this program.
    2. Also review                                                
       213551     F110: Reference document not transferred        
       335893     F110:Fill ref. document no. of payment doc w/
    These two notes above mention another to way fill your requirements. But, note 213551 is a modification note and you should read the documentation about modification notes before trying the solution.
    REgards,
    REnan

  • Change Value of the Payment Run (F110)

    Hi,
    Can someone help me??.....
    In a customer that has a payment term with a Settlement Discount that pays on time, when we run the F110 (Direct Debit Run) we do not want to apply the settlement discount amount to the amount of the Direct Debit run,  so the user pays the full amount. We will locate the amount of the settlemetn discount into a the customer account (in a special g/l indicator, like we are saving that money for them) and the settlement discount will not be posted.
    1º How can I modify the total amount in the F110 (Direct Debit Run)?, is there any user exit? so we can change the full amount of the
    2º How can we not post the Settlement Discount in the F110 (Direct Debit Run)?. Could it be with a G/L Substitution or via user exit modifing the REGUH and REGUP table.
    3º The posting into the customer account with the special G/L will be with a Z program that will identify this cases and post the correct G/L.

    Hi
    The cleanest way is to remove the settlement discount set up from the master. Any way you are using a Z program to post the settlement discount into teh customer account.
    Altering amounts in a automatically generated Payment Run is usually frowned on by Audit and the like.

  • F110 - Spool request

    Friends,
    after running the f110, system is generating all the payments and cheques, but in spool request it is showing only one cheque, in payment advice it is showing all the payment advices but all payment advices showing only one cheque number,
    why it is happening. kindly suggest.
    regards,

    Hi
    You should sit with ABAPer do the modification of Zprogram which you use for F110
    small code change
    pull data from REGUP table based on payment doc number
    Regards,
    Ramanuja

  • F110 - To print checks using smartforms in 4.6c version

    Hi All,
    Please help me on below queries.
    1.Client requirement is to upgrade the SCRIPT to SMARTFORMS in 4.6C.
    2.They were config script name in the company code level for PAYMENT method in FBZP, based on Checks were print  using standard program RFFOUS_C  in Transaction code F110, If we develop the SMARTFORM in 4.6C, we can not keep the Z<smartform> in config FBZP.
    Is there is any standard driver program for smart forms in 4.6c or ECC 6.0?,if it is there please give me the standard program.
    There is a PDF option in ECC6.0 using T.code: FBZP.
    Please tell me, That PDF option is supports the smart forms or others?
    Thanks & regards,
    Bala.

    Hie Bala
    I also have the same requirement where we have to do away with all SAP scripts and make use of Smartforms however you cannot maintain a smartform in TCODE FBZP. I am in the process of customizing program RFFOUS_C which i copied and making my modifications to.
    I have done away with the dynamic call for ZFORN which is called in program
    RFFORI01
    *Replaced the following code with call to FM for Smartform
            CALL FUNCTION 'OPEN_FORM'
                 EXPORTING
                      archive_index  = toa_dara
                      archive_params = arc_params
                      form           = t042e-zforn
                      device         = 'PRINTER'
                      language       = t001-spras
                      options        = itcpo
                      dialog         = flg_dialog
                 IMPORTING
                      RESULT         = itcpp
                 EXCEPTIONS
                      form           = 1.
    in line 355. 
    i have not yet completed my coding but i hope this information will guide you.
    regards
    Isaac Prince

  • BDC - Editing propose payment of F110.

    Hi everybody,
    I'm trying to create a BDC on F110 to edit the propose payment. But there is a ALV layout and i can't select the line to proccess modification on fields RZAWE HBKID HKTID.
    Someone know how i can do this? Like a BAPI or BDC?
    Regards,
    Fred.

    Hi everybody,
    I'm trying to create a BDC on F110 to edit the propose payment. But there is a ALV layout and i can't select the line to proccess modification on fields RZAWE HBKID HKTID.
    Someone know how i can do this? Like a BAPI or BDC?
    Regards,
    Fred.

  • F0273 - F110 - Printing program RFFOF__V - proposal run

    Hello,
    After changing document numbers ranges for company code BP01 in our
    development environment (duplicating fiscal year 2099 to 2011 and 2012,
    updating status of 2011 document number range to match current status of
    2099 fiscal year document range), we faced the following problem :
    It is not possible to create a proposal in F110 and to create the payment
    medias while creating the proposal. The error message :
    The following payment documents/payment orders were not updated
    (Result of the payment document update)
    CoCd Payment document/Payment order
    BP01 F110000001
    BP01 F110000002
    The accompanying payment media have not been generated
    ...is displayed in the logs of printing program. Using another company
    code - without the document number range modification -, there is no
    problem.
    When we want to run the payment run and tick "Create payment medium"
    while launching the payment run, we faced the same problem with the real
    documents. It was possible to print the payment medium after a few
    seconds, using the "printing" function of F110. After activating the
    field XSYUP in table T042C with value "X", the problem disappeared for
    the real payment run. In the proposal run, the problem still occurs.
    Would you have any explanation and potential solutions to solve this
    problem ?
    Thanks
    Florent

    Hi Florent,
    Check if you have the F0272 and F0273 errors, this result from (1) Update terminations or (2)
    Starting of the print program before postings are completed.
    The reason for the payment document not yet being updated in your case
    appears to be that the print job was started too early, (since there
    are no update terminations, check it at  SM13).
    Checking the print program variant, and when messages on the log are
    output: the system checks whether the 'validation of payment doc' is
    marked and if it is, it looks to see whether the document exists.
    If it does not the system issues the error, like in your case it
    probably happened.
    When this occurs, there are two options.
    1) Re-run the print program. If the invoices have been paid and clea-
        red then you can re-run program and mark the reprint button. This
        will allow you to regenerate the checks.
    The recommendation of note 855825 is valid for all RFFO* programs. In
    fact it's a generic recommendation and will help you in this case.
    Also let us know in case you are facing another issue, let us know the error numbers, it
    will help us in order to provide you some hints on how to fix it.
    I hope i could be of assistance.
    Kind Regards,
    Fernando Evangelista
    Edited by: Fernando Evangelista on Aug 29, 2011 3:17 PM

  • Replace RFFOEDI1 in transaction F110

    Hello
    I have made a copy of RFFOEDI1 which adds some custom functionality.
    Is it possible to replace RFFOEDI1 in transaction F110 in general or for a given payment method?
    As second best solution I would set the program in payment method/country (FBZP) as payment medium program. But then I still would have RFFOEDI1 listed in F110.

    Hi,
    There is no customizing where you can select any different report
    to manage the IDocs. This is hard-coded in the report:
    Include F110VTOP
    DATA:    ............
             KON_AVISR(8)        TYPE C VALUE 'RFFOAVIS',
             KON_EDIR(8)         TYPE C VALUE 'RFFOEDI1',
    Include F110VO00
      IF XFORMI IS INITIAL.
        DRPTAB-PROGN = KON_AVISR.
      ELSE.
        DRPTAB-PROGN = KON_AVISF.
      ENDIF.
      COLLECT DRPTAB.
      DRPTAB-PROGN = KON_EDIR.
      COLLECT DRPTAB.
    Therefore, if you need to set as default your own report for the IDocs,
    you need to do a modification to the standard program F110VTOP and
    substitute the line
             KON_EDIR(8)         TYPE C VALUE 'RFFOEDI1',
    replacing the report RFFOEDI1 by the report you need.
    regards,
    Fernando

  • Use Adobe Forms in F110 and Cash Journal Receipt

    Hello,
    I'm trying to change the standard Sapscript with the news standards in Adobe Forms, but seems that this two transactions don't want to change :P
    I search in the Support Portal, and found the note 774207, I made all the modifications and programs that the note says, but when I execute the FBCJ, the receipt don't show nothing (if I change again the program and form to the sapscript, the receipt works fine)
    And for the F110, have a similar problem: I change the form in the FBZP choosing PDF, my form is a copy of the standard F110_AVIS_INT, but when I try to print the form, I have this error (in the job log): Invalid value for parameter ARCHDEST.
    Has anyone an example about this changes? or an issue for my problem??
    Thanks!!!
    Diana
    PD: I'm working with program RFFOES_T

    Hi Bhavik,
    there is extensive documentation on creating PDF-based forms for printing in ABAP Workbench (transaction SFP) on the SAP Help Portal at http://help.sap.com/saphelp_nw04/helpdata/en/d2/4a94696de6429cada345c12098b009/frameset.htm.
    The infrastructure is identical (ADS on Java Engine) except that you need an ABAP backend (minimum 6.40) and the corresponding SAP GUI. You also need to create an HTTP connection from your ABAP system to the ADS in transaction SM59 (see ADS Configuration Guide).
    Your Adobe LiveCycle Designer installation from the NWDS should be OK, if you are working on the same frontend. (If you have difficulties with Designer, uninstall it and install it with the SAP GUI again).
    Note that Web Dynpro for ABAP integration is only supported as of NetWeaver 2004s (going into ramp-up with mySAP ERP 2005 this month), which means that interactive scenarios are more cumbersome to implement in ABAP with NetWeaver 04.
    Some of the things you get with the Web Dynpro framework (such as the return of data in interactive scenarios via the WD context) would need to be manually coded when working in SFP, which was designed for output forms.
    Hope this helps,
    Markus Meisl
    SAP NetWeaver Product Management

  • Error in BDC of F110 transaction?

    Hi,
    I am getting an error during the execution of the BDC in foreground Mode which is  "Field F110O-XPOS1(7) doesnot exist in the screen SAPF110O1003".
    This appears when i am trying to edit a payment proposal using BDC .
    Codes used in the main program are :
    PERFORM F4312_BDC_FIELD  USING 'BDC_CURSOR' 'F110O-XPOS1(07)'.
    PERFORM F4312_BDC_FIELD       USING 'BDC_OKCODE'     '=PI'.
    PERFORM F4312_BDC_FIELD       USING 'F110O-ABPOS'     '1'.
    PERFORM F4312_BDC_FIELD       USING 'F110O-XPOS1(01)'     ''.
    PERFORM F4312_BDC_FIELD       USING 'F110O-XPOS1(07)'     'X'.
    Is it possible that the screen feild name has changed from server to server because these codes are copied from old server to new one?

    Hi,
    This is my sample code for F110 BDC: This is a automated process for which we have written code.
    REPORT YF110_SAMPLE .
    tables: lfa1,
            t001,
            t042z,
            varid.
    DATA: i_bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.
    DATA: messtab TYPE TABLE OF bdcmsgcoll WITH HEADER LINE.
    DATA: po_date LIKE sy-datum.
    DATA: p_next LIKE sy-datum.
    DATA: p_run1(10),po_date1(10), p_next1(10).
    DATA: ws_laufd LIKE reguh-laufd,
          ws_laufi LIKE reguh-laufi.
    data: p_dele value space.
    data: ws_lines.
    SELECTION-SCREEN: BEGIN OF BLOCK blk1 WITH FRAME.
    PARAMETERS: p_run LIKE sy-datum obligatory.
    SELECTION-SCREEN: END OF BLOCK blk1.
    selection-screen: begin of block blk2 with frame .
    parameters: p_runid like reguh-laufi obligatory,
                p_land1 like t005-land1 obligatory.
    *select-options: p_bukrs for t001-bukrs no intervals obligatory.
    parameters: p_bukrs like t001-bukrs obligatory.
    parameters:  p_hbkid like t012-hbkid ,
                p_hktid like t012k-hktid ,
                p_waers like tcurc-waers .
    *select-options: p_rzawe for t042z-zlsch no intervals obligatory,
                   p_fvari for varid-variant no intervals obligatory.
    parameters:  p_rzawe like t042z-zlsch obligatory,
                p_FVARI like varid-variant obligatory.
                        matchcode object zfvari1.
    selection-screen: end of block blk2.
    *SELECTION-SCREEN: BEGIN OF BLOCK blk3.
    *PARAMETERS: p_dele AS CHECKBOX ."modif id DE.
    *SELECTION-SCREEN: END OF BLOCK blk3.
    *at selection-screen output.
    loop at screen.
       if screen-group1 = 'A1'.
         screen-input = '1'.
         modify screen.
       endif.
       if screen-group1 = 'DE'.
         screen-active = '0'.
         modify screen.
       endif.
    endloop.
    start-of-selection.
      ws_laufd = p_run.
      po_date = sy-datum. "p_run .
      perform get_next_date using po_date
                            changing p_next.
    p_next = p_run + 30.
      CONCATENATE p_run4(2) p_run6(2) p_run+0(4) INTO p_run1
          SEPARATED BY '/'.
      CONCATENATE po_date4(2) po_date6(2) po_date+0(4) INTO po_date1
          SEPARATED BY '/'.
      CONCATENATE p_next4(2) p_next6(2) p_next+0(4) INTO p_next1
          SEPARATED BY '/'.
      REFRESH messtab.
      CLEAR messtab.
      IF p_dele <> 'X'.
       PERFORM bdc_data USING:
                            'X' 'SAPF110V' '0200',
                            ' ' 'BDC_CURSOR' 'F110V-LAUFI',
                            ' ' 'BDC_OKCODE' '=PAR',
                            ' ' 'F110V-LAUFD' p_run1,
                            ' ' 'F110V-LAUFI' p_runid,
                            'X' 'SAPF110V' '0200',
                            ' ' 'BDC_OKCODE' '=LOG',
                            ' ' 'BDC_CURSOR' 'F110V-VONKK',
                            ' ' 'F110C-BUDAT' po_date1,
                            ' ' 'F110C-GRDAT' po_date1,
                           ' ' 'F110V-VONKK' s_vendor-low,
                           ' ' 'F110V-BISKK' s_vendor-high,
                            ' ' 'F110V-BUKLS(01)' p_bukrs,
                            ' ' 'F110V-ZWELS(01)' p_rzawe,
                            ' ' 'F110V-NEDAT(01)' p_next1,
                            'X' 'SAPF110V' '0200',
                            ' ' 'BDC_OKCODE' '=PRI',
                            ' ' 'BDC_CURSOR' 'F110V-VONKK(01)',
                            ' ' 'F110V-XTRFA' 'X',
                            ' ' 'F110V-XTRZW' 'X',
                            ' ' 'F110V-XTRBL' 'X',
                           ' ' 'F110V-VONKK(01)' s_vendor-low,
                           ' ' 'F110V-BISKK(01)' s_vendor-high,
                            'X' 'SAPF110V' '0200',
                            ' ' 'BDC_OKCODE'  '=STA',
                            ' ' 'BDC_CURSOR' 'F110V-VARI1(03)',
                            ' ' 'F110V-VARI1(03)' p_fvari,
    "'ZFID0060RWA218',
                            'X' 'SAPLSPO1' '0100',
                            ' ' 'BDC_OKCODE' '=YES',
                            'X' 'SAPF110V' '0200',
                            ' ' 'BDC_OKCODE' '/EBCK'.
                           'X' 'SAPF110V' '0200',
                           ' ' 'BDC_OKCODE'  '=SICH',
                           'X' 'SAPF110V' '0200',
                           ' ' 'BDC_OKCODE' '/EBCK',
                           'X' 'SAPF110V' '0200',
                           ' ' 'BDC_OKCODE' '/EBCK'.
                           'X' 'SAPLSPO1' '0100',
                           ' ' 'BDC_OKCODE' '=YES'.
                           'X' 'SAPF110V' '0200',
                           ' ' 'BDC_CURSOR' 'F110V-LAUFD',
                           ' ' 'BDC_OKCODE' '=VOEX',
                           ' ' 'F110V-LAUFD' p_run1,
                           ' ' 'F110V-LAUFI' p_runid,
                           'X' 'SAPF110V' '1106',
                           ' ' 'BDC_CURSOR' 'F110V-STRDT',
                           ' ' 'BDC_OKCODE' '=EP',
                           ' ' 'F110V-STRDT' p_run1,
                           ' ' 'F110V-XSTRF' 'X',
                           ' ' 'F110V-STRZT' '00:00:00'.
        FREE MEMORY.
        CALL TRANSACTION 'F110' USING i_bdcdata MODE 'A'
                                                UPDATE 'S'
             MESSAGES INTO messtab.
    break-point.
        if sy-subrc = 0.
       CALL FUNCTION 'SCHEDULE_PAYMENT_PROPOSAL'
         EXPORTING
           i_laufd                 = p_run
           i_laufi                 = p_runid
          I_STRDT                 = sy-datum
          I_STRZT                 =
          I_XSTRF                 = 'X'
          I_BHOST                 =
          I_INKEY                 =
          I_PTYPE                 = 1
          I_CALLREP               =
          I_CALLVAR               =
        EXCEPTIONS
          STARTDATE_WRONG         = 1
          PARAMETERS_MISSED       = 2
          LOCK_FAILED             = 3
          JOB_OPEN_FAILED         = 4
          JOB_CLOSE_FAILED        = 5
          OTHERS                  = 6 .
       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:/ 'Proposal Successfully Generated..'.
           refresh i_bdcdata. clear i_bdcdata.
            perform bdc_data      using: 'X' 'SAPF110V' '0200',
                              ' ' 'BDC_CURSOR' 'F110V-LAUFD',
                              ' ' 'BDC_OKCODE' '=ZAEX',
                              ' ' 'F110V-LAUFD' p_run1,
                              ' ' 'F110V-LAUFI' p_runid,
                              'X' 'SAPLSPO1'   '0100',
                              ' ' 'BDC_OKCODE' '=YES',
                              'X' 'SAPF110V' '1106',
                              ' ' 'BDC_CURSOR' 'F110V-XSTRF',
                              ' ' 'BDC_OKCODE' '=EP',
                              ' ' 'F110V-STRDT' p_run1,
                              ' ' 'F110V-XSTRF' 'X',
                              ' ' 'F110V-STRZT' '00:00:00',
                              ' ' 'F110V-XMITD' 'X'.
    break-point.
          CALL TRANSACTION 'F110' USING i_bdcdata MODE 'A'
                                                UPDATE 'S'
             MESSAGES INTO messtab.
          if sy-subrc = 0.
              write:/ 'Payment Run Scheduled'.
          endif.
        endif.
       endloop.
        SELECT single laufd laufi INTO (ws_laufd,ws_laufi) FROM reguh
          WHERE laufd = p_run
            AND laufi = p_runid
            AND xvorl = 'X'.
          IF sy-subrc <> 0.
            WRITE:/ 'Error in Proposal Run',p_runid,' dated ',p_run.
          ENDIF.
        ELSE.
            CALL FUNCTION 'DELETE_PAYMENT_PROPOSAL'
              EXPORTING
                date                      = p_run
                identification            = p_runid
              I_DATUM                   =
             EXCEPTIONS
               ABNORMAL_END              = 1
               NO_DELETE_AUTHORITY       = 2
               OTHERS                    = 3
            if sy-subrc = 0.
              write:/ 'Proposal ',p_runid, ' Successfully deleted.'.
            endif.
        ENDIF.
    Form
    FORM bdc_data USING    a
                           b
                           c.
      CLEAR: i_bdcdata.
      IF a = 'X'.
        i_bdcdata-program = b.
        i_bdcdata-dynpro =  c.
        i_bdcdata-dynbegin = 'X'.
      ELSE.
        i_bdcdata-fnam = b.
        i_bdcdata-fval = c.
      ENDIF.
      APPEND: i_bdcdata.
    ENDFORM.
    *&      Form  get_next_date
    FORM get_next_date USING    PO_DATE
                       CHANGING P_NEXT.
        data: i type i,
              p_date like sy-datum.
        i = 0.
        p_date = po_date.
        while i <= 4.
          p_date = p_date + 1.
          CALL FUNCTION 'DATE_CHECK_WORKINGDAY'
            EXPORTING
              DATE                             = p_date
              FACTORY_CALENDAR_ID              = 'WY'
              MESSAGE_TYPE                     = 'E'
           EXCEPTIONS
             DATE_AFTER_RANGE                 = 1
             DATE_BEFORE_RANGE                = 2
             DATE_INVALID                     = 3
             DATE_NO_WORKINGDAY               = 4
             FACTORY_CALENDAR_NOT_FOUND       = 5
             MESSAGE_TYPE_INVALID             = 6
             OTHERS                           = 7  .
          IF SY-SUBRC <> 0.
            continue.
          else.
            i = i + 1.
          ENDIF.
        endwhile.
        p_next = p_date.
    ENDFORM.                    " get_next_date
    Regards
    Subramanian

  • Error in F110 transacion - CNTL_ERROR

    We are rececived the following error message when execute the F110 transaction:
    Short text
        Exception condition "CNTL_ERROR" raised.
    Error analysis
        A RAISE statement in the program "CL_GUI_CFW====================CP" raised the
         exception
        condition "CNTL_ERROR".
        Since the exception was not intercepted by a superior
        program, processing was terminated.
        Short description of exception condition:
        For detailed documentation of the exception condition, use
        Transaction SE37 (Function Library). You can take the called
        function module from the display of active calls.
    How to correct the error
        If the error occures in a non-modifie
        find an interim solution in an SAP No
        If you have access to SAP Notes, carr
        keywords:
        "RAISE_EXCEPTION" " "
        "CL_GUI_CFW====================CP" or
        "UPDATE_VIEW"
        or
        "CL_GUI_CFW====================CP" "C
        or
        "SAPF110O " "CNTL_ERROR"
    Please I need your help.
    Thanks.

    Hello!
    CNTL_ERROR,  this error is described in note:                                                                               
    316243 - Exception CNTL_ERROR or dump in SAPLOLEA                                                                               
    So the error is related to SAP GUI.                                                                               
    So could you please try the followings in one affected workstation :                                                                               
    1 -  remove current SAPGUI from Start -> Control panel -> Add/remove.    
    2 - After this, please make sure that the folder                         
        c:\program files\SAP\Frontend is properly removed. Otherwise delete  
        it manually.                                                         
    3 - Empty the recycle bin and reboot the computer                        
    4 - Re-install the latest GUI patch, refer to note  14751  or  563161.
                                                                                    After this, the dump should not occur.                                   
    REgards,
    REnan

Maybe you are looking for

  • Errors in calling web-service from pl/sql

    Hello All, Morning , we are getting the errors mentioned here (ORA-29261 bad argument , ORA-06512 at SYS.UTL_HTTP) while calling the composite (having a bpel process) deployed on 11g WLS server. From PL/SQL side we are calling this by forming the soa

  • Wrap with toad

    Hi all. I just wraped a update file with toad 9.7.2.5. (utilities>wrap code) but the result ".plb" file is not really wrapped. I choose "open with" select notepad or any text editor and booom!! the code is readable.. what am I doing wrong? regards!

  • Burning info CD's using Disk Utility?

    Ok, I've got a combo drive (a few years old, on my iBook G3). I'm trying to burn information CDs using Disk Utility. I've got the dmg in disk utility, I select it and click burn. It then asks what speed I want to burn the disk at etc etc. So, I selec

  • Reports Server Startup Problem

    guys i am stucked up in the very beginning. When i try to startup the Reports Server from AS Enterprize manager it shows that the server is started. But it crashes at the moment it starts. When i enable the report server tracing then i found that it

  • Problem when migrate MS Exchange to virtual machine

    Hi, I have a SMTP node defined in my Solution Manager which send mails to external MS Exchange host without problems. There is a project for migrate Exchange to a virtual machine. When I modify the SCOT configuration for send mails to new virtual hos