Skip to Content
0
Former Member
Dec 06, 2006 at 11:22 PM

BAPI_ASSET_POSTCAP_POST - with Account

327 Views

Hi,

Was having some problem with Call Transaction on ABNAN,

The call Transaction is in MODE N,

The it_messtab (type BDCMSGCOLL) is not getting populated with the document number after the asset is Posted .The document number is displayed in the status bar when I run ABNAN manually .I need this document number to populate some details of this in the next transaction.

So alternatively tried using the BAPI "BAPI_ASSET_POSTCAP_POST" to post the Asset, but I am not able to specify the account to which i need the asset to be posted. It is currently getting defaulted to an account which we cannot change thru config since another site is using that account.

Tried looking for an user exit for ABNAN, so I could Export to memory the document number that was generated, but could'nt find a suitable one.

Please let me know of any option for changing account in the BAPI or a way to capture the message after the Call Transaction.

Much appreciated.

Thank you

Lalitha