Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI to Simulate functionality of t-code FBS1

Former Member
0 Likes
2,909

anyone had to do this before?

thanks

Keith

15 REPLIES 15
Read only

Former Member
0 Likes
1,943

Pl. refer RFBIBL00 to get some idea.

thanq

Read only

0 Likes
1,943

thanks for the reply but, what does this program do?

Batch Input Processing??

Read only

0 Likes
1,943

What are you trying to do - reversals or accrual/deferrals??

Rob

Read only

0 Likes
1,943

accural deferrals... I need to post a document that will be taken care of in the next period.

<< Removed >>

Edited by: Rob Burbank on Jun 18, 2009 3:28 PM

Read only

0 Likes
1,943

actually, i dont hv SAP access these days!!!

i guess, this prog. also do the same postings.......so, hv a look How SAP is posting, then take some piece of code from it accrding to ur requirement.......i guess, there r 3 FMs, like INTERFACE_START, POSTING, INTERFACE_END , i thought, until u get any other reply from any one, mean while u can refer it.

thanq

Read only

0 Likes
1,943

I need to be able to post a document with a reversal reason and reversal date

Read only

0 Likes
1,943

How do I find out which FMs the t-code is executing?

Read only

0 Likes
1,943

>

> I need to be able to post a document with a reversal reason and reversal date

That would be areversal document, not a deferral (FBS1).

Rob

Read only

0 Likes
1,943

I need to be able to simulate the functionality of t-code FBS1, I am sorry I have mistaken the names

Read only

0 Likes
1,943

>

> I need to be able to simulate the functionality of t-code FBS1, I am sorry I have mistaken the names

OK - but your other questions were about BAPI_ACC_GL_POSTING_REV_POST. I'm trying to figure out if you still need help with that or if you were looking at the wrong BAPI then and now realize you meant FBS1.

I'm just trying to clear up confusion in my own mind.

Rob

Read only

0 Likes
1,943

LOL Welcome to my World...

Sorry for the confusion, I was originally told I need to create a reversal posting , now I only need to simulate the functionality of t-code FBS1.

basically create a document that has a debit\credit rev_reason and rev_date.

thanks

Keith

Read only

0 Likes
1,943

OK then - would you please close

Thanks

Rob

Read only

Former Member
0 Likes
1,943

You might want to have a look at note 114814. It says that the reversal date and reason are relevant. So it shows what I know.

Anyway, the earlier suggestion to look at RFBIBL00 looks pretty good now.

Rob

Read only

0 Likes
1,943

Hi All,

here is what I found on using FBS1, i thought I would share with you all (from OSS note in Rob's email)

2. Can accrual/deferral documents be sent?

-


Accrual/deferral postings (transaction FBS1) are special postings within the framework of financial statements. We assume that such postings are typically made in the central financial accounting system. It is not useful to make accrual/deferral postings in the decentralized systems.

Sending documents from the decentralized systems to the central system is possible but is not intended for the standard system.

Incorrect postings would occur for the following reason:

In the case of accrual/deferral postings, the 'Reversal reason' (BKPF-STGRD) and 'Reversal date' (BKPF-STODT) fields are mandatory. These fields are not sent using ALE and therefore cannot be posted in the central FI system using the RWIN posting interface (fields are missing in the IDoc and in the ACCIT structure for the RWIN).

This means that a sent accrual/deferral document would become a normal FI document in the central system without allowing automatic reversal on the specified reversal date.

Cheers

Read only

0 Likes
1,943

Hi all. You can perform the following (definitely works):

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. Simple and works.

CHAN TAN HUA