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

Re: BAPI_PO_CREATE1 issue.

sirish_pyata
Explorer
0 Likes
716

Hi experts,

I am using BAPI_PO_CREATE1 to create PO, while creating the PO if there is no asset then i need to create the asset also.

But am not able to find the asset class(ANLA-ANLKL) in BAPI(BAPI_PO_CREATE1).

If the asset class is there in this BAPI can u please tell where exactly i can find the asset class.

Thanks & regards

Sirish

3 REPLIES 3
Read only

former_member300258
Participant
0 Likes
626

Hi sirish,

you may find the asset no in the BAPIMEPOACCOUNT structure as 'ASSET_NO'. and you can create the asset by using the bapi 'BAPI_FIXEDASSET_CREATE'.

Read only

0 Likes
626

Yes i can find asset number but i want asset class as i want to create asset number while creating the PO not with existing asset .

Hope you got my point.

Thanks & regards

Sirish.

Read only

0 Likes
626

you may use this FM BAPI_FIXEDASSET_CREATE1 to create the asset no and it seems not possible creating thro' BAPI_PO_CREATE1. So before calling the bapi_po_create, you create the asset no with the above FM and consult your functional consultant for the mandatory inputs to pass into the FM for creating the asset no.