Printing balance confirmation for vendor & customer

Hi Sapient
I had defined a vendor & linked a customer in the vendor master & vice versa.
I want to print the balance confirmation form for the vendor.
My requirement is as follows
1. When i print the confirmation form for the particular vendor & if had linked a customer to the vendor, then I wnat the open line item in the cusotmer account shoudl be included in my vendor balance confirmation form.
Is the above said scenario is possible through SAP standard. If not can you provide me with alternate solution.
Regards
R.Karthigayan

I presume you are using program SAPF130K  or F.18 for vendor balance confirmation. You cannot run statement of vendor balance including customer if they are vendor and customer.

Similar Messages

  • Few queries about foreign revaluation for vendor/customer open items

    I am trying the transaction F.05 for the first time for vendor & customer open items in foreign currency. I have a few queries:-
    1. The ouput contains 2 exchange rates. One is picked from the transaction header. My query is from where is the other rate being picked up. In my current system, I could make out that exch rate in transaction header is being picked automatically from table OB08....however I am unable to deduce the source of the 2nd exch rate.
    2. What is the significance of "balance sheet preparation valuation". Earlier in test runs, only "new difference" was getting populated. However the user wanted to see "old diff" also. So while doing some trial run in test client, I checked the "bal sheet prep valu" and posted.....after this run, I am getting values in "old diffe" and "new diff" also. And the posted amount is the difference of the two. What is the significance and ideal way?
    3. Should the entry be reversed if I am revaluating at year end? Why I am asking is because in some threads I read that revaluation at year is not to be reversed....
    Thanks,
    SM

    1. To find out difference latest date(Key Date for OI Overview) will be taken by comparing with document posted dated. Based on that system shows diffrences
    2.   The items are valued using the exchange rate valid at the key date. The
          difference determined in local currency is output and posted. The
          valuation can also be done for parallel local currencies and according to
          different valuation approaches (HGB, GAAP).
          The result of the valuation is required for the creation of the financial
          statements. You should therefore carry out the valuation before the
          grouping of receivables and payables with program SAPF101. The valuation
          difference is then noted in the document. Use the valuation areas to
          calculate a different valuation method, or to save the result for further
          processing activities.
    3.   we need to reverse entries .

  • Dual Control for Vendor/Customer Master Data

    We can set Dual Control for Vendor/Customer Master Data. I have set it. According to the cycle, I have customized sensitive field, and make changes in Vendor/Customer A/c. Here the changes will be confirmed by other user who is authorised to confirm the changes. In this scenario, I would like to know, can we avoid this confirmation once we have actived? If, no than how could we confirm the changes and where can we set authorisation?

    Dear,
    No, You cannot avoid the dual check if You activate it. Another user by FK08 has to confirm the changes.
    Then You can delete the field for the dual control into the table T055F and no check will be done in the future.
    I hope this helps.
    Mauri

  • Balance confirmation of vendor through using transaction code F.18

    Dear Gurus
    Can any tell me is there any posibillity in balance confirmation to get only outstanding instead of all the line items.f

    Hi,
    please check in TA SPRO the following settings:
    Prepare Automatic Clearing                    
    Clearing Differences
                                                                                    Define Tolerances for Customers/Vendors
        Define Tolerance Groups for Employees
        Assign Users to Tolerance Groups
        Define Accounts for Clearing Differences  
    In this transactions you can define tolerances and tolerance accounts for the automatic clearing. In the automatic clearing program you have to set the flag "Include tolerances"
    Docu:
    Consider Tolerances?                                                                               
    This has the effect that tolerance groups/tolerances are taken into    
        account during clearing transactions for customer, vendor, and G/L     
        accounts. A clearing transaction is then carried out for each group of 
        documents, taking account of the maximum permitted difference (for     
        example, rounding difference).                                         
    Regards,
    XmchX

  • Wht r the standard tables for vendor customer and sales order report/

    Hi wht r the standard tables for vendor and customer reports and is how in normal we cannot use them for vendor reporting and etc ?

    Hi
    Customer is related to Sales Module
    So for a customer we fetch the reports of Sales orders , Deliveries and Billing doc's
    CUstomer and Vendor related tables with important fields:
    KNA1: Customer Master-General(KUNNR,NAME1,LAND1)
    KNB1: Customer Master(Company Code)(KUNNR,BUKRS,PERNR)
    KNC1: Customer Master Data (Transaction Figures)(KUNNR,BUKRS,GJAHR)
    KNVK: Customer Master Contact Partner(PARNR,KUNNR,NAME1)
    KNVV: Customer Master sales data(KUNNR,VKORG,VTWEG,KDGRP)
    KNBK: Customer Bank Details(KUNNR,BANKS,BANKL,BANKN)
    KNVH: Customer Hierarchy (HITYP,KUNNR,VKORG,VTWEG,SPART)
    KNVP: Customer Master Partner Functions(KUNNR,PARVW,KUNN2)
    KNVS: Customer Shipment data(KUNNR,VSTEL,TRANS)
    KNVI: Customer Tax data(KUNNR,ALAND,TATYP)
    LFA1: Vendor Master-General (LIFNR,NAME1,ORT01)
    LFB1: Vendor Master(Company Code)(LIFNR,BUKRS,PERNR)
    LFC1: Vendor Master (Transaction Figures)(LIFNR,BUKRS,GJAHR)
    Sales related Tables for a customer
    VBAK: Sales Document(Header Data) (VBELN, KUNNR)
    VBAP: Sales Document(Item Data) (VBELN,POSNR,MATNR,ARKTX,CHARG)
          Enquiry, Quotation, Sales Order are differentiated based on Doc.
          Type(VBTYP field) in VBAK,VBAP Tables( for Enquiry VBTYP = A,
          for Quotation 'B' & for Order it is 'C'.)
    LIKP: Delivery Table (Header Data)(VBELN,LFART,KUNNR,WADAT,INCO1)
    LIPS: Delivery Table (Item Data)(VBELN,POSNR,WERKS,LGORT,MATNR,VGBEL)
          (LIPS-VGBEL = VBAK-VBELN, LIPS-VGPOS = VBAP-POSNR)
    VTTK: Shipment Table (Header Data)(TKNUM)
    VTTP: Shipment Table (Item Data)( TKNUM,TPNUM,VBELN)
          (VTTP-VBELN = LIKP-VBELN)
    VTFA: Shipping Document Flow(TKNUM,VBELV,VBELN)
    VTPA: Shipping Partners data(VBELN,PARVW,KUNNR,PERNR)
    VTTS: Stages in Shipment(TKNUM,TSNUM,TSTYP)
    VTSP: Transport Stage/Shipment Item Allocation(TKNUM,TSNUM,TPNUM)
    VEKP: Handling Unit: Header(Packing)(VENUM,VSTEL)
    VEPO: Handling Unit: Item (Packing)(VENUM,VEPOS,VBELN)
    VBRK: Billing Table(Header Data)(VBELN,FKART,BELNR)
    VBRP: Billing Table(Item Data)(VBELN,POSNR,FKIMG,NETWR,VGBEL,VGPOS)
          (VBRP-AUBEL = VBAK-VBELN, VBRP-VGBEL = LIKP-VBELN)
          Apart from these tables there are lot of other tables which starts with
          ‘V’, but we use the following tables frequently.
    VBUK: All Sales Documents status & Admn. Data(Header)(VBELN,VBTYP)
          VBTYP= ‘C’(Sales Order) VBTYP=’J’(Delivery) VBTYP=’M’(Invoice) 
    VBUP: Sales Documents status & Admn. Data(Item)(VBELN,POSNR)
    VBEP: Sales Doc. Schedule Lines Data(VBELN,POSNR,EDATU,WMENG)
    VBKD: To get sales related Business data like Payment terms etc.(VBELN,ZTERM)
    VBFA: sales document flow data(VBELV,VBELN,POSNV,VBTYP)
    VBPA: Partner functions Data(VBELN,PARVW,KUNNR,LIFNR)
    VEDA: Contract Data(VBELN,VPOSN)
    VEDAPO: Contract Data(VBELN,VPOSN)
    Vendor related MM tables
    EBAN-- Pur.Reqn. Data (BANFN,BNFPO,BADAT,MATNR)
    EBKN-- Purchase Requisition Account Assignment(BANFN,BNFPO,VBELN)
    EINA—- Purchase Info.Record (General Data)(INFNR,MATNR,LIFNR)
    EINE-- Purchase Info.Record (Pur.Orgn Data )(INFNR,EKORG)
    ELBK-- Vendor Evaluation Header Data(LIFNR,EKORG,KLASS)
    EKKO-- Purchase Order Data (Header)(EBELN,BSTYP,BSART)
    EKPO-- Purchase Order Data (Item)(EBELN,EBELP,MATNR)
           RFQ and PO are differentiated by Doc Type(BSTYP)in EKKO table.
           For RFQ it is ‘A’ and for PO it is ‘F’.
    MKPF-- GRN Data (Header) (EBELN,BLDAT,BUDAT,XBLNR,BKTXT)
    MSEG-- GRN Data (Item)(MBLNR,BWART,LIFNR,MATNR,EBELN)
           Apart from this there are lot of tables which begin with 'M'& 'E', but we
           use the following very often.
    EKBE--PO History Data (EBELN,EBELP,BELNR,BLDAT,MATNR,VGABE)
    EKBZ--PO History with delivery Costs(EBELN,BELNR,LIFNR,XBLNR)
    EKET--Schedule lines data of a PO (EBELN,EINDT,SLFDT)
    EKES--Vendor Confirmations Data(EBELN,EBTYP,EINDT,XBLNR)
    Reward points if useful
    Regards
    Anji

  • Populating Profit Centre Field while doing Transaction for Vendor/Customer

    Dear Experts,
    I have cheked in FSG of GL Code of Vendors/Customers where "Profit Centre " is a optional field.
    I have cheked in OB41 also for posting key relating to vendors/customers "Profit Centre" field is set as optional field.
    We need to make entry in the Profit Centre Field for both Vendors and Customers whicle doing manual posting.
    How can we bring that field which is not populated while doing transaction with posting keys of vedors and customers.
    Regards,
    Alok

    Dear Sayeed,
    I am agree with u, but since in SAP Vendor /Customer Line Item takes automatically profit centre from the other line items.
    Here is an example:-
    We have different profit centre for plant(104001) and coprorate office(106001)
    Customer billing is done at plant then the entry will be:-
    Customer A/c Debit    (by default it will take 104001 profit centre)
    Sales A/c Credit  with Profit Centre 104001
    In Corporate Office We Receive the sales proceeds:-
    In Coming Bank a/c Corporate   Debit  with Profit Centre 106001
    Customer A/c Credit (It will take by default profit centre 106001)
    By this If we genrate Profit Centre Wise Trial Balance then all Customers Debit will lying with Plant Trial
    and Customer Credit Balance will lying in Corporate Treial Balance  giving a mis information to the auditors.
    For solving this we need to populate the Profit Centre field in Customer line item so that while doing the received entry we can selct the Plant Profit Centre (104001) in Customer line item so that the Customer balance become Nil in Plant Trial.
    Hopw you understand our requirement.
    Regards,
    Alok

  • F.17 printing balance confirmation letters

    Hi,
    I have come across the following problem with printing of balance confirmation letters and cannot find any solution.
    When I generate more balance confirmation letters (eg 100) and want to print them out. I create a spool request but in the spool request there is just one balance confirmation letter (the first one).
    I am sure that recently when there was created a spool request - all balance confirmation letters were included.
    Does anyone know any settings which could affect this?
    Thank you in advance,
    Jan

    Hi Vasu,
    Thanks for you advise. I already have the solution. It is quite simple. You need to run the transaction in background.
    Thanks,
    Jan

  • How to make the cost center or WBS field optional for Vendor/customer line?

    Dear experts:
    Does anyone has the experience of releasing WBS or cost center fields to be optional for the customer or vendor line item?
    I've tested in system, neither the field status control in GL account master data nor the FSG in posting key worked, I can't let the WBS field to display in the screen and ready for input.
    So my conclusion is that the FSG control in  not completely effective for customer/vendor line, it there any other method to let WBS to be optional in custer/vendor line items?
    Our purpose for changing that is that we're using joint venture accounting, we need to let users to input a cost object for system to derive joint venture information. please do not suggest deriving JV information using other methods, because we're dealing with a special case, i.g.  in a cross-company document, only a customer/vendor line in our company, so it's impossible to split JV information from offset lines, anyway, please help me out directly with my issue.

    Hi, Lu:
    If I understand your question correctly, you want to modify the FSG of recociliation account of Vendor/Customer to make sure Cost Center/WBS field display in transaction F-22/F-43 for example, right?
    I am not sure whether it is possible, I also tried in ECC6.0 but failed to show these two fields. And I think that doesn't make sense to assign CO object to AP/AR reconciliation account, but assign it to Revenue/Expense account in following line items.
    And You can use New General Ledger functionality Document Splitting to derive corresponding CO object information to Reconciliation Account line item, but it is enabled only in General Ledger level, not in subledger level.
    If you find any other meaningful solution, please also share with us.
    Thanks & BR, Lawrence

  • Payment advice printing X's for Vendor related information

    Dear experts,
    We are implementing check printing from SAP. I have done the necessary configuration. The program RFFOUS_C does generate the check as well as payment advice. The check looks good.
    However, on the payment advice I am getting 'X''s for vendor related information. For e.g. Vendor Name, address, the related line items of the vendor which are being paid.
    I tried various ways to fix it but it is not making sense still. It always give me those X's. Has anyone experience this in the past? Any lead into a solution is welcome.
    Thank you very much,
    Vishal Thakur.

    answer

  • Profit Center for Vendor/Customer line item in F-02

    hi all,
    We have implemented SAP ECC 6.
    At the time of vendor line item posting, there is no input field for profit center.
    Can anyone please tell the way out for Profit Center field pop up in case of t-code like f-02 for vendors & customers
    Abhishek

    Please note the following:
    - On FBL5N and alike customer/vendor line item reports you won't find
    the field profit center filled; hence you can't directly input it during document entry (as pre-mentioned)
    and the profit center for customer/vendor gets inherited (as of document splitting functionality) from the document other line item(s) (according to the defined document splitting rules...)
    - Yet you can use the below reports (with New G/L.) to get the customer/vendor line items wise reporting over a profit center (i.e. unlike FBL5N & showing the inherited customer/vendor profit center in the G/L. view)
    S_AC0_52000887 - Line Items->Open Items->Receivables: Profit Center
    S_AC0_52000888- Line Items->Open Items->Payables: Profit Center
    In both reports you can use:
    "Custom Selections" -Dynamic Selections Icon- enabling you to filter the output according to
    a. Customer line items specific data entered within the posted document(s)
    b. General ledger items of the G/L. view of the posted document(s)
    & the "Output type" includes like most of the New G/L. Reports:
    - Graphical report output
    - Classical drill-down report
    - Object list (more than one lead column)

  • BUSINESS RULES FOR Vendor, Customer & PRODUCT

    Hi,
    Can any one help me to provide Business Rules(Validation Rules) of Vendor, Customer & Product domain to be considered in integrating with other technologies.
    Thanks & Best Regards,
    Giri

    Hi Joseph,
    First tell me how you want to maintain Inventory size wise?? If it is your A is Length, B is Width and C is your Height and you are not maintaining size wise stock then use Length,Width and Height which is in Item master here you can set fix values and activate same columns in document and you can change it in document. But in this case you cannot maintain size wise stock
    If you are maintaining stock size wise then you have to create new item code every time.
    You cannot use BP catalog number for this.
    Thanks
    Sachin

  • Combining invoice printing in VF04 for same customer

    I have been having issues with combining the invoices and printing as one when the payer are the same. What actually is happening is: For SOrg01 customer SD transactions it checks the Invoice Split field which is currently set to "Z3 = Customer PO" for customer 1234567.  I checked the PO value for the sales orders of invoice 90109876 and 90109886 and they all have PO #A010-014, hence these two invoice should have been one.  But right the two invoices are split and printing separately instead it should have printed onto one invoice itself. I have checked the invoice splitting criteria as well as it says that when the splitting critera is set to Z3 which it is for that payer on both the invoices then only split else combine, but its not happening. I have checked all the settings on that customer but could not locate as to why this is happening.
    Could anyone please suggest me as where else the problem can possibly be or located , becuase as such it should have combined together. What other tabs on teh customer data can impact this?
    Thanks in advance.

    Yes, indeed there is a logic in VFOM transaction which does the splitting based on several things. The PO numbers field I ahve checked for each and every or SO on the billing documents of both the documenst and all are the same and as for the payer , they both have the same payer for teh same sales org. and that is SO01.
    CASE vbrk-vkorg.
         WHEN 'SO02'.
    *     Look in Customer Sales Table for Invoicing Indicator
           SELECT SINGLE * INTO zwa_knvv FROM knvv
                  WHERE vkorg EQ vbrk-vkorg AND kunnr EQ kuagv-kunnr.
           IF sy-subrc NE 0.
             zuk-vgbel = vbrp-vgbel.
           ELSE.
             CASE zwa_knvv-kvgr2.
               WHEN 'ZIS'.        " Single Location
                 zuk-vgbel = vbrp-vgbel.
               WHEN 'ZIM'.        " Multiple Location
                 CLEAR: zuk-vgbel, vbrk-hityp_pr.
             ENDCASE.
           ENDIF.
       ENDCASE.
    *  Determine The Orders Based On Soldto Attributes
       SELECT SINGLE * INTO zwa_kna1 FROM kna1
             WHERE kunnr EQ kuagv-kunnr.
       CASE zwa_kna1-katr1.
         WHEN 'Z1'.                       " Ship-To
           zuk-kunnr_sh = kuwev-kunnr.
           CLEAR: zuk-bstkd, zuk-werks, zuk-vgbel, zuk-ihrez.
         WHEN 'Z3'.                       " Purchase Order
           zuk-bstkd = vbkd-bstkd.
           CLEAR: zuk-kunnr_sh, zuk-werks, zuk-vgbel, zuk-ihrez.
         WHEN 'Z4'.                       " AFE
           zuk-ihrez = vbkd-ihrez.
           CLEAR: zuk-kunnr_sh, zuk-werks, zuk-vgbel, zuk-bstkd.
         WHEN 'Z5'.                       " Plant
           zuk-werks = vbrp-werks.
           CLEAR: zuk-kunnr_sh, zuk-ihrez, zuk-vgbel, zuk-bstkd.
         WHEN 'Z6'.                       " Sales Order
           zuk-vgbel = vbrp-aubel.
           CLEAR: zuk-kunnr_sh, zuk-ihrez, zuk-werks, zuk-bstkd.

  • Zreport for vendor customer details.

    Hi ,
    I have to create a report tto display a vendor and customer details. on screen i have customer code and vendor code with company code and fiscal year. when i select the cust. code plant and year it will show the doc.no ,post. and doc. date,doc type ,qty and amount as per customer details.
    after that as per billing doc. of specific customer ,select excise invoice number and match it with reference number (xblnr) of vendor code. and once it is matched select tht vendor doc.no. post. and doc. date amount and qty and display it in report.so how to right a coding for thesame
    let me know as its urgent.
    Rgrs
    Suchita

    please find below coding for your reference.
    *& Report  ZFI_VEND_CUST_DETAILS
    REPORT  ZFI_VEND_CUST_DETAILS
      NO STANDARD PAGE HEADING
              LINE-COUNT 65
              MESSAGE-ID 00.
    TABLES: BSID,BSIK.
    DATA: IT_BSID LIKE BSID OCCURS 0 WITH HEADER LINE.
    DATA: IT_BSIK LIKE BSIK OCCURS 0 WITH HEADER LINE.
    DATA: IT_J_1IEXCHDR LIKE J_1IEXCHDR OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN  OF IT_OUT OCCURS 0,
            BELNR LIKE BSID-BELNR,        " added On 17.04.2007
            BLDAT LIKE BSID-BLDAT,
            BUDAT LIKE BSID-BUDAT,
            BLART LIKE BSID-BLART,
            NAME  LIKE KNA1-NAME1,                           "Name 1
            MATNR LIKE VBRP-MATNR,    "Material Number
            ARKTX LIKE VBRP-ARKTX,          "Material description
            FKIMG LIKE VBRP-FKIMG,          "Quantity mentioned in the excise invoice
            VBELN LIKE BSID-VBELN,          "Billing Document
            BUKRS LIKE BSID-BUKRS,
           NAME1 LIKE LFA1-NAME1,
            KUNNR LIKE BSID-KUNNR,
            WRBTR LIKE BSID-WRBTR,
            DMBTR LIKE BSID-DMBTR,
            ZUONR LIKE BSID-ZUONR,
           XBLNR LIKE BSID-XBLNR,
           MENGE LIKE VBRP-MENGE,
           LIFNR  LIKE BSIK-LIFNR,        "VENDOR CODE
            EXNUM LIKE J_1IEXCHDR-EXNUM,
            BELNR1 LIKE BSIK-BELNR,        " added On 17.04.2007
            BLDAT1 LIKE BSIK-BLDAT,
            BUDAT1 LIKE BSIK-BUDAT,
           BLART LIKE BSID-BLART,
           NAME  LIKE KNA1-NAME1,                           "Name 1
           MATNR LIKE VBRP-MATNR,    "Material Number
           ARKTX LIKE VBRP-ARKTX,          "Material description
           FKIMG1 LIKE VBRP-FKIMG,          "Quantity mentioned in the excise invoice
           VBELN LIKE BSID-VBELN,          "Billing Document
           BUKRS LIKE BSID-BUKRS,
            NAME1 LIKE LFA1-NAME1,
           KUNNR LIKE BSID-KUNNR,
           WRBTR LIKE BSID-WRBTR,
            DMBTR1 LIKE BSIK-DMBTR,
           ZUONR LIKE BSID-ZUONR,
            XBLNR LIKE BSIK-XBLNR,
           MENGE LIKE VBRP-MENGE,
            LIFNR  LIKE BSIK-LIFNR,
            END OF IT_OUT.
    *DATA: IT_OUT1 LIKE IT_OUT OCCURS 0 WITH HEADER LINE.
    *ALV VARIABLES AND INTERNAL TABLES
    TYPE-POOLS: SLIS.
    DATA: IS_LAYOUT     TYPE SLIS_LAYOUT_ALV,
          IT_FIELDCAT   TYPE SLIS_T_FIELDCAT_ALV,
          IT_LISTHEADER TYPE SLIS_T_LISTHEADER,
          IT_EVENTS     TYPE SLIS_T_EVENT,
          IT_PRINT      TYPE SLIS_PRINT_ALV OCCURS 1 WITH HEADER LINE.
    *SELECTION SCREEN DEFINITIONS
    SELECTION-SCREEN BEGIN OF BLOCK B WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : SO_KUNNR FOR   BSID-KUNNR,
                     SO_LIFNR FOR   BSIK-LIFNR,
                     SO_BLART FOR   BSID-BLART.
    PARAMETER      : P_BUKRS LIKE   BSID-BUKRS OBLIGATORY,
                     P_GJAHR LIKE   BSID-GJAHR OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B.
    *START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM GET_DATA.
      PERFORM DISPLAY_DATA.
    *&      Form  GET_DATA
          text
    -->  p1        text
    <--  p2        text
    form GET_DATA .
    SELECT * FROM BSID
    INTO TABLE IT_BSID
    WHERE KUNNR IN SO_KUNNR AND
    BUKRS = P_BUKRS AND
    GJAHR = P_GJAHR.
    LOOP AT IT_BSID.
    IT_OUT-BELNR = IT_BSID-BELNR.
    IT_OUT-BUKRS = IT_BSID-BUKRS.
    IT_OUT-KUNNR = IT_BSID-KUNNR.
    IT_OUT-ZUONR = IT_BSID-ZUONR.
    IT_OUT-DMBTR = IT_BSID-DMBTR.
    IT_OUT-VBELN = IT_BSID-VBELN.
    IT_OUT-XBLNR = IT_BSID-XBLNR.
    IT_OUT-BLART = IT_BSID-BLART.
    IT_OUT-BUDAT = IT_BSID-BUDAT.
    IT_OUT-BLDAT = IT_BSID-BLDAT.
    APPEND IT_OUT.
    ENDLOOP.
    *SELECT * FROM J_1IEXCHDR
    *INTO IT_J_1IEXCHDR
    *WHERE RDOC = IT_OUT-VBELN.
    *LOOP AT IT_J_1IEXCHDR.
    IT_OUT-EXNUM = IT_J_1IEXCHDR-EXNUM.
    **ENDLOOP.
    *SELECT * FROM BSIK
    *INTO TABLE IT_BSIK
    *WHERE XBLNR = IT_OUT-EXNUM AND
    *LIFNR IN SO_LIFNR AND
    *BUKRS = P_BUKRS AND
    *GJAHR = P_GJAHR.
    *LOOP AT IT_BSIK.
    *IT_OUT-BELNR1 = IT_BSIK-BELNR.
    **IT_OUT-BUKRS = IT_BSIK-BUKRS.
    *IT_OUT-LIFNR = IT_BSIK-LIFNR.
    **IT_OUT-ZUONR = IT_BSIK-ZUONR.
    *IT_OUT-DMBTR1 = IT_BSIK-DMBTR.
    *IT_OUT-XBLNR = IT_BSIK-XBLNR.
    **IT_OUT-BLART = IT_BSIK-BLART.
    *IT_OUT-BUDAT1 = IT_BSIK-BUDAT.
    *IT_OUT-BLDAT1 = IT_BSIK-BLDAT.
    *APPEND IT_OUT.
    *ENDLOOP.
    *ENDLOOP.
    *ENDSELECT.
    *SORT IT_OUT BY KUNNR.
    LOOP AT IT_OUT.
    SELECT SINGLE EXNUM FROM J_1IEXCHDR
    INTO IT_OUT-EXNUM
    WHERE RDOC = IT_OUT-VBELN.
    SELECT BELNR LIFNR DMBTR XBLNR BUDAT BLDAT
    FROM BSIK INTO (IT_OUT-BELNR1,IT_OUT-LIFNR,IT_OUT-DMBTR1,IT_OUT-XBLNR,IT_OUT-BUDAT1,IT_OUT-BLDAT1)
    WHERE XBLNR = IT_OUT-EXNUM.
    ENDSELECT.
    SELECT SINGLE NAME1            "NAME OF CUSTOMER
               FROM KNA1
               INTO IT_OUT-NAME
               WHERE KUNNR = IT_OUT-KUNNR.
    SELECT SINGLE NAME1            "NAME OF VENDOR
                   FROM LFA1
                   INTO IT_OUT-NAME1
                   WHERE LIFNR = IT_OUT-LIFNR.
    SELECT MATNR ARKTX FKIMG
               FROM VBRP
               INTO (IT_OUT-MATNR,IT_OUT-ARKTX,IT_OUT-FKIMG)
               WHERE VBELN = IT_OUT-VBELN AND
                     WERKS = P_BUKRS.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
      EXPORTING
        input         = IT_OUT-MATNR
    IMPORTING
       OUTPUT        = IT_OUT-MATNR.
    MODIFY IT_OUT.
    CLEAR IT_OUT.
    ENDSELECT.
    ENDLOOP.
    endform.                    " GET_DATA
    *&      Form  DISPLAY_DATA
          text
    -->  p1        text
    <--  p2        text
    form DISPLAY_DATA .
      PERFORM FILL_LAYOUT_STRUCTURE.
      PERFORM ALV_HEADER USING IT_LISTHEADER.
      PERFORM FILL_FIELDCAT USING :
          'BLDAT'    'DOC Date'             10  'IT_OUT'  SPACE SPACE,
          'BUDAT'    'Post.Date'            10  'IT_OUT'  SPACE SPACE,
          'KUNNR'    'Customer Code'        10  'IT_OUT'  SPACE SPACE,
          'NAME'     'Customer Name'        35  'IT_OUT'  SPACE SPACE,
          'LIFNR'    'VENDOR CODE'          10  'IT_OUT'  SPACE SPACE,
          'NAME1'    'VENDOR DESC'          35  'IT_OUT'  SPACE SPACE,
          'BLART'    'Doc. Type'             2  'IT_OUT'  SPACE SPACE,
          'VBELN'    'BILLING DOC NO.'      10  'IT_OUT'  SPACE SPACE,
          'BELNR'    'Account Doc. No.'     10  'IT_OUT'  SPACE SPACE,
          'DMBTR'    'AMOUNT IN LOCAL'      13  'IT_OUT'  SPACE SPACE,
          'MATNR'    'Material Code'        10  'IT_OUT'  SPACE SPACE,
          'ARKTX'    'Material DESC'        35  'IT_OUT'  SPACE SPACE,
          'FKIMG'    'QTY'                  12  'IT_OUT'  SPACE SPACE,
          'ZUONR'    'ASSIGNNMENT'          18  'IT_OUT'  SPACE SPACE,
          'EXNUM'    'Excise inv no.'       13  'IT_OUT'  SPACE SPACE,
          'BELNR1'   'Account Doc. No.'     10  'IT_OUT'  SPACE SPACE,
          'BLDAT1'   'DOC Date'             10  'IT_OUT'  SPACE SPACE,
          'BUDAT1'   'Post.Date'            10  'IT_OUT'  SPACE SPACE,
          'DMBTR1'   'AMOUNT IN LOCAL'      13  'IT_OUT'  SPACE SPACE,
          'XBLNR'    'REFERENCE DOC'        10  'IT_OUT'  SPACE SPACE.
    PERFORM ALV_EVENTS USING IT_EVENTS.
    PERFORM ALV_PRINT.
      PERFORM ALV_DISPLAY.
    endform.                    " DISPLAY_DATA
    *&      Form  FILL_LAYOUT_STRUCTURE
          text
    -->  p1        text
    <--  p2        text
    form FILL_LAYOUT_STRUCTURE .
    DATA: WA_EVENT       TYPE SLIS_ALV_EVENT,
            WA_LISTHEADER  TYPE SLIS_T_LISTHEADER.
      CLEAR IS_LAYOUT.
      IS_LAYOUT-ZEBRA = 'X'.
         is_layout-F2CODE = '&ETA'.
         is_layout-detail_popup = 'X'.
      IS_LAYOUT-INFO_FIELDNAME = 'COL_LINE'.
    endform.                    " FILL_LAYOUT_STRUCTURE
    *&      Form  FILL_FIELDCAT
          text
         -->P_0606   text
         -->P_0607   text
         -->P_10     text
         -->P_0609   text
         -->P_SPACE  text
         -->P_SPACE  text
    form FILL_FIELDCAT  using    F D O T TO P.
      DATA WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
      STATICS POS LIKE SY-INDEX VALUE 1.
      POS = POS + 1.
      CLEAR WA_FIELDCAT.
      MOVE : 1     TO   WA_FIELDCAT-ROW_POS,
             POS   TO   WA_FIELDCAT-COL_POS,
             F     TO   WA_FIELDCAT-FIELDNAME,
             D     TO   WA_FIELDCAT-SELTEXT_L,
             O     TO   WA_FIELDCAT-OUTPUTLEN,
             T     TO   WA_FIELDCAT-TABNAME,
             TO    TO   WA_FIELDCAT-DO_SUM,
             P     TO   WA_FIELDCAT-FIX_COLUMN.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
    endform.                    " FILL_FIELDCAT
    FORM ALV_EVENTS USING EVENTS TYPE SLIS_T_EVENT.
      DATA : WA_EVENTS TYPE SLIS_ALV_EVENT.
      CLEAR WA_EVENTS.
      WA_EVENTS-NAME = 'TOP_OF_PAGE'(001).
      WA_EVENTS-FORM = 'TOP_OF_PAGE'.
      APPEND WA_EVENTS TO IT_EVENTS.
    ENDFORM.                    "alv_events
    *&      Form  ALV_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    form ALV_DISPLAY .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
         I_CALLBACK_PROGRAM                = SY-REPID
      I_CALLBACK_PF_STATUS_SET          = ' '
         I_CALLBACK_USER_COMMAND           = 'CALL_TCODE'
         I_CALLBACK_TOP_OF_PAGE            = 'TOP_OF_PAGE'
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
         IS_LAYOUT                         = IS_LAYOUT
         IT_FIELDCAT                       = IT_FIELDCAT
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
       IT_SORT                           = i_sort[]
      IT_FILTER                         =
      IS_SEL_HIDE                       =
         I_DEFAULT                         = 'X'
         I_SAVE                            = 'A'
      IS_VARIANT                        =
         IT_EVENTS                         = IT_EVENTS
      IT_EVENT_EXIT                     =
         IS_PRINT                          = IT_PRINT
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      I_HTML_HEIGHT_TOP                 = 0
      I_HTML_HEIGHT_END                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
       TABLES
          T_OUTTAB                          = IT_OUT
       EXCEPTIONS
         PROGRAM_ERROR                     = 1
         OTHERS                            = 2
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    endform.                    " ALV_DISPLAY
    *FORM FOR TOP OF PAGE
    FORM TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY = IT_LISTHEADER.
    ENDFORM.                    "top_of_page
    *&      Form  alv_header
    FORM alv_header  USING    P_IT_LISTHEADER.
      data : wa_listheader  type slis_listheader.
      data : v_date1(10).
      data : v_date2(10).
      data : v_kunnr1 LIKE bsid-kunnr.
      data : v_kunnr2 LIKE bsid-kunnr.
      data : v_name1 like t001w-name1.
      clear wa_listheader.
      wa_listheader-typ = 'H'.
      move  'DETAILED CUSTOMER VENDOR DETAILS'
      to  wa_listheader-info.
      append wa_listheader to it_listheader.
    select single name1
         from t001w
         into v_name1
         where werks = p_bukrs.
    clear wa_listheader.
    wa_listheader-typ = 'S'.
    wa_listheader-key = 'Plant'.
    move v_name1
    to wa_listheader-info.
    append wa_listheader to it_listheader.
    write so_budat-low  to v_date1  dd/mm/yyyy no-gap.
    write so_budat-high to v_date2  dd/mm/yyyy no-gap.
    if so_budat-low is not initial and so_budat-high is not initial.
       clear wa_listheader.
       wa_listheader-typ = 'S'.
       wa_listheader-key = 'Date '.
       concatenate v_date1 ' To ' v_date2 into
                           wa_listheader-info separated by space.
       wa_listheader-info = wa_listheader-info.
       append wa_listheader to it_listheader.
    elseif  so_budat-low is initial and so_budat-high is initial.
       clear wa_listheader.
       wa_listheader-typ = 'S'.
       wa_listheader-key = 'Date '.
       wa_listheader-info = '*'.
       append wa_listheader to it_listheader.
    elseif so_budat-high is initial.
       clear wa_listheader.
       wa_listheader-typ = 'S'.
       wa_listheader-key = 'Date '.
       wa_listheader-info = v_date1.
       append wa_listheader to it_listheader.
    endif.
    v_kunnr1 = so_kunnr-low.
    v_kunnr2 = so_kunnr-high.
    if so_kunnr-low is not initial and so_kunnr-high is not initial.
       clear wa_listheader.
       wa_listheader-typ = 'S'.
       wa_listheader-key = 'Customer '.
       concatenate v_kunnr1 ' To ' v_kunnr2 into
                           wa_listheader-info separated by space.
       wa_listheader-info = wa_listheader-info.
       append wa_listheader to it_listheader.
    elseif  so_kunnr-low is initial and so_kunnr-high is initial.
       clear wa_listheader.
       wa_listheader-typ = 'S'.
       wa_listheader-key = 'Customer '.
       wa_listheader-info = '*'.
       append wa_listheader to it_listheader.
    elseif so_kunnr-high is initial.
       clear wa_listheader.
       wa_listheader-typ = 'S'.
       wa_listheader-key = 'Customer '.
       wa_listheader-info = v_kunnr1.
       append wa_listheader to it_listheader.
    endif.
    ENDFORM.                    " alv_header.
    waiting for ur reply.
    Thanx
    Suchita

  • T code for vendor,customer line item display

    we are using ecc 6.
      I would like to know the wheter any tcode is available in ECC6 for cust and vendor line item display.
    NEW TCODE for FBL3N is FAGLL03. Like that any new new tcode is availbale for FBL1N & FBL5N?
    Please clarify.
    Thanks
    Rajesh

    Dear Rajesh,
    There are not direct 'replacement' as the FAGLL03->FBL3N for FBL1N and FBL5N.
    So the FBL1N and FBL5N can be used further without any problem.
    As stated before, only the G/L are has directly changed.
    But in the relation to the New G/L, there are two new 'Recherche' tools for the vendor and customer area in relation to the 'Segment' and 'Profit Center'.
    You can find them in the FGI0 transaction.
    They are called:
    0SAPRECIEV01
    0SAPRECIEV02
    0SAPPAYABL01
    0SAPPAYABL02
    Maybe they can also help you further.
    Best regards,
    Christoph

  • Balance Interest for Vendor

    Hi Friends,
    I have done configuration for Balance Interest. When I am processing interest calculation for  a vendor thru T.Code F.44, Batch Input Session is created. After processing the Batch Input Session without any errors, I find that no document posting is happening for the interest.
    Can anybody throw some light on this.
    Thanks,
    Srinivas Aravalli
    Edited by: Srinivas aravalli on Oct 2, 2008 3:25 PM

    - Define Interest calculation Types
    SPRO->Financial Accounting-> Accounts Receivable and Accounts Payable-> Business Transactions-> Interest Calculation-> Interest Calculation Global Settings-> Define Interest Calculation Types
    It determines whether interest is on per item or balance
    - Interest Indicator
    SPRO-> ...->Interest Calculation> Interest Calculation Global Settings> Prepare Interest on Arrears Calculation
    - Interest Rates
    SPRO->.....>Interest Calculation> Interest Calculation > Define Reference Interest Rates
    - Interest Values
    SPRO->........>Interest Calculation> Interest Calculation > Enter Interest Values
    - Assigning Reference interest rate to interest indicator
    SPRO->..........>Interest Calculation> Interest Calculation > Define Time-Based Terms
    - Interest Posting
    Tcode-OBVI (Approporate GL Accounts should be existing for Interest Accounting and they are configured here)
    - Also set the interest indicator in GL Account Master record
    - Interest Calculation
    Depending on requirement, run the appropriate TCode. eg: F.2B and that will calculate interest on open items of customers
    Rgds

