BP Ref Nbr in Incoming Payments

whenever my users are trying to create an incoming payment, we want the Doc Nbr to be shown at all times. But for some reason they are able to see only the BP Ref Nbr in the incoming payment grid. Although we go to Form settings and check OFF the BP ref nbr, the next time they close and reopen the Incoming Payment screen, that check mark for BP Reference Nbr comes back again.
Can i change it once and for all , to make it that only DOC Number shows and not the BP Ref Nbr in the GRID. If yes where can i change this setting to be default for all my users.
Thanks
raghu

Hi,
Please check the following steps :
Goto the Incoming Payment and uncheck the box reference number and check the box document number.
Then close the incoming payment window and re-open. You will see that the document number column is appearing and not the BP reference number.
Also, check Note No.  :  715714 regarding the issue.
Kind Regards,
Jitin
SAP Business One Forum Team

Similar Messages

  • Customer Vendor Ref. No. in Incoming Payment

    B1 8.8 PL14 and PL18
    Are we able to include the Customer Vendor Reference Number in the Incoming Payment?
    1. Open Incoming Payment
    2. Select Form Settings
    3. Cust./Vendor Ref No is selected as Visible but the Incoming Payment window does not display the Cust./Vendor Ref. No.
    I then Deselect Cust./Vendor Ref No in the form settings and Click OK.  Then I open the Form Settings window and the Cust./Vendor Ref No. is still set as visible. 
    What am I missing?

    This is what I did and is seams to be working.
    1. Tools -> Customization Tools -> User Defined Field - Management
    2. Expand Payments
    3. Click Paid Documents
    4. Click Add Button
    5. Create a query to auto-populate the field
    SELECT T0.[NumAtCard] AS 'BP Reference No.' FROM  [dbo].[OINV] T0  WHERE T0.[DocNum] = $[$20.1.0]
    6. Save the Query
    7. Open the Incoming Payment window
    8. Place cursor in the new field and select Tools -> Customization Tools -> User-Defined Values - Setup
    9. Select Search in Existing User-Defined Values according to Saved Query
    10. Select the Saved Query
    11. Select Auto Refresh
    12. Select When Field Changes
    13. Select Customer/Vendor Code

  • Cust / Vend Ref No. Column in Incoming Payment

    hii all, how do i show "cust / vendor ref no." column in incoming payment menu ?
    thanks for every comments.

    Hi Ivin,
    In SAP B1 Behaviour, It is not possible to get the Row Level Details on Incoming Payments PLD.
    Normally it is not able to retrieve in Repetetive Area Fields on Incoming Payments PLD.
    Customer/Vendor Reference No. is HardCoded in Incoming Payments.
    but Other Invoice Payments Details are Stored in Table -> RCT2 - Incoming Payments - Invoice.
    But, Customer/Vendor Reference No. is have Default in System PLD. See the Incoming Payments(System) PLD.
    ->> Open the Incoming Payments Doc. and put the Tick mark of Customer/Vendor Reference No
    field in Repetetive Area (in SAP B1 2005B) or put the Tick mark of Customer/Vendor Reference No in TOP of
    the Repetetive Area (in SAP B1 2007B).
    ->> Add the Incoming Payments Doc.
    ->> Open the Incoming Payments(System) PLD.
    ->> Documents Payment (Variable)Field in End of Report On System PLD.
    Documents Paid Variable - 130.
    ->> Documents Payments Field will display the Customer/Vendor Reference No. and A/P Invoice No.,
    Date and Total Amount (or) Journal Entry No., Date and Total Amount .
    Otherwise, if you need the Customer/Vendor Reference No. in Repetetive Area. Try to Query PLD.
    Regards,
    Madhan.

  • Invoice details in Incoming Payment

    Dear All,
    we are making incoming payment against invoice. In Pld for incoming payments i want details of invoice (Invoice Number and Invoice Amount) against which receipt entry is made.
    Ex:
    Account Code...........Account Name......................................................Amount
    A0001.....................ABC
    ..............................Invoice Number 12..................................................1000  
    .....................................................13..................................................1500
    and so on ...
    I have tried in PLD but not able to get the OINV table in PLD. Is there any other option to get this details.
    Swapnil
    Edited by: SWAPNIL PATIL on Mar 20, 2009 9:50 AM

    Dear Friend,
    Which query u sended that working fine for Incomeing Payments. But ih this ur matching
    T1.DocEntry = T2.DocEntry. Means suppose in Income Payment entry there is no Invoice entry then it is not showing. But i want to show that entry also. Please refer the following formatt.
    SELECT T0.DocNum, T0.DocDate, T0.CardCode,T2.DocNum,   T1.SumApplied FROM [dbo].[ORCT]  T0 INNER JOIN RCT2 T1 ON T0.DocNum = T1.DocNum INNER JOIN OINV T2 ON T1.DocEntry = T2.DocEntry
    Formatt:
    Account Code...........Account Name......................................................Amount
    A0001.....................ABC
    ..............................Invoice Number 12..................................................1000
    .....................................................13..................................................1500
    and so on ...
    .................................................................................Total...................2500
    In that suppose Invoice not available in that then Total is not showing. But i want to show Total for Incomeing Payment. Can u plz tell me how to solve that proble.
    Swapnil

  • Create A/R Invoice and Its Incoming Payment using DI Server

    Hi Everyone,
    I need to create an A/R Invoice and its payment in a sigle transaction using DI Server. The problem is that I don't know the DocEntry that will be assigned to the invoice in order to set it in the SOP message for creating the incoming payment.
    I guess the SOAP message should look like:
    <?xml version="1.0" encoding="UTF-16"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header>
      <SessionID>F46EDCE6-3F79-1F9F-1D1E-DC6226D04FA7</SessionID>
    </env:Header>
    <env:Body>
    <dis:AddObject xmlns:dis="http://www.sap.com/SBO/DIS" CommandID="Add invoice">
      <BOM>
       <BO>
        <AdmInfo>
         <Object>oInvoices</Object>
        </AdmInfo>
        <Documents>
         <row>
          <DocDate>20040707</DocDate>
          <DocDueDate>20040707</DocDueDate>
          <CardCode>BP</CardCode>
         </row>
        </Documents>
        <Document_Lines>
         <row>
          <ItemCode>Item1</ItemCode>
          <Quantity>3</Quantity>
          <TaxCode>My Tax</TaxCode>
         </row>
        </Document_Lines>
      </BO>
      </BOM>
      </dis:AddObject>
      <dis:AddObject xmlns:dis="http://www.sap.com/SBO/DIS" CommandID="Add Incoming Payment">
      <BOM>
       <BO>
        <AdmInfo>
           <Object>oIncomingPayments</Object>
        </AdmInfo>
        <Payments>
           <row>
               <CardCode>BP</CardCode>
               <DocTypte>rCustomer</DocTypte>
           </row>
       <Payments>
       <Payments_Invoices>
            <row>
                 <DocEntry>???</DocEntry> <---- ???
                 <InvoiceType>it_Invoice</InvoiceType>
                <SumApplied>100</SumApplied>
            </row>
       </Payments_Invoices>
       </BO>
      </BOM>
    </dis:AddObject>
    </env:Body>
    </env:Envelope>
    Any help?

    Dear Hugo Moreno,
    You could use the GetNewObjectCode Method of the Company Object to retrieves the key of the last added record.
    Please refer to SDK DI API help for this method.
    Best Regards
    Jane Jing
    SAP Business One Forums team

  • Customer Tolerance for all open item selected in an incoming payment.

    Hi Experts
    I have set a tolerance of 5 $ in OBA3 to be written off to Bad Debts account. This  settings are working fine when an incoming payment is entered in F-28.
    My requirement is, in F-28 I enter the Document Date, Posting Date, Company Code, Currency, REF, Doc.Header Text in the document header & enter the Bank Account, Amount and Text, then instead of entering the customer account in open item selection, I selet the process open items and Select the Reference as the selection criteria and enter a list of references (for clearing a Batch of open items for different customers).
    Standard tolerance functionality will check if the complete incoming document meets the specified tolerance limits set in OBA3. But I want the tolerance of 5 $ specified to be applied for all the open items selected to be cleared with the incoming payment.
    I understand that tolerance will be applied when the amount entered and amount of the open items (total) is within the specified tolerance.
    But is there any option which will check if each of the open item selected for processing short of 5 $ and then write off to the bad debt account specified in OBXL.
    Do we have any user exit, or BADi or can we use any of the BTE functionality to achieve this.
    Kindly give your valuable inputs..
    Thanks in Advance.
    KIM Khan.

    Kim,
    Did you get answer to this question? If so can you please share with me?
    Thanks

  • INCOMING PAYMENT  ISSUE

    I need to post Incoming Payment for a customer via SDK.
    This case I have to select all transaction like ( AR INVOICE , ADVANCE AMOUNT IN INCOMING PAYMENT, CREDIT JE ,DEBIT JE ,OUTGOING PAYMENT,A/R DOWN PAYMENT , A/R CREDIT MEMO )
    ERROR CODE is: BASE DOCUMENT ENTRY AND TARGET DOCUMENT ENTRY DOES NOT MATCH
    i need some explainable about doc-line concept , where and in which case  we have to give docline property
    Thanks in Advance

    Dear Jaykumar / Tausif,
    In AR customer ref no. set one FMS like  (Copy sequence in Customer Ref no.) and fetch your Sequence number in your customer ref no.
    its sole your incoming payment issue problem and agging reports also.
    Try its manually first and let me know.
    Regards
    Mangesh Pagdhare
    Edited by: MANGESH  PAGDHARE on Aug 4, 2011 7:22 AM

  • Incomming payment screen - form settings

    On form settings for incomming payment screen, the box show cust ref no is checked yet the field does show on the grid.
    Version 2007
    Anyone have any idea why?

    Keith,
    It is showing up on mine, I am on 2007A PL44.  Do you have under form settings-Document-General-BP Reference number checked?  What patch are you on?
    Karl
    Edited by: Karl Heagle on Dec 30, 2008 7:19 PM

  • T code for Total incoming payment

    Dear friends
    I want to know the the Tcodes / menupath for the following reports.
    1. The total incoming payment received from a particular e PAYER/Customer.
    2. The total outstanding payment of a particular payer/ customer.( goods have been despatched and invoice has been raised but payment has not been made.)
    Thanks & regards
    debasish

    Hi:
    for Incoming Payment
    Manually F-28 - Incoming Payments
    Automatic payment Program - F110
    For   outstanding payment of a particular payer/ customer
    Refer to T.code
    FBL5N - Display/Change Line Items
    Input customer account,Company code and select open items radio button.
    You will able to see all the oustanding recievables or open items from customer.
    Please let me know if you need more information.
    Assign points if useful.
    Regards
    Sridhar M

  • How to Post Incoming Payments

    Hi,
    I request you to explain the process involved to post incoming payments in F-28. Please let me know how I can track the Account number under Bank data of a customer and also what document type to be selected?
    If I select document type u2013 DZ system is asking an entry is required in field reference. My idea is to clear all the invoices of a customer.Please guide me what steps to be done to clear invoices of a customer.
    Please advice me.
    Thanks,
    Victor.

    Hi Victor,
    F-28 is using for customer incoming payment. In F-28,
      give doc. date,
      doc. type as DZ,
      Co. Code,
      Posting Date,
      Period, currency,
      Ref. No. in refe. field,
      no need to give doc. no.,
      give doc. header text,
      and give bank a/c. no.,
      amount,
      if bank charge applicable give bank charge amouunt otherwise no need to give,
      value date,
      header text and
      give customer no. and
      select process open item,
      then it will go another one screen and
      select select all button and select deactivate then all transacton figures will appear in block colour
      if the payment is full payment select standard tab, if it is partial select partial tab and if it is residual   payment select residual payment
      then select doc. no. for tracing invoice and click double click... it will shows blue colour
      in that below in Editing Status, the amount entered field and amount assigned field will be same and   the not assigned field should be in Zero. then only u can save. otherwise u can not save the doc.
    I think this will clear idea to u for Incoming payment process.....

  • Post an incoming payment ( check ) against an invoice

    Hi
    I am trying to post an incoming payment ( cheque ) against an invoice. I keep getting no matching records found ( odbc error -2028 )
    Has anyone got a simple example I could use as a comparison please ?
    Thanks
    Regards Andy

    I had a similar problem.  Just make sure you have the proper Invoice number and that everything exist in SAP
    This error means that to create your incoming payment, the SDK needs everything created prior to make an incoming payment.   Exactly as if you would do it in SAP
    So just make sure everything is there and that you refer to the right Invoice
    Good luck

  • Cstomer customer invoice settlement against Incoming payment

    Dear All
    We have a problem during customer invoice settlement against incoming payment that shown for the partial payment as a new document creation. The scenario as shown below,
         Doc No      Amount
    180000001   50000.00 ;   - Invoice
    140000001   25000.00-   - Incoming Payment / partial payment  
    balance         25000.00 ; - create a new doc no ( but we need setoff to invoice no)
    i.e:
    180000001       25000.00
    any BAPI to apply over come this problem ?
    Thanks
    Madhawa

    Dear:
                  Please refer to the following link, the same question was raised by me
                  Invoice reference field in F-28
                  Regards

  • BDC / Bapi For  Post Incoming Payment (F-28)

    Hi
    Im creating BDC for F-28. But it got error coming out.
    >> It says DB05B-PSZAH(02) is not an input field.
    What I do is: First, I search for Line Item then Document Number. Then It return to basic list. Then I loop again for the second Line Item Number and Document Number.
    I can activate the first amount but cannot for the next amount and so on.
    Anybody could help me on this??
    Is there any BAPI for Post Incoming Payment (F-28)?
    Thank you.
    Regards.

    i dont think there is a BAPI for this Transaction...
    i have done a BDC on F-28 myself....pasting the code....hope it helps you....
    *******NOTE********
    the parameter in the subroutine is to see if there is a single document or multiple documents being posted.
    FORM fill_bdc_data_f-28_9005 USING p_i_mult_doc TYPE c.
    **BDC from screen 9005
      DATA : l_amt_bdc(13), l_amt_bdc_remain(13), l_amt_bdc_mult(13),
             l_amt_bdc_mult_remain(13), l_assignment(14), l_period(2),
             l_amount(13).
      CLEAR t_bdcdata.
      REFRESH t_bdcdata.
      PERFORM bdc_dynpro USING 'SAPMF05A' '0103'.
      PERFORM bdc_field USING 'BDC_OKCODE' '=AB'.   "OK CODE - doc overview
    **get user default date format and pass date in that format
      PERFORM convert_date_to_user_format USING bkpf-bldat.
      PERFORM bdc_field USING 'BKPF-BLDAT' w_date.  "cheque date
      CLEAR w_date.
      PERFORM bdc_field USING 'BKPF-BLART' i_blart.  "doc type
      PERFORM bdc_field USING 'BKPF-BUKRS' i_bukrs.  "comp code
    **get user default date format and pass date in that format
      PERFORM convert_date_to_user_format USING bkpf-budat.
      PERFORM bdc_field USING 'BKPF-BUDAT' w_date.  "posting date
      CLEAR w_date.
      l_period = sy-datum+4(2).
      PERFORM bdc_field USING 'BKPF-MONAT' l_period. "period
      PERFORM bdc_field USING 'BKPF-WAERS' 'INR'.    "currency
      PERFORM bdc_field USING 'BKPF-BKTXT' i_bankl.  "doc. hdr. text
      PERFORM bdc_field USING 'BKPF-XBLNR' i_xblnr.  "Ref. Document No.
      PERFORM bdc_field USING 'BSEG-ZUONR' i_zuonr.  "Assignment(Depot Code)
      PERFORM bdc_field USING 'RF05A-KONTO' i_bank_gl. "Bank GL acc
      PERFORM bdc_field USING 'BSEG-GSBER' i_gsber.  "Business Area
      l_amount = bseg-wrbtr.
      PERFORM bdc_field USING 'BSEG-WRBTR' l_amount. "Amount
      PERFORM bdc_field USING 'BSEG-PRCTR' ''.  "Profit Center
    **open items data
      PERFORM bdc_field USING 'RF05A-AGKOA' 'D'.     "Acc type (D=customers)
      PERFORM bdc_field USING 'RF05A-XNOPS' 'X'.     "Std OIs check box
    **end of first screen
    **document overview screen
      PERFORM bdc_dynpro USING 'SAPMF05A' '0700'.    "Overview Screen
      PERFORM bdc_field USING 'BDC_CURSOR' 'RF05A-AZEI1(01)'.     "cursor
      PERFORM bdc_field USING 'BDC_OKCODE' '/00'.     "OK CODE
      PERFORM bdc_field USING 'RF05A-NEWBS' '19'.    "posting key
      PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
      PERFORM bdc_field USING 'RF05A-NEWUM' 'B'.     "Spl GL Indicator
    **for single document selected
      CLEAR l_amt_bdc.
      IF p_i_mult_doc = ''.
    ***new screen - next line item
        PERFORM bdc_dynpro USING 'SAPMF05A' '0303'.
        PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.    "OK CODE
    **for single document, use the bouncing amount calculated earlier
        l_amt_bdc = w_amt_ant_bouncing.
        PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc. "amount
    **due date - same as posting date on screen
    **get user default date format and pass date in that format
        PERFORM convert_date_to_user_format USING bkpf-budat.
        PERFORM bdc_field USING 'BSEG-ZFBDT' w_date.  "due date
        CLEAR w_date.
    **assignment
        CLEAR l_assignment.
        CONCATENATE t_seldoc_ant_bouncing-belnr
                    t_seldoc_ant_bouncing-gjahr INTO l_assignment.
        PERFORM bdc_field USING 'BSEG-ZUONR' l_assignment. "assignment
        PERFORM bdc_field USING 'BSEG-GSBER' i_gsber.
    **if there is some remaining amount, then go for another line item
        IF w_rem_amt_ant_bouncing > 0.
          PERFORM bdc_field USING 'RF05A-NEWBS' '15'.    "posting key
          PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
    **new screen
          PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
          PERFORM bdc_field USING 'BDC_CURSOR' 'BSEG-ZTERM'. "CURSOR
          PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.    "OK CODE-ENTER
          l_amt_bdc_remain = w_rem_amt_ant_bouncing.
          PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_remain.
          PERFORM bdc_field USING 'BSEG-ZTERM' '0001'.
    **AGAIN
          PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
          PERFORM bdc_field USING 'BDC_CURSOR' 'BSEG-WRBTR'. "CURSOR
          PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.    "OK CODE-SAVE
          PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_remain.
          PERFORM bdc_field USING 'BSEG-ZTERM' '0001'. "pmt term -hardcoded
          PERFORM bdc_field USING 'BSEG-SKFBT' l_amt_bdc_remain.
        ENDIF.
    **multiple documents
      ELSE.
    **initialize remaining amount to amt entered on screen
        l_amt_bdc_mult_remain = bseg-wrbtr.
        LOOP AT t_seldoc_ant_bouncing.
          IF l_amt_bdc_mult_remain > 0.
            IF bseg-wrbtr > t_seldoc_ant_bouncing-rem_amt.
              l_amt_bdc_mult = t_seldoc_ant_bouncing-rem_amt.
            ELSE.
              l_amt_bdc_mult = bseg-wrbtr.
            ENDIF.
    **remaining amt = screen amt - amt calculated above.
            l_amt_bdc_mult_remain = l_amt_bdc_mult_remain - l_amt_bdc_mult.
            PERFORM bdc_dynpro USING 'SAPMF05A' '0303'.
            PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.    "OK CODE
            PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_mult. "amount
            PERFORM bdc_field USING 'BSEG-GSBER' i_gsber.  "Business Area
    **due date - same as posting date on screen
    **get user default date format and pass date in that format
            PERFORM convert_date_to_user_format USING bkpf-budat.
            PERFORM bdc_field USING 'BSEG-ZFBDT' w_date.  "due date
            CLEAR w_date.
    **assignment
            CLEAR l_assignment.
            CONCATENATE t_seldoc_ant_bouncing-belnr
                        t_seldoc_ant_bouncing-gjahr INTO l_assignment.
            PERFORM bdc_field USING 'BSEG-ZUONR' l_assignment. "assignment
    **posting key 19 for all but last document
            PERFORM bdc_field USING 'RF05A-NEWBS' '19'.    "posting key
            PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
            PERFORM bdc_field USING 'RF05A-NEWUM' 'B'.     "Spl GL
          ENDIF.
        ENDLOOP.
      ENDIF.
    **post remaining amount
      IF p_i_mult_doc = 'X'.
    **new screen if there is some amount left
        IF l_amt_bdc_mult_remain > 0.
    **posting key 15 with remaining amount
          PERFORM bdc_field USING 'RF05A-NEWBS' '15'.    "posting key
          PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
          PERFORM bdc_field USING 'RF05A-NEWUM' ''.     "Spl GL
    **new screen
          PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
          PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.    "OK CODE
          PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_mult_remain.
          PERFORM bdc_field USING 'BSEG-ZTERM' '0001'. "pmt term - hardcoded
        ELSE.
    **if no amount is left, no need for a further line item
          PERFORM bdc_field USING 'RF05A-NEWBS' ''.    "posting key
          PERFORM bdc_field USING 'RF05A-NEWKO' ''. "customer
          PERFORM bdc_field USING 'RF05A-NEWUM' ''.     "Spl GL
        ENDIF.
      ENDIF.
    **clear variables
      CLEAR : l_amount, l_assignment, l_amt_bdc,
              l_amt_bdc_remain,l_amt_bdc_mult, l_amt_bdc_mult_remain.
    ENDFORM.                    " fill_bdc_data_F-28_9005

  • BAPI on Post Incoming Payment (F-28) Enquiry

    Hi all,
    I try to look for BAPI on F-28 and I had search for many info. However, I found that 1 thread saying that we can have 'BAPI_ACC_GL_POSTING_POST' to do.
    Refer to this site:
    bapi is used to 'post incoming payments (t-code F-28)'
    However, I found that the BAPI is used for transaction FB50. Generally, I use the F-28 to post incoming payment for AR. So I am not so sure that the BAPI can work.
    Besides that, I found another thread claim that no BAPI for the F-28. Refer to this site:
    https://www.sdn.sap.com/irj/sdn/profile?userid=677412
    As my research, I cant find the appropriate BAPI. Please give me some idea on how the BAPI work, and any correct BAPI can be used? Frankly, I a bit confused now.
    Thanks and regards.
    Cheers,
    Isaac

    Kindly go through this. I thjink it will clear you.
    Pattern in which function modules are called
    The function module fi_document_process is called 4 times and finally document_post is called once which updates the tables.
    Step 1. Call FI_DOCUMENT_PROCESS
    Import Parameters
    I_GJAHR     LIKE     TRWCA- YEAR
    I_PROCESS     LIKE     TRWPR-PROCESS
    I_EVENT     LIKE     TRWPR-EVENT
    Tables
    T_BKPF          LIKE     BKPF
    T_BSEG          LIKE     BSEG
    T_BSEGZ     LIKE     BSEGZ
    T_ACCIT_EXT     LIKE     ACCIT_EXTENSION   
    Values to populate import parameters
          i_gjahr                 = '2007'     “Fiscal year from the screen
          i_process              = 'BELEG'    “Constant, can be hard coded
          i_event                  = 'CRBSEGZ'   “Constant, can be hard coded
                  xbkpf-bukrs '1000'.            “ Company code from the screen
                  xbkpf-belnr '$1'.              “ constant , can be hard coded
                  xbkpf-gjahr '2007'.             “ Fiscal Year , from the screen
                  xbkpf-blart 'DZ'.              “ Can be obtained from the invoice document
                  xbkpf-bldat '20070116'.      “ Document Date, from the screen
                  xbkpf-budat ’20070118'.      “ Posting Date , from the screen
                  xbkpf-monat '01'.                  “ constant , can be hard coded
                  xbkpf-wwert '20070118'.       “ posting Date
                  xbkpf-usnam 'SAPUSER'.       “ user name
                  xbkpf-tcode 'FBZ1'.               “ Constant, can be hard coded
                  xbkpf-waers 'EUR'.                 “ currency, from the screen
                  xbkpf-glvor 'RFBU'.                “ constant can be hard coded
                  xbkpf-awtyp 'BKPF'.                “ constant, can be hard coded
                  xbkpf-fikrs ’1000'.              “ customer account number, from the screen
                  xbkpf-hwaer 'EUR'.              “ Currency, from the screen
                  xbkpf-awsys 'ECCCLNT800'.    „can be hard coded
    xbseg Record 1
          xbseg-bukrs  '1000'.           “ Company code from the screen
          xbseg-belnr  '$1'  .           “ constant , can be hard coded
          xbseg-gjahr  '2007'.            „ Fiscal Year, from the screen
          xbseg-buzei  ’001'.             “ constant , can be hard coded
          xbseg-bschl  '40'.          “ constant , can be hard coded
          xbseg-koart  'S'.          “ constant , can be hard coded
          xbseg-shkzg  'S'  .           “ constant , can be hard coded
          xbseg-dmbtr  '10'.           „ Amount, from the screen
          xbseg-wrbtr  '10'.           „ Amount, from the screen
          xbseg-pswbt  ’10'.           „ Amount, from the screen
          xbseg-pswsl  'EUR'.           „ Currency, from the screen
          xbseg-valut  ’20070118'.        “ Posting date, from the screen
          xbseg-altkt  '0000110100'.
          xbseg-vorgn  'RFBU'.      “ constant , can be hard coded
          xbseg-fdlev  'B9'.           “ constant , can be hard coded
          xbseg-fdwbt  '10'.            „ Amount, from the screen
          xbseg-fdtag  '20070118'.        “ Posting date, from the screen
          xbseg-kokrs  ’1000'.             “ Customer account
          xbseg-xkres  'X'.           “ constant , can be hard coded
          xbseg-xopvw  'X'.            “ constant , can be hard coded
          xbseg-hkont  '0000110009'. “ Bank Account number
          xbseg-xbilk  'X'.           “ constant , can be hard coded
          xbseg-fipos  '9620'.            “ constant , can be hard coded
          xbseg-lokkt  '0000110009'.  “ Bank Account number
    xbseg Record 2.
            bseg-bukrs '1000'.      “ Company code from the screen
          bseg-belnr. '$1'      “ constant , can be hard coded
          bseg-gjahr. '2007'     “ Fiscal year from the screen
          bseg-augbl. '*'     “ constant , can be hard coded
          bseg-buzei'002'.      “ constant , can be hard coded
          bseg-bschl. '15'     “ constant , can be hard coded
          bseg-koart. 'D'     “ constant , can be hard coded
          bseg-shkzg. 'H'     “ constant , can be hard coded
          bseg-dmbtr. '10'      “Amount, from the screen
          bseg-wrbtr. '10'     “Amount, from the screen
          bseg-pswbt. '10'     “Amount, from the screen
          bseg-pswsl. 'EUR'     “ currency, from the screen
          bseg-altkt. '0000120100'
          bseg-vorgn. 'RFBU'     “ constant , can be hard coded
          bseg-kokrs. '1000'      “ Customer account number
          bseg-xkres. 'X'     “ constant , can be hard coded
          bseg-xopvw. 'X'     “ constant , can be hard coded
          bseg-hkont. '0000140000'
          bseg-xbilk. 'X'     “ constant , can be hard coded
          bseg-fipos. '9620'     “ constant , can be hard coded
          bseg-lokkt. '0000140000'
          bseg-nebtr. '10'      “ Amount, from the screen
          bseg-xauto. 'X'     “ constant , can be hard coded
          bseg-xzahl. 'X'     “ constant , can be hard coded
          bseg-saknr. '0000140000'
          bseg-zfbdt. '20070116'” Invoice document date
          bseg-hwmet. 'A'     “ constant , can be hard coded
          bseg-kkber. '1000'     “ Customer account number
          bseg-agzei. '1'     “ constant , can be hard coded
    Step 2. Call FI_DOCUMENT_PROCESS
    Import Parameters
    I_GJAHR     LIKE     TRWCA- YEAR
    I_PROCESS     LIKE     TRWPR-PROCESS
    I_EVENT     LIKE     TRWPR-EVENT
    Tables
    T_BKPF          LIKE     BKPF
    T_BSEG          LIKE     BSEG
    T_BSEGZ     LIKE     BSEGZ
    T_AUSZ3     LIKE     AUSZ_CLR
    T_AUSZ4     LIKE     AUSZ_CLR_ASGMT
    T_ACCIT_EXT     LIKE     ACCIT_EXTENSION   
    Values to  populate import parameters
          i_gjahr                 = '2007'     “Fiscal year from the screen
          i_process              = 'BELEG'    “Constant, can be hard coded
          i_event                  = 'CLOSE'   “Constant, can be hard coded
    Table xausz3.
              ausz3-agzei. '1'       “Constant, can be hard coded
           ausz3-waers. 'EUR'     „ Currency from the screen
           ausz3-bukrs. '1000'     „ Company Code
           ausz3-belnr. '1800000076' „ Document number from the screen
           ausz3-gjahr. '2007'        „ Fiscal Year
           ausz3-buzei. '001'          
           ausz3-shkzg. 'S'          “Constant, can be hard coded
           ausz3-dmbtr. '10'         “ Amount, from the screen
           ausz3-wrbtr. '10'          “ Amount, from the screen
           ausz3-koart. 'D'             “Constant, can be hard coded
    Step 3. Call FI_DOCUMENT_PROCESS
    Import Parameters
    I_GJAHR     LIKE     TRWCA- YEAR
    I_PROCESS     LIKE     TRWPR-PROCESS
    I_EVENT     LIKE     TRWPR-EVENT
    Tables
    T_BKPF          LIKE     BKPF
    T_BSEG          LIKE     BSEG
    T_BSEGZ     LIKE     BSEGZ
    T_AUSZ3     LIKE     AUSZ_CLR
    T_AUSZ4     LIKE     AUSZ_CLR_ASGMT
    T_ACCIT_EXT     LIKE     ACCIT_EXTENSION   
    Values to populate import parameters
          i_gjahr                 = '2007'          “Fiscal year from the screen
          i_process              = 'BELEG'         “Constant, can be hard coded
          i_event                  = 'PROJECT'        “Constant, can be hard coded
       I_AUGLV           = 'EINGZAHL' “Constant, can be hard coded
    Step 4. Call POST_DOCUMENT
    Import Parameters
    I_BKDF     LIKE     BKDF
    I_UF05A     LIKE     UF05A
    I_GENER     LIKE     T020-GENER
    I_AUGLV     LIKE     T041A-AUGLV
    Tables
    T_AUSZ1     LIKE     AUSZ1
    T_AUSZ2     LIKE     AUSZ2
    T_AUSZ3     LIKE     AUSZ_CLR
    T_AUSZ4     LIKE     AUSZ_CLR_ASGMT
    T_BKP1          LIKE     BKP1
    T_BKPF          LIKE     BKPF
    T_BSEC          LIKE     BSEC
    T_BSED          LIKE     BSED
    T_BSEG          LIKE     BSEG
    T_BSET          LIKE     BSET
    T_BSEU          LIKE     BSEU
    Values to populate import parameters
    Table xausz1
        xausz1-belnr. '1800000076'    „ Document number from the screen
        xausz1-bukrs. '1000'            „ Company code from the screen
        xausz1-gjahr. '2007'            „ Fiscal year from the screen     
        xausz1-buzei. '001'            “ Constant , can be hard coded
    Table xausz2
            ausz2-bukrs. '1000'            „ Company code from the screen
            ausz2-aktio. 'A'               “ Constant , can be hard coded
            ausz2-augbl. '1400000054'     „ Posted document number..from the function NUMBER_GET_NEXT(Dynamically generated unique number)
            ausz2-augdt. '20070118'          „ Posting Date from the screen
            ausz2-auggj. '2007'          „ Fiscal Year from the screen
    Table xbkpf
    First record of the internal table zbkpf has to be modified with the dynamically generated document number.
    Xbkpf-belnr.  ‘1400000054’
    Table xbkp1
    xbkp1-currj     '2007'   “ Fiscal year, from the screen
    Table xbseg
    Following fields in the table xbseg has to be modified before passing to this function module.
    Record 1
       TO wa_bseg1-belnr. '1400000054' “ Dynamically generated number
       TO wa_bseg1-zuonr. '20070116'   “ Document Date from the screen
    Record 2
       bseg1-belnr. '1400000054' „ Dynamically generated number
       bseg1-augdt. '20070118'   „ Posting date from the screen
       bseg1-augcp. '20070118'   „ Posting date from the screen
       bseg1-augbl. '1400000054'  „ Dynamically generated number
    bseg1-zuonr. '14000000542007' „ Concatenating dynamically generated number                                   and fiscal year
       bseg1-kunnr. '1000'        “ Customer number from the screen
    Table Xbseu
    Record 1
    bseu-waers     'EUR'     “ Currency from the screen
    Record 2
    bseu-waers.      'EUR'           “ Currency from the screen
    bseu-xzver.       'X'            “ Constant Hard coded
    Step 5. Call FI_DOCUMENT_PROCESS
    Import parameters
    I_GJAHR     LIKE     TRWCA-TOYEAR
    I_PROCESS     LIKE     TRWPR-PROCESS
    I_EVENT     LIKE     TRWPR-EVENT
    I_AWTYP     LIKE     ACCHD-AWTYP
    I_AWREF     LIKE     ACCHD-AWREF
    I_AWORG     LIKE     ACCHD-AWORG
    I_AWSYS     LIKE     ACCHD-AWSYS
    Tables
    T_BKPF     LIKE     BKPF
    Values to populate import parameters
      i_gjahr           = '2007'     “ Fiscal Year from the screen
      i_process         = 'BELEG'     “ Constant      
      i_event           = 'POST'     “ Constant
      i_awtyp           = 'BKPF'     “ Constant
      i_awref           = '1400000054'”Dynamically generated posting doc number
      i_aworg           = '10002007'     “ Concatenate comp code and Fiscal Year
      i_awsys           = 'ECCCLNT800'” Constant.

  • Query for what incoming payments are linked to a/r downpayment invoices

    Dear all,
    Please advice on what query will give me the incoming payments linked to A/R Downpayment invoices in SAP business one 2005 pl 50
    Kind Regards,
    Monil

    Thanks Gordon,
    Please advice on which tables do I refer to?
    Monil

