Doubt on FBL5N

Dear Experts,
We are developing a report for open line items for a customer though we have the standard T Code FBL5N.
We have used BSAD table to get the open line item.
But we are not getting exactly what we want. 
could u please suggest the table names where is it stores only the cleared items which is shown in green color in FBL5N.
Please help ASAP.
Regards,
Shankar

Hi,
BSAD for closed items.
BSID for open items.
Purpose: The purpose this report is to provide list of open customer invoices for a given company code, payer number, date range and credit analyst.
Selection Screen:
Parameters: Company code mandatory.
Selection options:  Payer number, due date and credit analyst.
Output: Display below fields in the output in the same sequence. Sort the data by company code, payer number and due date
Company code, payer number, payer name, payer telephone number, bill-to number, bill-to name, bill-to telephone number, accounting document number, sales order number, billing document number,  payment terms, due date, credit analyst code, credit analyst name, debit credit indicator, transaction currency, amount in transaction currency.
Tables: BSID – Customer open items
      KNA1 – Customer master data
      KNKK – Customer credit management data
      VBPA – Partner functions by document numbers
Data available in BSID:
Company code: BUKRS
Payer: KUNNR
Sales order number: ZUONR
Accounting document number: BELNR
Billing document number: XBLNR
Logic:
Select all the records from BSID for the given company code, payer number(s) and due date(s) entered in the selection screen.
Get the credit analyst code based on payer and controlling area from table KNKK.
(Controlling area is same as company code at Synopys).
Filter the records by credit analyst entered in the selection screen.
After filtering the records,  based on billing document get the bill-to number from VBPA. Partner function for bill-to is ‘BP’
Get name and telephone numbers for payer and bill-to party from table KNA1.
Display the output as mentioned above.
Provide download options.
Thanks.
If this helps you reward with points.
Message was edited by: KDeepak

