Quickview on Logical DB BRF

I'm trying to generate a list of vendors that we have made payment to within a time period.  The list structure of my design is correct - line 1 = fiscal year (BKPF-GJAHR), with subsequent lines of vendor (LFA1-LIFNR) and name 1 (LFA1-LIFNR).  Selection is done on document type (BKPF-BLART)  of KZ and posting date (BKPF-BUDAT).  Correct results are returned, however line 2 is not included.  Is there something that is required as selection or output to maintain the link to the vendor data?
Thank you, Julie

I am not an ABAPer so do not know how to post my code.  The code is generated by SAP when I make my field selections in transaction SQVI. 
Reeport RFBPET00 may work.  I believed I created a data file, however it requires a password that I don't know.

Similar Messages

  • Logical Database BRF

    For a report using logical database BRF where have to print invoice no with tax details and other line item details.
    First reading BSEG using
    GET BSEG.
    then
    GET BSET.
    now want to retreive material no &  quantity from table BSEG. how to write logic for that.
    Kindly help.
    anya

    Dude LDB gives me one extra selection  parameter   but i need not that parameter ...
    Is ther any way by which i remove that  selection parameter and add up my new paramere ...
    The same thing  i done in pnp LDB  but i am unable to do  same in brf LDB. 
    Beaus in PNP there is "HR report  category "  BY which i cam made  >>>>

  • Changing fields of Logical database BRF

    Hi;
    I have a changing problem
    I use brf logical database in my program but I want to change attributes of some selection fields.
    Ex:I want to do mandotary year field.I can't dı it.I can add new field but I can't change fields of BRF.
    How can I do?

    try this:
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        CASE SCREEN-NAME.
          WHEN 'BR_GJAHR'.
            SCREEN-REQUIRED = 1.
            MODIFY SCREEN.
        ENDCASE.
      ENDLOOP.
    hope tha helps
    Andreas

  • LOGICAL DATABASE BRF   FOR ...  BKPF AND BSEG

    Hi friends  ,
    i want the change the input criteria  ( select option) in my program , i am using the LDB  "BRF"  ..it gives me standard selection screen  .. but i want to add the GSBER   field in the input  condition  ..
    How can i cahge the selection  criteria in standard LDB ..How can i do that ..
    Ialso want to convert select option in  output to  parameter ...
    Plz suggest..

    Dude LDB gives me one extra selection  parameter   but i need not that parameter ...
    Is ther any way by which i remove that  selection parameter and add up my new paramere ...
    The same thing  i done in pnp LDB  but i am unable to do  same in brf LDB. 
    Beaus in PNP there is "HR report  category "  BY which i cam made  >>>>

  • Logical database of ABAP query

    Hi,
    Can anybody please let me know what is the Logical database for ETXDCI, ETXDCH & ETXDCJ (Tax tables) with any sales document tables? I need to develop one ABAP query for the users.
    I am a Functional person so I would like to know Can anybody please let me know how I can find out the Logical database?
    Your time and help will be really appreciate.
    Thanks & Regards,
    Niki Shah.

    Try the BRF logical database.
    I found it by searching in which programs the tables were used.
    It show program SAPDBBRF which is the program for logical database BRF.
    Kind regards,
    Arthur Parisius

  • How to Add fields in dynamic selection LDB BRF

    Hi All,
    I have requirement to add a field BSEG-ZLSCH in Logical Database BRF dynamic selection.
    I have tried doing the same by using below mentioned link but its not appearing in the report dynamic selection screen
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0e0039a-0d79-2c10-0aaf-9f6c062c0ffb?quicklink=index&overridelayout=true
    Could you please help me a Legal change delivery is pending due to this issue.
    Thanks and best regards,
    Niteesh Rai

    Dear Niteesh,
    The Logical Data Base BRF reads table BKPF and BSEG, but there is no
    option to include fields from BSEG in the dynamic selection.
    You can display all the tables included in BRF, but only fields from
    BKPF could be included in the dynamic selection. You cannot add
    entries from BSEG, BSET, KNB1, KNBK, and so on that are listed here.
    You are right, there is not note that explains this behaviour, but I
    inform you what is the system design. This has been confirmed by my
    Development colleagues.
    Regarding to note 832997, this is valid for releases 500 and 600 when
    New G/L is available. The system functionality has been enhanced in
    release 500 so you can add fields from FAGLFREESEL that is similar
    to BSEG with New G/L.
    BR, Hana

  • How to deal with dynamic selection screen elements when macros are used?

    Hello experts,
    This is regarding the dynamic selection screen elements. Actually the requirement is to modify the existing standard report program RFUMSV00 by copying it into a Z report, adding a few selection screen elements and new fields in the output. I actually did everything required except for the one thing that is going out of my reach.
    There are a certain fields which are coming when they are not supposed to get displayed. I don't understand the code because of its obsoleteness. Neither can I debug it because it is just data declaration.
    This is the code where there is a fault. If I copy the entire code into a new Z report, I'm getting new fields like Entry Date, Document Type, Reference Transaction,  Reference key, Logical system.
      DEFINE selection_screen_line.
      selection-screen: begin of line.
      parameters &3 like &4 default 'X' modif id mc4.
      selection-screen: comment (30) &1 for field &3 modif id mc4.
      selection-screen: comment pos_low(10) text-019
                        for field &2 modif id mc4.  "neu
      parameters &2 like rfums_alv-variante modif id mc4.
      selection-screen:
          position pos_high.
      selection-screen: pushbutton (15) text-028
                        user-command &5 modif id mc4.
      selection-screen end of line.
    END-OF-DEFINITION.
    Kindly, suggest me the right solution.

    In the program attributes ( SE38 > RFUMSV00 > GOTO > Properties ), you will find a logical database BRF declared. The include DBBRFSEL is part of the selection screen of this logical database.
    The selection screen is actually the selection screen of this logical database.
    Under the Logical Database field, there is a Selection screen field where you can input which selection screen of the logical database to be used.
    But, this is just to change the selection screen that is displayed. To completely suppress it you need to remove logical database declaration from the properties of the program and call it inside your program through function module.
    You cannot just remove it from the declaration because many of its variables are used in the program.
    So call it using function module as the first step in INITIALIZATION section of the program.
    The syntax and function module to call it in your program can be found in the following thread :
    How to hide the selection screen of a Logical datebase?
    Regards,
    Ashish

  • Error while creating query in Adhoc report

    Hi Experts,
    when i am creating query using tables bseg,bkpf and kna1(logical database BRF) and vbrk,i am getting error as "query Specifications cannot be used to generate list" in SQ01.I linked BRF logical database with vbrk by using condition vbrk-vbeln = bkpf-awkey.
    is my condition is wrong in linking VBRK to BRF logical database.please guide me how to solve this.
    If my joining is wrong means why i didnt get error in SQ02.??
    Required fields are:Invoice number(vbrk),invoice category(vbrk),invoice date(vbrk),account document number(bkpf),company code(bkpf),G/L account(bseg),currency(bseg),state(kna1),invoice amount(vbrk).
    Do i picked fields from wrong tables?/
    Thanks&Regards,
    narasimha.

    can somebody help on this
    Regards,
    narasimha

  • Modifying selection screen of LDB

    Hi,
         I copied a standard report (RFCLLIB04) in a Z Report. This Report uses a logical database BRF. I have to put a check box on the selection screen in between the fields provided by Logical Database BRF i.e i have to put a check box after the field 'Ledger'.
    How can i achieve this ?
    Thanks,
    Ibrahim

    Hi,
    You can not add a chec box in between the selection screen of a LDB but you can add as an extra field at the bottom. If the user dont want to add in this way you can also look for the other selection screen whic may have the fields like you wanted.
    To achieve this goto --> attributes >  Report category> search for the required category here. It will change the selection screen. Other wise you need to create one customisex report category.
    thanks,
    Preetham

  • Fields required for report creation

    Hi Experts,
    In My report(Invoice distribution report for company wise) I need to add fields
    invoice number,
    invoice status,
    invoice type,
    invoice date,
    invoice period,
    customer number
    account document number,
    company code,amount in local,
    g/l amount
    currency,
    customer name ,
    city,
    state.
    I have taken tables VBRK,BSEG and KNA1.I fetch fields from these tables as follows
    VBRK-invoicenumber,invoice status,invoice type,invoice date,invoice period,customer number.
    BSEG-Account document number,company code,amount in local,G/L amount,currency.
    I planned to join VBRK-vbeln = BSEG-Vbeln,
    KNA1-customer name,city,state
    I planed to join VBRK-KUNAG = KNA1-KUNNR.
    In order to test whether the values are populating as expected I tried to create Quick viewer report.
    When I create report using data source;table join when I add table bseg I am getting error as bseg is not used in join condition.
    So I checked logical data base for these 3 tables but only for bseg and kna1 two ldb are common:BRF,DDF
    My Question are:
    1.How can I include BSEG in table join as data source in creating Quick viewer report.
    2.If I use LDB BRF or DDF I can fetch all fields except invoice status and invoice type where other fields mentioned in VBRK can also fetch in BSEG.How can I get invoice status and invoice type in report.
    3.Please let me know whether my field or table selection is wrong in creating report.
    Please let me know how to get above fields in convenient way. I am waiting for your reply.
    Thanks&Regards,
    narasimha.

    Hi,
    As you suggested when i am creating query using tables bseg,bkpf and kna1(logical database BRF) and vbrk,i am getting error as "query Specifications cannot be used to generate list" in SQ01.I linked BRF logical database with vbrk by using condition vbrk-vbeln = bkpf-awkey.
    Is my condition is wrong in linking VBRK to BRF logical database.please guide me how to solve this.
    If my joining is wrong means why I didn't get error in SQ02.??
    Required fields are:Invoice number(vbrk),invoice category(vbrk),invoice date(vbrk),account document number(bkpf),company code(bkpf),G/L account(bseg),currency(bseg),state(kna1),invoice amount(vbrk).
    Do i picked fields from wrong tables?
    Regards,
    narasimha.

  • Moving query from SQV1 to SQ01?

    I have created a query in SQV1 though other users want it in SQ01 how can I do this?
    Many thanks
    Also what is the difference between logical database and table?

    To convert: In SQ01 use Query > convert quickview.
    Logical databases usually have multiple table with joins already set up, plus other functionality around selection parameters and authorisations that aren't in infosets based on tables.
    regards
    Mark

  • Help needed for where used list

    Hi All,
    I want to use where-used list for the logical database BRF(Selection screen 950).When i hit where-used list in SE36
    it gives all the programs which use LDB 'BRF' but i want only the programs that use LDB 'BRF' and selection screen 950.
    Regards
    Divakar

    hi
    good
    go through these links
    http://help.sap.com/saphelp_nw04/helpdata/en/03/07b4e75eee423aafab88354306eafc/content.htm
    THANKS
    MRUTYUN

  • Alt. account

    In SQ01 query, For BSEG and BKPF combination, if there is no alternative account given for a GL account in the particular company code; system should give us the error, but I am not getting any error.
    Please advice.
    Thanks in advance

    You cannot use Cluster tables for Queries. You can only use transparent tables.
    If you want to know a particular table is Cluster or Transparent, GO to SE11 and give the tabe and say display. On the top the table is described.
    In your case I recommend you using SQ01 with Logical database "BRF" where the feilds you are lookig are avialable.
    Reward points if useful.
    Sarma

  • QuickViewer - logical DB PNPCE.  Same person on multiple lines in result

    Hi
    I have created a Quickviewer using SQVI.  Logical DB PNPCE is used as data source.
    When I create the quickviewer I first has to build up the infoset by selecting info types to be included.
    I select several info types.
    When I build up the report I select fields also from several info types.
    Next is to execute the report.
    When I get the result list it is several lines for each person.  I may look like one line is displayed for each info type (included in the infoset) that the person has info in.
    This is even that I have build up my report with only line.
    Content is more or less the same on all lines for the person.
    How can get only one line for each person?  Even when I select info from several info types.
    Best regards
    Tom

    HI,
    check the infotypes used in the infoset with ONE personnel number that gives you several line items.
    There must be some infotypes where there is more than one data record stored for one personnel number (eg many infotypes have time dependent entries (begin-date / end-date) thus moe than one entry exists for the same personnel number if tthere are more begin / end time intervals.
    If you have identified the infotypes causing the multiple line items, define your selectioncriteria in a way that only ONE record is selected.
    best regards, Christian

  • Back and Forth Logic in process-controlled (BRF) workflows in SRM 7.0

    Hi all,
    I am using the process-controlled workflow in SRM 7.0.
    The approval itself works ok, but now I am trying to set up the back-and-forth functionality (similar to how it worked for the Badi in SRM 5.0) as default:
    This is what happens:
    Requester creates shopping cart.
    Shopping cart goes for approval.
    Approver rejects SC.
    Back at the requester the SC can only be displayed, but not changed.
    As far as I can tell this happens for any kind of decision set (as long as all items are rejected).
    This is what I am trying to set up.:
    Once the SC is back at the requester, he can either accept the rejection OR change the SC and 're-order' it ie send it back to approver again.
    I know if the requester checks the flag 'Work Item to Requester at Process End' this can be done, but I need the system to have this functionality automatically without setting a flag manually.
    I really appreciate any suggestions on this issue.
    Cheers
    Ulrike

    Dear Masa,
    thanks for your helpful answer. I have an better idea now, but I am still not quite able to set it up.
    I have applied note 1296209.
    When i tried to set up this step I did the following:
    level type of that step I used 'Approval with completion'.
    Created Expression of type SAP Formula Interpreter, with return type Boolean, and use formula:
    0V_WF_CURRENT_DECISI = 'REJECTED'
    linked the evaluation id to above expression.
    Task id for the step is: 40007994 - Accept Decision / Adjust Document
    When i do this and create a SC, my system dumps after clicking on describe requirement::
      The following error text was processed in the system SR7 :  The method could not be found at dynamic call.
    The error occurred on the application server SAP01_SR7_07 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
          Method: CALL_RFW of program /SAPSRM/CL_WF_RULE_CONTEXT====CP
          Function: /SAPSRM/WF_BRF_0EXP000 of program /SAPSRM/SAPLWF_BRF_DATA
          Method: PROCESS_SPECIFIC of program CL_CALL_FUNC_METHOD_BRF=======CP
          Method: IF_RULE_COMPONENT_BRF~PROCESS of program CL_EXPRESSION_BASE_BRF========CP
          Method: GET_RESULT of program CL_EXPRESSION_POOL_BRF========CP
          Method: IF_EXPRESSION_BRF~GET_SUBEXPRESSION of program CL_EXPRESSION_BASE_BRF========CP
          Method: IF_FOEV_CONNECTOR~EVALUATE of program CL_FORMULA_BRF================CP
          Method: EVALUATE of program CL_FOEV_FORMULA===============CP
          Method: EVALUATE of program CL_FOEV_FORMULA===============CP
          Method: EVALUATE of program CL_FOEV_FORMULA===============CP
    What I don't understand about your explanation is what you mean by "Acceptance by Contact person". I don't have that option anywhere in my BRF? Is that supposed to show up under Resp. Resolver Name (like RR_MANAGER)?
    Also where did you add that step in Process level configuration? I have 2 approval steps (just approval, without completion) and then i wanted to enter this step after those levels before the automatic system decision.  But i wasn't able as the system doesn't allow you to add a completion step after a 'normal' approval step.
    Cheers for your help
    Ulrike

Maybe you are looking for