WITH_ITEM table not updated properly thru BAPI_ACC_INVOICE_RECEIPT_POST

Hi experts!!
I am using BAPI_ACC_INVOICE_RECEIPT_POST to post a document. When I post a document through the t-code FB01 or F-43, it's being posted by even updating the table WITH_ITEM. When I post through BAPI_ACC_INVOICE_RECEIPT_POST, it's posting document and updating WITH_ITEM table also, but the values being updated are wrong. Below is a brief explanation on my problem:
When I give VAT entry, then QSSHB in BSEG will be the result after the VAT is deducted (DMBTR of the header entry subtracted DMBTR under VAT entry). And the same value will also be updated in WITH_ITEM field WT_QSSHB.
When I use this bapi, it is not being calculated bu the same DMBTR under header entry is coming as WT_QSSHB, which is wrong.
The way to solve this is to calculate by some logic, but I am not sure whether this is the correct way to approach. I couldn't find any calculation done in standard FB01, though I debugged it.
Can anyone help me out? Or any other bapi which meets my requirement will also be so helpful.
Thanks a lot.
Edited by: abapdev on Jun 1, 2009 10:38 AM

Hi,
      once the document posted thru bapi, check with fb03 whether a new line item is created for with holding tax.  And check the tax amount is deducted from vendor line item.
Regards,
Ravi.