Maybe you are looking for

  • No longer listed in browser or power search

    The audio podcast "The O Line Mysteries" http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=291723445 had been listed in the power search under "comedy/ english" since September 2008 but since about mid April the show can not be found u

  • Instance Terminated in Oracle 8i

    Dear Sir/Madam We handle large volume of data in oracle database. when processing utilization was high Oracle Instance Terminate very ofen. As the solution we reduced the No. of user as 20 and Server Configuration was also upgraded to HD - 56GB RAM -

  • Fitting or resizing a photo in a drop zone

    Is there a way to resize a photo in DVDSP. I have a logo that I want on my menu. It was given to me as both a jpg and psd. I tried putting either in the drop zone. Only part of the image appears in the drop zone. When I enlarge the drop zone I can ge

  • CORBA.MARSHAL error in BI 4.0 SP2 Patch 4 while creating report

    Hi, we are encountering an error message while trying to create a report in BI Launch Pad (BI 4.0 SP2 Patch 4). It contains the following: The MDAS service encountered an error. com.crystaldecisions.thirdparty.org.omg.CORBA.MARSHAL minor code: 0x0 co

  • Background Won't Lineup

    Why doesn't the repeating background image lineup at the bottom with the logo image in the top right? The slices are the same height, so I would think they would lineup. http://www.presentationsdirect.com/2007/test.asp Brandon ================== Pres