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

FI Posting

lijisusan_mathews
Active Contributor
0 Likes
928

Hi,

Can someone tell me which is the posting key field in the BAPI .. 'BAPI_ACC_DOCUMENT_POST' and in which structure it is present. I tried BSCHL and NEWBS but din find both.

Thanks in advance.

Suzie.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
903

Hi,

I think the posting key field is filled automatically through this bapi depending upon the amount sign of the line item.

Just try to post and check the field [BSCHL] of BSEG to get more picture on this.

Thanks

Sudharshan

9 REPLIES 9
Read only

Former Member
0 Likes
903

hi suzie...

you have to differentiate the amount by using minus sign

for eg (for credit -500 and debit 500)

Regards

Deva

Read only

0 Likes
903

hi...

thnx but i want to know which field in that BAPI is the posting key ?

Read only

0 Likes
903

Hi,

I have used this BAPI, we don't provide the posting key. Correct posting keys are used based on value of amount field ( negative or positive).

regards

deva

Read only

Former Member
0 Likes
904

Hi,

I think the posting key field is filled automatically through this bapi depending upon the amount sign of the line item.

Just try to post and check the field [BSCHL] of BSEG to get more picture on this.

Thanks

Sudharshan

Read only

0 Likes
903

Hi Suzie,

As such there is no field for posting key its internally taken care by BAPI.

Thanks

Sudharshan

Read only

0 Likes
903

Actually i think I have to enter the posting keys... I actually have the values.to enter but don know the field?

The posting keys i have is one for credit to customer and the other is to debt to gL account.. I was said that there were separate posting keys for each of these and that i had to pass them tpo the BAPI during posting...

Edited by: Suzie on Aug 18, 2008 8:30 AM

Read only

0 Likes
903

Hi Suzie. ,

I think from Input Parameter structure DOCUMENTHEADER-NEG_POSTNG , you can Pass the Negative / Positive Values ( Which Intern Reflect as Posting Key ) .

thanks

Sreenivas Reddy

Read only

0 Likes
903

Hi Suzei,

Ya we got your problem that you need this field in one of the BAPI's Structure but bapi will fill this field automatically depending upon the amount sign[Debit/Credit].So just fill the currency amount structure and rest of the structure and check once with BSEG Table to find the data on this field[BSCHL].

Thanks

Sudharshan

Read only

0 Likes
903

thnx everybody... the posting key was to be filled by passing it as a structure in the parameter Extension... here i had to pass the posting fields for the two line items i used...