BAPI_ACC_DOCUMENT_POST tax with two vendor line

Hi ,
I have a problem account tax parameter of Bapi_acc_document_post . I have to send two vendor lines , one of them with special gl indicator and one of them is tax related with zero amount . I fill account tax parameter properly but bapi doesnt not reflect tax item to bset table.
Can you help me for fill BSET table
Lets simulate record.
account_payable-ITEMNO_ACC = 1.
account_payable-vendor = 1000.
account_payable-SP_GL_IND =  'R'.
account_payable-TAX_CODE = 'I0'.
account_payable-ITEMNO_ACC = 2.
account_payable-vendor = 1000.
ACCOUNTTAX-ITEMNO_ACC                     0000000003
ACCOUNTTAX-GL_ACCOUNT                     1910101004
ACCOUNTTAX-ACCT_KEY                       VST
ACCOUNTTAX-TAX_CODE                       I0
ACCOUNTTAX-ITEMNO_TAX                     000002
CURRENCYAMOUNT-ITEMNO_ACC                     0000000003
CURRENCYAMOUNT-CURR_TYPE                      00
CURRENCYAMOUNT-CURRENCY                       USD
CURRENCYAMOUNT-AMT_BASE                       1.000,0000
CURRENCYAMOUNT-ITEMNO_ACC                     0000000002
CURRENCYAMOUNT-CURR_TYPE                      00
CURRENCYAMOUNT-CURRENCY                       USD
CURRENCYAMOUNT-AMT_DOCCUR                     1.000,0000
CURRENCYAMOUNT-AMT_BASE                       1.000,0000
CURRENCYAMOUNT-DISC_BASE                      1.000,0000
CURRENCYAMOUNT-ITEMNO_ACC                     0000000001
CURRENCYAMOUNT-CURR_TYPE                      00
CURRENCYAMOUNT-CURRENCY                       USD
CURRENCYAMOUNT-AMT_DOCCUR                     1.000,0000-
CURRENCYAMOUNT-AMT_BASE                       1.000,0000-
CURRENCYAMOUNT-DISC_BASE                      1.000,0000-

Hi,
Check the bellow link which may help in providing you solution.
Sample Code: BAPI_ACC_DOCUMENT_POST for FB70
<link to blocked site removed by moderator>
Regards,
Goutam Kolluru.
Edited by: Thomas Zloch on Feb 6, 2012 8:11 PM

