Diferences between BAPIs for post of FI Documents
Hi,
Does anyone know the differences between BAPI_ACC_GL_POSTING_POST and BAPI_ACC_DOCUMENT_POST ?
I need to post some FI documents like manually in transaction FB01, and i found this 2 bapis. But now i don't know witch should i use to do it, or also if there are another one more convenient. I only know that we'll have interfaces with documents related with customers, vendors and also employers, but we won't have any information to load in SD, MM or HR modules.
Thanks,
Paulo Sousa
Hi,
We are making use of the BAPI_ACC_DOCUMENT_POST to create invoices in R/3 system. This is similar to process in FB01 or FB60.
Hope this helps,
Sumant.
Similar Messages
-
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,
PraveenHi 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.Ktry 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.
ThomasHi 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 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 -
Hi,
Please tell me BAPI for post Tax Amount.
Which tcode use for Post tax code, is it FB01 or FB60.
Regards
JanaHi,
Use BAPI_ACC_DOCUMENT_POST
TCodes
FB41 Post Tax Payable
FB05 Post with Clearing
FB01 Post Document
Edited by: Neenu Jose on Nov 18, 2008 1:15 PM
Edited by: Neenu Jose on Nov 18, 2008 1:16 PM
Edited by: Neenu Jose on Nov 18, 2008 1:17 PM
Edited by: Neenu Jose on Nov 18, 2008 1:18 PM -
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 -
BAPI for counting without inventory document?
Hi,
Is there a BAPI for counting without inventory document? Eg transaction MI10.
Best regards,
MortenHi Morten,
Can checkout these FMs:
<b>BAPI_MATPHYSINV_GETDETAIL </b>
Read items for a physical inventory document
<b>BAPI_MATPHYSINV_GETITEMS </b>
Read list of physical inventory documents with items
<b>BAPI_MATPHYSINV_GETLIST </b>
Read list of phys. inv. documents
<b>BAPI_MATPHYSINV_POSTDIFF </b>
Post differences for certain items in a phys. inv. document
Regards,
Raj -
Function modules or BAPI for posting plan costs for WBS Element
Hi all,
Does anyone know, whether there exists a function module or BAPI for posting plan costs to a WBS Element? K_COSTS_PLAN_PS does not work, because RKP1 is not allowed.
Greetingscheck
BAPI_COSTACTPLN_POSTACTINPUT Activity Input Planning: Posting
BAPI_COSTACTPLN_POSTACTOUTPUT Activity/Price Planning: Posting
BAPI_COSTACTPLN_POSTKEYFIGURE Stat. Key Figure Planning: Postings
BAPI_COSTACTPLN_POSTPRIMCOST Primary Cost Planning: Postings
BAPI_PDTRANSCO_POSTPRIMCOST Transfer of Planning Data: Post Primary Costs
K40C CO Actual Postings, Manual
BAPI_ACC_PRIMARY_COSTS_POST Accounting: Post Primary Costs
BAPI_COPAACTUALS_POSTCOSTDATA BAPI Operating Concern: Post Costing-Based Actua
BAPI_PRIM_COST_CHECK_AND_POST Primary Costs: Formal Parameter Check
S@meer -
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, -
Function Module/BAPI for posting of Parked Invoice/Documnet
Dear all,
Please provide me.
Function Module/BAPI for posting of Parked Invoice/Documnet
Regards
RickyHi Ricky,
What about MR_POST_PP_INVOICE?
In my current project, though, we had to develop a function module for this.
Regards,
Eli -
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,
PeterHi 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 -
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? -
Period is closed for posting or correct document type is not being used
Hi All,
I am trying to post transaction in AB01. But i am getting below error.
I have checked OB52 and the periods for "+" & "A" are open for 2012.
Error:
Period is closed for posting or correct document type is not being used.
Please assistdocument type i am using is AA.check it other side entery documenttype period open or not
-
BAPI for posting outbound delivery (VL01n)
Hi,
I need some help in finding correct function module or BAPI for posting outbound delivery (VL01n), the requirement is I need delivery created with reference to sales order and must take following input.
1. Shipping Point
2. Sales Order
3. Selection Date
4. Delivery type
I tried some existing ones and some do not have delivery type input and some without Shipping Point input.
Please let me know.
Regards
Ram.Hi
Please avoid the duplicate post .It is not as per the Forum rules.
You have posted the same question with this title in ABAP General Forum:
Outbound Delivery BAPI/Function module
Neha
Maybe you are looking for
-
Oracle Access Manager-Protecting resources
Hi, I have installed the Oracle Access Server/Identity Server/Policy managerWebpass/Webgate etc...I want to create policy domains and resources in the policy manager to protect certain internal websites. Is there any crisp documentation that some one
-
I have used OMWB "generate Sql Loader script " option. ANd received the sql loader error. The previous attempt to use OMWB online loading has generated garbage data. The picture was not matching with the person id. Table in Sql Server................
-
Genius Bar told me to erase all to fix no wifi problem. Will I be able to reload audio books? Books were backed up to my computer.
-
I want to make a dvd that's first play with no menu like so: http://support.apple.com/kb/ht2872 I followed everything exactly. However, when it is done burning, the dvd does not play in a computer or dvd player (the file is a .mov that is being burne
-
Key Chain - how to get my old passwords on the new system after clean inst.
Hello, just switched to Tiger and took the opportunity to make a clean install, to get rid of my classic partition. Before I made a copy of the harddrive data with "Superduper". I managed to get back after installing almost all my preferences, mail a