Similar Messages

  • Doubt about report FBL5N of screen field:Open items and Cleared items

    hi
    i know the report FBL5N is use DDF LDB and the report work flow is BSID->BKFP->BSEG
    but i don't know to differentiate Open Items and Cleared items in this report.
    Open items and Cleared items stand for a field flag in these table (BSID,BKFP,BSEG )? if true the field is?
    or they must be calc in program ? if true what about calc rules?
    waiting for help! thank you!

    Hi,
    Here is the difference in Open Items and Cleared Items.
    In FI first the document is Open (when it is posted) so the entry is made in table BSID. Once the document is cleared, it will move from BSID to BSAD. And for Cleared item you will see Clearing Document no and Clearing date values updated (these are blank when the item is open).
    The only difference in Open and Cleared is via Clearing Document and Clearing Date. If the values are present, it means document is cleared.
    Hope this helps.
    ashish
    Message was edited by:
            Ashish Gundawar

  • FBL5N - Invoice History by Open Items at Key Date

    Hi Experts.
    I have a doubt. Is it posible in FBL5N to get the invoice status information by " Open Items: Open at key date" ?
    e.g. if I change the baseline date or House Bank information in 08/25/2010 and I get the report using the date: 08/24/2010, how can I get the information in that date?
    In my case, the system always show the last change, and not the invoice situation in specific date.
    Thanks .

    Yes, The system dislays the data with the current details (After changes).
    For open item key date, it consider the posting date (Which can not be changes, once document is posted).
    Regards,
    Gaurav

  • How to populate the data for additional fields in custom report of fbl5n tr

    hallo friends,
    i ha ve to add some fields to the output of custome report of transaction FBL5N.
    Till now i have only added the fields to the output.
    Now i have to write the code to populate the data for those fields in the program.
    1.     Customer Credit Group(ACM/RCM): (Table: KNKK; Field Name: VKORG )
    2.     Credit Representative Group: (Table: KNKK; Field Name: SBGRP)
    3.     Customer Account Number(CAN#): (Table: KNKK; Field Name: KNKLI)
    4.     Alternative Payer(ALTP#) : (Table: KNA1; Field Name: KUNNR)
    5.     Risk Category: (Table: KNKK; Field Name: CTLPC)
    6.     Credit Info Number: (Table: KNKK; Field Name: KRAUS)
    7.     Rating: (Table: KNKK; Field Name: DBRTG)
    8.     Payment Index: (Table: KNKK; Field Name: DBPAY)
    9.     Credit control area: (Table: KNKK; Field Name: KKBER)
    10.     Company code: (Table: KNB1; Field Name: BUKRS)
    11.     Sales Organization: (Table: KNVV; Field Name: VKORG)
    These are al fields i have to populate in the program..
    MY ATTEMPTS:
    I tried getting the data for KNKK table by GET KNKK ,but it is giving some garbage values...
    And Logical database used here is DDF,and i have to add the VKORG of KNVV too...but KNVV is not there in DDF...
    Can anybody tell me how should i proceed..
    thanks in advance.

    Thnx Andreas,
    i have following doubts again..
    I have to add sales organisation field to the selection screen...(this is given in the req.)
    now if i will say GET KNKK...it would not keep account of this 'sales organisation' field...so how should i fetch the data with these input data( i.e. 'compny code' and 'customer' are the fields given by LDB and 'sales oraganisation' is the field i put it on the selection screen)
    And what about the KNVV-VKORG ,because the KNVV is not present in the LDB.

  • Difference in the Receivables field in FD33 and FBl5n

    Hi friends,
    My ''receivables'' in FD33 is not matching with that of Fbl5n for one customer.  I have an amount of 240(over payment by the customer referencing the invoice doc) with DZ doc type sitting in FBL5n which is not showing up in fd33 for one customer.
    The config of the company code and  credit control area is correct.  moreover i have selected the correct company codes and credit control area for both t-codes.
    i have no open orders, deliveries, etc .
    Aany suggestions?
    Thanks,
    Anand
    Edited by: Anand Mathur on Jan 27, 2011 1:19 PM

    Hi,
    Couple of quick Check points that you have to ensure are:
    Whether you have activated the credit check at document header level?
    Whether the item category is checked for credit check.
    If above mentioned configuration is in place then search for the SAP note which will update the credit information correctly. For one of my client we have applied the note( sap note no is not offhand hence could not provide)
    Hope  this will help you.
    Please revert back to forum if you have any doubts.
    Thanks and Regards,
    Atul

  • FBL3n and FBL5n

    Hello SAP Gurus'
    I need your help.  I am trying to understand which t-code to use for reporting.  It appears that I cannot get both of them to equal because I think FBL5N only gives open and/or cleared balances however it seems that FBL3n gives a correct balance date within periods.  Which is correct?  If this is so, we should provide financials for A/R from FBL3n right?
    URGENT Help needed.
    Points awarded.
    Thanks!

    As i explained earlier:
    FD10N is used to analyse the Customer Balances, period wise. It also has tabs to see the advance received,if any, from the customer. Actually,when you click on any of the balance on the period tab, it takes you to the FBL3N report.
    FBL3N report is the detail line item analysis of the balances you see in the FD10N report. Also, you have the privilige to execute the report for open items only,cleared items only,open & cleared items together, etc within the date range. If you don't provide the date range, then the report will pull all the line items of that customer from the first invoice.
    In FBL3N report, you could also execute the report to just see Special line items (Advance from customer),Notify items (Advance request for that customer) etc.
    Hence, i hope, it clears your doubt about the usage of these two reports.

  • Simulair report for FBL5N and FBL1N for new general ledger on segment level

    We are working with segments in new G/L ledger. We want to run a open item report where we can combine customers and vendors by segment. The vendors and customers are linked in the master data. In the "old"  reports FBL5N and FBL1N you can do this but not by segment.I found the following report on segment level:
    - S_PCO_36000218 - Receivables: Segment
    - S_PCO_36000219 - Payables: Segment
    What I'm missing is to run 1 report for Customers and vendors. What I'm missing to is that there are only some fields available on line item level. (I like to have invoice number, documentype,.......)
    Is there a standard report for this in new genaral leger?
    Is it possible to ad additional field to th list viewer.

    What is this user license type?  All financial transactions need professional license.
    Thanks,
    Gordon

  • FBL5N Review Open and Cleared Invoices per Customer

    WHen one of our users goes into FBL5N to review open and cleared invoices he adds the WBS and the Profit Center. When the report runs it is blank. I looked at the invoice itself and the WBS and Profit center is on the invoice but I don't know why it doesn't show up on the report. Can anyone tell me why this happens? Do I need to make any kind of adjustment before running the report?
    Thanks

    I looked at the VF03 and there is a WBS and Profit Center on the Invoice. If this report shows Open and Cleared invoices then it should bring what is on the invoice in the report but doesn't.
    I had someone email me this response"
    Hi linda,
    For your info, The reason why profit center and WBS element blank in report FBL5N is, this report purposely used to display subledger account.When me made a posting, balance sheet account is not require
    cost object.Only PNL account require cost object.
    Regards,
    Abdul
    I would like to know what other report in SAP shows open and cleared invoices with the Profit Center and WBS?

  • Doubt in fbl1n transaction

    hi i have a doubt....
    in fbl1n transaction, there are open items and cleared items.
    in it the cleared items  for certain document types such as invoice etc is not present in the open item table (bsik)
    however the cleared items for document types such as general  voucher its present in the open items table (bsik)
    is this possible as all cleared item entries shld b present in the open item table with an indicator set for cleared or not...
    plz exlain!

    Hi
    There are 2 tables(open and Closed Items)  in FI for Account Payables and Account Receivables and GL accounts
    1.Account payables: BSIK is Open Items and BSAK is Closed items
    2.Account Receivables; BSID and BSAD for OPEN and closed items
    3/GL accounts :  BSIS and BSAS  for Open and Closed Items
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • FBL5N  Drilldown

    Hi All,
            I am developing a Report which should call the FBL5N Tcode in the drill down.
    In FBL5N i have display all items ( Both Open and Cleared Items) and should pass Clearing Date also as input.
    If i pass Clearing date , open items are not displayed. If clearing date is not passed i am not getting required output for cleared items.
    I have to display All items.
    How to solve this issue?
    Thanks,
    Ambika

    In FBL5N i have display all items ( Both Open and Cleared Items) and should pass Clearing Date also as input.
    AFAIK, If you want to display every document til a date with their clearing status at this date, It seems impossible with FBL5N, which ignores the clearing date parameter PA_STIDA, when all items box X_AISEL is checked.
    * Extract from RFITEMAR (mapping selection-screen parameters to logical database program
      case 'X'.
            dd_stida          = pa_stida.
        when x_aisel.
          p_keydate         = '99991231'.
          dd_stida          = '99991231'.  " <= Here clearing date is lost.
          dd_budat[]        = so_budat[].
          dd_opopt          = 'X'.
          dd_apopt          = 'X'.
    As Rob wrote, you can then only select on posting date (and free selection parameters)
    Regards,
    Raymond

  • Doubt in creation of a new object

    Hi All,
                 I have one doubt in creation of a new object.If a new object is to be created and it is not a subtype
    of any existing object, then what should we enter in the Program field for creating the object?
    I hope I am clear with my question.
    Thanks in Advance,
    Saket.

    Hi Saket,
    Following will be required for created a custom business object.
    1. Object Type - ZTEST (Internal Techincal Key)
    2. Object Name - ZTESTNAME (Technical Key Name)
    3. Name - TEST (Name of BO, it is used while selecting the object type)
    4. Description - (Short Description of BO)
    5. Program - ZTESTPROGRAM (ABAP program in which the methods of the object type are implemented)
    6. Application - A or B.. etc (Area to which your BO is related)
    Please remember that you can learn these basic things by giving F1 help on those fields and in HELP.SAP.COM.
    Regards,
    Gautham Paspala

  • Doubt in sender mail adapter

    Hi Everyone,
    Can we read and validate the attachment of the mail.If so how to do it.
    Thanks in advance,
    Sakthi

    Hi Sakthi,
       Please refere the below links:
      http://help.sap.com/saphelp_nw2004s/helpdata/en/ad/bf93409c663228e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/52b240ac052817e10000000a1550b0/frameset.htm
    Let me know if you have any doubts regarding this.
    Thanks,
    sekhar.

  • PI' RFC  Connection pool  doubt.

    Hi PI exports:
    i have a doubt about  pi' RFC  Connection pool ,pi RFC receive channel can set the conn pool size ,but when start the rfc receiver channel ,is there always only one Connection  pool ,or there is only one Connection  pool  instance?
      thinks
    Edited by: kevin liang on Oct 19, 2009 6:45 AM

    Hi,
      Connection poolins size means how many number of connection you want to make open to send data to ECC, We can define maximum number of connection in Receiver RFC Adapter,Go to additional parameters section and define Max Number of connection give the number there,thats it.Internally it works as Connection poolin mechanism.
    Regards,
    Raj

  • Small Doubt Regarding SY-MANDT

    Hi All,
         SELECT changenr FROM cdhdr CLIENT SPECIFIED INTO CORRESPONDING FIELDS OF TABLE it_cdhdr
                                             WHERE mandant = syst-mandt
                                             AND   objectclas = 'MATERIAL'
                                             AND   objectid   = wa_matl-matnr
                                             AND   tcode      = 'MM02'.
         I have written the select stament as shown above.
         In this i have a doubt like adding a field sy-mandt  in the where condition will increase the Efficiency of program or not.
    regards,
    raghu.

    Hi..
    No doubt the efficency would be affected but from business point of view there will many  things that need to be checked as in:
    If you are viewing data from CDHDR and CDPOS which is client specific then you are not viewing complete data.
    These tables give us and document changes made to a particular object in SAP but if anything is cross client like company code(lets assume) then changes to it wont be visible in all the clients..
    so there can be some key information you can miss out while working on some of the objects.
    else in this case its good to make query cross client.
    regards
    vishal

  • Doubts with control break statements on internal table loops (AT/ENDAT)

    Hi, i've had a couple of doubts for a long while which I hope someone can clarify today:
    1) I know how to use the AT statements, however, i'm not sure I get correctly what this part of help regarding this commands means:
    <i>"The control level structure with internal tables is static. It corresponds exactly to the sequence of columns in the internal table (from left to right). In this context, the criteria according to which you sort the internal table are unimportant."</i>
    I've always sorted the internal table before the control break and it works that way. For example:
    SORT ITAB BY EBELN EBELP.
    LOOP AT ITAB.
      AT NEW EBELN.
    *   Code for the order header
      ENDAT.
    ENDLOOP.
    If I <b>don't</b> sort the internal table, it doesn't work! (i get dupplicated processing). In the example, if i have more than one register with the same EBELN and they're not consecutive, the header gets processed twice. I really don't get that part of the help text.
    2) I know this: <i>"At the start of a new control level (i.e. immediately after AT), the following occurs in the output area of the current LOOP statement:
    All character type fields (on the right) are filled with "*" after the current control level key.
    All other fields (on the right) are set to their initial values after the current control level key."</i>
    My doubt is: WHY is that this way? Because sometimes (most times) I need those fields INSIDE the statement! So when that happened i've solved it in one of three ways:
    LOOP AT ITAB INTO WA_ITAB.
      WA_ITAB_AUX = WA_ITAB.
      AT NEW FIELD.
        WA_ITAB = WA_ITAB_AUX.
    *   ...Rest of the code for the first register
      ENDAT.
    ENDLOOP.
    LOOP AT ITAB INTO WA_ITAB.
      AT NEW FIELD.
        READ TABLE ITAB INDEX SY-TABIX INTO WA_ITAB.
    *   ...Rest of the code for the first register
      ENDAT.
    ENDLOOP.
    * (Without AT)
    LOOP AT ITAB INTO WA_ITAB.
      IF WA_ITAB-FIELD <> FIELD_AUX.
        FIELD_AUX = WA_ITAB_FIELD.
    *   ...Rest of the code for the first register
      ENDIF.
    ENDLOOP.
    Is there any problem with this way of coding? Can be done better?
    Thank you very much in advance.

    Hi..,
    1)
    See if u sort the table on a field on which u r using AT ENDAT .. then all the records which are having the same value for that field will form a group or those reocrds will be at one place.. so when u sort the table for all the records  AT ENDAT  will get executed onli once..
    If u dont sort this table on this field then all these records will be at different places and in between there may be records with different value for this field.. so this AT ENDAT will get executed for each record !!
    2)
    No u cannot use the Right hand fields of the field in the table .. Because these AT events work as Group based operations... So till that field on which AT ENDAT is working it breaks that record into two groups.. One is the left hand fields including that field.. and right hand fields as another group.. and makes the right hand group as stars ****.  Thats y u can observe that even any one field in the left hand group changes the AT ENDAT will get executed  !!!!
    Hope u understood !!!
    regards,
    sai ramesh

Maybe you are looking for

  • Display not working on XP tablet edition

    http://forum.java.sun.com/thread.jsp?forum=31&thread=405964&tstart=0&trange=15 Any help here please?

  • Nokia x6 firmware

    Hello! I have Nokia X6 and 20.0.05 firmware , I can't get refresh thrugh NSU because it's said me " I have latest firmware 20.0.05 ". But my friend already refresh this firmware on 21.0.004 with NSU. So what the problem with my phone?? How can I get

  • Guest Book or Comment Page?

    I'm sure this has been brought up before, but how do you do a guestbook page?

  • Add new step to workflow

    Hi All, Can i add a new step to Standard SAP workflow, if so any suggestion on how to do or links for the same. Many Thanks, Kishore

  • How to make Rectangle2D.Double serializable?

    I like to store Objects of the Class Rectangle2D ? It sems that they are not serializable, even if the parent Class of the parent Class is serializible, because I get the following error: java.io.NotSerializableException: java.awt.geom.Rectangle2D$Do