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,518

Hi SAP Fans,

I'm facing a problem when posting a document using this BAPI,  i'm getting the error "Special G/L transactions of type W are not supported" .

error message F5 246 Special G/L transactions of type & are not supported.


it is working though standard transaction but throguh bapi it is failing in the middle giving error that special GL transactions not suported.


can anyone help me out ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,076

Hi KL Zhang,

I am getting the same error while doing vendor down payment through BAPI_ACC_DOCUMENT_POST. If you have found the solution then would you mind sharing it?

Thanks,

KJ

4 REPLIES 4
Read only

Former Member
0 Likes
1,077

Hi KL Zhang,

I am getting the same error while doing vendor down payment through BAPI_ACC_DOCUMENT_POST. If you have found the solution then would you mind sharing it?

Thanks,

KJ

Read only

0 Likes
1,076

Finally I solved it by BDC.

Read only

venkateswaran_k
Active Contributor
0 Likes
1,076

Did you pass the BAPI variable

Please review the following fields in bapi structure.

ACCOUNTPAYABLE-SP_GL_IND

with appropriate value?

Regards,

Venkat

Read only

0 Likes
1,076

Hi Venkat,

The ACCOUNTPAYABLE does not have PO (ebeln) and PO item (ebelp) fields. I need this fields to be filled  in BSEG to generate Purchase order history in EKBE table ( with the help of  ME_CREATE_HISTORY_FINANCE).

I checked all the structures of BAPI_ACC_DOCUMENT_POST but only ACCOUNTGL structure has the fields ebeln and ebelp. The error I am getting is posted below.

E RW                   602 Required field GL_ACCOUNT was not transferred in parameter ACCOUNTGL

Please kindly advise!

Thanks,

KJ