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 for F-05

0 Likes
1,915

Hi,

I need to run F-05 transaction using a BAPI.

But, I am unable to find the following fields in the parameter interface for BAPI_GL_POSTING_POST.

Header:

Trading partner B.A

ledger group

Currency/rate

Item:

posting key

TType

sub account code

JCT tax code

I also checked BAPI_ACC_DOCUMENT_POST but didn't find many parameters.

Is there some other BAPI that I could use.

Please suggest.

Thanks,

Mamatha

Hi,

I need to run F-05 transaction using a BAPI.

But, I am unable to find the following fields in the parameter interface for BAPI_GL_POSTING_POST.

Header:

Trading partner B.A

ledger group

Currency/rate

Item:

posting key

TType

sub account code

JCT tax code

I also checked BAPI_ACC_DOCUMENT_POST but didn't find many parameters.

Is there some other BAPI that I could use.

Please suggest.

Thanks,

Mamatha

4 REPLIES 4
Read only

archanapawar
Contributor
0 Likes
1,321

Hi Mamatha,

Refer below post:

Read only

0 Likes
1,321

Thanks Archana.

I also need to update the group currency in addition to local and document currency.

Also, I am unable to find few other fields in the BAPI interface:

Posting key,

JCT Tax code.

Also in the requirement I have, the currency rate (waers) comes from header. But I could see this in the item parameter (accountgl)

Am I missing on something, where can I find these parameters in the bapi..

Regards,

Mamatha

Read only

0 Likes
1,321

Hi.

I don't know if is useful but there's a reference about posting key.You should pass posting key from the extension (table BAPIEXTC), using user exit EXIT_SAPLACC4_001 to move the values from the extension to the posting key of the accounting document item.

I think the same is for JCT Tax Code.

Hope to help.

Bye

Read only

0 Likes
1,321

Thanks Roberto.

I also found that the posting key is determined by the sign of the amount in the line item.

Regards,

Mamatha