FB70 posting

hi,
I am doing posting of FB70 through idoc.. i m also doing a tax calculation by providing required tax code (e.g. A1).  When i see the document posted (using FB03), i find 2 tax entries in taxes.. i.e. 2 entries with the same tax amount..when i have checked table BSET, there also i find 2 entries.. ideally in BSET table there shud be 1 entry for tax posting.. i m not understanding why this happening..
this is happening only when i post document through idoc..
when i m executing tcode fb70 and ticking automatic tax calculation, @ that time only 1 tax entry is getting posted and in BSET also one tax line item getting stored..
is it happens because of posting through idoc..??
Regards,

Hi
Wellcome to SCN. Check if Note 1444708 - IDoc: Summarization of BSET items.
I hope this helps you
Regards
Eduardo

Similar Messages

  • Determine line items posted in FB70 for customer invoice

    When I post in FB70, with tax code specifications to calculate tax, I see a new seperate line item for TAX in FB03 at the last.
    For example if in FB70 I post only one line item for a G/L account with tax then in FB03 I see three line items. One with posting key 01 then one corresponding to entry that I posted in FB70 and one more with tax amount for the posted entry in FB70.
    Whereas in the invoice to be printed, I need to display only the line item that was posted in FB70.
    In BSEG table how do I determine exact the line items posted in FB70?
    Is there any field that indicates that the entry in BSEG corressponds to FB70 posted entry?

    Hi Suhas,
    You can use the field XAUTO.
    regards,
    amit m.

  • Default Posting date should not be changed / Field status in FB01

    Dear FI gurus,
    In Transactions like FB01, MIRO, FB60, FB70 posting date is appearing automatically. But this date can be changed by the users. We want that the posting date should be made "Display only". How this can be done. Kindly guide.
    thanks in advance.

    Hello,
    There is slight modification in the above mentioned answer:
    Company code = XXXX
    Check
    Posting Date (BKPF-BUDAT) <> Current Date (SYST-DATUM)
    Otherwise
    Give the message number and E (Error)
    regards

  • T code for invoice create

    Hi
    can anybody tell me the T code for invoice create

    Hi Friends,
    You can enter/create invoice with using T-CODE:-
    ZFV60/F-43     Park vendor invoice
    FV60/FB60-    Post vendor invoice
    ZFV70/F-22-    Park customer invoice
    FV70/FB70-    Post customer invoice
    (as authorisation of your SAP ID)
    FV50-   G/L to G/L entry. (Park G/L Document)
    FV65-   VENDOR DEBIT ENTRY (DEBIT NOTE)
    FV75-   CUSTOMER CREDIT ENTRY ( CREDIT NOTE)
    (all above code for manual entry,which not have a Standard format of PO/WO in SAP.)
    MIRO/MIR7-   Park/Post vendor invoice
    MIR4         -   Change miro invoice
    (for Live entry, which having Standard PO/WO in SAP)
    Thanks

  • Runtime error while posting a document (FB70/FBS1)

    Hi
    I am getting a runtime error while posting a document through FB70 or FBS1 .
    The erro description tells The type "CL_BCS_OBJHEAD" is unknown.
    And the program dumps in Function module SO_KPRO_DECIDE.
    Has any one faced this problem?

    Hi,
    Please check the psoting date and also the reversal  date in FBS1. Please check when you have posted the document and when you want ot reverse the same.
    Thank you,
    Shilpa.

  • Problem in posting multiple documents in FB70 through BDC...

    Hi,
       I am facing a problem while posting multiple documents from a flat file in FB70 thourgh BDC batch input by using session method. However, the session is getting terminated after posting the first document. Please clarify my problem.
    Below is a sample of the data in my flat file -
    Customer,Invoice Date,Posting Date,Amount,G/L Account,Amount in doc. Curr.
    34,03.06.2009,03.06.2009,100,211000,100
    34,03.06.2009,03.06.2009,200,211000,200
    34,03.06.2009,03.06.2009,300,211000,300
    And below is the sample code of my program.
    REPORT ZANI2_BDC_FB70
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    TYPES: BEGIN OF TY_STR_FB70,
             ACCNT(20)      TYPE C,     "Customer
             BLDAT(20)      TYPE C,     "Invoice Date
             BUDAT(20)      TYPE C,     "Posting Date
             WRBTR(20)      TYPE C,     "Basic Data - Amount
             HKONT(20)      TYPE C,     "G/L Account
             ITEM_WRBTR(20) TYPE C,
             "Line Item Amount In Document Currency
           END OF TY_STR_FB70,
          BEGIN OF TY_STR_FILEDATA,
             FIELDS TYPE STRING,
          END OF TY_STR_FILEDATA.
    *   data definition
    *       Batchinputdata of single transaction
    DATA:   BDCDATA LIKE BDCDATA    OCCURS 0 WITH HEADER LINE,
    *       messages of call transaction
            MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    DATA: IT_STR_FILEDATA TYPE STANDARD TABLE OF TY_STR_FILEDATA,
          WA_STR_FILEDATA TYPE TY_STR_FILEDATA,
          IT_STR_FB70 TYPE STANDARD TABLE OF TY_STR_FB70,
          WA_STR_FB70 TYPE TY_STR_FB70,
          G_STR_FILENAME TYPE STRING,
          G_FLG_ERROR TYPE I,
          G_INDEX TYPE I,
          G_STR_INDEX TYPE STRING,
          G_STR_FIELDNAME TYPE STRING.
    SELECTION-SCREEN BEGIN OF BLOCK INPUT.
    PARAMETERS: P_FILE TYPE IBIPPARMS-PATH,
                P_SES  TYPE APQI-GROUPID.
    SELECTION-SCREEN END OF BLOCK INPUT.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          PROGRAM_NAME  = SYST-CPROG
          DYNPRO_NUMBER = SYST-DYNNR
          FIELD_NAME    = 'P_FILE'
        IMPORTING
          FILE_NAME     = P_FILE.
    Continued in the next thread..

    ...Continued from the previous thread.
    PERFORM OPEN_GROUP.
        G_INDEX = 1.  
        LOOP AT IT_STR_FB70 INTO WA_STR_FB70.
           PERFORM BDC_DYNPRO      USING 'SAPMF05A' '1200'.
          PERFORM BDC_FIELD       USING 'RF05A-BUSCS'
                                         'R'.
         "Customer
          PERFORM BDC_FIELD       USING 'INVFO-ACCNT'
                                         WA_STR_FB70-ACCNT.  
          "Invoice Date
          PERFORM BDC_FIELD       USING 'INVFO-BLDAT'
                                        WA_STR_FB70-BLDAT.                               
          "Posting Date
          PERFORM BDC_FIELD       USING 'INVFO-BUDAT'
                                        WA_STR_FB70-BUDAT.                                
         "Basic data - Amount
          PERFORM BDC_FIELD       USING 'INVFO-WRBTR'
                                        WA_STR_FB70-WRBTR.     
          PERFORM BDC_FIELD       USING 'INVFO-WAERS'
                                        'EUR'.
          G_STR_INDEX = G_INDEX.
          IF G_INDEX < 10.
            CONCATENATE '0' G_STR_INDEX INTO G_STR_INDEX.
          ENDIF.
          CONDENSE G_STR_INDEX NO-GAPS.
          CLEAR G_STR_FIELDNAME.
          CONCATENATE  'ACGL_ITEM-WRBTR(' G_STR_INDEX ')' INTO
          G_STR_FIELDNAME.
          PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                        G_STR_FIELDNAME.
                                        "'ACGL_ITEM-WRBTR(01)'.
          "G/L Acct
          CONCATENATE  'ACGL_ITEM-HKONT(' G_STR_INDEX ')' INTO
          G_STR_FIELDNAME.
          PERFORM BDC_FIELD       USING  G_STR_FIELDNAME       
                                         WA_STR_FB70-HKONT.    
            "Amount .
          CONCATENATE  'ACGL_ITEM-WRBTR(' G_STR_INDEX ')' INTO
          G_STR_FIELDNAME.
          PERFORM BDC_FIELD       USING G_STR_FIELDNAME   
                                        WA_STR_FB70-ITEM_WRBTR.
          "PERFORM BDC_DYNPRO      USING 'SAPMF05A' '1200'.
          PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                        '=BU'.
          CLEAR WA_STR_FB70.
        ENDLOOP.
        IF G_FLG_ERROR IS INITIAL.
          PERFORM BDC_TRANSACTION USING 'FB70'.
        ENDIF.
        IF G_FLG_ERROR IS INITIAL.
          PERFORM CLOSE_GROUP.
          MESSAGE 'Session created successfully.' TYPE 'I'.
        ENDIF.
      ENDIF.
    Continued in the next thread..

  • Line Items posting in to FB70

    can anybody please explain me the procedure for posting simulated line items in to FB70 transaction through BAPI :  "BAPI_ACC_DOCUMENT_POST". Here I have calculated the tax amounts through FM  "CALCULATE_TAX_FROM_GROSSAMOUNT" . Here I am getting simulated items but how to post these through report?
    I am able to post the header  but I need the procedure to post simulated  line items .
    Any inputs on this is highly appreciated.
    Thanks and Regards,
    Hamsitha.

    using this BAPI  BAPI_INCOMINGINVOICE_POST  you can post the documents...

  • How to obtain the house bank in the customer invoice posted by FB70?

    Hi All,
    Could anyone tell me how to obtain a certain house bank in the customer invoice posted by FB70?
    I've made a test. I've filled an house bank in master data of the customer (company data). When I've posted the invoice by FB70, i've expected finding it in the item.... instead it wasn't there...
    Cuold anyone help me?
    Thanks
    gandalf

    Dear,
    The House bank will not reflect in customer invoice, it is used in outgoing or incoming payments.

  • Posting Customer Invoice using FB70

    Hi Experts,
    While posting customer invoice (FB70) for the customer having withholding tax information defined, I am able to simulate the transaction successfully but not able to post it.I can see the TDS transaction executed.But, the post icon symbol is inactive. It displays " error messages still exist" . When i checked the error log it displayed Message number 047 in the application area F5A.
    Please help me
    Regards,
    Sasidhar

    Hi
    In accounting document posting - system not shows any specific error log.
    In your case, the error might be any of the below :
    - check whether the balance of the all line items is zero
    - check whether the WHT calculation is correct
    - check whether the customer invioce amount is entered
    VVR

  • Customer Invoice through FB70 - Not Posted

    Hi
    I am doing FB70 transactions for raising the debit memo to the customer and am facing the following problem and the system is not allowing me to save the document.
    Item category 03000 not allowed in accounting transaction 0200/0001
    Message no. GLT2001
    Diagnosis
    The online document splitting is active in your system. Here, each document is assigned to a accounting transaction variant and each document row to an item category.
    You determine for each business transaction variant which item categories can or must be posted here.
    The following error occurred for the document you entered:
    Item category 03000 in accounting transaction 0200, variant 0001 is not allowed.
    System response
    The document cannot be posted.
    Procedure
    Check the document entered, the derivation of the business transaction variant, the derivation of the item category, and the assignment of the item categories to the business transaction variant.
    Please help
    Regards
    Anilkumar

    Hi,
    The Document splitting is active in your company code. So remove it.
    SPRO - GL a/c(NEW) - Business Transctions - Document splitting - Activate Document splitting (in this remove the document splitting tick)
    If u r on Job using it in Client then do not do the above one and try to create this SPRO - GL a/c(NEW) - Business Transctions - Document splitting - GL a/c in Classify GL a/cs for Document splitting
    Rgds
    sunfico

  • FB70 Customer Invoice posting

    Hi all,
    When i was trying to post customer invoice with FB70
    i am getting the following error message
    "In the company code ####, the number range 18 is missing for the year 2008."
    Please help me out with this.
    Thanks in advance!
    Sri

    Hi,
    Please maintain the number range for Document type in following IMG
    SPRO > Financial Accounting (New) > Financial Accounting Global Settings (New) > Document > Document Number Ranges > Documents in Entry View > Define Document Number Ranges for Entry View
    Please maintain the number range 18 for fiscal year 2008.
    Regards,
    Jigar

  • "Segment" field when invoice posting (FB60, FB70)

    Dear experts,
    We use Segment reporting so we need report balance sheet and income statement on each segment. But when I post invoices through t.codes FB60 (F-43) or FB70 (F-22) I can't enter Segment information for vendor or customer item under tab "Details" in t.code FB60 or FB70, because it is missing. So please help me, how to add this field and make it available in t.codes FB60 (F-43) or FB70 (F-22)?
    Thank you.

    Hi friend,
    I need some documents regarding document split. and segment reports.
    My client Requirement is:
    1) They want segment reports
    2) Vendor wants to be update in Profit center
    pls  suggest  what i hv to for that
    here configuration did Profit Centers as segment
    if we got report with PCA wise then problem wl solve
    can u suggest.
    pls send some document to my mail id: [email protected]
    Regards
    Vinod

  • FB70: User exit when the save button (for posting) has been click

    Hi ABAP Gurus,
    With regard to FB70, can anyone provide me the name of the user exit that will be triggered when the save button (for posting) has been clicked?
    Thanks!
    <b>
    Best Regards.
    Brando</b>

    Hello Brando,
    With FB70 I recommend you implement the user-exit via the Business Add-In (BADI) way and avoid SMOD exits if possible.
    The list below are the BADIs that are called by the <b>ECC6.0</b> system after you click the <b>Save</b> button to post a document. <u>They are listed in the order which they are called before the actual post</u>. You'll have to find the right one as per your requirement - you can view their definition via transaction SE18 then after you find the right one you need to use that definition to create an implementation via SE19. Here again, you'll have to choose the right method that suits your requirement. You'll find the method and class documentation in some cases with examples on how to implement, you need to write the code between the Method..EndMethod statement using the parameters provided by the Method.
    1. PPA_CUST_BADI
    2. FI_RES_ITEM_CURRENCY
    3. AC_QUANTITY_GET
    4. BADI_PRKNG_NO_UPDATE
    5. FM_POP_CORE
    6. FMRI
    7. FMRE_BUS_PROCESS
    8. FAGL_SET_SEGMENT
    9. EXIT_XFMPR1_001
    10. BUAVC_CHECK_RESTRICT
    11. UKM_R3_ACTIVATE
    12. CO_DOCUMENT_INFO
    I spent a bit of time debugging FB70 to find this info for you, please appreciate by rewarding points (or else
    Good luck.
    Cheers,
    Sougata.

  • Control of duplicate invoice posting at T.Code FB70

    Dear Experts
    As per clients need to we need to control with error message when user trying post duplicate customer invoice at T.Code FB70.
    we request your help on how do we can meet this requirement.
    if any body know the relevant application areas for message control, pleas let me know. 
    I tried with application area F5, but it is not working for customer postings.
    Thanks in advance.
    Best regards,
    S. Habib Pasha.

    Hi,
    I used this validation for vendor invoice.
    $$1 is the document number, which is about to be generated after passing through this validation.
    So far as the check part is concerned, I used user exit form and coding in program ZRGGBR000, which is a copy of standard program RGGBR000. The coding is as follows-
    exits-name  = 'U300'.
      exits-param = c_exit_param_none.        "AP Duplicate Invoice Check.
      exits-title = text-104.                 "Posting check
      APPEND exits.
    FORM u300 USING b_result.
    *****Local Variables
      DATA:    l_bukrs   LIKE   bkpf-bukrs,  "Company Code
               l_belnr   LIKE   bkpf-belnr,  "Doucment Number
               l_gjahr   LIKE   bkpf-gjahr,  "Fiscal Year
               l_buzei   LIKE   bseg-buzei.  "Number of Line Item
      b_result  =   b_true.
      SELECT  bukrs
              belnr
              gjahr
         FROM bkpf
         INTO (l_bukrs, l_belnr, l_gjahr)
         WHERE bstat = bkpf-bstat
           AND xblnr = bkpf-xblnr
           AND stblg = ' '.
        IF sy-subrc = 0 .
          SELECT  buzei
             FROM bseg
             INTO l_buzei
             UP TO 1 ROWS
             WHERE belnr = l_belnr
               AND gjahr = l_gjahr
               AND bschl = '31'
               AND lifnr = bseg-lifnr.
            IF sy-subrc = 0.
              b_result =  b_false.
              bkpf-belnr = l_belnr.
            ENDIF.
          ENDSELECT.
        ENDIF.                            "closed for SY-SUBRC
      ENDSELECT.
    ENDFORM.                                                    " U300
    Regards
    K Khatri

  • FB70: How t o modify the value of BSEG-XREF before posting?

    Hi ABAP Gurus,
    Good day!
    I would like to know the correct way to modify the value of BSEG-XREF1 in FB70 (Prior to posting of document).
    Currently, I have tried using substitution. First, I copied RGGBS000 into ZRGGBS000 AND added form u300, which will modify BSEG-XREF1.  Second, I have added a step to an already existing substitution (COGS), which was set-up in transaction OBBH.  I have assigned u300 to BSEG-XREF1 (Refernce Key 1).
    The said step didn;t seem to work.  I was able to post a document and then I displayed the document.  Unfortuantely, BSEG-XREF1 hasn't been modified. So,  I tried debugging the form U300.  It doesn't stop inside that form, which means the logic that i put there was useless. By the way, the the formname that Im using can be found in two internal tables: (1) exits, and (2) etab.
    Kindly advise on what to do.   Thank you very much!
    <b>Best Regards.
    Brando</b>

    Check this sample code which i've used to substitute the field BSEG-ZUONR
    Also ensure that the callup point in <b>OBBH</b> is 2
    Don't forget to attach ur <b>ZRGGBS000</b> to the application area <b>GBLS</b> in the tcode <b>GCX2</b>
    FORM get_exit_titles TABLES etab.
      DATA: BEGIN OF exits OCCURS 50,
              name(5)   TYPE c,
              param     LIKE c_exit_param_none,
              title(60) TYPE c,
            END OF exits.
      exits-name  = 'U102'.
      exits-param = c_exit_param_field.
      exits-title = text-101.           " Ship-to-Party to Assignment field
      APPEND exits.
      REFRESH etab.
      LOOP AT exits.
        etab = exits.
        APPEND etab.
      ENDLOOP.
    ENDFORM.                    "GET_EXIT_TITLES
    FORM u102 USING zuonr TYPE bseg-zuonr.
      bseg-zuonr = <value>.
    ENDFORM.

Maybe you are looking for

  • Allign text in two images

    I have two images with text that need to be aligned, see http://www.spinsister.nl/zandbak/FW.htm The last letter in the left hand image, half an 'e' ,should match perfectly with the first other half of the 'e' in the right hand image. I have tried pa

  • Messaging performance problem on RAID disk with many IMAP users

    The performance problem can be solved by tunning the disc RAID system.

  • Problems with webfonts in Dreamweaver - Is anything wrong with my code?

    I'm working on a site in DW and I'm having some issues with the webfonts I'm using. I'm new to the program, so I'm still working my way around, but I think it might be something with my code. Can you guys help me out? Background info: - The area affe

  • Export all open docs as PDF

    I am working on a script which should export all the open docs as PDF. I use the following script to export. but InDesign does not export all the PDF. Assume, I have opened seven docs and the script exports only 4 docs and again come back to the firs

  • Declaring the var in the constructer

    How can someone do this without declaring the photos var before the constructer as a field? package org.robotlegs.demos.imagegallery.models.vo     import mx.collections.ArrayCollection;     [Bindable]     public class Gallery         public var photo