Infoset query of vendor payments at the cost distribution level

We would like an infoset query of vendor payments at the cost distribution level of the document.  The issue seems to be joining vendor to the document cost distribution lines. 
1.) BSAK + BSIK can be combined with an infoset data structure but only contain the vendor line of a document;  the cost distribution lines are not in the tables. 
2.) BSIS + BSAS can be combined with an infoset data structure but lack vendor data and joins (to a vendor source) are not an option with data structures.  Vendor data added with an additional field is too slow to be a primary selection field. 
3.) Logical data base KDF in an infoset returns only the vendor line of a document, not the cost distribution lines. 
4.) Logical data base BRM in an infoset can have vendor from BSAK/BSIK attached by an additional field but performance is too slow to be useful.  Joins are not an option in a logical data base infoset.
5.) Complete data is lacking when table joins between document cost distribution tables and vendor data tables are possible, (SPL actual line item table & BSIP or FMIFIIT & FMIFIHD).  BSIP lacks AB documents (reversals).  FM tables lack general ledger only documents. 
6.) BSAK and BSIK together have complete vendor data but joins of both to a basis table do not work well.  Left outer joins are too slow, inner joins won’t work since the tables have mutually exclusive data. 
It would be ideal to have vendor in BKPF, like FMIFIHD has, but it isn't a field.
Does anyone know of any other options?  I have seen the helpful thread on How to Read BSEG Efficiently

Hi,
This is SAP Business one reporting and printing forum. Please find correct forum and repost above discussion to get quick response.
Please close this thread here with helpful answer.
Thanks & Regards,
Nagarajan

