Posting multiple VAT lines through BAPI

At my customer we are importing vendor invoices from a third party system into SAP. For this we use BAPI "BAPI_INCOMINGINVOICE_CREATE1"
The third party system also calculates the TAX amounts. Therefore, we need to be able to post multiple VAT lines for one invoice line item. This has to do with the fact that we have deductible and non deductible taxes. To do this we would like to use the TAXDATA Table from the BAPI. However, when we post multiple lines here for one Tax Code, we get an error for duplicates in RBTX.
Has anyone ever dealt with this problem before? How can we post multiple tax lines for a single invoice tax line, either using the above BAPI or using a workaround. I do have to mention that using the BAPI for the initial posting is needed since we have to do with certain Dutch legislation that can only be handled using this BAPI.
Regards,
Sjaak van den Berg

I guess u need to add
POSCHEDULEX-PO_ITEMX = X.
before appending the table Parameter POSCHEDULEX
One for each append statement on table internal table POSCHEDULEX
Regards
Alok Pathak

Similar Messages

  • Multiple VAT line in a single invoice

    Hi all,
    I have a requirement that, the customer request the vendor invoice generate multiple VAT lines base on difference expense account even with the same tax code.
    Example,
    Assume the tax rate is 10% and we have invoice with 3 expense line.  Therefore the document entries will be input like following
    Cr AP 110
    Dr Expense1 30 (Tax code V1)
    Dr Expense2 70 (Tax code V1)
    Dr VAT input account 3
    Dr VAT input account 7
    Does any expert know anywhere in the VAT tax configuration can generate the above setup.
    Thanks.

    Hi,
    Every Tax code will have Transaction Keys defined in FTXP
    Check the active Transaction Key in the transaction OBCN
    Assuming that you are using same tax code and only on transaction key is active...
    If the posting indicator in OBCN is 2, you will have one tax line item per invoice
    If the posting indicator in OBCN is 3, you will have one tax line item per expense entry
    So... In your scenario, you will need to create a new tax code to achieve the desired effect

  • Service PO Invoice posting through BAPI

    Hi Gurus,
    Please help me to resolve the issue explained below:
    We are using a third party tool for scanning incoming invoices from vendor.The scanned invoice details pass though SAP Interface and with the help of standard BAPI_INCOMINGINVOICE_CREATE in SAP ECC, invoices are automatically posted.
    Till now , we only had material/Goods PO invoices which use to get posted with quantity blocks before GR done.In future,SAP PM
    module will be implemented and service PO invoices will also be posted using this process.We have following issues for posting
    of invoices for service items:
    1.For service PO Invoice to get posted though BAPI, service entry number is mandatory without which system does not allow to post the invoices that is we can not have quantity blocked invoices if services have not been entered for service items.Even invoices can not be parked without service entry sheet no. for service items using BAPI.Please advise how this scenario can be handled.
    2.Second scenario is that if a particular service line has multiple service entry sheet numbers then which service entry sheet number should system use to post the invoice?
    Kindly advise.
    Thanks & Regards,
    Niti

    Dear Vipin,
    May I assume the following scenario. When you post an invoice manually and there's a small difference between the vendor amount and the total of the suggested amounts on items (plus VAT), you just adjust one of the items or enter unplanned delivery costs and this way avoid the disbalance.
    However, when you post the invoice automatically through BAPI, no such adjustment is made and the system tries to post the difference to the account defined behind the account key DIF. For this posting the system shall assign a tax code. One way to define this code is to assign the default tax codes in IMG for IV -> Incoming Invoice -> Maintain Default Values for Tax Codes.
    Or just make sure you define all the item amounts explicitly in the BAPI and there's no disbalance.
    BR
    Raf

  • F-28 Post incoming payment through BAPI with Clearing

    Hi Gurus
    I have a requirement to post Customer incoming payment through BAPI, I have seen some post where using
    BAPI_ACC_DOCUMENT_POST , we can post on account and later using f-32 we can clear. but there s some limitation doing that.
    In f-28 residual line items also got generated for short or excess payment. There is a problem for residual item posting also.
    If  residual amount belongs to more than one Profit Center then GL currency view and Local Currency view is also mismatching.
    Is is possible to clear customer line item also at the time of posting through BAPI.
    If any one implemented BAPI or any automatic process to post F-28 please share your experience and challenges.
    Thanks in advance
    Subrata Sarkar

    Hi
    There could be multiple approaches to this depending on what you want to achieve. If you just want to uplaod the documents, than the BAPI you mentioned could be the right approach. If however, you have fixed criterion for cash application for open items, you can probably look at a BDC to do the clearing.Once the BDC is recorded work with your ABAP colleague to write this up in a custom transaction. This is particualrly useful if you have more items to clear against an incoming payment.
    regards
    Sanil Bhandari

  • Problem while posting FI document through BAPI - Multiple Exchange Rates

    I am able to post FI document with multiple exchange rates for the same currency using FB01. But, when I try to post the same document details using BAPI_ACC_DOCUMENT_POST , it throws an error F5 701 - Inconsistent Rate for Currency XXX .
    How can we avoid this error while posting through BAPI ?
    Thanks & Regards,
    Nidhi

    Hi Nidhi,
    Value range
        The field CURR_TYPE (currency type) describes the role played by a
        currency in the SAP System.
        The currency type can take on the following values, for example:
        o   00      Transaction currency
        o   10      Company code currency
        o   20      Controlling area currency
        o   30      Group currency
        o   40      Hard currency
        o   50      Index-based currency
        o   60      Global company currency
        If an entry is not made in the field CURR_TYPE, the default value "00"
        is retained.
        If only one data record is transferred in transaction currency for each
        line item, the field CURR_TYPE does not need to be filled out. If
        several data records are transferred for each line item, the currency
        type must be entered for each record.
    If the parameter CurrencyAmount is filled with the currency fields,
    a complete document check including characteristics and value
    components of profitability analysis (CO-PA). Otherwise, the account
    assignment objects are checked.
    Check the BAPI documentation SE37.
    Regards,
    Boobalan Suburaj

  • Posting multiple tax codes for single line order in MIRO

    Hi all ,
    I have received a request from my business colleagues to investigate the possibility of posting multiple tax codes against a single line order in MIRO.
    This apparently can be a possibility for such things as training.
    I have searched a number of forums and tried and tested different ways in my develoment client but am unable to find a solution. admittedly I am no real expert in this area and would be gratefu;lt of any ideas / assistance  / etc..

    HI,  There is a possible solution for this scenario.
    1. Create 2 tax codes for VAT and SERVICE Tax at 12.5% and 12.36% respectively
    2. While posting the Invoice (TRX - FB60) following steps need to be followed.
    3. Amount has to be split into two line items
    4. Ist Line Item should have the Vat amount + 70000/- and select relevant tax code that was
        created for 12.5%
    5. Similarly 2nd Line Item should have Service Tax amount + 30000/- and select relevant tax code that    
        was created for 12.36%.
    Hope this would meet your requirement. If the solution is okay, kindly indicate the points.
    Regards
    K.Sanjai Babu

  • Need Code For PO-GR through MiGO for multiple documents through BAPI

    Hi All
    Im using BAPI_GOODSMVT_CREATE to post goods for PO-GR.
    When im posting multiple documents its giving error.
    When im posting individually, it's working fine.
    Please send me the code for PO-GR through BAPI.
    Urgently required.
    Regards,
    SImha.

    Is this not working???
    BAPI_GOODSMVT_CREATE to post Goods Movement
    The following is an abap program making used of the BAPI function BAPI_GOODSMVT_CREATE to do Goods Receipts for Purchase Order after importing the data from an external system.
    BAPI TO Upload Inventory Data
    GMCODE Table T158G - 01 - MB01 - Goods Receipts for Purchase Order
                         02 - MB31 - Goods Receipts for Prod Order
                         03 - MB1A - Goods Issue
                         04 - MB1B - Transfer Posting
                         05 - MB1C - Enter Other Goods Receipt
                         06 - MB11
    Domain: KZBEW - Movement Indicator
         Goods movement w/o reference
    B - Goods movement for purchase order
    F - Goods movement for production order
    L - Goods movement for delivery note
    K - Goods movement for kanban requirement (WM - internal only)
    O - Subsequent adjustment of "material-provided" consumption
    W - Subsequent adjustment of proportion/product unit material
    report zbapi_goodsmovement.
    parameters: p-file like rlgrap-filename default
                                     'c:\sapdata\TEST.txt'.
    parameters: e-file like rlgrap-filename default
                                     'c:\sapdata\gdsmvterror.txt'.
    parameters: xpost like sy-datum default sy-datum.
    data: begin of gmhead.
            include structure bapi2017_gm_head_01.
    data: end of gmhead.
    data: begin of gmcode.
            include structure bapi2017_gm_code.
    data: end of gmcode.
    data: begin of mthead.
            include structure bapi2017_gm_head_ret.
    data: end of mthead.
    data: begin of itab occurs 100.
            include structure bapi2017_gm_item_create.
    data: end of itab.
    data: begin of errmsg occurs 10.
            include structure bapiret2.
    data: end of errmsg.
    data: wmenge like iseg-menge,
          errflag.
    data: begin of pcitab occurs 100,
            ext_doc(10),           "External Document Number
            mvt_type(3),           "Movement Type
            doc_date(8),           "Document Date
            post_date(8),          "Posting Date
            plant(4),              "Plant
            material(18),          "Material Number
            qty(13),               "Quantity
            recv_loc(4),           "Receiving Location
            issue_loc(4),          "Issuing Location
            pur_doc(10),           "Purchase Document No
            po_item(3),            "Purchase Document Item No
            del_no(10),            "Delivery Purchase Order Number
            del_item(3),           "Delivery Item
            prod_doc(10),          "Production Document No
            scrap_reason(10),      "Scrap Reason
            upd_sta(1),            "Update Status
          end of pcitab.
    call function 'WS_UPLOAD'
      exporting
        filename                      = p-file
        filetype                      = 'DAT'
    IMPORTING
      FILELENGTH                    =
      tables
        data_tab                      = pcitab
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      OTHERS                        = 6
    if sy-subrc <> 0.
      message id sy-msgid type sy-msgty number sy-msgno
              with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      exit.
    endif.
    gmhead-pstng_date = sy-datum.
    gmhead-doc_date = sy-datum.
    gmhead-pr_uname = sy-uname.
    gmcode-gm_code = '01'.   "01 - MB01 - Goods Receipts for Purchase Order
    loop at pcitab.
      itab-move_type  = pcitab-mvt_type.
      itab-mvt_ind    = 'B'.
      itab-plant      = pcitab-plant.
      itab-material   = pcitab-material.
      itab-entry_qnt  = pcitab-qty.
      itab-move_stloc = pcitab-recv_loc.
      itab-stge_loc   = pcitab-issue_loc.
      itab-po_number  = pcitab-pur_doc.
      itab-po_item    = pcitab-po_item.
      concatenate pcitab-del_no pcitab-del_item into itab-item_text.
      itab-move_reas  = pcitab-scrap_reason.
      append itab.
    endloop.
    loop at itab.
      write:/ itab-material, itab-plant, itab-stge_loc,
              itab-move_type, itab-entry_qnt, itab-entry_uom,
              itab-entry_uom_iso, itab-po_number, itab-po_item,
                                                  pcitab-ext_doc.
    endloop.
    call function 'BAPI_GOODSMVT_CREATE'
      exporting
        goodsmvt_header             = gmhead
        goodsmvt_code               = gmcode
      TESTRUN                     = ' '
    IMPORTING
        goodsmvt_headret            = mthead
      MATERIALDOCUMENT            =
      MATDOCUMENTYEAR             =
      tables
        goodsmvt_item               = itab
      GOODSMVT_SERIALNUMBER       =
        return                      = errmsg
    clear errflag.
    loop at errmsg.
      if errmsg-type eq 'E'.
        write:/'Error in function', errmsg-message.
        errflag = 'X'.
      else.
        write:/ errmsg-message.
      endif.
    endloop.
    if errflag is initial.
      commit work and wait.
      if sy-subrc ne 0.
        write:/ 'Error in updating'.
        exit.
      else.
        write:/ mthead-mat_doc, mthead-doc_year.
        perform upd_sta.
      endif.
    endif.
          FORM UPD_STA                                                  *
    form upd_sta.
      loop at pcitab.
        pcitab-upd_sta = 'X'.
        modify pcitab.
      endloop.
      call function 'WS_DOWNLOAD'
        exporting
          filename                      = p-file
          filetype                      = 'DAT'
    IMPORTING
      FILELENGTH                    =
        tables
          data_tab                      = pcitab
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      OTHERS                        = 6
    endform.
    *--- End of Program
    REgards,
    Ravi

  • 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..

  • I want to capture data through I/O while posting to Customer Line items

    Hi Experts
    Can you please suggest me that while posting to Customer line items i would require to capture data through Internal Order, is this possible if yes please explain
    Regards
    Sreenivasulu

    Hi
    Internal Order details can be updated to the P&L line item ie revenue line item in your case. From ECC 6.0 it will be available in the General Ledger view of the document.
    Regards,
    Lakshmanan Krishnan

  • Want to capture data through I/O while posting to Customer Line items

    Hi Experts
    Can you please suggest me that while posting to Customer line items i would require to capture data through Internal Order, is this possible if yes please explain
    Regards
    Sreenivasulu

    If you are classic GL, this not a standard functionality.
    If you are new GL, you can have profit center on customer / vendor line items.
    Also activate document splitting.
    Regards,
    Ravi

  • How can I allow the application to line through a field that has been locked after being digitally signed?  We have multiple sections on a form with some fields being proposed information and other in another section having the approved information. once

    How can I allow the application to line through a field that has been locked after being digitally signed?
    We have multiple sections on a form with some fields being proposed information and other in another section having the approved information. once the approved information is entered we line through the proposed field so the data entry clerk won't pick up the wrong information.  However we are receiving an error when attempting to enter data  in the field which we have this edit.  Error property: line through cannot be set because doing so would violate the document permission setting.  any idea how we can get around this issue?

    You can control which fields are locked down after signing by setting up a collection. Then those that are not locked can be changed after signing. If this is not possible, then the line outs must occur prior to signing.

  • Need to Post Components in Production Order in MB1A through BAPI as Planned Good Issue

    Hi ,
    I have created a Program to upload data s for MB1A through BDC , it works fine, but for huge data s it takes more time.  alternatively created one more Program which updates through BAPI Function Module  "BAPI_GOODSMVT_CREATE".  It works fine , but one issue noted, after posting through Function Module , components are posted as Unplanned Goods Issue.   I need to post the components as " Planned Goods Issue" instead of "Unplanned Goods Issue " . This can viewed through Tcode : C003
    Below are the  inputs passed for BAPI Function Moduel
    **&------Header Contents of bapi Upload-------------------&*
    header-pstng_date = sy-datum.                                              " Posting date
    header-doc_date    = sy-datum.                                             " Document Date
    header-header_txt  = '000001002280'.                                     " Header text
    header-pr_uname   = sy-uname.                                            " User Name
    header-ref_doc_no  = '000001002280'.                                    " Header Ref. Doc. No.
    CONCATENATE sy-uname sy-uzeit c_method INTO  header-ref_doc_no_long SEPARATED BY '-'.  " Refer  Text
    *Item Data
    wa_item-material   = '000000000010000800'.                             "Material
    wa_item-plant      = '3910'.                                              "Plant
    wa_item-stge_loc   = 'WIP'.                                            "Storage Location
    wa_item-move_type  = '261'.                                            "Movement Type
    wa_item-entry_qnt  = '1'.                                                  "Quantity
    wa_item-entry_uom  = 'PC'.                                              "Unit
    *wa_item-res_item  =  1.                                                  "Reservation Item
    *wa_item-reserv_no =                                                      " Reservation Number
    wa_item-batch      = '0000011027'.                                    "Batch No
    *wa_item-mvt_ind   = 'F'.                                                  "Movement Indicator
    *wa_item-stck_type = 'F'.                                                 "Stock Type
    wa_item-orderid    = '000001002260'.                                 "Order ID
    wa_item-prod_date  = SY-DATUM.
    *wa_item-GL_Account = '610000'.                                     "GL Account
    *TRANSLATE wa_item-batch TO UPPER CASE.
    *APPEND wa_item TO it_item.
    c_code = '03'.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
    goodsmvt_header       = header
    goodsmvt_code         = c_code
    TABLES
    goodsmvt_item         = it_item
    goodsmvt_serialnumber = it_sno
    return                = return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
          wait = 'X'.
        commit work and wait.
    Even i tried to pass "Movement Indicator , GL Account etc" , Still not able to fix the issue. Can anyone suggest how to post the Production Order components as "Planned Goods Issue".  I am not sure any other values to be password.
    BR,
    Murali

    I have made something like your :
    * Alimtentation de la BAPI de mouvement de stock MM.
    move : sy-datum        to ls_header-pstng_date ,
            sy-datum        to ls_header-doc_date ,
    * Indique le code mouvement
            '03'            to lw_code.      " 03 normalement, mais je veux que ca plante
    loop at lt_ltap
          into ls_ltap.
       move : ls_ltap-matnr   to ls_item-material ,
              ls_ltap-werks   to ls_item-plant ,
              ls_ltap-lgort   to ls_item-stge_loc ,
              '261'           to ls_item-move_type ,
              ls_ltap-vsolm   to ls_item-entry_qnt ,
              ls_ltap-meins   to ls_item-entry_uom ,
              i_ltak_vb-benum to ls_item-orderid ,
              i_ltak_vb-rsnum to ls_item-reserv_no ,
              ls_ltap-rspos   to ls_item-res_item ,
              ls_ltap-rsart   to ls_item-res_type.
       append ls_item to lt_item.
       clear  ls_item.
    endloop.
    I have to put the reservation number to have it works.
    Fred

  • FI posting through BAPI

    Hi experts
    Can i have the sample program for invoice posting through bapi ,

    hi,
    Please refer this link
    BAPI_ACC_INVOICE_RECEIPT_POST Error
    or
    search on this
    https://www.sdn.sap.com/irj/scn/advancedsearch?query=invoicepostingthrough+bapi&cat=sdn_all
    thanks

  • In an accounting entry vat line should post with different exchange rate how to do that.

    In specific jurisdictions invoices in foreign currency should also show
    exchange rate and translated VAT amount in local currency. The required
    exchange rate may change by country, although often the central bank
    rate is required to post the VAT amount. and  BASE AMT to be posted in  'M'(MOR) rate
    So base amount and vat amount will be converted with 2 different
    exchange rate types respectively.
    below accounting entry should generate.
                                                GBP        EUR    
    DR CUst                              100          111.11          0.9 MOR
    Cr   Revenue                          90          100               0.9 MOR  
    Cr   VAT                                10          12.50            0.8 ECB 
    Dr   Exchange rate diff                          1.39
    how should we proceed to develop the solution for this.
    Thanks
    kartik

    In specific jurisdictions invoices in foreign currency should also show
    exchange rate and translated VAT amount in local currency. The required
    exchange rate may change by country, although often the central bank
    rate is required to post the VAT amount. and  BASE AMT to be posted in  'M'(MOR) rate
    So base amount and vat amount will be converted with 2 different
    exchange rate types respectively.
    below accounting entry should generate.
                                                GBP        EUR    
    DR CUst                              100          111.11          0.9 MOR
    Cr   Revenue                          90          100               0.9 MOR  
    Cr   VAT                                10          12.50            0.8 ECB 
    Dr   Exchange rate diff                          1.39
    how should we proceed to develop the solution for this.
    Thanks
    kartik

  • Freight vendor updation in GR document through BAPI

    Dear All
    In my system we are creating Goods Receipt in background through *BAPI BAPI_GOODSMVT_CREATE*. In my PO we have entered freight condition FRB1 for that PO line item and assigned a vendor code different from material vendor. For this freight condition FRB1 in the configuration we have maintained in Control Data 2 field Vendor in GR as 2 ( i.e. Entry always possible). This will help us to change freight vendor different from freight vendor maintained in PO line item.
    Now my query is that how can I achieve this through BAPI  BAPI BAPI_GOODSMVT_CREATE when I am creating GR in background. In which field of BAPI should we pass the freight vendor at the time of GR creation.
    Regards
    Satish Kumar

    Hi Satish,
    With standard SAP this is not Possible
    As indicated in the attached note 356665, the field SUPPL_VEND has no
    function. Please, have a look at this note for further information.
    In dialog (with MB01 or MIGO) you have the possibility to enter another
    freight vendor different than the vendor in your purchase order (or your
    scheduling agreement) as long as you have, in your purchasing condition
    type, "Vendor in GR" (V_T685A-BNKWE) maintained with the appropiate
    value. Then, by posting the Goods Receipt, you will update EKBZ with
    this new freight vendor.
    Unfortunately in the standard system this functionality is not available
    when working with the BAPI BAPI_GOODSMVT_CREATE or with the Idoc
    WMMBID02.
    There is no customizing setting or tool that you could use inside the
    standard system to change it.

Maybe you are looking for