Similar Messages

  • With holding tax amount in vendor line lay out

    Hi Experts,
    I have posted an invoice in MIRO.  After posting the document when I check the wittholding tax data tab in MIRO screen the w/tax base amt (WT_QSSHB  & WT_QSSHH) and Wh tax amount (WT_QBSHB & WT_QBSHH) field has no value. TDS Deducted and posted.  But the same fileds has values in data entry view screen when selecting the "display withholding information" in vendor account .  This problem is only for MIRO entries. Because of this i am unable to bring the WHT tax amount in vendor line layout.
    Kindly advise why no wtax amount was shown in the field 'w/tax column' even if the vendor is liable to tax.
    With regards
    RSS.

    Dear All,
    this is not an error but the Standard System Design. Please read the note 611844. Only if You insert manually the WT amounts during the posting You will see them into the WT TAB after the posting. If You make the System to calculate the WT Aamounts automatically, no WT amounts will be reported into MIRO/MIR4. You can see them into the follow on document.
    I hope this helps.
    Mauri

  • Lot size use for splitting req. qty. with Two  vendors

    Hello PP experts,
    We have two vendors and we want the each requirement to be split into the two vendor with 30 % for 'A' and 70 % for 'B'.
    What are the IMG  and master data setting required for the above scenario?
    Please let me know whether can will use lot size 'ES' with splitting quota indicator marked in OMI4.
    Waiting for your reply.
    Regards,
    Mona tiwari

    Hi Mona,
    You have to maiantain first quota arrangement (MEQ1) for the two vendors with alloting the percentage to split the Planned orders/PRs in planning run. Apart from this maintain the lot size either EX, FS or ES with split indicator marked in OMI4 for the quota.
    Yes, maintain Quota allowed key in MRP (4) either in purchaing view or in MRP2 view as said by Prasobh.
    If helps rewards points.
    Regards
    TAJUDDIN
    Message was edited by:
            TAJUDDIN MOHAMMED

  • Calculation of tax with two conditions

    hi all,
    i have an issue regarding tax in condition in po.
    i want the calculation of tax should be on two condition basis, while i am giving value in tax code field in invoice tab.
    1. when i am entering tax code, the value like- L1- 4%, L2- 12%, that is calculating on gross price.
    supose- GP- 100
         tax- 4%-     4
                        104
    then am puting fright charge- 10
    so total is 114
    2. supose- GP- 100
             fright     -  10
                            110
    then a will calculate- 4% on 110
    how this could be done, the 2nd one.
    thanks&regards
    susanta

    Hi,
    For this you have to treat Freight as a Discount Condition Type in MM Pricing
    Take a copy of RA01 in M/06 and keep it as Positive Condition
    Here keep
    Cond. class   A Discount or surcharge
    Calculat.type A Percentage
    Cond.category Blank
    And Plus/minus - A (Positive)
    Use this in Pricing Procedure (M/08) after Gross Price ad Discount conditions (before Subtotal)
    Now
    Base Price = 100
    Freight = 10
    Subtotal = 110
    Tax (4%) = on Subtotal

  • Using two Actiontec routers with two coax lines

    Hello all-
    I currently have one Actiontec router with coax plugged in near my TV (best wifi distribution in house) and my PC in my home office using wireless. A while back the router had been installed in my home office, and another coax cable was put in. I currently have two coax cables coming into the house.
    What I want to do is purchase another Actiontec router and plug my office's coax cable into it, and use the new router for a wired connection to my PC. Is there an easy way I can do this? Is itt as simple as buying the new router and plugging it in?
    Thanks.

    It's easy, but not quite as simple as just plugging it in.
    Follow the directions here:
    Can I get an ethernet connection in a room with only coax?

  • **URGENT** - Vendor Line Item Reporting

    Dear Gurus,
    Need some “URGENT” help with regards to Vendor Reporting?
    Our business has requested for a Vendor Line Item / header Report, which will display ALL Vendor Items “NET” (before tax).
    At the moment our business it manually taking out Tax in FBL1n (Vendor Line Item Report).
    Please could you kindly let me know if there is ANY report in SAP which displays the Vendor Items NET & GROSS??
    Thanks Very Much
    RICK
    Edited by: Rick Desilva on Apr 22, 2008 4:00 PM

    Hi  Shridhar,
    All I want is a "net column" - Which will display the vendor invocie amount - BEFORE VAT (Tax).
    So on FBL1N or Another SAP-Vendor Report what I need is a
    Net Amount column and a Gross Amount Column.
    I hope this makes sense and someone can assist....
    Thanks & Regards
    RICK
    Edited by: Rick Desilva on Apr 23, 2008 9:36 AM

  • GL Line Item Display vs. Vendor Line Item Display

    Hi Gurus,
    I have parked a document with a vendor line item. When generating
    standrd GL line item reports (FBL3N or S_ALR_87012282), the line items
    for my parked document are not displayed. But if I generate the vendor
    line item report (FBL1N), this parked document is displayed.
    Please confirm if this is a standard behaviour and why.
    Thanks and best regards

    HI
    I knew that, a complete FI document wont give such error thats why i asked for Document type ,You please note each document type has its own characteristic.
    Hope your query closed
    Thanks

  • Problem with an item line

    Hi
    One of my customers has created an order with two item lines (10 and 20)
    The first has been delivered and the second item line was used to create a Purchase Order (NB).
    Subsequenlty they found out that they actually needed to delete line 20 which was blocked due to the PO.  They have deleted the PO item line but the PO still exists and blocks for deletion of order item line 20.
    For now the client has agreed to use the 'reason for rejection' function but they would like the PO deleted so that they can delete order line 20.
    How do I delete the PO?
    Thx

    Hello,
    I suppose you used the third party item category for the second line item - 20. So the system first creates a purchase requisition for this item & then this purchase requisition is referred for creating a purchase order.
    Now for line item 20, after sales order the subsequent documents will be
    1. Purchase requisition.
    2. Purchase order.
    SAP doesn't allow to delete an item if a subsequent document exist in relation to it. Now in this case, you have cancelled/deleted the item from the PO but still the line item 20 lies in the Purchase requisition. It will have to deleted from the PR also before deleting it from the sales order.
    Go to VA02 - enter your sales order number - double click on the line item 20 - go to schedule lines - scroll towards the right side to see the purchase requisition (PR) number.
    Now go to ME52N - select the purchase requisition number - delete the line item 20 from here - save the PR.
    Now try to delete the line item 20 from the sales order, the system should allow.
    Reward points if solution helps.
    With best regards,
    Allabaqsh G. Patil.

  • Two Schedule Lines after MATP check

    All,
    We are doing MATP check in Sales Order. After the MATP check, the Sales Order is confirming with two Schedule Lines, the first line is confirming with 0 qty and the second line which is created after two days and is confirming with actual Sales Order required Qty. This is happening for all the materials and at any requested date you put in Sales Order.
    We further analysed that during the MATP check the Bulk component availability is actually getting delayed but we verified the Stock is fully available for the Bulk as per the requirement date. Master data are setup as per the MATP requirements.
    Also we checked, and do not see any issue because of Pick,pack, loading times or delivery & Transportation scheduling config in R/3.
    Please provide your suggestions.
    Thanks,
    Aashish

    Hi Aashish,
    You may check
    Factory calendar set into Customer Master (Ship to party) for the Unloading Point at 'General data' tab.
    Regards,
    Mrinal

  • How to enter invoice with two different tax codes in one line?

    Dear friends,
    I have this PO for which I enter the invoice.
    I recieve later a subsequent debit for this PO from the transporter. This subsequent invoice has got extra debits, one with 21% VAT and one with 19% VAT, which means two items with two different tax codes.
    I want to enter this subsequent debit for each item of the PO, and I want to enter both debits in every item of the PO.
    How can I enter in one row in MIRO a debit with two different tax codes.
    Thank you.

    I want in the same line item to enter two tax codes.
    Do you Know if there is any way to do this?
    It is a subsequent debit and it has two items with two different tax codes. I want to enter the subsequent debit for a PO with many items and enter the value of the whole subsequent invoice. So there is the need to enter one line item with two tax codes.
    How can this be done?
    Thank you?

  • With holding tax amount exceeds the cutomer/vendor line item amount 001

    Hi Guru's,
      I have an issue, is there any impact to change the withholding tax base amount 20% instead of 10%.When I change the base amount to 20% and post a document system return error message
    "With holding tax amount exceeds the cutomer/vendor line item amount 001".Guide me on this issue.
    And tell me the impact of previous open item documents.
    Regards
    Maruthi.

    Thanks for all,
      MY problem solved.
    Regards
    Maruthi

  • Multiple vendor line items during IR with different withholding tax status

    Business scenario:  During IR, several vendor line items are being processed, some are stock materials, others are service materials (using material group).  Only the service materials are subject to withholding tax.
    Problem:  Since the withholding tax type/code is maintained at the company code level of the vendor master, it is not possible to select only the service materials as subject to withholding tax.
    Has anyone encountered this problem before?  if yes, please advise solution adopted. 
    Thanks.

    I think through condition type / condition record, you can reduce the amount payable to the vendor and post it to another GL account. But if you do not update the amount in the W/tax  base and w/tax amount, you will not be able to use standard reports of w/tax. May be condition types can be used to do the calculation of w/tax amount and w/tax base amount. Build the logic in the interfcae of e-invoice and SAP to update W/tax fields in vendor invoice.

  • One MIRO document with two different vendors for two different line items

    Can it possible to make MIRO for a PO which is having two conditions(Basic price+Freight) with two different vendors.
    MIRO document needs:
    GR/IR Clearing    Dr.
    Freight Clearing  Dr.
    Vendor RM(X)         Cr.
    Vendor Freight(Y)   Cr.
    Is it possible to post the above document at a time not individually for each condition.

    Hi,
    Yes, It is possible to post Material and delivery cost in one document.where in material supplier is different than the Frieght vendor.
    Itm PK  BusA Acct no.   Description                    Tx     Amount in   USD   
    001 89       130001     Stock-Ingredients               244 0            880.00 
    002 96       320001     GR/IR Account - Ing.            244 0          1,200.00-
    003 86       520002     Ingredients - PPV               244 0          3,297.87 
    004 50       320008     GR/IR Account - Duty            244 0            797.87-
    005 50       320009     GR/IR Account - Fre.            244 0          2,180.00-
    Thanks
    Dinabandhu

  • Withholding tax amount exceeds the customer/vendor line item amount 001

    Hi Guys,
    I am trying to release an invoice using VF02 transaction but I recieved the below error message:
    Message no. 7Q321
    Withholding tax amount exceeds the customer/vendor line item amount 001
    There are 2 SAP (718078 and 513201) notes regarding that but they are not applicable in ECC 6.0.
    How can I figure out this issue?
    Thanks,
    Daniel Dorta

    Hi,
    This may happen because you have give base exemption and after that charge tax. In this case you have posted earlier invoice w/o wht and now you are posting the small amount of invoice on which wht is calculated including the earlier exempt amt. In this case the wht exceeds the base amt.
    In this case if possible you first post the invoice with sufficient amount which can deduct the WHT .
    If your scenario is different give details.
    Regards
    Milind Sonalkar

  • Withholding tax amount exceeds the customer/vendor line item amount

    Hi experts
    I am having one problem please help me
    My user created one down payment, entry is like this
    Vendor Dr-193914
    To TDS     3878
    To Bank   190036
    After this he has booked MIRO  with the same value 193914 & has deducted TDS 3878 over that invoice
    Now when he is going to adjjust that down payment against that MIRO with specific line item 62
    system is throwing that error.
    Withholding tax amount exceeds the customer/vendor line item amount 002
    Message no. 7Q321
    I checked invoice booked correctly & TDS also dedcuted properly why system is throwing that error message
    please help me
    Regards
    Nitin Shukla

    Hi Madhu
    thanks  a lot for instant reply
    We are using F-54 Down Payment adjustment at this time we are facing problem & we are clearing against invoice
    & with specific line item
    For Eg. 5100001596  & line item - 53
    Regards
    Nitin Shukla

