Down Payment Request (f-47) with BAPI_ACC_DOCUMENT_POST

Hi All,
I have a requirement to create a downpayment request (F-47). I have used bapi BAPI_ACC_DOCUEMENT_POST for this and implemented BTE RWBAPI01 and added the code in Function module for BTE.
BAPI is getting executed successfully and giving me a document number also, in the return table. But after calling BAPI_TRANSACTION_COMMIT  the document no. doesnt get updated to tables. There is no error returned by either of the BAPI
In the next run, next document number gets generated.
Can anyone please help and let me know why the document is not getting updated in tables even though it gets generated.
Any help will be appreciated,
Thanks,
Kanchan

Hi,
I had checked the OSS notes as well, Note 884246 is already implemented.
I am not able to understand when the BAPI_ACC_DOCUMENT_POST is giving me a document number why is commit for the same failing.
Thanks,
Kanchan
Edited by: Kanchan Dalwani on Nov 18, 2010 11:06 AM

Similar Messages

  • Down payment request for assets using bapi_acc_document_post

    Hi guys(girls)!,
    I<< priority reduced >>
    I'm posting a down payment request to an asset with a z program using bapi_acc_document_post. Everything is fine, but, when i go to fb03 to check the generated document i don't see the asset number associated to the purchase doc. When i go to bseg to check, i don't see the asset number and the subnumber. I lack just these to fields even i'm passing the values to correct fields in bapiacgl09.
    This is the values i'm passing:
    wa_acctgl-itemno_acc  =  iterator.
    wa_acctgl-gl_account  =  lv_skont.
    wa_acctgl-vendor_no   =  p_vendor.
    wa_acctgl-doc_type    =  p_tipdoc.
    wa_acctgl-item_text   =  p_txtcab.
    wa_acctgl-po_number   =  p_ponum.
    wa_acctgl-po_item     =  s_ekpo-ebelp.
    wa_acctgl-serial_no   =  imp_no.
    wa_acctgl-asset_no    =  wa_ekkn-anln1.
    wa_acctgl-sub_number  =  wa_ekkn-anln2.
    wa_acctgl-acct_type   =  'A'.
    wa_acctgl-CS_TRANS_T  =  '100'.
    wa_acctgl-asval_date  =  sy-datum.
    APPEND wa_acctgl      TO gt_acctgl.
    CLEAR wa_acctgl.
    Please help!.
    Edited by: Rob Burbank on Oct 24, 2011 9:44 AM
    Edited by: ramvargash on Oct 25, 2011 2:54 PM

    Hi Eduardo, what i'm trying to do is a down payment request for an asset. Indeed, i do the post. My problem is that the asset main number and the asset subnumber are not getting saved in bseg, so when i go to fb03 and double click on a line item, i got prompt to fb03 in visualize mode, and the fixed asset field is blank.
    I have now a week trying to get the asset main number and the asset subnumber getting saved in bseg. I note that i have other field that are not getting saved 'cause i'm not passing the value thru the bapi. This field is LNRAN.
    If you or anybody have a clue how to solve this, i would appreciate the help.
    Ramón Vargas

  • Down payment request for contract with periodic billing

    Hi Friends,
    Could anyone help me in understanding the configuration settings for down payment / advance payment senario for a CONTRACT which has Order related billing (I have done for Order with milestone billing plan).
    The contract has order related *periodic billing plan* where settlement period is suppose quaterly billing and actual invoice is happening on 1st date of the quarter. But i want to create a down payment request say 10 days before the billing date[(actual invoice(F2) date] of every quater as an advance payment/ down payment.
    FYI...
    For order i am using standard billing rule 1 in milestone billing plan for final invoice but for downpaymnet billing dates (added additional settlement periods then actual invoice settlement period like 3 adv pay ment og 20%, 30% 50% & one actual invoice period for whole amount 100% as D4 doc only) i am manually changing the billing rule as 4 to create a down payment req.
    But in contract as its has periodic billing plan no billing rule changing option (no additional settlement period can be added, only settlement period for actual invoice is getting proposed) so i can't have two different rule for a settlement period. no settlement period can be added separately for adv paymnet/down payment.
    Kindly respond ASAP.
    Rgds
    Manish

    Hi, Many thanks for your response.
    But the down payment functionality for a SO with milestone billing i have already implemented.
    The question was for CONTRACT Side (say rental / service contract). The contract has periodic billing (monthly / Q'ly).
    Kindly let me know if you/anyone has any idea for config settings for a contract with the senario mentioned in previous thread post.
    Thnx & Rgds
    MG

  • Payment program - down payment request

    Hello,
    1) Down payment request is saved with the house bank entered
    2) Payment is posted in F110 (in the payment proposal house bank is displayed)
    3) While displaying payment document house bank field is empty.
    Why house bank is not copied from down payment request to payment...
    Thanks
    Karol

    Hi,
    House can be maintained at vendor master level only.
    Still if you want to see the check information / bank information go to FB03 and enter doc no, comp code, FY and press enter
    Go to menu item -> environment->check information.
    So here you will get all the data about the house bank and check data.
    Hope this will help you for some extent.
    Thanks,
    Srinu

  • Making Down Payment Request using BAPI_ACC_DOCUMENT_POST

    Hi, all...
    I faced a problem while I'm testing BAPI_ACC_DOCUMENT_POST to make down payment request(F-47), so I need some help.
    I've found a BAPI_ACC_DOCUMENT_POST in down payment about this topic and followed its parameter settings except for currency settings.
    In that posting, the accountpayable-pymt_cur and currencyamount-currency are set different currency.
    While I set the two fields with same currency(USD). Belows are my source codes.
      DOCUMENTHEADER-OBJ_TYPE   = 'IDOC'.
      DOCUMENTHEADER-OBJ_KEY    = '$'.
      DOCUMENTHEADER-OBJ_SYS    = 'D10CLNT200'.
      DOCUMENTHEADER-BUS_ACT    = 'RFBU'.
      DOCUMENTHEADER-USERNAME   = SY-UNAME.
      DOCUMENTHEADER-HEADER_TXT = 'DOWN PAYMENT REQUEST'.
      DOCUMENTHEADER-COMP_CODE  = '1000'.
      DOCUMENTHEADER-DOC_DATE   = '2006.09.01'.
      DOCUMENTHEADER-PSTNG_DATE = '2006.09.01'.
      DOCUMENTHEADER-DOC_TYPE   = 'KG'.
      ACCOUNTPAYABLE-ITEMNO_ACC    = '0000000001'.
      ACCOUNTPAYABLE-VENDOR_NO     = '0002314908'.
      ACCOUNTPAYABLE-GL_ACCOUNT    = '0091120100'.
      ACCOUNTPAYABLE-COMP_CODE     = '1000'.
      ACCOUNTPAYABLE-PYMT_METH     = 'L'.
      ACCOUNTPAYABLE-PMNT_BLOCK    = 'A'.
      ACCOUNTPAYABLE-BUSINESSPLACE = '1001'.
      ACCOUNTPAYABLE-PYMT_CUR      = 'USD'.
      ACCOUNTPAYABLE-PYMT_AMT      = '123,438.0000'.
      ACCOUNTPAYABLE-SP_GL_IND     = '2'.
      ACCOUNTPAYABLE-TAX_CODE      = 'RR'.
      CURRENCYAMOUNT-ITEMNO_ACC = '0000000001'.
      CURRENCYAMOUNT-CURRENCY   = 'USD'.
      CURRENCYAMOUNT-AMT_DOCCUR = '123,438.0000'.
    But the function returns an error:
    'Enter a payment currency different to USD'
    But if I would set with different currencies, it returns an error:
    'Balance in transaction currency'
    If the ACCOUNTPAYABLE-PYMT_CUR and ACCOUNTPAYABLE-PYMT_AMT were remained empty, it returns
    'Balance in transaction currency'
    What should I do about this currency setting.
    Someone please let me know about doing this right way.
    Thank you.
    Message was edited by: Jong-woon Lee

    Hi,
    Just in case you found this thread with the same problem.
    At least in my case what was happening is that I wanted to leave the currency fields blank (the same currency as payment value) but I was filling in ACCOUNTPAYABLE-PYMT_AMT, so was receiving error telling me that currency fields could not be empty. And if I set them to the same as payment, I would receive a message telling me that currency must be different.
    If you want to use only one currency you don't need to fill in these 3 fields:
    ACCOUNTPAYABLE-PYMT_AMT
    ACCOUNTPAYABLE-PYMT_CUR
    ACCOUNTPAYABLE-PYMT_CUR_ISO
    The same probably applies for the ACCOUNTRECEIVABLE table.
    Cheers,
    Erick
    Ps.
    Some extra text so you can find this thread by searching for error messages:
    Required field CURRENCY was not transferred in parameter ACCOUNTPAYABLE
    For the ISO code  there is no unique SAP currency code for ALE
    For the ISO code  there is no unique SAP currency code for ALE
        Message no. B1888
    Diagnosis
        There are several entries in TCURC for this ISO code, but none with the
        primary flag set.
    Procedure
        In table TCURC set the primary flag for ISO codes used multiple times.
    Required field CURRENCY was not transferred in parameter ACCOUNTPAYABLE
        Message no. RW602
    Diagnosis
        Field CURRENCY is required in parameter ACCOUNTPAYABLE for processing
        the document. The document is incomplete without this field.
    System Response
        The document cannot be processed.
    Procedure
        Enter a valid value in field CURRENCY in parameter ACCOUNTPAYABLE.

  • Down payment request: posting using BAPI_ACC_DOCUMENT_POST

    Hello, Gurus!
    We have a problem with posting DPR using BAPI.
    We can't carry out DPR for a Vendor.
    The following parametrs were set:
    1) BSTAT = 'S'
    2) ZUMSK = 'A'
    3) BSCHL = '39' 
    4) SHKZG = 'H' 
    5) WRBTR (negative sum is written)
    6) GLVOR (business transaction) - RFBU
    7) we also set assignment to a Funds reservation document.
    When we try to execute BAPI it returns an error RE 041 "Amount in document &1 &2 may not be exceeded".
    Perhaps, FM-PSM thinks that we try post a credit memo...
    We used F-47 before, but we need to use the BAPI.

    Hi,
    I had the same problem with posting a down payment request using BAPI. Actually, it seems SAP does not allow to post this kind of document "natively". Therefore, you have to implement a BADI (ACC_DOCUMENT) in order to make it work.
    1. Be sure you have the latest notes applied for BAPI_ACC_DOCUMENT_POST (especially note 561175)
    2. As for as DP request, call BAPI with DOCUMENTHEADER, ACCOUNTRECEIVABLE and CURRENCYAMOUNT filled with your needed lines.
    In my case, I set SP_GL_IND to 'F'.
    3. In your implementation of BADI, in method CHANGE, set ACCIT-BSTAT to 'S' (noted items) so that balance check will not take it into account. You may customize your line if needed.
    This should be enough to have your document posted. I can give you more details should you need help.

  • You cannot reconcile a/p invoice transaction with A/P Down Payment request manually

    Dear Experts,
    One of my client has facing this problem while doing Reconciliation then he is getting the following error.
    "you cannot reconcile a/p invoice transaction with A/P Down Payment request manually"
    then we found a solution in SAP Forums and applied the same in Test Company Environment, then its working good and also attaching the scenario with screen shot.
    Please have a look into the attachment then tell us. Is it a good practice to proceed or is there any solution as simple as this.
    One more thing is my client has having more 20000 records to do reconciliation and he is looking for any alternative solution.
    So please tell us a Better solution.
    We are awaiting for your prompt response.....

    Hi,
    Please check SAP note:
    1340606 - Paid Down Payment Request cannot be reconciled
    internally.
    Thanks & Regards,
    Nagarajan

  • Error when posting Down payment with reference to down payment request

    Hi Experts,
    In October of 2010 we upgraded from version SAP 4.7 to version 604 SAPKH60406.  
    With this upgrade we decided to select the following FM setting:
    "Flag to activate down payment request update to PO history"
    If this flag is set, down payment requests are updated to the purchase order history. In addition, when you create a down payment referencing this down payment request , the down payment request is cleared by the down payment.
    Use- Set this flag if you want to see the down payment requests  in the purchase order history.
    So, since October 2010, the Down payment requests have been updated to the PO history (note - no update of the down payment request was made to the PO status tab) and the down payments (made with reference to the down payment request) have been clearing the DP requests.
    Today we have applied packages SAPKH60407 - SAPKH60409 and we are in the process of testing. 
    Now we are experiencing errors when processing down payments:
    1. create the down payment request (F-47) - this is OK
    2. create the down payment (F-48) with reference to the down payment request - ERROR MESSAGE F5373 - "Order value will be exceeded"
    Can anyone please explain why this is happening?  We would like to keep the "Flag to activate DPR update to PO history" ON
    as it has been since October 2010.
    Thanks,
    Michelle

    Hi,
    Please find the below link it will help full for you,........
    Order Value will be exceeded Msg No. F5373
    Naresh

  • Down payment request with reference to sales order

    Hi all,
    I have configured a down payment scenario integrated with SD module for delivery based order.
    the flow is working fine when I post the down payment with transaction f-29 and insert the reference to the sales order (without item).
    but when i try to do the same process using also the step of down payment request f-37 the system force me to insert also the item of the sales order in the down payment request. in fact the system issue error message
    Enter the item number
        Message no. V1125
    Diagnosis
        You have entered a sales document number without the item number.
        However, the item number is necessary.
    Procedure
        Enter the item number."
    I'm using special GL indicator "A" in both transaction.
    any idea?
    thanks
    Paolo

    Hi
    This could be possible if you activate the Business Function SD_01 delived in EhP 2 in ECC 6.0. Note this activation is an irreversable function.
    Read the utilities of the function for more details.
    Regards
    Sanil Bhandari

  • Help Needed with creting down payment request without tax from order

    Hello,
    We are trigerring a down payment request from sales order. There is no tax to be collected on down payment. When the billing document is created SAP copied over tax elements from order and posts a relevant tax code on the down payment billing document. How can we force a zero tax code on the DPR billing document?

    Hello Pankaj,
    I think you don´t want to determine any tax condition?
    Try to assign requirement 84 to your tax condition(-s) in the pricing procedure. This requirement helped me not to determine
    other condition types in the down payment billing document.
    If you just want to determine a different tax code the solution could be to define a new table (key kombination) in the access sequence assigned to your tax conditions. That new table could include the billing type in additional to other criteria and can help you to determine a different tax code with otherwise identical parameters.
    Hope this helps.
    Regards
    TDI

  • Processing Down Payment Request with input tax

    Hi Gurus,
    I was trying to process the down payment request using Tcode F-47 with input tax, I am getting an error saying that "Down pmnts with taxes are not permitted when processing with jur.code". For this error I found the note 97288, but this speaks a lot about changing the pricing procedures in SD, but nothing about AP. So, can any one help me to understand what needs to be done to resolve this issue.
    Thanks
    Shilpa

    Hi
    Please check whether note 300340 is relevant for your case
    S Jayaram

  • How to reconcile AR down payment Request with AR Invoice?

    Dear All,
    SAP B1 2007A SP01 PL07 version.
    I have created one AR down payment Request with total amount 1000.00, and then post incoming payment to paid the AR down payment Request, and the AR downpayment request then closed.
    Then, I add one AR Invoice with amount 1000.00.
    After that, I want to add incoming payment , then I select both (AR downpayment request & AR invoice), but cannot add the incoming payment because the total amount is zero (1000.00 - 1000.00=0.00).
    How can I solve this problem?
    Thanks in advance for any help.

    Hi Kerstin,
    Thank you for you reply.
    I did test your solution, but its only work for SAP 8.8. But now i'm working in SAP 2007A version. For 2007A version, downpayment request cannot be drawn to invoice.
    Anyway, i find out one way. If I add the payment together with another invoice, thats mean the total payment is not zero, then its work. The solution is, make sure the total payment is not zero then it should be ok.
    Thanks to everybody for your fast reply. Thank you so much and really appreciate your help.
    Regards,
    Mat

  • Creating Down Payment Request using BAPI_ACC_DOCUMENT_POST (URGENT!!)

    Hi...
    I have a posting unanswered.
    Please take some care about it... ^^
    Making Down Payment Request using BAPI_ACC_DOCUMENT_POST

    Hi,
    Just in case you found this thread with the same problem.
    At least in my case what was happening is that I wanted to leave the currency fields blank (the same currency as payment value) but I was filling in ACCOUNTPAYABLE-PYMT_AMT, so was receiving error telling me that currency fields could not be empty. And if I set them to the same as payment, I would receive a message telling me that currency must be different.
    If you want to use only one currency you don't need to fill in these 3 fields:
    ACCOUNTPAYABLE-PYMT_AMT
    ACCOUNTPAYABLE-PYMT_CUR
    ACCOUNTPAYABLE-PYMT_CUR_ISO
    The same probably applies for the ACCOUNTRECEIVABLE table.
    Cheers,
    Erick
    Ps.
    Some extra text so you can find this thread by searching for error messages:
    Required field CURRENCY was not transferred in parameter ACCOUNTPAYABLE
    For the ISO code  there is no unique SAP currency code for ALE
    For the ISO code  there is no unique SAP currency code for ALE
        Message no. B1888
    Diagnosis
        There are several entries in TCURC for this ISO code, but none with the
        primary flag set.
    Procedure
        In table TCURC set the primary flag for ISO codes used multiple times.
    Required field CURRENCY was not transferred in parameter ACCOUNTPAYABLE
        Message no. RW602
    Diagnosis
        Field CURRENCY is required in parameter ACCOUNTPAYABLE for processing
        the document. The document is incomplete without this field.
    System Response
        The document cannot be processed.
    Procedure
        Enter a valid value in field CURRENCY in parameter ACCOUNTPAYABLE.

  • How to Reconcile payment with invoice made gaainst down payment request

    Dear All,
    There is a down payment request against which an incoming payment has been made. The actual ar invoice is booked at a later date. Now How do I reconcile the payment made with this invoice. When I try to reconcile it with the invoice using internal reconciliation it gives an error, you cannot reconcile a payment made against down payment request from here.
    Please suggest if you know any solution for the same.
    Regards,
    Husein

    Hi Neeraj............
                   I think there is no need to reconcile as its already a linked with AR Invoice. WHen you do incoming payment on the basis of AR Down Payment then it that down payment reference you should give to AR Invoice. Have you given such link as its provision is there in SAP.......
    Regards,

  • Down Payment Request with reference to PO

    Hi All
    How I can stop making a down payment Request of more amount than the P.O
    Value?
    I have changed the Message control and made the warning as error.....Now if
    I make a downpayment more than the P.O amount in a single posting, it gives me error message. But, if I create partial payment requests against a PO, it exceeds the value of PO.
    For example, suppose I have P.O of Rs 50000
    and still I make two downpayments of 40,000 and 50,000 system accepts
    I have tried for the user exits, BADi also, but I am unable to get a solution.
    Kindly help me in finding a proper solution to this.
    Regards
    Debasis Panda

    Hi,
    You can specify the reference PO number in doing down payment to vendor. The data from PO is not copied since we are making payment wrto vendor & not the PO. PO is just used for reference & reporting.
    Thanks,
    Sourabh

