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

Error in BAPI

Former Member
0 Likes
1,058

Hi ALL,

When ever i am using BAPI_ACC_ASS_TRANSFER_POST it gives error

Transaction type 230 not possible (no affiliated company specified)

But same thing getting posted successfuly using the standard transaction ABT1N .

4 REPLIES 4
Read only

Former Member
0 Likes
756

Hi Abhay,

use this...

For Intra company transfer

AMDP_BAPI_CALL_ON_TRANSACTION. --> give input values and checks data.

AMBU_CALL_AC_DOCUMENT_POST---> posting documents.

Here it doesn't use clearing GL account in between transfers and you have only two line items in accounting document.

For inter company transfers:

BAPI_ACC_ASS_TRANSFER_POST.

Here it uses clearing GL account in between transfers and you have four line items in account document.

Line 1 -- from asset

line 2- clearing GL account (+ve value)

line 3 -- to asset.

line4 --clearing GL account(-ve value).

Regards,

Narendra

Read only

Former Member
0 Likes
756

Hi,

Check this:

but the error should come also in the trasaction.

--

Reddy

Read only

Former Member
0 Likes
756

Thanks for all ur Reply,

My issue is in ABT1N the standard transaction there is no issue but the same thing

when i am trying through the given BAPI the error comes .

Thanks a lot .

Read only

Former Member
0 Likes
756

I used another FM for this