Bapi for Posting the vendor payment.F-53

Hi,
I need to post a document for Vendor payment using BAPI, by providing the Vendor Invoice number as Reference number which was created by using the FM PRELIMINARY_POSTING_FB01. I can able to generate a Vendor invoice, But i cant able to make this vendor invoice number as a reference number to post the vendor payment using the BAPI BAPI_ACC_DOUMENT_POST. After Executing this BAPI ,then i check in FBL1N means, the posted document was in open items. It Should be in cleared items. If i manually entered through F-53 means the payment is coming successfully and also as Cleared items in FBL1N.How to solve this issue..
Regards
Bala.

Hi Bala,
Can you please share your BDC code with me for clearing vendor invoice.
Regards
Neeraj Sharma

Similar Messages

  • Are there any standard Idocs or Bapis for posting the data into transaction

    Hi,
    Are there any standard Idocs or Bapis for posting the data into transactions ME42N and IK11?
    Thank You.

    Thank you.
    Any idea of the other one?

  • Bapi for  'post customer down payment (t-code F-29)'

    hi all
    can any one tell which bapi is used to 'post customer down payment:header data (t-code F-29)'.
    thanks in advance,
    lokesh

    Hi,
    this one :
    BAPI_ACC_DOCUMENT_POST
    Best regards,
    Erwan

  • BAPI for Posting the WIP document with respect to profit center

    Hi All,
    as per the SAP standards SAP posts the WIP revaluation to the profit center of the subcomponents instead of profit center of the manufactured material..
    But now i have write a logic to  make correcting entries for WIP revaluation to the Profit Center of the Manufactured Product.
    I have to  Post an accounting document with the adjustment posting (Revaluation Document) as of the last day of the Period.
    If the Revaluation Amount is POSITIVE, the DEBIT is to Profit Center of the Manufactured Material and CREDIT is to the Profit Center of Subcomponent Material/ Activity.
    If the Revaluation Amount is NEGATIVE, the CREDIT is to Profit Center of the Manufactured Material and DEBIT is to the Profit Center of Subcomponent Material/ Activity.
    Can any one suggest me the  Function module which available to post the this type of document ?
    Regards,
    Praveen

    Hi Ajit,
    My requirement is to get the total of GL balances for the respective profit center.
    But in Report i didn't found profit center parameter.
    Thanks

  • Bapi or FM for posting the parked document

    Hi All,
    Can someone suggest for FM or Bapi for posting the parked document??
    Regards,
    Shobana.K

    try this...
    BAPI_ACC_DOCUMENT_POST
    BAPI_ACC_INVOICE_RECEIPT_POST
    BAPI_INCOMINGINVOICE_PARK 
    BAPI_INCOMINGINVOICE_CREATE
    MRM_PARKED_INVOICE_POST

  • ECC 5.0 BAPI for posting documents only in non-leading ledger

    Hello,
    for an FI-interface i want to call an BAPI for posting the documents. The document were posted to the leading ledger and to the non-leading ledger by usage of BAPI_ACC_DOCUMENT_POST.
    Now there are cases to post documents only to the non-leading ledger.
    Is there anywhere a possibility to tell the BAPI (e.g. enter the ledger group) only to post to the non-leading ledger or is another BAPI available to do so.
    Thank you for your help.
    Thomas

    Hi Thomas,
    You can use the same BAPI for any type of ledger postings. You can restrict your postings to Type of ledger.
    Cheers
    Srinivas

  • BAPI for Posting Incoming Payments thru F-28

    Hi,
    we are trying to post the incoming payment thru standard BAPI (BAPI_ACC_DOCUMENT_POST) but unable to do so. the error message are coming in Object type and object key fields in header data.
    kindly help me, and if possible pls sent me  sample input parameters(for header and lineitem details) for this.
    It's very urgent
    Points assured.
    regards,
    Anand

    Hello,
    what is the error log?
    Pls mention
    Rgds
    Rajendra

  • BDC / Bapi For  Post Incoming Payment (F-28)

    Hi
    Im creating BDC for F-28. But it got error coming out.
    >> It says DB05B-PSZAH(02) is not an input field.
    What I do is: First, I search for Line Item then Document Number. Then It return to basic list. Then I loop again for the second Line Item Number and Document Number.
    I can activate the first amount but cannot for the next amount and so on.
    Anybody could help me on this??
    Is there any BAPI for Post Incoming Payment (F-28)?
    Thank you.
    Regards.

    i dont think there is a BAPI for this Transaction...
    i have done a BDC on F-28 myself....pasting the code....hope it helps you....
    *******NOTE********
    the parameter in the subroutine is to see if there is a single document or multiple documents being posted.
    FORM fill_bdc_data_f-28_9005 USING p_i_mult_doc TYPE c.
    **BDC from screen 9005
      DATA : l_amt_bdc(13), l_amt_bdc_remain(13), l_amt_bdc_mult(13),
             l_amt_bdc_mult_remain(13), l_assignment(14), l_period(2),
             l_amount(13).
      CLEAR t_bdcdata.
      REFRESH t_bdcdata.
      PERFORM bdc_dynpro USING 'SAPMF05A' '0103'.
      PERFORM bdc_field USING 'BDC_OKCODE' '=AB'.   "OK CODE - doc overview
    **get user default date format and pass date in that format
      PERFORM convert_date_to_user_format USING bkpf-bldat.
      PERFORM bdc_field USING 'BKPF-BLDAT' w_date.  "cheque date
      CLEAR w_date.
      PERFORM bdc_field USING 'BKPF-BLART' i_blart.  "doc type
      PERFORM bdc_field USING 'BKPF-BUKRS' i_bukrs.  "comp code
    **get user default date format and pass date in that format
      PERFORM convert_date_to_user_format USING bkpf-budat.
      PERFORM bdc_field USING 'BKPF-BUDAT' w_date.  "posting date
      CLEAR w_date.
      l_period = sy-datum+4(2).
      PERFORM bdc_field USING 'BKPF-MONAT' l_period. "period
      PERFORM bdc_field USING 'BKPF-WAERS' 'INR'.    "currency
      PERFORM bdc_field USING 'BKPF-BKTXT' i_bankl.  "doc. hdr. text
      PERFORM bdc_field USING 'BKPF-XBLNR' i_xblnr.  "Ref. Document No.
      PERFORM bdc_field USING 'BSEG-ZUONR' i_zuonr.  "Assignment(Depot Code)
      PERFORM bdc_field USING 'RF05A-KONTO' i_bank_gl. "Bank GL acc
      PERFORM bdc_field USING 'BSEG-GSBER' i_gsber.  "Business Area
      l_amount = bseg-wrbtr.
      PERFORM bdc_field USING 'BSEG-WRBTR' l_amount. "Amount
      PERFORM bdc_field USING 'BSEG-PRCTR' ''.  "Profit Center
    **open items data
      PERFORM bdc_field USING 'RF05A-AGKOA' 'D'.     "Acc type (D=customers)
      PERFORM bdc_field USING 'RF05A-XNOPS' 'X'.     "Std OIs check box
    **end of first screen
    **document overview screen
      PERFORM bdc_dynpro USING 'SAPMF05A' '0700'.    "Overview Screen
      PERFORM bdc_field USING 'BDC_CURSOR' 'RF05A-AZEI1(01)'.     "cursor
      PERFORM bdc_field USING 'BDC_OKCODE' '/00'.     "OK CODE
      PERFORM bdc_field USING 'RF05A-NEWBS' '19'.    "posting key
      PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
      PERFORM bdc_field USING 'RF05A-NEWUM' 'B'.     "Spl GL Indicator
    **for single document selected
      CLEAR l_amt_bdc.
      IF p_i_mult_doc = ''.
    ***new screen - next line item
        PERFORM bdc_dynpro USING 'SAPMF05A' '0303'.
        PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.    "OK CODE
    **for single document, use the bouncing amount calculated earlier
        l_amt_bdc = w_amt_ant_bouncing.
        PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc. "amount
    **due date - same as posting date on screen
    **get user default date format and pass date in that format
        PERFORM convert_date_to_user_format USING bkpf-budat.
        PERFORM bdc_field USING 'BSEG-ZFBDT' w_date.  "due date
        CLEAR w_date.
    **assignment
        CLEAR l_assignment.
        CONCATENATE t_seldoc_ant_bouncing-belnr
                    t_seldoc_ant_bouncing-gjahr INTO l_assignment.
        PERFORM bdc_field USING 'BSEG-ZUONR' l_assignment. "assignment
        PERFORM bdc_field USING 'BSEG-GSBER' i_gsber.
    **if there is some remaining amount, then go for another line item
        IF w_rem_amt_ant_bouncing > 0.
          PERFORM bdc_field USING 'RF05A-NEWBS' '15'.    "posting key
          PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
    **new screen
          PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
          PERFORM bdc_field USING 'BDC_CURSOR' 'BSEG-ZTERM'. "CURSOR
          PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.    "OK CODE-ENTER
          l_amt_bdc_remain = w_rem_amt_ant_bouncing.
          PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_remain.
          PERFORM bdc_field USING 'BSEG-ZTERM' '0001'.
    **AGAIN
          PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
          PERFORM bdc_field USING 'BDC_CURSOR' 'BSEG-WRBTR'. "CURSOR
          PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.    "OK CODE-SAVE
          PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_remain.
          PERFORM bdc_field USING 'BSEG-ZTERM' '0001'. "pmt term -hardcoded
          PERFORM bdc_field USING 'BSEG-SKFBT' l_amt_bdc_remain.
        ENDIF.
    **multiple documents
      ELSE.
    **initialize remaining amount to amt entered on screen
        l_amt_bdc_mult_remain = bseg-wrbtr.
        LOOP AT t_seldoc_ant_bouncing.
          IF l_amt_bdc_mult_remain > 0.
            IF bseg-wrbtr > t_seldoc_ant_bouncing-rem_amt.
              l_amt_bdc_mult = t_seldoc_ant_bouncing-rem_amt.
            ELSE.
              l_amt_bdc_mult = bseg-wrbtr.
            ENDIF.
    **remaining amt = screen amt - amt calculated above.
            l_amt_bdc_mult_remain = l_amt_bdc_mult_remain - l_amt_bdc_mult.
            PERFORM bdc_dynpro USING 'SAPMF05A' '0303'.
            PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.    "OK CODE
            PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_mult. "amount
            PERFORM bdc_field USING 'BSEG-GSBER' i_gsber.  "Business Area
    **due date - same as posting date on screen
    **get user default date format and pass date in that format
            PERFORM convert_date_to_user_format USING bkpf-budat.
            PERFORM bdc_field USING 'BSEG-ZFBDT' w_date.  "due date
            CLEAR w_date.
    **assignment
            CLEAR l_assignment.
            CONCATENATE t_seldoc_ant_bouncing-belnr
                        t_seldoc_ant_bouncing-gjahr INTO l_assignment.
            PERFORM bdc_field USING 'BSEG-ZUONR' l_assignment. "assignment
    **posting key 19 for all but last document
            PERFORM bdc_field USING 'RF05A-NEWBS' '19'.    "posting key
            PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
            PERFORM bdc_field USING 'RF05A-NEWUM' 'B'.     "Spl GL
          ENDIF.
        ENDLOOP.
      ENDIF.
    **post remaining amount
      IF p_i_mult_doc = 'X'.
    **new screen if there is some amount left
        IF l_amt_bdc_mult_remain > 0.
    **posting key 15 with remaining amount
          PERFORM bdc_field USING 'RF05A-NEWBS' '15'.    "posting key
          PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
          PERFORM bdc_field USING 'RF05A-NEWUM' ''.     "Spl GL
    **new screen
          PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
          PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.    "OK CODE
          PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_mult_remain.
          PERFORM bdc_field USING 'BSEG-ZTERM' '0001'. "pmt term - hardcoded
        ELSE.
    **if no amount is left, no need for a further line item
          PERFORM bdc_field USING 'RF05A-NEWBS' ''.    "posting key
          PERFORM bdc_field USING 'RF05A-NEWKO' ''. "customer
          PERFORM bdc_field USING 'RF05A-NEWUM' ''.     "Spl GL
        ENDIF.
      ENDIF.
    **clear variables
      CLEAR : l_amount, l_assignment, l_amt_bdc,
              l_amt_bdc_remain,l_amt_bdc_mult, l_amt_bdc_mult_remain.
    ENDFORM.                    " fill_bdc_data_F-28_9005

  • How to post the Down payment for assets using the investment measure?

    Hi,
    We want to post the down payment using the investment measure for some of the assets. Please tell me how to post it and how to clear it.
    I have searched the net but till now I am unable to find something with which I can do that.
    Thanks in advance...
    Regards
    Nitin

    Hi,
    Please reply as I am facing problems with posting the down payments using the investment measure and I have tried and read alot but nothing as such I have been able to found.
    Thanks and Reply
    Nitin

  • FM/BAPI for creating the credit memo request for Vendor

    Hi Experts,
        I need an RFC/BAPI,  for creating the credit memo request for Vendor.
    Thanks in Advance,
    Kiruba.R

    Hi,
    Use this BAPI 'BAPI_DRMCREDITMEMOREQ_CREATE' - Credit Memo Request Creation
    Regards,
    Jyothi CH.

  • Block The Vendor Payment

    Dear All,
    I need to Block the Vendor Payment .But I need to do MIGO,and MIRO Transaction.Without payment block .I want that while doing miro it automatically block for payment without any manual intervention.
    Thanks & Regards
    Meruta

    Dear Meruta,
    You can do it through Vendor Master (FK02) in Payment Transactions. There you put in Payment Block by selecting through Drop Down Menu.
    OR you can ask users to put the block while posting invoice through MIRO from Payment Tab page.
    This will solve your problem.
    Assign points.
    Gov

  • What is thr transaction for posting the checks.

    Hi
    What is the transaction for posting the checks
    and i want to get details based on the posting date. so any one tell me the tables used in this.

    What kind of operation are you talking about.
    For example :
    F-53 , F-58, F110 are transactions to post vendor paymment with check
    F-28 transaction to post customer payment with check (without creating it)
    FF68 for check deposit
    Regards

  • Bapi for posting IR line item at a time

    Hi....
    Do we have a bapi for posting invoive receipt line item wise instead of posting the PO at a time......this wud be more precise for my requirement.....presently i'm using bapi_acc_document_post but this wud clear the document with single document number.....but i want it to be posted line item wise to see the amount individually item wise instead of combined one....similar to what we have in the IR which shows amount of individual items........

    This is an old bug that keeps popping up:
    https://forums.lenovo.com/t5/T400-T500-and-newer-T-series/Vertical-scrolling-got-reset-everytime-I-use-Ultra-Nav-to-scroll/td-p/343477

  • Bapi for posting Outbound Delivery

    Hi,
    Can anyone please let me know about bapi for posting goods issue of outbound delivery.I have checked bapi like
    BAPI_OUTB_DELIVERY_CONFIRM_DEC
    If i use the with this bapi i can't cancellation the outbound with vl09.
    thanks,

    hi,
    i try to doing posting goods issue for outbound delivery out fo the regular progression.
    the posting is automaticly as part of outside program.
    thanks alot,

  • BAPI for post held invoice ?

    Hi,
    Is there a BAPI for posting held invoices?
    I have to post held invoices in background....I hope there is other option, then CALL TRANSACTION.
    I'm on release R/3 4.70x200, but it seems for BUS2081/IncomingInvoice there is no relevant BAPI.
    Method Edit was also implemented via transaction MIR4.
    OSS note 381593 mention that batch input problems with invoice related transactions. MIR4 is only mentioned as keyword, however I might have problems with it later on.
    Any comment?
    Can anyone on higher release check if there is relevant BAPI for this?
    Thanks in advance,
    Peter

    Hi Peter,
    You can use the following addition in the fm MRM_PARKED_INVOICE_POST call..
    CALL FUNCTION 'MRM_PARKED_INVOICE_POST'
    EXCEPTIONS
      error_message = 1.
    IF sy-subrc NE 0.
    ****Use syst message variables here..
    ENDIF.
    This will catch the error messages that terminate the process..
    Hope this helps..
    Sri

Maybe you are looking for

  • In-Browser Editing and File Management

    Dealing with files in IBE is a mess, period. There is no way to tell any details about your media (dimensions would be a start). Again, I know it is a young part of Muse and I am excited for it, but I'm hoping I'm not the only one that views it as co

  • Mail service appears to be corrupt

    Mail service on my server appear to be corrupt. I had a crash about a week ago and periodic unresponsiveness of the server only occurs when mail services are enabled. The "Configure Mail service" button is appearing in the lower right hand corner now

  • Replication in a Cluster of 2 machines

    Hi again,           I have a cluster of 2 m/c , Requests are being served by A and I bring A           Down           'B' takes over , but when I bring up A again , both fail !           I need some help !           The Stack traces on A and B are :

  • Best monitoring tool

    Well here we are, my application is ready for distribution, now i would like to know what is the best free monitoring tool for a coldfusion server? I found the metrics data in the coldfusion server, but i would like to have some more monitoring infor

  • Who Backs Up the Backup?

    I got caught in this loop during the 2.0.1 restore process, and risked overwriting my existing backups. Where exactly iTunes does iTunes store the backups it makes of your iPhone (so as to back up the backup of the iPhone.) It doesn't appear to be in