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.

Similar Messages

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

  • Business object for  A/R Down payment Request using DI is this exposed .

    Hi All,
    Requirement: Need to Create A/R Down payment Request using DI.
    Table : ODPI
    1. Can anyone tell me what is the DI objects for  A/R Down Payment Request .
    2. When Im directly puting the object as '203'
    Application.GetBusinessObject(203)
    Error: "The Logged on user does not have permission to use this object"
    while I logged on as manager with full permissions
    please help me with creating request document.
    Regards
    Nani

    Dear Nani Kumar,
    Which B1 version do you use?
    The Down payment object exposed from B1 2007 version but not B1 2005.
    So you can not use it in B1 2005 and before.
    Best Regards
    Jane Jing
    SAP Business One Forums team

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

  • A/p Down Payment Request and A/p Down payment Invoice

    hi All,
    I am Using SAP B1 2005B
    A/p Down Payment Request :-
    1.Wnen i want to give a 50% Advance Based on Purchase Order What is the Procedure. whether i have to use A/p Down payemnt request or A/p down payemnt invoice.
    2.whenever i am making down payment request there is no JE and There is No GL and BP affected.
    2.a. While making payment against down payment request there are 3 accounts hitted
    1.Bank Account.
    2. Bp(As Advance-Debit balance)
    3.GL linked with BP.(Acccounts payable).
    Is Correct or Not?
    3. While Making A/p Invoice can we pick this Advace in A/p invoice Entry and can we Adjust .
    at this stage Whenever i want to Check the balance of the BP should be Debit Balance(as Advance).
    A/p Down payment Invoice:-
    What is the Procedure, When it will be Used and What are the GL affected.
    Thanks & Regards,
    yusuff

    Hi,
    We are using A/p Down Payment Invoice where the entry is
    Party Credited
    Advance for capital purhase ie. ofset account is debited
    and making payment
    Party Debited
    Bank Credited
    and when linking with Invoice
    Advance for capital purhase ie. ofset account is credited
    GRNI of Asset A/c is debited.
    Here the main issue is in Party ledger its showing 1st credit and then debit and your requirement that Party should be shown debit balance it will be not there it will be in Offset account i.e "Advance for capital purhase ie. offset account"
    Now you have to generate query base report if you want to show advances given to party.
    This is what we are doing if there is any other possibility kindly revert back all experts.
    Thanks
    Kamlesh

  • Vendor down payment request over PO value

    Hi All,
    I have a requirement for vendor down payment request amount compare to PO value checking.
    I have PO with total value - 600 USD.
    When I create down payment request using F-47, I input amount 1000 USD.
    The system never show me any message.
    I want the SAP to block me from posting down payment request over PO value.
    I've read in the forum, to change message type F5373 with error type. But the message never appear in my F-47 screen.
    Anyone can help me, what am I missing here ?
    Thanks,

    Hi,
    You are right about message F5 373. But this is applicable at the time of the Payment of the Advance i.e. F-48. It is not available at the time of creating the Advance Payment Request against T Code F-47.
    If you want to have this control in the Payment Request, then you will have to use the validation, which you can put with the help of your abaper.
    Regards,
    Amit

  • Vendor down payment request Error

    Hi all,
            i created a vendor down payment request using f-47. I had created a tax code for the country "AE" using FXTP. But when in the vendor down payment request it is not picking the tax code,giving the error "Tax code AN for country AE has been deleted or incorrectly changed", Message no. FS201
    Kindly help me,
    Thanks in advance
    Ani Varghese

    Hi,
    The reason behind this error is that the TAX CODE IS NOT CORRECTLY MAINTAINED.
    You might not have maintained the GL Accounts for this. Maintained it in OB40.
    Regards,
    Amit

  • Down Payment Request F-47 and Purchase Order reference

    When creating a Down Payment Request using F-47, is there a way to reference to a Purchase Order number without indicating a line item?  It is my client's business practice to make a down payment for the whole PO, not just for a particular line item.  Is there a configuration setting that needs to be done to cater to this requirement?
    Thanks.

    It all depends on how you want to use it to clear invoices down.
    You could put the PO number in the text line of the down payment.
    You do not need to put in the line item so it meets one of their requirements.
    The problem then comes how is that PO number used to clear the actual invoices.
    If it is acceptable to clear manually this can be done, however it all depends on how many line items a Vendor will have open at a time for the same PO. If scheduled Agreements were used, you may find that there could be 1000 or so open items at a single time.
    Hope this helps in some way, in essecence you need to be creative.
    Please award points if useful.

  • Partial payment for Vendor down payment request

    Hi Gurus
    How to do partial payment for vendor down payment request  using F-48
    If i enter partial amount next time same request is not appearing in the list.
    Pls guide me. Reply will be appreciated with full points
    Thanks in advacne
    Sneha

    Hi Ravi
    Thanks for info
    My doubt is MM is creting Down payment request using F-47 For ex  Rs100000
    for this request using F-48 i want to pay partialally means for Rs50000
    Balance i want to pay it later, How this can be done.
    Pls guide me
    Rgds
    Sneha

  • 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

  • Down payment request at PO header level

    Hi,
    I am trying to create PO down payment request using F-47 but PO item is mandatory in it. How to create down payment request at PO header level? In my PO, there are more than 50 items. Please help.
    Regards,
    Milind Dumbre

    Hi
    i dont think you can create down payment at header level with reference of PO
    you need to create it itemwise
    process is as follows
    1. F-47 - Create Down Payment Request (Here in selection screen specify all the necessary details (Doc Type - KA) and press enter, on this screen specify amount to be paid in advance and also specify the PO Document and line item and SAVE)
    2. F-48 - Down Payment Entry w.r.t. Down Payment Request No
    3. F-54 - Down Payment clearing
    At the time of MIRO, it will pop-up that advance payment is done to this vendor against this PO.
    Now if you dont want to have it at item level
    then create down payment from Fi side and maintain PO number in reference fieled or text field ,
    now it wont be visible in PO header status but it can be seen in vendor account
    for more consult your FI consultant

  • 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

  • Which number range is used for down payment requests for vendors?

    Hi,
    Which number range is usually used for down payment requests for vendors?
    I would like to use it for:
    Y002 vendors (emplyees)
    Y004 vendors (1-time vendors)
    Y005 vendors (confidential vendors)
    The invoice will be posted via FI via Tcode FB60, FB65 & FB10 and F-02.
    Thank you for your feedback.
    Kind regards,
    Linda

    Hi
    For down payment request the Document type is KA hence the number range which is applicable to KA is applicable for vendor downpament also.
    In your case the number range is based on document types and not related to vendor types.
    Thanks
    Srinivas

  • Hiting Different Revenue accounts while Using AR Down Payment Request

    Hello Experts,
    (SBO 8.8, PL14)
    Scenario: I am selecting the Revenue accounts and COGS acount at row level of AR invoice, if I make AR invoice without engaging AR Down payment request it works fine.
    But if I engage AR Down payment request in AR invoice, the system splits the Revenue in two accounts 1. in the revene account (Sales Gross Department-wise) selected at row level in AR invoice and other revenue account set in Item group.
    Transaction Detail:
    Customer -
    Dr (33,599.00).
    Sales Gross Dept-wise (Revenue) -
    Cr (32,458.00)   (This account was selected at row level in AR Invoice).
    Sales Gross (Revenue)----
    Cr ( 1,141.00)   (This account was set in the Item Group).
    The question is why this account set in item group was hit as I selected the different at row level in AR invoice, and that is only in case of selecting AR Down Payment Invoice in AR Invoice.
    Help Required please,
    Thanks & Regards,
    Edited by: Shahzad Nazir on Nov 28, 2010 11:06 AM
    Edited by: Shahzad Nazir on Nov 28, 2010 11:08 AM

    Hi,
    If you engage AR Down payment request in AR invoice and do not want the system splits the Revenue in two accounts, you should use clearing account. In that case, the final posting account for Down payment can be selected with the same account as invoice account.
    Thanks,
    Gordon

  • Down Payment Request for a Purchase Order Type K

    I am making a down payment request to a supplier where the purchase order is of type K.
    At the time of recording the payment request (A-47) the transaction meets the cost center of the purchase order and, because of having a message class (KI 281), blocks the release.
    The question is:
    At present the validation of the message class (OBA5) should validate the account of the purchase order or the supplier's account of the F-47?
    Rgs,
    Ivair

    Hi
    KI 281 message says that the GL account has to be created as a cost element. So, please create a cost element for the GL you are using (KA01). Hope this is the problem.
    If this does not work, please let me know.
    Thanks,

Maybe you are looking for