‎2012 Apr 24 12:09 PM
Dear All,
I am working aroung BAPI_ACC_DOCUMENT_POST, I have a requirement -
Need to create the accounting document for Customer advance payment against Net-banking transaction. Document is to be created with the accounting document type (DZ-Customer Payment).
Since the FI documents of customer payment and Advance payment is to be separated, Customer line item of above entries are to be posted with posting key 04 (Other Receivables - Debit) and GL Account line item to be posted with posting key 50 (GL - Credit) .....
Since BAPI does not give any predefined way to pass the posting keys, I assume internally it will be taking the Posting Keys as per the Configuration. Thats why this BAPI is getting posted successfully but Posting Keys are different than what I actually want.
All I want to know is, how can we change the posting keys while posting the BAPI? Seached a lot but did not find any suitable posting ...
Please let me know if you have anything in your mind. ....
Thanks and Regards,
Ravindra Sonar.
‎2012 Apr 24 12:21 PM
Use Business transaction event (RWBAPI01). Search SCN, you will find relevant documents/discussions.
Regards,Vinod
‎2012 Apr 24 12:21 PM
Use Business transaction event (RWBAPI01). Search SCN, you will find relevant documents/discussions.
Regards,Vinod
‎2012 Apr 24 12:38 PM
Great help Vinod,
issue got cleared got some nice documents on SCN, going to work on that ..... surprisingly was simmilar of what I got from my functional consultant May be he has copy pasted it from there only to test me invested lot of time in debugging that BAPI though ....
Thanks for showing me the path, gonna walk on it.
Regardsm
Ravindra Sonar.
‎2015 Aug 27 9:24 AM
Hi Ravindra,
I have problem to pass posting to BAPI BAPI_ACC_DOCUMENT_POST...
I need to pass POSTING KEY as '15' For incoming payment from customer. Currently the BAPI update the posting as 11 by automatically .
Can you please help me to solve it,
Thanks,
Pasumpon Karuppaiah
‎2012 Apr 24 12:39 PM
My curious self searched for the keyword provided by Vinod and found this wiki entry by...Vinod
What puzzles me is that the section "Scenario" in his document from 2010 is identical to your first paragraph above. Can you explain this?
Thomas
P.S. meanwhile I saw your second post, as usual, the functional consultant can be blamed
‎2012 Apr 24 12:45 PM
He he he the exact search I gave and found out the same document with same paragraph.
I was also shocked to see how on earth I can get same documented question from one functional consultant to just to test me???????
I invested lot of time in BAPI debugging and Extension Table etc. , rather than searching on SCN ... Otherwise I would have never posted it here.
I should ask the same question to the person who assigned me this task now
‎2012 Apr 24 12:49 PM
Good one, Thomas. Interesting & funny.. ( I didn't read OPs entire business requirement while replying). Surprising, that someone got the similar requirement which I mentioned in the Wiki post.
Regards, Vinod
‎2012 Apr 24 12:55 PM
I am not blaming my Functional guy, honestly I could never be able to explain my question on such a tough topic with such a brilliant wordings At least I am sure about it. Also there is no point in asking question whos answer you are reading right
So whatever I got I pasted it here. I should have searched it with proper concentration and with proper keywords perhaps to save me from Thomas
And suprisingly this document has been writen by Vinod only .... what a co-incident
‎2014 Apr 02 9:42 AM
Perfect Solution!! Thanks a lot for document..
Best Regards,
Swapnil R.