Fbs1 & f.81
Suppose i want to make entry of
Rent a/.........Dr. Rent payable A/c........Dr
To Rent payable a/c To Bank A/c
Then i will use FB50 & f.81.
Then what is use of FBS1 & F.81
Hi
It seems you are making a provisional entry and then making the payment against the provision entry
For provision entry - FB50
and Payment - FB50/F-53 (Manual Check)/F-58 (Check from system)
FBS1 will be used if you have any provisional entry at year end and the same would be reversed at begining of next period through F.81
Thank You,
Similar Messages
-
At first the user created an accrual using FBS1 for reversal on 5/1/2015.
This created a clearing document.
Then it was mistakenly reversed by the user for 5/1/2015 by using F.81
This also created a clearing document.
Based on advice in the following thread: Delete reverse accrual/defferal documents | SCN ,
the user used FBRA to reset and reverse the document. We are unsure if the reset and reverse command was used or just the reset choice.
Now the accrual value is in the respective accounts with an open status (i.e. red button). Does this mean that the entry has already been discarded and it won't affect the accounts? Or does one then use FB50 to reverse the effects of the accrual in the current and next month?Hi
I guess that the user has not reverse the transaction as its still shows as open item in 30 /4 .. so I belive that you need to use fb50 or simply use FBR2 and enter the original entry no and the choose (generate reversal posting option )..
regards
mahmoud el nady -
Using 'BAPI_ACC_GL_POSTING_POST' to simulate FBS1
Hi,
I'm using the 'BAPI_ACC_GL_POSTING_POST' to do the same as tran saction FBS1, having a few problems with the code in terms of values I should be using.
When using FBs1 the values I use are from the following 2 lines:
Po Number, Item, DELv. Date, Descr., Undelvd. Val., GL ACCount, Cost centre, last field being internal order
4500011114 10 23.05.2006 pallet of photo paper 5,000.00 476000 2-1000
And
4500011114 50 20.05.2006 marketing assistants 500.00 417000 400157
Not sure what values I should use for the following
documentheader-obj_key = '000000000100000038'.
documentheader-obj_type = 'BKPFF'.
*documentheader-obj_key = '180000000010002004'.
documentheader-obj_sys = 'RD1CLNT200'.
documentheader-username = sy-uname.
documentheader-header_txt = 'Test using BAPI'.
documentheader-comp_code = '2000'.
The error I get is:
E |RW |609 |Error in document: BKPFF 0000000001000000<
and E |F5 |702 |Balance in transaction currency
The code is below:
DATA:
obj_type LIKE bapiache02-obj_type,
obj_key LIKE bapiache02-obj_key,
obj_sys LIKE bapiache02-obj_sys,
documentheader LIKE bapiache08,
accountgl LIKE bapiacgl08
OCCURS 0 WITH HEADER LINE,
currencyamount LIKE bapiaccr08
OCCURS 0 WITH HEADER LINE,
return LIKE bapiret2
OCCURS 0 WITH HEADER LINE,
extension1 LIKE bapiextc
OCCURS 0 WITH HEADER LINE,
t_edidd LIKE edidd OCCURS 0 WITH HEADER LINE,
bapi_retn_info LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: error_flag.
*documentheader-obj_type = 'BKPFF'.
documentheader-obj_key = '000000000100000038'.
documentheader-obj_type = 'BKPFF'.
*documentheader-obj_key = '180000000010002004'.
documentheader-obj_sys = 'RD1CLNT200'.
documentheader-username = sy-uname.
documentheader-header_txt = 'Test using BAPI'.
documentheader-comp_code = '2000'.
*documentheader-ac_doc_no
*documentheader-fisc_year = '2005'.
documentheader-doc_date = '20060506'.
documentheader-pstng_date = '20060506'.
*documentheader-trans_date
*documentheader-fis_period
documentheader-doc_type = 'SA'.
*documentheader-ref_doc_no
*documentheader-compo_acc
*documentheader-reason_rev
accountgl-itemno_acc = '1'.
accountgl-gl_account = '0000476000'.
accountgl-comp_code = '2000'.
accountgl-pstng_date = '20060506'.
accountgl-doc_type = 'SA'.
accountgl-profit_ctr = '2-1000'.
*accountgl-
APPEND accountgl.
accountgl-itemno_acc = '2'.
accountgl-gl_account = '0000476000'.
accountgl-comp_code = '2000'.
accountgl-pstng_date = '20060506'.
accountgl-doc_type = 'SA'.
accountgl-profit_ctr = '2-1000'.
*accountgl-
APPEND accountgl.
accountgl-itemno_acc = '3'.
accountgl-gl_account = '0000417000'.
accountgl-comp_code = '2000'.
accountgl-pstng_date = '20060506'.
accountgl-doc_type = 'SA'.
accountgl-profit_ctr = '0000400157'.
APPEND accountgl.
accountgl-itemno_acc = '4'.
accountgl-gl_account = '0000417000'.
accountgl-comp_code = '2000'.
accountgl-pstng_date = '20060506'.
accountgl-doc_type = 'SA'.
accountgl-profit_ctr = '0000400157'.
APPEND accountgl.
*AC_DOC_NO
*FISC_YEAR
*FIS_PERIOD
*accountgl-STAT_CON = 'X'.
*REF_KEY_1
*REF_KEY_2
*REF_KEY_3
*CUSTOMER
*VENDOR_NO
*ALLOC_NMBR
*ITEM_TEXT
*BUS_AREA
*COSTCENTER
*ACTTYPE
*ORDERID
*ORIG_GROUP
*COST_OBJ
*PROFIT_CTR
*PART_PRCTR
*WBS_ELEMENT
*NETWORK
*ROUTING_NO
*ORDER_ITNO
currencyamount-itemno_acc = '1'.
currencyamount-currency = 'EUR'.
currencyamount-amt_doccur = '5000.00'.
APPEND currencyamount.
currencyamount-itemno_acc = '2'.
currencyamount-currency = 'EUR'.
currencyamount-amt_doccur = '-5000.00'.
APPEND currencyamount.
currencyamount-itemno_acc = '3'.
currencyamount-currency = 'EUR'.
currencyamount-amt_doccur = '-500.00'.
APPEND currencyamount.
currencyamount-itemno_acc = '4'.
currencyamount-currency = 'EUR'.
currencyamount-amt_doccur = '-500.00'.
APPEND currencyamount.
call BAPI-function in this system
CALL FUNCTION 'BAPI_ACC_GL_POSTING_POST'
EXPORTING
documentheader = documentheader
importing
obj_type = obj_type
obj_key = obj_key
obj_sys = obj_sys
TABLES
accountgl = accountgl
currencyamount = currencyamount
return = return
extension1 = extension1
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE e999(re) WITH 'Problem occured'.
ELSE.
LOOP AT return.
IF NOT return IS INITIAL.
CLEAR bapi_retn_info.
MOVE-CORRESPONDING return TO bapi_retn_info.
IF return-type = 'A' OR return-type = 'E'.
error_flag = 'X'.
ENDIF.
APPEND bapi_retn_info.
ENDIF.
ENDLOOP.
IF error_flag = 'X'.
MESSAGE e999(re) WITH 'Problem occured'.
ROLLBACK WORK.
ELSE.
COMMIT WORK.
ENDIF.
ENDIF.
Many Thanks
Regards Simshi,
is there is an example of how to use FM POSTING_INTERFACE_DOCUMENT, I guess, one of my issues is trying to work out the parameters I need to use?
Many Thanks
Regards Sims -
Accrual/deferral document (FBS1)
Hi All,
I had an accrual/deferral document(FBS1) posted in December, 2006 which was stated for reversal on 15th January, 2007. This reversal was to be done automatically by the system but due to some problem at that time, it didn't get reversed.
I am using FB02 to remove the Reversal date. I got the message SUM OF ACCOUNTS DOES NOT EQUAL ZERO. I have changed some document with the same procedure. But only one gives me this message.
I don't understand that I am not changing any amounts, then why its giving me above message.
Any suggestions on how we can clear these open items? I will assign pointsAs you have noticed by system design that indeed the options for Park or Hold are not available
(greyed out) for accrual documents (FBS1).
The apparent reason is because an accural document requires a reversal
date and a held document cannot handle a reversal posting.
You may want to consider using the "post with reference" feature to
simplify the tasks of reentering accrual/deferral documents which occur
every month.
In adition, please read note 492006:
'Special transactions such as FBB1, FBS1, FB41 cannot and must not be
parked since subsequent processing using FBV0 is not possible.'
Hope that helps.
Jon -
Cannot clear document posted with FBS1 and Reversed with F.81 in F-03
We have recently turned on OIM for a Balance Sheet account and are in the process of clearing it. The postings in this account were generated with FBS1 (Accrual/Deferral Document) and reversed with F.81.
Majority of the documents displayed with FBL3N cleared no problem after open item management was turned on, however, there are a handful that are not displayed in F-03 (or F.13).
Please consider the following when answering:
OIM was turned on for the account using ZRFSEPA02 (Copy of the standard/not-delivered program for turning on OIM).
All of the entries were reversed with F.81 and the header of the documents does not contain a "Reversal Date".
I have already tried turning off OIM with ZRFSEPA03 and then turning it back on again with ZRFSEPA02.
My settings in FS00 are correct for the GL Account.
Hundreds of items were cleared. There are 7 documents that don't appear in F-03 or F.13
Also, please do not give me "Beginner level" information such as "Tick the OIM box for the GL Account in FS00" (You cannot turn on OIM in that manner for an account that has line items posted to it - I have been doing R/3 Configuration for 23 years, so I am an advanced Analyst in the FI/CO Area).
Thanks - Back to searching OSS!Hi,
Actually when report is executed we get following message
Do not use the report program to set up open item management for the
account.
Create a new account with the correct account assignment. Post your
items to the new account. If you want to use the original account
number, you must bring the account balance to zero, change the account
assignment, and repost the items. You can remove the old items by
archiving the documents.
Hence, it is risky to execute this report.
Are you getting these documents in FB03 ?
Regards,
Tejas -
How to create bdc for fbs1 using both call transaction and session
Hi Friends,
i have one problem with tcode FBS1, i need to create a bdc program for both call transaction and session method using subroutine.
first call transaction needs to execute if there is an error sesion has to execute. if u have code please forward.
thanks in advance.
chandramouli pothuguntawhere as in call transaction we can do error handling explictly.those errors are stored in one file .this file will send to the error log(session method),i.e session log.
in the above case we use both call transaction n session method at time in one program.sample code is below ,go through it .
data : begin of itxk01 occurs 0,
end of itxk01.
data : bdcdata like itbdcdata occurs 0 with header line.
data : itbdcmsgcoll like itbdcmsgcoll occurs 0 with header line,
itxk01 like itxk01-dup occurs 0 with header line.
call gui-upload.
loop at itxk01.
refresh itxk01.
perform bdc-dynpr0 using 'prg' 'scr'
perform bdc-dynfld using fnam fval
call transaction 'xk01' using bdcdata mode 'a' update 's' messages into itbdcmsgcoll.
if sy-subrc ne 0.
append itxk01 into itxk01-dup.
endif.
endloop.
if not itxk01-dup[] is initial.
refresh itck01.
call bdc_open_group
itxk01 = itxk01-dup.
loop at itxk01.
refresh itxk01.
perform bdc-dynpr0 using 'prg' 'scr'
perform bdc-dynfld using fnam fval
call bdc-insert.
endloop.
call bdc-close-group.
form bdc-dynpr0 using pr sc
endform .
form bdc-field using fnam faval
endform.
this will help u.
reward points for me
kiran -
Runtime error while posting a document (FB70/FBS1)
Hi
I am getting a runtime error while posting a document through FB70 or FBS1 .
The erro description tells The type "CL_BCS_OBJHEAD" is unknown.
And the program dumps in Function module SO_KPRO_DECIDE.
Has any one faced this problem?Hi,
Please check the psoting date and also the reversal date in FBS1. Please check when you have posted the document and when you want ot reverse the same.
Thank you,
Shilpa. -
Error while posting FBS1 via BAPI
Hi Experts,
getting below error while posting FBS1 via BAPI_ACC_DOCUMENT_POST
TYPE ID NUMBER MESSAGE
E |RW |609 Error in document: BKPF 10000022440GF3032010 TERCLNT303
E |RW |609 Error in document: 100000224 AC_DOC_NO
FB03 Header values --
Document Number 100000250 Company Code 40GF Fiscal Year 2010
Document Date 30.11.2010 Posting Date 30.11.2010 Period 11
Currency EUR
FB03 Line item 1 ( posting key 40 )
G/L Account 711014
Company Code 40GF
Amount 100,00 EUR
Cost Center 40GF219001
Quantity 0,000
FB03 Line item 2 ( posting key 50 )
G/L Account 167005
Company Code 40GF
Amount 100,00 EUR
Assignment 20101130
Text ITEM TEXT 7
Please tell me what i am missing in below code because of which i am getting error in return table
FORM fill_header.
CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
IMPORTING
own_logical_system = gd_documentheader-obj_sys.
gd_documentheader-obj_type = 'BKPF'.
gd_documentheader-obj_key = '10000022440GF3032010'.
gd_documentheader-username = sy-uname.
gd_documentheader-header_txt = 'BAPI Test'. "#EC NOTEXT
gd_documentheader-obj_key_r =
GD_DOCUMENTHEADER-reason_rev = '05' .
gd_documentheader-comp_code = '40GF'.
GD_DOCUMENTHEADER-AC_DOC_NO = '100000224' .
gd_documentheader-fisc_year = '2010'.
gd_documentheader-doc_date = sy-datum.
gd_documentheader-pstng_date = sy-datum.
GD_DOCUMENTHEADER-TRANS_DATE =
GD_DOCUMENTHEADER-VALUE_DATE =
GD_DOCUMENTHEADER-FIS_PERIOD = '11' .
GD_DOCUMENTHEADER-DOC_TYPE = 'SA' .
GD_DOCUMENTHEADER-REF_DOC_NO =
GD_DOCUMENTHEADER-COMPO_ACC =
gd_documentheader-bus_act = 'RFBU'.
ENDFORM. "fill_header
FORM fill_currencyamount.
CLEAR T_currencyamount.
T_currencyamount-itemno_acc = 1.
T_currencyamount-curr_type = '00'.
T_currencyamount-currency = 'EUR'.
T_currencyamount-amt_doccur = -100.
APPEND T_currencyamount.
CLEAR T_currencyamount.
T_currencyamount-itemno_acc = 2.
T_currencyamount-curr_type = '00'.
T_currencyamount-currency = 'EUR'.
T_currencyamount-amt_doccur = '100'.
APPEND T_currencyamount.
CLEAR T_currencyamount.
ENDFORM. "fill_currencyamount
FORM fill_accountgl.
CLEAR T_accountgl.
T_accountgl-itemno_acc = 1.
T_accountgl-gl_account = '0000711014'.
T_ACCOUNTGL-ACCT_TYPE = 'S' .
T_ACCOUNTGL-DOC_TYPE = 'SA' .
T_accountgl-DE_CRE_IND = 'S' .
T_accountgl-tax_code = 'V1'.
T_ACCOUNTGL-ACCT_KEY =
T_accountgl-item_text = 'BAPI Test G/L line item'. "#EC NOTEXT
T_ACCOUNTGL-BUS_AREA =
T_accountgl-costcenter = '40GF219001' .
T_ACCOUNTGL-ORDERID =
T_ACCOUNTGL-MATERIAL =
T_ACCOUNTGL-QUANTITY =
T_ACCOUNTGL-BASE_UOM =
T_ACCOUNTGL-BASE_UOM_ISO =
T_ACCOUNTGL-PLANT =
T_accountgl-profIT_ctr = 'S001' .
T_ACCOUNTGL-WBS_ELEMENT =
T_ACCOUNTGL-BILL_TYPE =
T_ACCOUNTGL-DISTR_CHAN =
T_accountgl-ac_doc_no =
T_accountgl-acct_type =
T_accountgl-doc_type =
T_accountgl-comp_code = '40GF' .
T_accountgl-func_area =
T_accountgl-plant =
T_accountgl-fis_period = '11' .
T_accountgl-fisc_year = '2010' .
T_accountgl-pstng_date =
T_accountgl-value_date =
T_accountgl-customer =
T_accountgl-vendor_no =
T_accountgl-costobject =
T_accountgl-acttype =
T_accountgl-val_area =
T_accountgl-po_number =
T_accountgl-po_item =
APPEND T_accountgl to t_accountg2 .
CLEAR T_accountgl.
T_accountgl-itemno_acc = 2.
T_accountgl-gl_account = '0000167005'.
T_ACCOUNTGL-STAT_CON =
T_ACCOUNTGL-REF_KEY_1 =
T_ACCOUNTGL-REF_KEY_2 =
T_ACCOUNTGL-REF_KEY_3 =
T_ACCOUNTGL-ACCT_TYPE = 'S' .
T_ACCOUNTGL-DOC_TYPE = 'SA' .
T_accountgl-DE_CRE_IND = 'H' .
T_accountgl-tax_code = 'V1'.
T_ACCOUNTGL-ACCT_KEY =
T_accountgl-item_text = 'ITEM TEXT 7'. "#EC NOTEXT
T_ACCOUNTGL-BUS_AREA =
T_accountgl-costcenter = '40GF219001' .
T_ACCOUNTGL-ORDERID =
T_ACCOUNTGL-MATERIAL =
T_ACCOUNTGL-QUANTITY =
T_ACCOUNTGL-BASE_UOM =
T_ACCOUNTGL-BASE_UOM_ISO =
T_ACCOUNTGL-PLANT =
T_accountgl-profIT_ctr = 'S001' .
T_ACCOUNTGL-WBS_ELEMENT =
T_accountgl-ac_doc_no =
T_accountgl-acct_type =
T_accountgl-doc_type =
T_accountgl-comp_code = '40GF' .
T_accountgl-func_area =
T_accountgl-plant =
T_accountgl-fis_period = '11' .
T_accountgl-fisc_year = '2010' .
T_accountgl-pstng_date =
T_accountgl-value_date =
T_accountgl-customer =
T_accountgl-vendor_no =
T_accountgl-costobject =
T_accountgl-acttype =
T_accountgl-val_area =
T_accountgl-po_number =
T_accountgl-po_item =
APPEND T_accountgl to t_accountg2 .
ENDFORM. "fill_accountglHi Experts,
getting below error while posting FBS1 via BAPI_ACC_DOCUMENT_POST
TYPE ID NUMBER MESSAGE
E |RW |609 Error in document: BKPF 10000022440GF3032010 TERCLNT303
E |RW |609 Error in document: 100000224 AC_DOC_NO
FB03 Header values --
Document Number 100000250 Company Code 40GF Fiscal Year 2010
Document Date 30.11.2010 Posting Date 30.11.2010 Period 11
Currency EUR
FB03 Line item 1 ( posting key 40 )
G/L Account 711014
Company Code 40GF
Amount 100,00 EUR
Cost Center 40GF219001
Quantity 0,000
FB03 Line item 2 ( posting key 50 )
G/L Account 167005
Company Code 40GF
Amount 100,00 EUR
Assignment 20101130
Text ITEM TEXT 7
Please tell me what i am missing in below code because of which i am getting error in return table
FORM fill_header.
CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
IMPORTING
own_logical_system = gd_documentheader-obj_sys.
gd_documentheader-obj_type = 'BKPF'.
gd_documentheader-obj_key = '10000022440GF3032010'.
gd_documentheader-username = sy-uname
gd_documentheader-obj_key_r =
GD_DOCUMENTHEADER-reason_rev = '05' .
gd_documentheader-comp_code = '40GF'.
GD_DOCUMENTHEADER-AC_DOC_NO = '100000224' .
gd_documentheader-fisc_year = '2010'.
gd_documentheader-doc_date = sy-datum.
gd_documentheader-pstng_date = sy-datum.
GD_DOCUMENTHEADER-FIS_PERIOD = '11' .
GD_DOCUMENTHEADER-DOC_TYPE = 'SA' .
gd_documentheader-bus_act = 'RFBU'.
ENDFORM. "fill_header
FORM fill_currencyamount.
CLEAR T_currencyamount.
T_currencyamount-itemno_acc = 1.
T_currencyamount-curr_type = '00'.
T_currencyamount-currency = 'EUR'.
T_currencyamount-amt_doccur = -100.
APPEND T_currencyamount.
CLEAR T_currencyamount.
T_currencyamount-itemno_acc = 2.
T_currencyamount-curr_type = '00'.
T_currencyamount-currency = 'EUR'.
T_currencyamount-amt_doccur = '100'.
APPEND T_currencyamount.
CLEAR T_currencyamount.
ENDFORM. "fill_currencyamount
FORM fill_accountgl.
CLEAR T_accountgl.
T_accountgl-itemno_acc = 1.
T_accountgl-gl_account = '0000711014'.
T_ACCOUNTGL-ACCT_TYPE = 'S' .
T_ACCOUNTGL-DOC_TYPE = 'SA' .
T_accountgl-item_text = 'BAPI Test 1'.
T_accountgl-costcenter = '40GF219001' .
T_accountgl-profIT_ctr = 'S001' .
T_accountgl-fis_period = '11' .
T_accountgl-fisc_year = '2010' .
APPEND T_accountgl to t_accountg2 .
CLEAR T_accountgl.
T_accountgl-itemno_acc = 2.
T_accountgl-gl_account = '0000167005'.
T_ACCOUNTGL-ACCT_TYPE = 'S' .
T_ACCOUNTGL-DOC_TYPE = 'SA' .
T_accountgl-item_text = 'ITEM TEXT 7'.
T_accountgl-comp_code = '40GF' .
T_accountgl-fis_period = '11' .
T_accountgl-fisc_year = '2010' .
APPEND T_accountgl to t_accountg2 .
ENDFORM. "fill_accountgl -
I posted a Document type ZY with tax code say U1 using FBS1 transaction. When i simulate it, i am able to see 2 or 3 line items for use tax.As per the requirement ZY doxument should not accrue tax when posted through FBS1.
I am an ABAPer. I would like to know if there is any configuration changes to be done for this. I checked FTXP transaction and changed the tax rate to 0 for this tax code U1.It was not at all calculating the tax wherever that tax code is used. I have to restrict the tax calculation for ZY doucment.Is there any way to acheive this?
Thanks,
Aparna.Hi,
In mm we use Pricing Procedure and Tax procedure both.
2- So in MM can we use tax conditions ( Custom tax conditions) in MM calculation schema and determine the taxes ?
Normally you use MM Pricing Procedure for Base price, discount, freight, packaging etc. However for import scenario custom tax conditions like Basic Custom Duty, CVD, Cess, Sec cess is added in MM pricing procedure.
The Tax procedure could be used for excise duties , CST, VAT, service tax.
3- In MM if we use calculation scheme and tax procedure , then how tax base is determined for tax calculation ?
If you check your tax procedure say taxinn you have condition type BASB and routine for base value as 362 through which it calculates base value
Where as in Sd you could use it in one.
Thanks and regards -
Park option for T Code FBS1....
Hi Experts,
Is it possible to enable the Parking option for transactions run through FBS1 (accrual/deferral doc).
If Yes, Kindly inform the steps involved.
Useful answers will be adequately rewarded.
Thanks,
SKHi all. You can perform the following:
1. Add two columns in the upload file template
Reversal reason + reversal date
2. Reversal reason is populated as follows
Reveresal reason -> documentheader-reason_rev in BAPI_ACC_DOCUMENT_POST
3. Reversal date is updated using a separate function module
This must be updated in table TSTOR by using function TSTOR_INSERT.
The FBSI is then successfull and can also be reversed with F.81.
CHAN TAN HUA -
Accrual (Tcode FBS1)
Hi,
I have a business requirement for Accrual. The business requirement is to use the Parked document functionality for Accrual functionality (Tcode FBS1).
Strengthen SOX compliance by ensuring all accrual and deferral journal entries are never posted without being reviewed by management and posted by an individual other than the creator of the entry. Is this possible?
rgds,
Ade.John,
We had the same issue. There doesnt seem to be any way to do this without creating a customer transaction which would be a copy of FBS1. One option is to use the accrual engine. We are currently trying to use this to accomplish accrual entry with SOX controls.
Hope that helps. -
Park post option required in FBS1
Hi
My client is using FBS1 for accrual & defferals. In FBS1, i want that entry should be entered & parked by one user and the same must be approved by his senior.
After i entered all the details in both the line items, i went to document tab. There i was able to see park / hold option. But it was greyed out. Only simulate and post option were open to select.
Let me know how to bring this park & post option in FBS1.Hi,
It is a system design that for 'Park' or 'Hold' are not available(greyed out ) for accrual documents (FBS1). The reason of this is because an accrual document requires a reversal date and a held document cannot handle a reversal posting.
For further information on this function, kindly go through note 492006 where it indicates that : -
'Special transactions such as FBB1, FBS1, FB41 cannot and must not be parked since subsequent processing using FBV0 is not possible.'
so if you are using this change may be you will face some issue while posting through FBV0.
Regards
Ravinagh Boni -
BAPI FOR POSTING FBS1 TRANSACTION
Hi,
Can any one help on How/which BAPI to user in posting doc using FBS1 transactionhai pankaj,
here is the example code using the bapi 'BAPI_ACC_GL_POSTING_POST'
example:
data:
obj_type like bapiache02-obj_type,
obj_key like bapiache02-obj_key,
obj_sys like bapiache02-obj_sys,
documentheader like bapiache08,
accountgl like bapiacgl08
occurs 0 with header line,
currencyamount like bapiaccr08
occurs 0 with header line,
return like bapiret2
occurs 0 with header line,
extension1 like bapiextc
occurs 0 with header line,
t_edidd like edidd occurs 0 with header line,
bapi_retn_info like bapiret2 occurs 0 with header line.
data: error_flag.
*documentheader-obj_type = 'BKPFF'.
*documentheader-obj_key = '18000000002002004'.
*documentheader-obj_type = 'BKPFF'.
*documentheader-obj_key = '180000000010002004'.
*documentheader-obj_sys = 'RD1CLNT200'.
documentheader-username = sy-uname.
documentheader-header_txt = 'Test using BAPI'.
documentheader-comp_code = '1000'.
*documentheader-ac_doc_no
*documentheader-fisc_year = '2005'.
documentheader-doc_date = sy-datum.
documentheader-pstng_date = sy-datum.
*documentheader-trans_date
*documentheader-fis_period
documentheader-doc_type = 'SA'.
*documentheader-ref_doc_no
*documentheader-compo_acc
*documentheader-reason_rev
accountgl-itemno_acc = '1'.
accountgl-gl_account = '0000160100'.
accountgl-comp_code = '1000'.
accountgl-pstng_date = sy-datum.
accountgl-doc_type = 'SA'.
accountgl-profit_ctr = '0000010000'.
append accountgl.
accountgl-itemno_acc = '2'.
accountgl-gl_account = '0000160100'.
accountgl-comp_code = '1000'.
accountgl-pstng_date = sy-datum.
accountgl-doc_type = 'SA'.
accountgl-profit_ctr = '0000010000'.
append accountgl.
*AC_DOC_NO
*FISC_YEAR
*FIS_PERIOD
*accountgl-STAT_CON = 'X'.
*REF_KEY_1
*REF_KEY_2
*REF_KEY_3
*CUSTOMER
*VENDOR_NO
*ALLOC_NMBR
*ITEM_TEXT
*BUS_AREA
*COSTCENTER
*ACTTYPE
*ORDERID
*ORIG_GROUP
*COST_OBJ
*PROFIT_CTR
*PART_PRCTR
*WBS_ELEMENT
*NETWORK
*ROUTING_NO
*ORDER_ITNO
currencyamount-itemno_acc = '1'.
currencyamount-currency = 'GBP'.
currencyamount-amt_doccur = '100.00'.
append currencyamount.
currencyamount-itemno_acc = '2'.
currencyamount-currency = 'GBP'.
currencyamount-amt_doccur = '-100.00'.
append currencyamount.
call BAPI-function in this system
call function 'BAPI_ACC_GL_POSTING_POST'
exporting
documentheader = documentheader
importing
obj_type = obj_type
obj_key = obj_key
obj_sys = obj_sys
tables
accountgl = accountgl
currencyamount = currencyamount
return = return
extension1 = extension1
exceptions
others = 1.
if sy-subrc <> 0.
message e999(re) with 'Problem occured'.
else.
loop at return.
if not return is initial.
clear bapi_retn_info.
move-corresponding return to bapi_retn_info.
if return-type = 'A' or return-type = 'E'.
error_flag = 'X'.
endif.
append bapi_retn_info.
endif.
endloop.
if error_flag = 'X'.
message e999(re) with 'Problem occured'.
rollback work.
else.
commit work.
endif.
endif.
hope this may be helpful
regards,
praba. -
HI,
What is the significance of reversal date on FBS1 screen.The enter Accrual screen document.
Does it create an automatic reversal posting on that specified date???
Or you have to create a reversal manually in the next period??
Thanks,
Sai.Hi
FBS1 allows to enter a reversal date and reason and via F.81 all accrual documents for the relevant perios can be reversed.
For example, you might have multiple accrual documents at a given month. When these are entered via FBS1, in the following new period you can enter the range of dates for the reversal and reverse vial F.81. This eliminates the need to keep a track of accrual document numbers.
Hope this was clear.
Rgds
NW -
Defaulting document type in FBS1
Hi
Does anybody know about how I can default the document type on the FBS1 transaction? I tried to create validation but realised if I validated, I would have to validate all FI documents as there is no way to isolate the transaction....So that brought me to the point, where could I set up the default type in SPRO (on the accrual engine part I believe??)? Can somebody help soon please....thanks in advance.
MorganHi,
1. Use transaction SE93 -> Select the 'Change' button -> select the language option that you want maintain.
2. Select Edit -> Change transaction type -> choose Parameter transaction
3. Activate 'Screen' in the 'Default values for' section. Enter 'BKPF-BLART' in 'Name of screen field' column and 'XX' for 'Value' column.
4. After the above changes, upon calling transaction FBS1, this field 'Document Type' will be defaulted to 'XX'.
Please assign points if it useful
Regards
Ravinagh Boni -
BAPI for Posting through FBS1 with reversal reason & reversal Date
All Experts,
Can I use BAPI_ACC_DOCUMENT_POST for posting in FBS1 with reversal reason & reversal date? I can't find such option in the BAPI. If not, can you suggest other BAPI that I can use to perform posting with reversal reason & reversal date?
Thanks in advance.
Regards,
Azad.You need to use RFBIBL00, create a file to be consumed by it and it will create a session variable that can be run by SM35
Maybe you are looking for
-
Excise Duty is not calculating in Export Excise Invoice
Hi Experts, Please help me out to resolve below scnerio: When Client is creating a domestic Excise Invoice by Tcode J1IIN, then BED, Cess & HSCess is calculating properly. But in case of Export Excise Invoice by J1IIN only BED calculation is display
-
How do I contact an App developer about in-App purchases that were charged to iTunes account in error?
-
How To Turn Off Top Sites And Image Caches Permanently.
Here's what I've done: 1. Quit Safari 4.0 and right-click on it's icon in the Finder. Select "Show Package Contents". 2. Look inside the Contents folder and right-click on +Safari Webpage Preview Fetcher+ and select *Compress "Safari Webpage Preview
-
How to change the name of my device?
I just got an iPhone. I want to change the name of my device to "Lisa's iPhone" from "Lisa's iPod". How do I do that? I have already gone through Setup Assistant w/the new phone and fear I missed my opportunity at that time. Thanks.
-
Flex or Flash for Live aud/vid webcam?
Hello, I am new to Flex and Flash. I want an application where clients should be able to do a peer to peer web cam. I would like to ask that Flex 3 is good to make P2P Live audio/Video Webcam or should it will be easy in Flash. Also will i need to us