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_ACC_DOCUMENT_POST

Former Member
0 Likes
1,413

Hi Gurus,

Can we choose which ledger (RLDNR) should just be posted?

Example:

When we run this BAPI, it updates in FAGLFLEXA table both Ledger types TL and OL.

Question:

Can we choose ledger type TL only? If yes, how?

Thank you.

Best Regards,

Benedict

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
971

Yes you can if you set the account principle into documentheader-acc_principle field.You can find the link between ledger and account principle into table acc_principle

3 REPLIES 3
Read only

Former Member
0 Likes
972

Yes you can if you set the account principle into documentheader-acc_principle field.You can find the link between ledger and account principle into table acc_principle

Read only

0 Likes
971

Hi,

Thanks for your response. Currently,I have used that field (ACC_PRINCIPLE) but it is reversing the OL and not the TL. Is there a configuration that should be done, so that when we reverse the document, it will be the TL ledger type and not the OL Ledger type?

Thanks in advance.

Best Regards,

Benedict

Read only

Former Member
0 Likes
971

Hi benedict,

I have a similar issue with this BAPI.

Could you let me know on how this was resolved.

Regards

saawan K