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

BAPI for F-02 for Asset Code

Former Member
0 Likes
2,030

Hi Gurus,

I am looking for a BAPI to upload asset through F-02 T-code. I have checked many BAPIs like 'BAPI_ACC_GL_POSTING_CHECK', 'BAPI_ACC_GL_POSTING_POST' and 'BAPI_ACC_DOCUMENT_POST' but did not get the desired result.

I request everyone to help me in this regard ? Is there any other way to get it uploaded as BDC aint possible for this T-code.

Regards

Vividh Kumar

1 ACCEPTED SOLUTION
Read only

Former Member

Hi Gurus,

I am looking for a BAPI to upload asset through F-02 T-code. I have checked many BAPIs like 'BAPI_ACC_GL_POSTING_CHECK', 'BAPI_ACC_GL_POSTING_POST' and 'BAPI_ACC_DOCUMENT_POST' but did not get the desired result.

I request everyone to help me in this regard ? Is there any other way to get it uploaded as BDC aint possible for this T-code.

Regards

Vividh Kumar

7 REPLIES 7
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,535

Hi Vividh

F-02 is for GL posting and 'BAPI_ACC_GL_POSTING_POST' should work for you. What desired result you did not get can you please explain us

Nabheet

Read only

0 Likes
1,535

Hi Mr. Nabheet,

I am not able to get field of Asset in the BAPI. This BAPI takes Posting key automatically but I dont know about Asset. Field is 'RA01B-ANLN1'. I am sorry if I have been missing out anything.

Vividh Kumar

Read only

0 Likes
1,535

I think the Asset gets populated based on posting key/account, we dont have to input asset to the BAPI

Read only

0 Likes
1,535

Hi Sachin,

     Thanks for the quick response,I don't want to populate Assets based on Posting key. I have hundreds of assets, how would system get to know which Asset I want to sell.

Scenario 2. How would system get to know, which Asset I want to retire using t-code F-02.

Regards

Vividh Kumar

Read only

0 Likes
1,535

You sell assets with transaction F-02 and not F-92 ?

Also read 643232 - General BAPIs do not generate asset line items for restriction on ACC BAPI usage with assets -> Usage of BADI ACC_DOCUMENT may be required.

Regards,

Raymond

Read only

Former Member
Read only

Former Member
0 Likes
1,535

Hi,

Use BAPI_ASSET_ACQUISITION_POST for asset posting

Mahesh