Similar Messages

  • With_item table not updating

    Hi,
    with_item table is not updating.
    Following error message is thrown:
    "Internal number range not updating in remittance challan."
    Thanks in advance.
    Regards,
    Sriram

    hi
    Use t-code SM30 and check J_1IEWTNUM , J_1IEWTNUMGR_1 tables.
    Or just use J1INHC t-code and check where is the problem.
    Regards
    Tanmoy

  • File to rfc...database tables not updated ??

    Hi XI Friends..
    in my File to BAPI..
    it is successfully executed..and it is showing chequered glag in sxmb_moni..and also in runtime workbench it is showing success..but the database tables are not updating..
    i gone thru the link.. reciver rfc adapter..
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/e80440a832e369e10000000a155106/frameset.htm
    now i am working on SP 17.
    so how can i set the values in ...
    <i>Commit Control for Individual BAPI Calls</i>and
    <i>BAPI Advanced Mode.
    In the Successful RETURN-TYPE Values table, what values i have to enter that should lead to a successful execution</i>
    its Asyncronous call..
    in standard BAPI ther is no commit.
    please tell me ..what values in need to give to update database tables..instead of RFC wrapper..
    regards
    ram

    Hi Friends..
    i created ZRFC and in that rfc i given standard bapi and commit work..
    i tested in sap ..the table is updating..
    thru XI..the table is not updating...
    it showing likw this..in receiver rfc adpater monitering...
    <i>Receiver channel 'CC_IN_SAP_WorkOrderCompletion' for party '', service 'SAP_ERP_DEV' (internal name 'RfcClient[CC_IN_SAP_WorkOrderCompletion]')
    Client data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=400, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=aar, jco.client.sysnr=10, jco.client.ashost=53.249.196.86}
    Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=400, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=aar, jco.client.sysnr=10, jco.client.ashost=53.249.196.86}
    Current pool size: 1, maximum pool size : 1
    Channel History
    - OK: 2006-12-19 11:12:58 CET: Message processed for interface ZBAPI_ALM_CONF_CREATE</i>
    and in messagemonitering audit log..
    <i>2006-12-19 11:12:58 Success Message successfully received by messaging system. Profile: XI URL: http://dcexi0602.alcan.com:50000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSERDGX
    2006-12-19 11:12:58 Success Using connection AFW. Trying to put the message into the receive queue.
    2006-12-19 11:12:58 Success Message successfully put into the queue.
    2006-12-19 11:12:58 Success The message was successfully retrieved from the receive queue.
    2006-12-19 11:12:58 Success The message status set to DLNG.
    2006-12-19 11:12:58 Success Delivering to channel: CC_IN_SAP_WorkOrderCompletion
    2006-12-19 11:12:58 Success RFC adapter received an asynchronous message. Attempting to send tRFC for ZBAPI_ALM_CONF_CREATE with TID XIVqvZy8z94TkgWVR9u01m0m
    2006-12-19 11:12:58 Success The message was successfully delivered to the application using connection AFW.
    2006-12-19 11:12:58 Success The message status set to DLVD.
    </i>
    but the table is not updating...
    please guide me..
    regards
    ram

  • File to rfc...database tables not updating

    Hi friends..
    in file to bapi ..
    created ZRFC and in that rfc i given standard bapi and commit work..
    i tested in sap ..the table is updating..
    thru XI..the table is not updating...
    it showing likw this..in receiver rfc adpater monitering...
    <i>Receiver channel 'CC_IN_SAP_WorkOrderCompletion' for party '', service 'SAP_ERP_DEV' (internal name 'RfcClient[CC_IN_SAP_WorkOrderCompletion]')
    Client data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=400, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=aar, jco.client.sysnr=10, jco.client.ashost=53.249.196.86}
    Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=400, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=aar, jco.client.sysnr=10, jco.client.ashost=53.249.196.86}
    Current pool size: 1, maximum pool size : 1
    Channel History
    - OK: 2006-12-19 11:12:58 CET: Message processed for interface ZBAPI_ALM_CONF_CREATE</i>
    and in messagemonitering audit log..
    2006-12-19 11:12:58 Success Message successfully received by messaging system. Profile: XI URL: http://dcexi0602.aaaa.com:50000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSERDGX
    2006-12-19 11:12:58 Success Using connection AFW. Trying to put the message into the receive queue.
    2006-12-19 11:12:58 Success Message successfully put into the queue.
    2006-12-19 11:12:58 Success The message was successfully retrieved from the receive queue.
    2006-12-19 11:12:58 Success The message status set to DLNG.
    2006-12-19 11:12:58 Success Delivering to channel: CC_IN_SAP_WorkOrderCompletion
    2006-12-19 11:12:58 Success RFC adapter received an asynchronous message. Attempting to send tRFC for ZBAPI_ALM_CONF_CREATE with TID XIVqvZy8z94TkgWVR9u01m0m
    2006-12-19 11:12:58 Success The message was successfully delivered to the application using connection AFW.
    2006-12-19 11:12:58 Success The message status set to DLVD.
    please help me..
    regards
    ram

    Hi Sravya..
    yes i given commit work after bapi in ZRFC..
    in SAP..i tested ..its updating...but thru XI..
    it is showing success..
    but its not updating tables...
    thanks for your response
    regards
    ram

  • Validity Table not updating for 0IC_C03 while updating data

    Hi,
    1.Validity table not updating for 0IC_C03 while updating data in my BW 7.4 With HANA data base?
    Key fields : 0Plant
                       0Calday
    if you run this programe after loading data - RSDG_CUBE_VALT_MODIFY it is updating.
    2. I am not getting no marker update option in non-cumulative Info cube 0ic_c03 manage tab or in DTP tabs check as per 7.4 modifications?
    and  2LIS_03_BX in DTP I am getting below this option only
    Can you please give me solution for this issues.
    Regards
    Umashankar

    Hi Uma,
    Please go through the below link which might be helpful.
    Not able to Edit Validity Table : RSDV
    Marker Update Option is available under Collapse tab of Info cube.
    Thanks,
    Karan

  • Buffer table not update

    Hello all,
    I tried to create  a Scart for a category id meant for Classic scenario but I get an error that "Buffer Table not update " and it is resulting in a ABAP Dump.However, for the Categoryid for Ext. Classic Scenario it is working fine.
    I tried SWU_OBUF also.
    Any body ,Pl enlighten on how to proceed further?
    Thanks & Regards,
    Nagarajan
    Addl Info:
    1) Activated the Global settings for Extended Classic Scenario
    2) Activated the BADI for control of Extended Classic Scenario

    Hi,
    Go to the SMQ1 and SMQ2 in both the frontend and backend systems and check for any queues of material replication still running or held.
    Delete all the obsolete entries in this.
    This may help you as in our system it worked once for this buffer table not uptodate issue.
    Best regards,
    Sridhar.

  • Parts master table not updating

    SP3 parts inventory table not updating even though set to synchronise through webtools

    thank you had to rebuild links on table

  • Shockwave will not update properly

    Hi. I have a laptop running Windows 7 Home premium, 64 bit system.I  use IE and just installed Firefox, as well. I tried to update Shockwave so I could continue to play my UClick jigsaw puzzle game, and my computer says it installed successfully, but it will not work with my jigsaw puzzle. I have uninstalled it and tried to reinstall it, but no change in response. When I try to open jigsaw puzzle, the Adobe Shockwave loading graphic appears, but nothing happens.
    Help!

    I understand the two sites are using different plugins/players.  I'm not an idiot.  However as Shockwave for Director is so old it's listed by Firefox as an unknown plugin and described as being a Netscape plugin ("Adobe Shockwave for Director Netscape plug-in, version 12.1.5.155"), I am merely suggesting that UClick might change to a more recent, robust plugin.
         From: SeanWilson <[email protected]>
    To: RB Jones <[email protected]>
    Sent: Sunday, March 8, 2015 2:34 PM
    Subject:  Shockwave will not update properly
    Shockwave will not update properly
    created by SeanWilson in Adobe Shockwave Player - View the full discussionThose two sites use 2 completely different plugins/players to view their content — one being Shockwave for Director, the other being Flash so "just changing the call" won't work. If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7265858#7265858 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7265858#7265858 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Adobe Shockwave Player by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Database table not updating

    Hi all,
    I am updating the database table with following syntex, but table not updating.
    MODIFY ZTEST_BAR FROM TABLE I_ZTESTBAR.
    Please help.
    PKB

    Hi,
    firstly you can define internal table and work area as below:-
    internal tables
    DATA : I_ZTESTBAR TYPE TABLE OF ZTEST_BAR.
    work areas
    DATA : I_ZTESTBAR_LINE LIKE LINE OF I_ZTESTBAR .
    here internal table having the same structure as that of ztable which include MANDT.
    Then to update field, you can use add following code:-
    *Update Ztable
    INSERT INTO ZTEST_BAR VALUES I_ZTESTBAR_LINE.
    COMMIT WORK.
    Hope this works for you.
    Thanks..........

  • Tried updating my itunes about a month ago, it would not update properly and left me with a notification saying "i tunes was not installed properly, please reinstall itunes" i've uninstalled and reinstalled a few times and still nothing.

    Tried updating my itunes about a month ago, it would not update properly and left me with a notification saying "i tunes was not installed properly, please reinstall itunes" i've uninstalled and reinstalled a few times and still nothing.
    i might need walked through on a few things if they are too complicated.

    Have you:
    - Restore from backup. See:                                                
    iOS: Back up and restore your iOS device with iCloud or iTunes
      - Restore to factory settings/new iOS device.            
    If a PC
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or              
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8

  • GL_JE_HEADER table : Posted date not update properly

    Hi All,
    I have seen that for few of the journals created inside GL,  The posted date inside the GL_JE_HEADER table is update with a date instead of time stamp.
    i.e  the posted date column is updated as '7/08/2013'  instead of  '7/08/2013 4:40:39 AM'
    This has caused some problem in te system.
    was wondering if you could help me to get an answer for this.
    regards
    Amit

    i am thinking that you want to include the time when you query the column post_date from table. if you are using SQL*Plus the default display for the date does not include the time. to include the time when you do a select on any data column use the ALTER SESSION SET NLS_DATE_FORMAT command.
    e.g.
    SQL> select sysdate from dual;
    SYSDATE
    18-SEP-13
    SQL> alter session set nls_date_format = 'dd-mon-yyyy hh:mi:ss am';
    Session altered.
    SQL> select sysdate from dual;
    SYSDATE
    18-sep-2013 11:57:17 am
    SQL>

  • TDS TABLE Not updating

    Hi Experts,
    I m using TDS 4.9 version whenever i do A/P invoice the WH(TDS ) calculation is doing good but the related table @CXS_TDS_ENTRY is not updating
    Plz suggest me
    Rajesh B K

    Hi,
    Pls. reinstall ur TDS addon, AddOn is not properly installed.
    Regards,
    Mahesh.

  • Af:table not refresh properly when corresponding ViewObject is repopulated

    I have a table T which is binding to a ViewObject VO.
    The initial population is working fine, but I met two problems while trying to manipulate the table data.
    Problem1:
    I have a ADD button which will add a new row to table T. The new Row is a empty Row, only Serial Number field is populated, all other fields (F1, F2, F3)are set to null by default.
    Result: the row is added, Serial Number is showing properly, but F1, F2 and F3 are showing the same value as the row above. At this moment, the respective VO entry of F1, F2 and F3 are still null. When I click a random row in the table, then the ValueChangeListeners of F1 and .etc are triggered and the screen value goes into the VO.
    Problem2:
    For each row I have a link, which will trigger a popup P. Some operation will be done in P and as the result, current row entries will be modified.
    Result: the VO entries are modified, but didn't reflect to the table completely. Again the field F1, F2 and F3 are not updating, still carrying the old data. This time, click other row won't trigger the ValueChangeListener. Instead, when you click the link of the same row, the new data are finally shown in the field F1, F2 and F3.
    Notice that simple refresh the table won't help(AdfFacesContext.getCurrentInstance().addPartialTarget(T)) in this case.
    F1 is a af:selectOneChoice, F2 and F3 are customized text input field.
    Any hint would be appreciated.

    Hi, the add function is purely add a new row into the vo:
    public void addRowActionListener(ActionEvent actionEvent) {
    if (ownerAdministratorDetailsHelper.getTableVO() != null) {
    ViewObject tableVO = ownerAdministratorDetailsHelper.getTableVO();
    OwnerAdministratorTableVORowImpl rowImpl =
    (OwnerAdministratorTableVORowImpl)tableVO.createRow();
    rowImpl =
    initializeNewRow(rowImpl,
    ownerAdministratorDetailsHelper);
    tableVO.last();
    tableVO.next();
    tableVO.insertRow(rowImpl);
    tableVO.setCurrentRow(rowImpl);
    the initializeNewRow method does nothing but set initial value for each entry in the new VO row.
    For B the pop-up is using a different taskflow, and depending on that taskflow's output when I click ok, I will repopulate the VO of the selected row accordingly.

  • HT1923 Trouble with newest version of iTunes not updating properly

    I tried updating to the newest version of iTunes because I received the Apple Software Update for it.  It wouldn't install properly, so I manually installed the newest version.  When I tried to open iTunes I received an error message: "APSDaemon.exe - System Error; MSVCR80.dll not found, try reinstalling the software".  So I clicked okay and received an error message the iTunes was not installed properly, try reinstalling.  Then I uninstalled iTunes and reinstalled it, but received the same error messages about 2/3 of the way through reinstalling.  Now iTunes won't install at all.  I went to the support page and got the instructions for removing and reinstalling iTunes on Windows 7, but I can't finish the removing steps because Apple Mobile Device Support will not uninstall at all.  My husband is having the same issue on his computer.  Is this a known issue with the new version of iTunes for windows?  How do we fix it now?  We really need iTunes on the computers to sync with our phones, iPod, and iPad.  Any help would be appreciated...should I contact apple support directly?

    Update - I was able to finally uninstall the Apple Mobile Device Support component and the rest of the components. I was not able to delete the common files/Apple folder when checking to make sure all the components were removed; however, I think that is because I have an Apple AirPort WiFi Device.  Anyway, the newest version of iTunes did install on my computer after following these instructions. So I believe my issue is resolved. We will see...

  • Array of clusters does not updates properly

    Hello...
    I builded a VI to split a series of 10000 values in many segments, each one overlapped by 50 %. The product of all the values of each segment is calculated and by means of visual inspection and Led selection (green means that the segment will be used, red means that the segment will not be used), I can select which segment will be used for the final sum. For example: if I have 20 segments, but only segments 4, 8, 15 are green, only the products of the segments 4, 8 and 15 will be summed to generate the final result. The final result should be refreshed if the Lenght of the Segment is changed or if any Led is switched to green or red, but the update does not occur properly. Sometimes all the segments are showed properly but if I change one Led or the Lenght of Segment control, the given result is wrong. When the Lenght of Segments control is changed, all the Leds need to be adjusted to green state.
    I don't know where is the problem in my code, but I think that is something related to the cluster constant that is wired to the first Unbundle by name, since that this constant was created from the cluster before it was inserted into array, and not from the array. If I create the constant from the array, the code returns an error.
    To avoid race conditions I used flat sequence.
    Thanks in advance for attention and help.
    Dan07
    Message Edited by dan07 on 07-26-2008 08:31 AM
    Attachments:
    Array of clusters.vi ‏43 KB

    I spotted one problemous area:
    Where you have an uninitialized shift register, so for every event the value of the last iteration is used.
    What's the meaning of this piece of code?
    I think you devide the length of the array by half the length of the segment?
    Ton
    Message Edited by TonP on 07-26-2008 05:34 PM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!
    Attachments:
    Array of clusters_BD.png ‏2 KB
    Array of clusters_BD2.png ‏1 KB

Maybe you are looking for