Maybe you are looking for

  • Forms procedures Vs. Database schema procedures - performance question

    Hi, What performs more efficiently, a procedure coded in a program unit or trigger in a form, or the same logic coded in a database procedure? Eg: I have a proc in a form program unit that runs a select sentence and does some data manipulation before

  • OLAP DML program 10g Help!!

    I have a OLAP DML program that I am invoking as follows call pmtdim_user_sec(_aw 'MG_OU' 'OPERATING_UNIT') The intent is to use the OPERATING_UNIT or parameter in 3rd place as a condition for cursor in the program. e.g. below for the sql for cursor.

  • Company name in Internet Explorer Title Bar When Portal URL is launched

    Hai Gurus, I want to shown my company name in Internet Explorer Title Bar, when portal URL is launched. Please let me know how to do this. Thanks & Regards, H.K.Hayath Basha.

  • Error starting at line 1 in command

    Hi, Here is the log from Sql developer http://dl.dropbox.com/u/40211031/log4.txt but when directly running the same scripts, I got no problems Edited by: Hua Min on Mar 20, 2012 9:32 AM

  • Error while registering essbase 11.1.1.2 with BPM architect

    hi i working on hyperion 11.1.1.2 when I am trying register essbase with epm "From Enterprise View, right-click the Analytic Servers node and select Register Analytic Servers with BPM Architect." I am getting error that says "No servers available to