‎2012 Feb 10 5:00 AM
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
‎2012 Feb 10 9:22 AM
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'.
‎2012 Feb 10 9:27 AM
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.
‎2012 Feb 10 9:39 AM
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.