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

Simulate tcode FBS1 using BAPI_ACC_DOCUMENT_POST - no reversal date

Former Member
0 Likes
1,743

Hi ..

I need to make a FBS1 posting and I want to <b>avoid using BDC</b> .

95% of my reqmt is accomplished using BAPI_ACC_DOCUMENT_POST except for finding a placeholder for the reversal date (BKPF-STODT).

Can anyone point me to a separate BAPI or provide a solution on how to use a BAPI and populate the reversal date as well while creating the accrual / deferral doc (FBS1)?

Thanks in advance,

Anirban

12 REPLIES 12
Read only

Former Member
0 Likes
1,502

have u seen BAPI <b>BAPI_ACC_DOCUMENT_REV_POST</b>

regards

Prabhu

Read only

0 Likes
1,502

Hi,

try fm FI_DOCUMENT_REVERSE

A.

Read only

former_member283648
Participant
0 Likes
1,502

Hi,

Hope the following solves ur problem.

If this field is not getting populated from any of the parameters, then try using EXTENSION1 like this.

EXTENSION1-STRUCTURE = ZBAPI_ACC_DOC_POST_EXT. (This is a structure to be created with fields that u want to extend. for your case it will contain document no. item no. and reversal date).

ls_ext2-valuepart1 = (values of the fields document no., item no. and reversal date.

append the table).

Read only

0 Likes
1,502

Thanks Bala, I'll try this one out & let you know if it worked.

Read only

Former Member
0 Likes
1,502

If anyone is interested - I solved it using a substitution rule.

Read only

0 Likes
1,502

Hi.

I'm interested in know how did you solve your problem.

Could you give me more details about this ?

Thanks.

Read only

0 Likes
1,502

Could you please specify more details about the substitution rule

Read only

0 Likes
1,502

Hi,

Can you please tell me how you have solved the problem, my requirement is also same that is to update the reversal date field ( STODT ) in bkpf table along with rest of the fields, i am able to update other fields using ' BAPI_ACC_GL_POSTING_CHECK' but not able to update reversal date.

Read only

0 Likes
1,502

Hi,

Can you please tell me how you have solved the problem, my requirement is also same that is to update the reversal date field ( STODT ) in bkpf table along with rest of the fields, i am able to update other fields using ' BAPI_ACC_GL_POSTING_POST' but not able to update reversal date.

Read only

0 Likes
1,502

Hi! I am having exactly the same problem.

I´ve tried with a substitution but the bapi does not seem to pass through it.

Could you add some more details about the solution you have implemented?

Thank you very much!

Read only

0 Likes
1,502

Hi ,

Can you send em the solution ASAP? I have the similar requirement.

Regards,

Manan Desai.

Read only

0 Likes
1,502

Hi,

Can you tell me how to reslove using substitution rule.pls let me know asap.

Thanks,

Amar

Edited by: Amar Kankani on Dec 16, 2009 8:53 AM