Maybe you are looking for

  • My ical will not open

    I instailled .mac but it was 04 editon and ever secne then it will not open and the image has change to two peices of paper with a pen and a ruler and a burah i have tired to reinstaill it but it says try insatilling it again plaese help

  • Best Practice for Delivering Content

    Hi SDN Experts, We have a scenario where we need to read/write a EDI kind of file, separated file. But the solution should be a deployable one and we are planning to provide IR Content alone and use Integration Scenarios for ID. We have two options:

  • My auto-scroll 3rd button does not work in FireFox 3.6. It worked in previous FF versions.

    I have updated FireFox. My auto-scroll 3rd button now does not work in this version, 3.6 I have updated my mouse and checked the TOOLS "Use auto-scroll"... still it does not work. I need my equipment to work. PLEASE FIX

  • Fla written made in Flash MX/AS1 jerks when published in Flash8/AS2

    Have an old fla written made in Flash MX/AS1 which run OK. Opened it in Flash-8, changed publishing settings from AS1 to AS2. The resulting SWF runs jerking. What might be the reason?

  • Trouble loading an old version of Photoshop Elements

    I have been trying to load an older version of this software and a message saying that IE 4.0 or greater is required to load the program. My IE software is current, but I can't get past this message..... Do I need to upgrade my sofware of throw it ou