Similar Messages

  • Infoset query of vendor payments at the cost distribution level of the document

    We would like an infoset query of vendor payments at the cost distribution level of the document.  The issue seems to be joining vendor to the document cost distribution lines. 
    1.) BSAK + BSIK can be combined with an infoset data structure but only contain the vendor line of a document;  the cost distribution lines are not in the tables. 
    2.) BSIS + BSAS can be combined with an infoset data structure but lack vendor data and joins (to a vendor source) are not an option with data structures.  Vendor data added with an additional field is too slow to be a primary selection field. 
    3.) Logical data base KDF in an infoset returns only the vendor line of a document, not the cost distribution lines. 
    4.) Logical data base BRM in an infoset can have vendor from BSAK/BSIK attached by an additional field but performance is too slow to be useful.  Joins are not an option in a logical data base infoset.
    5.) Complete data is lacking when table joins between document cost distribution tables and vendor data tables are possible, (SPL actual line item table & BSIP or FMIFIHD & FMIFIIT).  BSIP lacks AB documents (reversals).  FM tables lack general ledger only documents. 
    6.) BSAK and BSIK together have complete vendor data but joins of both to a basis table are not an option.  Left outer joins are too slow, inner joins won’t work since the tables have mutually exclusive data. 
    Does anyone know of any other options?

    Hi,
    This is SAP Business one reporting and printing forum. Please find correct forum and repost above discussion to get quick response.
    Please close this thread here with helpful answer.
    Thanks & Regards,
    Nagarajan

  • Query for Vendor Payment in SAP

    Hello All,
    I am a sap abap developer with little knowledge in SAP MM and SAP FI modules.
    As per some requirement of my company ,i have created a PO then its GR and finally IR.
    Now when i checked EKBE table (History per Purchasing Document) , i found two record in this table out of which one with
    VGABE = 1 (Good Receipt) & another with  VGABE = 2 (Invoice Receipt) .
    Now my requirement is ,i want a entry in this table with VGABE = 5 (Payment) but i don't know how to do payment of vendor in sap so that this table will populate with a entry for payment type.
    Please help me and let me know what will be the flow with tcodes to do the vendor payment in sap.
    Please reply ASAP.
    Thanks in advance.
    Regards.
    Abhinav Goel.

    Hello Mr.Raman,
    Thanks for your response to my query.
    As per my company requirement i have to track duplicate payment made to the vendor against same PO.
    So for that after completing the cycle PR-PO-GR-IR-F-53 finally i found two records in BSAK table out of which :
    One record was  with my accounting document no from my invoice receipt of type RE.
    Another record was with the vendor payment clearance document with type KZ.
    Now again i have done payment to the vendor using F-53 tcode and now i found one more record with belnr = last payment document no and augbl = new payment document no. with type KZ.
    So if i use below mentioned logic to track for duplicate payments made to the vendor ,then it will be fine or if not can you suggests me the needful changes in the logic.
    1.) Check If record exists for my belnr no from invoice recipt in bsak.
    2.) Take AUGBL No for this BELNR No and check if record exists for this AUGBL with type KZ.
    Note:Means payment is done to the vendor upto this logic.
    3.) Now if with the found record with type KZ any other record found with type KZ it can be taken of as duplicate payment made to the vendor.
    Please suggest me if above mentioned logic is fine.
    Regards.
    Abhinav Goel.

  • InfoSet Query: Syntax Error while generating the program.

    Dear All,
    I have a Query in CRM system which contains an Infoset based on LDB.
    The InfoSet Query throws up a Syntax error while generating the program.
    So, we are not able to change the Infoset using the Infoset Query through SQ01.
    The error is as follows:-
    Syntax error in program "AQZZ==/SAPQUERY/CRM_ACTMON1 ".
    Error in the ABAP Application Program
    The current ABAP program "CL_QUERY_OUTPUT_DEFINITION====CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "AQZZ==/SAPQUERY/CRM_ACTMON1 "
    in include "AQZZ==/SAPQUERY/CRM_ACTMON1 " in
    line 28:
    ""CRMT_REPORT_LOCATORLIST" must be a flat structure. You cannot use int"
    "ernal tables, strings, references, or structures as components. -"
    Please help me arrive at an solution, so that we are able to change the Infoset through the InfoSet Query.
    Awaiting your reply as soon as possible.
    Thanks and Regards,
    Pankaj.

    There is an error in your query, specifically in the definition of CRMT_REPORT_LOCATORLIST. In the short dump (transaction ST22) you will see more details and the exact location of an error if you just scroll down.
    I can't tell more because this problem is specific to your system, to which I have no access. Read the whole dump and look at all the objects mentioned there.

  • Disabling the cost distribution button on the Process Purchase Order Screen

    This is probably a simple question, but we have been unable to find the place to disable cost distribution on the SRM Process Purchase Order screen for limit orders ONLY.  Basically, we just want this functionality to not be available to users.  Can anyone direct us to the correct configuration for this?  Or do we need to edit the BADI?
    Thanks  in Advance!

    Hello,
    You can hide this field by creating a screen variant through SHD0 transaction. I have tested here and I
    could hide it (GV_DIST_IND in Program SAPLBBP_PDH_ACC screen 1000).    
    In the screen variant you should mark the output of GV_DIST_IND field.
    However, this option would hide this button for all documents.
    Kind regards,
    Ricardo

  • Infoset Query- How do I clear the in-built selection screen in LDB

    Dear Experts,
    When LDB is used in queries unwanted selection screen blocks appear.
    Please help in getting rid of the same.
    Kind Regards
    Jogeswara Rao

    Hello Jogeswara,
    1.  In the Infoset push button Extras and then select Code tab.
    2.  Select AT SELECTION-SCREEN OUTPUT for Code Section.
    Suppose your query is based on logical database KDF and you went to hide the SELECT-OPTIONS for Company Code.
    loop at screen.
      if SCREEN-NAME = '%_KD_BUKRS_%_APP_%-TEXT' OR
         SCREEN-NAME = '%_KD_BUKRS_%_APP_%-OPTI_PUSH' OR
         SCREEN-NAME = '%_KD_BUKRS_%_APP_%-TO_TEXT' OR
         SCREEN-NAME = '%_KD_BUKRS_%_APP_%-VALU_PUSH' OR
         SCREEN-NAME = 'KD_BUKRS-LOW' OR
         SCREEN-NAME = 'KD_BUKRS-HIGH'.
        screen-invisible = '1'.
        screen-active = '0'.
        modify screen.
      endif.
    endloop.
    Kind Regards,
    Rae Ellen Woytowiez

  • COST DISTRIBUTION on OVERTIME

    Hi All,
    We have a issue in cost distribution on overtime. We use FLSA Overtime calculation in time. The OT is calculated after meeting the thershold and OT payment is paid in PY. Since the time is passing the accumulated numbers as wage type after thershold is met, we are loosing the cost allocation in Payroll.The attendence is entered in CAT2 as 24hrs format. If the employee knows that the OT belongs to different Cost, then the Employee enters the hours based upon the Cost center.
    Finally when it comes out -of Time evaluation, everything is lost after thershold is met by FLSA standards.
    Query 1. how to capture the Cost distribution for overtime hours in FLSA overtime calculation.
    Thanks in Advance
    arbindo

    Hi Krish...
    Very first  thanks for your reply. Answer to your reply is ...there are chances for both.technically speaking multiple cost centers can be there for Overtime worked. since the WS is open sun to sat ,workimg hours are 00 to 24 hours employee can be called by different agenicies/ costcenters to work at any time.
    In that case how to capture the CC after thershold.
    Regards,
    arbindo

  • Bapi for Posting the vendor payment.F-53

    Hi,
    I need to post a document for Vendor payment using BAPI, by providing the Vendor Invoice number as Reference number which was created by using the FM PRELIMINARY_POSTING_FB01. I can able to generate a Vendor invoice, But i cant able to make this vendor invoice number as a reference number to post the vendor payment using the BAPI BAPI_ACC_DOUMENT_POST. After Executing this BAPI ,then i check in FBL1N means, the posted document was in open items. It Should be in cleared items. If i manually entered through F-53 means the payment is coming successfully and also as Cleared items in FBL1N.How to solve this issue..
    Regards
    Bala.

    Hi Bala,
    Can you please share your BDC code with me for clearing vendor invoice.
    Regards
    Neeraj Sharma

  • Crystal report from SAP infoset query

    Hi All,
    I am facing a problem in a crystal report which is based on Infoset query. When I run the report after passing the parameters it gives me an error "Database error occured" "Parameter field value does not exists" "RFC Closed"
    But if I run the same Infoset query from SQ01 I am able to run it with same paramenter and it returns many records.
    To be very precise I am running the best practice crystal report "Cost Analysis - Planned vs. Actual Order Costs" which is based on infoset query CO_OM_CA_20_Q1.
    It throws me error that "Controlling Area does not exists".
    Did anyone faced similar problem?
    Best Regards,
    Chetan

    Hi,
    log into your SAP ERP system using the SAP GUI and choose in the SAP Menu the following path:
    SAP Menu -> Accounting -> Controlling -> Cost Cetner Controlling ->Environment->Set Controlling Area.
    Set the desired controlling area for your user there (DO NOT FORGET TO CLICK ON THE DISKETTE ICON) and try again.
    Regards,
    Stratos

  • I am facing a problem in a crystal report which is based on Infoset query

    Hi All,
    I am facing a problem in a crystal report which is based on Infoset query.in the Cost Analysis - Planned vs. Actual Order Costs
    There are two querys like Query: CO_OM_CA_20_Q1 and InfoSet: ZBPBI131_INFO_ODVR. I build infoset query based on sap best practice user guide but problem is not able to find CO_OM_CA_20_Q1
    Best Regards,
    Srinivas

    Hi,
    I would first of all suggest you don't open the same question twice. this looks like a duplicate to this entry:
    Best Practices v3.31 - SAP InfoSet Query connection
    Did you assign the queries and the infosets to an InfoSet user group and you assign the SAP account to it as well ?
    Ingo

  • Vendor payment thru F-53

    Dear friends,
    I have query regarding vendor payment i try to psot vendor payment its thrown error table T043G is missing pls give me soggetion how can i overcome this one.
    Thanks and regards,
    Nauma.

    HI,
    You can create Vendor Tolerances in two ways.
    1. Vendor Tolerances without Group
    2. Vendor Tolerances with Group.
    1. Vendor Tolerances without Group - T Code: OBA3
    Path: IMG/FA/AR&AP/Business Transactions/Outgoing payments/Manual Outgoing Payments/Define Tolerances(Vendors)
    Here give your company code and all other necessary details.
    Dont give Tolerance Group name on the field "Tolerance Group.
    In this case we need not assign the Tolerance name in the vendor master data.
    2. Vendor Tolerances with Group - T code: OBA3
    Path: Same
    Here we have to give Vendors Tolerance Group (Name) on the field "Tolerance Group".
    In this case, we must assign the vendors tolerance group in the respecpective vendors master data
    Path: FK02 ---> Company code data -
    > Payment Transactons. Here we have separate field for Tolerance Group. Give your vendors Tolerance group and save the data
    Hope this helps.
    Regards,
    Kannusamy S

  • Save automatic vendor payment run reference in clearing account assignment

    Hi,
    When executing an automatic vendor payment run, the run is identified with two fields:
    - Run date
    - Identification
    When the payments are posted, the vendors are cleared and an offsetting entry is posted onto the respective clearing account for each vendor. So if there is 100 vendors in the payment run, there will be 100 line items on the clearing account.
    When multiple payment runs are made on the same day, it is hard to separate the line items for each payment run, during the banking process. Each payment run appears with it's total payment amount on the bank statement and should be cleared against the corresponding line items on the clearing account and that's where it becomes hard to easily select the line items that add up to the payment amount.
    Unless of course, the assignment field on the clearing account would hold the run date and identification of the payment run.
    Has anybody encountered the same business scenario and found a solution for it?

    Question closed due to lack of replies.

  • Scheme of Entries for vendor payment under EBS system

    Hello Friends,
    I am setting below the scheme of entries as I think is appropriate for making a vendor payment. The scenario is that we will make a payment to the vendor where the payment will be released through BACS (we are working for a UK based client). After the payment run is made the payment is not actually made for some reasons and are returned. Then we make the payment again and this time the payment run goes through smoothly.
    I would request you to please let me know if I am wrong in the scheme of entries and if yes, what would be the proper scheme.
    1.
    When Invoice is raised (FB60)
    GR/IR a/c        Dr        100
    VAT a/c          Dr          20
        To Vendor a/c Cr            120
    At this point there is one open item that is created in the vendor account.
    2.
    When payment run is made (F110)
    Vendor a/c                          Dr              120
          To Unclear BACS a/c     Cr                     120
    At this point the entries in the vendor account are cleared by entry no 1 and 2 and there are no open items.
    3.
    When Bank returns the payment as unsuccessful and we clear the entry (F-03)
    Return BACS a/c             Dr          120
        To Vendor A/c             Cr                     120
    At this point there is one open item that is created in the vendor account
    4.
    When payment is once more made and this time successfully
    Vendor a/c                       Dr             120
       To Unclear BACS a/c    Cr                       120
    At this point entries 3 and 4 clears the open items in the vendor account and there remains no other open items.
    Can someone please confirm if the sequence is correct or is there an additional step involved for resetting of any document after entry 2 when the payment run fails?
    Regards,
    Suvarghya Dutta

    Hello,
    When you have done step 2, immediately you will not come to know that your cheque is failed, only when you receive the bank statement.
    In that case I would not expect you to post to a different account "Return BACS a/c". I do not see any reason for this account. I would expect you to debit to the same account "Unclear BACS a/c", which has been used in order to make the payment.
    If you are using a different account for reversal, then you have to take two accounts for reconciliation purpose.
    MIRO
    GRIR Account Dr
      To Vendor Account
    F110
    Vendor Account Dr
      To Bank Sub-account (In your case Unclear BACS a/c)
    FF67 or FF.5
    If successfully paid
    Bank Sub Account Dr
      To Bank Main Account
    If returned or unsuccessful (*)
    Bank Sub Account Dr
    To Vendor Account
    If you are posting the entry (*) through bank statement, then no need to use FBRA.
    Use FBRA immediately once you run F110 and you know that you have paid the vendor erronously. But once it reached bank and bank has issued bank statement, I would not expect you to run FBRA, but I would like to use FF67 process.
    Regards,
    Ravi

  • Addtional Structure on InfoSet query of Logical database

    Hi Experts,
    We have a logical database on which we are supposed to create an InfoSet query. We could create the InfoSet query and also the query on top of it.
    We have a requirement to add addtional fiels which are not part of the logical database. The addtional fields are in a strucuture. I added the strucuture using the Extras option, but I need help on how to extract data from this strucuture.
    Can you please help me with a sample code:
    Logical Database in question is - FTI_TR_PERIODS
    Structure to be included is - VTG_IRATE_STRUCTURE
    Field in structure to be included is - PKOND, SKOART
    As this is a structure we cannot right a select statement, and I am very new to abap and require help on how to extract data from the structure.
    Thanks for your help.
    Best Regards,
    Ravi

    Hi,
    This is SAP Business one reporting and printing forum. Please find correct forum and repost above discussion to get quick response.
    Please close this thread here with helpful answer.
    Thanks & Regards,
    Nagarajan

  • Vendors Payment Before Due Date

    Dear All,
    We could like to restric the release of Vendor payment before the due date.
    We feel there is a system in SAP by which it should give a Error/ warining message (pop up) if any payment is made before the due date.
    Do suggest.
    Regards,

    SAP will give you message if your posting date for e.g. is in past or in future, but the next posting date in F110 parameter decides if you can pay some not due items today or not. SAP will not give you a warning message even if the next posting date is 10 days ahead of today's date.
    In the F110 parameter please make sure Next posting date is always the very next day of the payment run date or Posting date and in the Additinal log tab, please check the indicator Due date check
    This user procedure will make sure that payment is never released before the due date.
    But if still you want some system message to pop up, then SAP standard setting I think will not be of great help, you need to use the BTE00001830 (functional module SAMPLE_PROCESS_00001830) which will help group all the not due items in a group, and exclude the entire group from payments. Information about the group will be received by FM in structure C_REGUH and its line items in table T_REGUP
    By Setting the field XIGNO in C_REGUH to the value "X" the entire group of not due items can be excluded from payments. Please take your abaper help
    Thanks
    Ron

Maybe you are looking for

  • File Sharing vs Internet connection

    Hi, I'm quite new to Macs, so please forgive me for spelling out overly basic information! I'm on a home network which has no access to the internet. Mine is an iMac, while the other 3 computers are Windows based. They are all connected via a wireles

  • Display column_tree in Popup

    Hi there, I just came across a strange problem. I was displaying a column tree on a dynpro. I used the classes cl_column_tree_model for the tree and cl_gui_custom_container as the container class. I prepare everything I need to display. I call the sc

  • Isn't the vga cable a little too short?

    i want to buy another display or projector, but how am I supposed to connect my macbook pro to it when the cable is only like 4 inches long?

  • View group by

    Hey, i'm trying to make MP with incident view with grouping enabled on given column. But i don't see the way to do it. You can enable grouping per user directly from console, but default setting is without grouping. Is it possible to group view colum

  • Detecting if layer is a duplicate of another layer

    Is there a way to say if a given layer is a duplicate of another?