‎2008 Aug 18 7:11 AM
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.
‎2008 Aug 18 7:20 AM
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
‎2008 Aug 18 7:16 AM
hi suzie...
you have to differentiate the amount by using minus sign
for eg (for credit -500 and debit 500)
Regards
Deva
‎2008 Aug 18 7:19 AM
hi...
thnx but i want to know which field in that BAPI is the posting key ?
‎2008 Aug 18 7:24 AM
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
‎2008 Aug 18 7:20 AM
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
‎2008 Aug 18 7:21 AM
Hi Suzie,
As such there is no field for posting key its internally taken care by BAPI.
Thanks
Sudharshan
‎2008 Aug 18 7:29 AM
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
‎2008 Aug 18 7:35 AM
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
‎2008 Aug 18 7:35 AM
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
‎2008 Aug 18 5:34 PM
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...