cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi Friends,

Thanks in Advance.

I am using the BAPI 'BAPI_ACC_DOCUMENT_POST' for the FB70 T.Code.

Please check the Below Code...

Moderator message - Please see below

The above code is Executing Perfectly...and generating the Accounting Documnet Number.

But the Problem is i cant able to see the Generated Accounting Document Number in FB03.

I had crossed Checked with the G/L Account in FBL3N T.Code and with Customer Number in FBL5N T.Code

Finally i checked the Data Base Table BKPF & BSEG.

But no use.

i can't understand where the problem is...

Whether in Customizing or in Table Inconsistency or i have to Send any other parameter.

If we try to post using Standard Transaction FB70 / FB60 it is Posting Successfully.

i mean we can see this A/C Number in FB03, FBl3N, FBl5N and in BKPF & BSEG Tables.

Regards:

Sridhar.J

Edited by: Rob Burbank on Sep 22, 2009 2:10 PM

0 Likes
View Entire Topic
Former Member
0 Likes

Hi,

I couldn't read your code well because of improper indentation but from what i could read try leaving the following fields blank and post...

*--Reference Transaction

wa_documentheader-obj_type = ''.

*--Reference Key

wa_documentheader-obj_key = ''.

*--Logical system of source document

wa_documentheader-obj_sys = ''.

Hope this helps..

Thanks,