Maybe you are looking for

  • Not so sure I want to keep my DINC :(

    I am so disappointed in the Droid Incredible.  I did buy it knowing that there were problems with the battery, but for pete's sake I couldn't even get a days worth or a night out with it.  I feel having to spend even MORE money to get a bigger batter

  • SDM Connectivity - Urgent

    Hi, Caused by: java.security.NoSuchAlgorithmException: No such algorithm: PbeWithSHAAnd3_KeyTripleDES_CBC         at javax.crypto.SunJCE_b.c(DashoA12275)         at javax.crypto.SunJCE_b.a(DashoA12275)         at javax.crypto.Cipher.a(DashoA12275)   

  • Regarding payroll report abap hr

    hi experts i have developed one payroll report for indian payroll its working fine for  For View payroll periods like PC00 M99 CWTR - Wage type reporter i have used HRCM PAYROLL RESULTS GET this function module to fetch payroll results. Problem is my

  • How to get trending line in the graph

    Hi, I am using 10g. I have requirement as the following : Name Date Metric I can have bar graph against Date and Metric. My requirement is to have a trending line, so I calculated slope and regression line y=mx+c but I am not getting the right trend

  • PDF Page count question (not coding related)

    Vista has numerous types of details it can display and sort with (size, date modified, etc.). I found "pages" in that list but it doesn't seem to be intended for pdf files. Can windows (or another software solution) display the page count of individu