Application Development 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: 

BAPI_ACC_DOCUMENT_POST

Former Member
0 Kudos

Hi All,

I am facing problem in BAPI_ACC_DOCUMENT_POST. I had call it via se37 transaction and filled with following parameters:

Document Header

================

BUS RFBU

USERNAME ABAPDEV

COMPANY CYBR

DOC_DATE 16.03.2010

PSTNG_DATE 16.03.2010

FI 00

DOC_TYPE SA

REF_DOC_NO UNASSIGNED

Account GL

===========

ITEMNO_ACC 0000000001

GL_ACCOUNT 601010

ITEM_TEXT POSTING TO GL

COMPANY CYBR

BUS 1001

TAX_CODE A0

PROFIT_CTR 4001

ITEMNO_ACC 0000000002

GL_ACCOUNT 102301

ITEM_TEXT POSTING TO CONSUMER

Currency Amount

===============

ITEMNO_ACC 0000000001

CURRENCY PKR

AMT_DOCCUR 200.000

ITEMNO_ACC 0000000002

CURRENCY PKR

AMT_DOCCUR 200.000-

Its result created document number successfully, but that document number does not exists in FB03 tcode.

regards,

Syed Tayab Shah

1 ACCEPTED SOLUTION

former_member641978
Active Participant
0 Kudos

Hi

DId you called afrewards to BAPI_TRANSACTION_COMMIT?

If not go to se37->Function Module->Test->Test sequence->enter both bapi's-> and run sequence

Best Regards

Yossi Rozenberg

2 REPLIES 2

former_member641978
Active Participant
0 Kudos

Hi

DId you called afrewards to BAPI_TRANSACTION_COMMIT?

If not go to se37->Function Module->Test->Test sequence->enter both bapi's-> and run sequence

Best Regards

Yossi Rozenberg

0 Kudos

Thanks Yossi,

I did it as you mentioned and it successfully generated in FB03. I gave you full points.

regards,

Syed Tayab Shah