cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_ACC_DOCUMENT_POST issue with posting key

Former Member
0 Kudos

We have an issue where we have developed our own Credit Card payment system using a web front end, interfaced through SAP XI (3.0 - SP15) and using ACC_DOCUMENT_POST to post the transactional data (into SAP R/3 Enterprise) to the customer record and the credit card clearing account.

With the current set up it is posting the debit and credit entry okay, however, it has been noticed that it is being posted to posting key 11 (Credit memo)a nd we want to use Posting key 15 (incoming payment).

This field is not available in the BAPI. We have a specific document type that is used to post this credit card receipt.

Is there a away to change the posting key?

I have tried changing the BUS_ACT to RMRP (Failed) and SD00 (Posting key 11 used) so am no further foward.

I have tried amending OBU1 for Transaction F-02 to Document Type DA and Posting Key 15, but this has not worked, either....

Maybe a Substitution or Validation needed??

Any thoughts?

Any suggestions gratefully received!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

In tcode OBU1 you specify the tcode, doc type and the posting key default.

pls assign points if helpful as a way to say thanks.

Former Member
0 Kudos

Thanks for your response Dave, however I had already stated that I had tried amending OBU1 for Transaction F-02 to Document Type DA and Posting Key 15, but this has not worked, either....

Anyone else have any suggestions?

Former Member
0 Kudos

Hi,

Posting key for BAPI_ACC_DOCUMENT_POST is hardcoded and can't be customized. There's user-exit you can use (see note 487722) to archive this. I think it's better rather than substitution..

Good luck.