Regarding SAP Note 410799 - Enhancement of line item extraction FI-GL, FI-C

Please read this note on this part:
....  Therefore you have to program a function module that reads the customer master in the R/3 system (table KANN1) and fills the ORT01 field of the customer enhancement. In the changing parameter C_STRUCTURE the filled fields of the extraction structure DTFIAR_3 are available to you. With the KUNNR field of extraction structure DTFIAR_3, you can select the respective master data record from table KNA1 and determine field ORT01 of the customer enhancement.....
How do I get access to the fields in C_STRUCTURE?
How do I fill fields in C_STRUCTURE?
thanks!

Hi,
This error due to that you are inserting duplicate records into DSO Key fields.
Check your record in PSA and remove duplicate reocrds from PSA and try to run transformation again or you need to change primary key of your DSO to fit PSA data.
Thank you,
Regards,
Govind.

Similar Messages

  • Not able to delete line items using BAPI_OUTB_DELIVERY_CHANGE

    Hi,
        Not able to delete line items of a delivery using BAPI 'BAPI_OUTB_DELIVERY_CHANGE', with thte below code and even return parameter has zero messages.
    I have even checked existing below posting.
    https://www.sdn.sap.com/irj/scn/logon?redirect=http%3a%2f%2fforums.sdn.sap.com%2fthread.jspa%3fthreadid%3d782509
    Below is the code that i am using.........
    *wa1-deliv_numb = wa_lips-vbeln.
    wa1-deliv_item = wa_lips-posnr.
    APPEND wa1 to item_data.
    wa-deliv_numb = vbeln_so .
    wa-deliv_item = l_item.
    wa-del_item = 'X'.
    APPEND wa TO item_control.
    w_header_data-deliv_numb = vbeln_so .
    w_header_control-deliv_numb = vbeln_so .
    w_delivery = vbeln_so .
    *w_header_control-dlv_del = 'X'. "Delete whole Delivery
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
      EXPORTING
        header_data    = w_header_data
        header_control = w_header_control
        delivery       = w_delivery
      TABLES
       item_data      = item_data
        item_control   = item_control
        return         = return.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
    I have even  tried uncommenting item_data parameter but not able to delete line item.....i am able to delete whole delivery but not line items .........can any one of u help me in resolving this issiue plz ???
    Regards,
    M, Manohar

    Kindly use WS_DELIVERY_UPDATE to delete the items
    Sample code:
    L_VBKOK-VBELN_VL = vbeln_so.
    clear l_vbpok.
             refresh l_vbpok.
             l_vbpok-vbeln_vl = vbeln_so
             l_vbpok-posnr_vl = wa_deliv_item.
             l_vbpok-lips_del = c_x.
             append l_vbpok.
             set update task local.
             call function 'WS_DELIVERY_UPDATE'
               exporting
                 vbkok_wa = l_vbkok
                 commit   = ' '
                 delivery = lv_delivery
               tables
                 vbpok_tab = l_vbpok
               exceptions
                 others   = 0.
             commit work and wait.

  • SAP QUERY report for vendor line items

    Hi
    I have created a SAP QUERY report for vendor line items with fields vendor no.,vendor name,amount,company code and period.But there is one line item i donot know from wher system is getting it picked with is not in that vedor account,when i compare with fbl1n.I checked the document number too...the same doc number is twice in my query report.One with correct amount and another with wrong one.How do i chk.Where did i go wrong in creating query.I used logical database KDF.
    Please advise.

    i chked...how do we get the amount displayed in query...it just displays amount no debit credit symbol... i have selected BSEG-DMBTR field but no -/+ sign,how is it done in query,please suggest.

  • FS10N balance not tie with FBl3N line item totals

    Hi
    I searched the forum for posting on FS10N and FBL3N incorrect balances and I did not any post appropriate for my issue. Hence I am posting my issue here.
    For a particular month, say 072010, FS10N GL balance does not tie with FBL3N line item totals. I am not sure why. In our case, we did not archive any line items and this is not related to year end carry forward. Year beginning GL balances look fine. We dont have any negative postings. Only few GL balances are off. We are using 4.7 version.
    Do you know why this inconsistency and how to rectify it? Is there any program which I run apart from Yead End carry forward?
    any ideas really appreciated.
    Thanks

    Hello
    We have already this trouble.
    To correct it you need to proceed like this (when NewGL is not activate, with new Gl there is one new programm)
    Without newGL
    - Block account to be posted (transaction FS00 Block for posting in the company view)
    - Delete open item, by using the programm RFSEPA03 (you need to adapt it by a copy because if you don't you can't run it), also this programm will unflag your account in the company view
    - Delete line item by the standrd program RFSEPA04
    - Create the line item by the standard program RFSEPA01
    - if this account is managed by open item, run the programm RFSEPA02 (you need to do the same adjustement of the RFSEPA03)
    With NewGL, there is something new. the program RFSEPA02 is linked with a new transaction and you don't have to adjust it FAGL_ACTIVATE_OP. The difference is when you create the open item, you have to define the default profit center and default value depending of the customizing of the leading ledger.
    BBest regards
    Philippe,
    Thanks for the rewards.

  • Document should not splitt to tax line items

    Hi,
    Document should not splitt for tax line items,currently it is happining how contol this.
    Thanks and Reg

    Hi,
    Then in the document splitting configuration, you can remove the base item category for this TAx Item Category.
    Regards,
    SDNer

  • Condition type not appearing in PO line item

    Dear All
    I made a condition type Y001 for agriculture tax with below mentioned config. and marked as both header and item condition.
    Cond. class   A Discount or surcharge
    Calculat.type A Percentage
    Cond.category B Delivery costs
    Manual entries      C Manual entry has priority
    Now problem is that when I am making contract in contract line item condition Y001 condition is appearing in dropdown and I am able to enter the same in contract and save it.But when I am trying to make a PO by referring the same contract with line item condition Y001, this same condition is not appearing in PO and also it is not appearing in dropdown also so that I can manually enter the same.
    Please let me know why system is behaving like this.
    Regards
    SK

    satish kumar wrote:
    In short condition type Y001 is appearing in contract line item condition tab while making contract but same condition is not appearing in PO line item condition tab while making PO.
    Hi Satish,
    Perhaps you have not assigned the pricing procedure to the Purchasing Orgn & Vendor in IMG Schema determination. Have a chk once and if you have assigned try maintaining a PIR and I hope it should populate the priceing procedure and your cond type Y001 in the PO also.
    Anything pls revert
    Regards
    Shiva

  • Accounts Payable Line Item Extraction to BW from SAP using Business Content

    Hi,
    I have to set up the AP Line Item extraction into BW using the Standard Business Content.
    Could someone please gide me through the process for doing it ( Step-by-Step if possible), both from the SAP R/3 side and the BW side.
    Any help deeply appreciated.
    Regards

    goto rsa5 in R/3  -- select 0FI_AP_4 and click install...if you goto RSA6 and see this datasource there then it means it is installed..
    now come to B/W ...goto source system...right click on source system and replicate datasource...
    on the left side you would..modeling...transport organizer etc... goto business content tab...
    goto grouping and it should be set at 'Only necessary objects'.
    click on object type on the left side...and it will see..goto Infocube ...select the one which i mentioned below..select it and drag to the right side..similarly do this for ODS, infosource, UR, TR...and click install you should be set...
    0FIAP_C03 - Infocube
    0FIAP_O03 - ODS
    0FI_AP_4 - Infosource
    update rules
    transfer rules...
    Please assign points if it was helpful

  • Not able to display line item 20 in contract

    I could not able to display line item 20 in the contract document.
    line item 10 and 30is there however there is no line item 30. What could be reason and how to enable the same.
    MRS

    It may also possible if user forgot to enter the line item 20 and jump to line item 30 after 10 as below.
    Then system will show as like this

  • System should not allow to add line items in delivery

    Hi,
    1) system should not allow to add line items in delivery( in reference to sales order or STO)
    2) sales order/STO should not be changed if delivery exists
    how to control the above
    Alec

    Hi Lakxmi,
           I found answer for 1st point from you are old answers.
          can you throw somelight on 2nd point.
    Thanks
    Anil

  • New GL Line Item Extraction

    Please clarify this requirement for Line Item Data from  New GL. my client BMW Inc have configured  New GL in ECC 6.0  if i pull all the records to BW from FAGLFLEXA (Line Item Table) is that sufficient to meet the <b>all line item GL data</b> or is there any other tables missing that also shall be combined to bring the Line item GL  data. Please help me for this if u can check with any of your friends in FICO.  
    2. I have seen that BSEG AND BKPF are used earlier in old FI  versions so what is there now in New GL ECC 6.0 that will suffice for these BSEG AND BKPF  or still i have to pull records by using these tables. for GL Line Item Data.
    If you can help me to give the short  overview of  New GL posting process it would be great.
    Thanks
    Regards
    Soniya Kapoor

    1. If I use FAGLFLEXA Line Item Table , how to combine the remaining fields such as BLART Document Type etc.. from BSEG AND bkpf
    We are using BSEG_ADD instead of bseg with the same DS – 0FI_GL_4. you would need to enhance the same DS to read the BSEG_ADD. But I would suggest talk to ur finance folks to see if BSEG_ADD captures all the required fields as that of FAGLFLEXA
    2. What is BSEG_ADD: Entry View of Accounting Document for Additional Ledgers, Should i also Include this table since it contains some fields like BSTAT
    document status etc for line item.
    It is a new table that comes along with the new GL – it even captures all the line items just like BSEG as in the old ledger.
    3. If I take the approach with line item as per new GL TABLE : FAGLFLEXA. and
    BSEG_ADD by creating generic data source on two table and enhance any other required fields like blart Document Type will it solve the line item extraction purpose
    If ur finance folks can confirm which table need to be used, ur strategy might change. If say BSEG_ADD is good enough to capture all the items, do as I suggested by enhancing the old DS - fi_gl_4
    4. I took the approach as mentioned in Point 3 . but not able to create the generic data source
    Not sure of ur approach
    5. I have reviewed 0FIGl_4 LINE ITEM Data source and found that it contains only bseg and bkpf but no faglflexa table fields. so suggest if i can proceed as number 4.
    Just as I said add code to make it read BSEG_ADD too along with BSEG.
    FAGLFLEXA & FAGLFLEXT

  • New GL Line Item Extraction: Automobile Industry

    Hi, All of you are so nice to help me , but Please help me to clear this up for final desgin, people have mentioned on sdn that For new GL ledeger configuration totals table we use FAGLFLEXT table and for line items we still use BSEG and BKPF tables. but Function team FICO at my client BMW and other clients for automobiles, have mentioned that FAGLFLEXA. is used for line items but that does not contain all fields of BSEG and BKPF . so please help me what should I do to resolve the below
    1. If I use FAGLFLEXA Line Item Table , how to combine the remaining fields such as BLART Document Type etc.. from BSEG AND bkpf
    2. What is BSEG_ADD: Entry View of Accounting Document for Additional Ledgers, Should i also Include this table since it contains some fields like BSTAT
    document status etc for line item.
    3. If I take the approach with line item as per new GL TABLE : FAGLFLEXA. and
    BSEG_ADD by creating generic data source on two table and enhance any other required fields like blart Document Type will it solve the line item extraction purpose
    4. I took the approach as mentioned in Point 3 . but not able to create the generic data source please let me know if you have any template to create the function module generic datasource. please send me step by step guideline would appreciate it. if you have any documents send me at [email protected]
    5. I have reviewed 0FIGl_4 LINE ITEM Data source and found that it contains only bseg and bkpf but no faglflexa table fields. so suggest if i can proceed as number 4.
    Thanks
    Regards
    Soniya Kapoor

    Hi Sonya,
    Have you received any responses to this question or found an answer on your own?  I'm also implementing the new FI-GL on ECC 6.0 and am wondering how to generate the line item datasources for BI 7.0.  The standard extractors of 0FI_GL_10 and 3FI_GL_xx_TT are only for totals records coming off the FAGLFLEXT table.  The line items are stored on the FAGLFLEXA table and the only way I know how of getting info is to create a generic datasource.  I was wondering if there is a function to generate a standard line item datasource.
    Thanks,
    K-D

  • FI- Line Item Extraction- BWOM_SETTINGS- Control Table Entries

    Gurus,
    I am working on FI- Line item extraction in the sand box. I have all my DS's in Nodes not connected. I transfereed the application component hierarchy in SBIW. Now I went to check on the basic settings before activating the DS's for FI line item- in the control table, BWOM_SETTINGS, I could not find any parameters- lowlimit, safety, there are only 2 parameters-OBJSELSICO-'X', and OBLIGODELT- ' '.
    We can enter the param values manually and transfer global settings to BI. Could we do the same for fields too. Could we enter them manually?
    Why does my control table doesn't have the fields for std line item extraction- lowlim, safety, timbor, overla. My plug- ins are good. I have all the plug ins. I can see them in dev box but not sand box. Why?

    Hi Ram,
    I think Time stamp will set in this table when we run first delta or init in BI system.
    So activate the data source and replicate the same BI system. develop data model for this data source and run the init for this data source.
    then you will be able to find time stamp for this data source.
    FI-Line item data-Delta.
    0FI_GL_4 delta functionality?????
    Regards,
    Venkatesh

  • FAGLL03 report not filtering G/L line items based on vendor entered in free selection

    Hello SAPians,
    I have a requirement to add Vendor field in the free(dynamic) selection of the standard report FAGLL03 so that G/L line items are displayed(filtered) based on the vendor values given.
    I followed the SAP note 945932 to create the vendor field by adding the ZZLIFNR in the custom include  of the table FLAGFLEXA followed by the configuration of custom fields in SPRO tcode. Post that I tested the report by giving one particular vendor number and came to know that no line items were displayed.
    Upon debugging the program I came to know that , while selecting the data from the Inner join of BSIS and FLAGFLEXA tables, vendor number on FLAGFLEXA forms the part of WHERE clause and eventually no records are selected since all the existing records wont be having vendor number maintained in FLAGFLEXA table.
    However I asked the functional guy to post the new line items under the assumption that it might update ZZLIFNR field in FLAGFLEXA. But our assumption turned out to be wrong. At this point I seek advice from your experience on the following points.
    1) My understanding that failing of inner join condition is the root cause for data being not fetched in the output. Is it correct?
    2) When we add new custom field in FLAGFLEXA(ZZLIFNR in my case), how the data needs to be populated for that particular field from       functional/technical perspective? Does the custom scenarios in SPRO are related to this in anyway?
    3) How do we need to handle the old records existing in the system with respect to the updation of new field(column) added?
    Any inputs in this regard is very much appreciated.
    Thanks & Regards,
    Yaseen

    Hello Dennis,
    thanks for the tip, your assumption is right, it's regarding 0FIGL_V40 in BI 7.0. Could you please be more detailed, which BW 3.x InfoSource do you mean? Or what exactly has to be done?
    The "objects" under this InfoCube are - transformation, datasource (0FI_GL_40) and InfoPackage, that's it. When I check InfoCube Type/Namespace - it is based on Data Transfer Process for DirectAccess, but the checkbox With InfoSource 3.x is not checked..
    Thank you in advance for your answer.
    Regards,
    Peter

  • Profit Center Not coming in Vendor Line Item in MIRO

    Hi Experts,
    We are facing one problem when we are posting miro in one plant profit center is coming in vendor line item in miro. But when we are posting miro with the same material code but with different plant same company code. But in miro vendor line item profit center is not coming.
    What mistakes we have done in spro.
    Kindly help me out.
    Regards
    GR

    Hi
    Normally vendor line item will not carry profit center, hence I think this is populated through some enhancements.
    Hence you may need to analyze with the help of an Abaper.
    Regards

  • SAP Script Check printing Layout, Line Items to display twice in First Page

    Hi All,
    This requirement is for US check printing Layout.
    My Requirement is to display Items twice on the first page.
    Eg : Main Window has 10 Items, I need to display all the Items at the bottom in another window at the bottom.
    I can't create 2 Main windows in the first page, as the data from the Main window 1 overflows to Main window 2 in the first page.
    I copied print program RFFOUS_C into a Z-version and try to implement the logic, however unable to print the line items in the bottom window.
    Kindly give your valuable Inputs.
    Thanks
    Vinayak

    Hi
    I had the same request for a check form in Canada. I solved it by writing the line item output into variables and print these variables in a second window. It was ~10 hours of effort, not a real nice technical solution but it worked.
    If you require I can send you a PDF of the sap script form definition. You can contact me at [email protected] Answers can take 1 week or more. 
    Best regards
    JD

Maybe you are looking for