Creating Assets in MB1B

Hello All,
Requirement
I have to create assets during MB1B with movement type 309. The requirement is for every material entered, one asset should be created and then assigned to equipment record. If in any case error occurs everything should be rolled back.
So I want to understand which point will be better to reduce the possibility of roll back machanism implementation as that would involve un-assigning asset from equipment master and deleting / retiring the asset.
Would also like to know if I am thinking on the correct line.
I have identified BADI MB_DOCUMENT_BADI, which has two methods, MB_DOCUMENT_BEFORE_UPDATE & MB_DOCUMENT_UPDATE. If I put code in first BADI, then for creating assets I will have to call COMMIT and I am not too sure of the outcome as after this BADI the COMMIT WORK is called by SAP Program.
Please advice.

Hi,
Don't use COMMIT in these BADI's as Bharath suggests you.
See Note 92550 - Stock inconsistency due to customer enhancement (exit, BAdI) to know the reasons (and other things that it suggests us to avoid).
Other notes that talks about how it can jeopardize your data:
Note 636442 - Inconsistencies between FI and MM-IM
Note 968812 - MM/FI Difference for material stocks
Regards
Eduardo
PD: think in that you can populate a customer table (z-table) with this document (with the option IN UPDATE TASK) and after, with a periodic job (for instance, each 15 or 30 minutes) you can create the assets. You can try it with BAPI_FIXEDASSET_CREATE1 or with a BDC report in this periodic job, and if the output is good delete the record or flag it as OK. But split the tasks.
Edited by: E_Hinojosa on Jun 17, 2011 11:28 AM

Similar Messages

  • Error While Creating Asset Class

    Hi Friends,
    I am getting the following error in development client while creating the asset class AB2200.
    "Screen Layout 200 was not created"  but the same was created.
    Please guide me how to handle this error and the reason for me getting this error message while creating asset class.
    Your quick response would be highly solicited.
    Thanks and Regards,
    C.R.Srinath

    Hi Srinath
    There are 2 things.. Create the screen layout and Define the screen layout... (IMG> AA > Master Data> Screen Layout for asset classes)
    Complete both the steps here and specify the same sccreen layout in your asset class
    Regards
    Ajay M

  • Error message AA119 while creating asset master through AS01

    Hi
    while creating asset master (AS01), i am getting following error:-
    Depreciation key M003 not allowed (Check your entry)
    Message no. AA119
    Diagnosis
    Depreciation key M003 is not defined.
    System Response
    Processing is terminated.
    Procedure
    You have the following choices:
    Use a defined depreciation key (use input help).
    Define a depreciation key in Customizing ("change" pushbutton) and activate the key.
    I have done following in configuration:-
    1) No change in base method
    2) copied multi level method from standard key "011" to "M03" and maintain vlaue as - Acquisiton year - 9999, Years - 999, Validity period in month - 12, Base value key as - 01and depreciation % as 10
    3) No change in Period Control Methods
    4) Copied standard depreciation key "GL20" as "M003" and maintain the multilevel method as "M03"
    5) save the configuration
    6) Activate the depreciation key by selecting depreciation key and clicking on Activate button on top of the screen
    7) Import the configuration
    now while creating asset, depreciation key M003 is appearing in drop down list but getting above error. but if I tried with depreciation key GL20 (which is standard depreciation key) system accepting the input
    In target client, depreciation key display in Active stage.
    please revert if anybody has any clue to come out from above problem.
    Regards
    DD

    Dear All Foram members
    Thanks for your response.
    I got the solution and now problem has been resolve.
    Initially i have maintain Scrap Value as Default Value from Company code and Depreciation Area in Depreciation Key  (AFAMA) and I was getting the error. But now I have change the Scrap Value as CutOff Value is ignore and problem gets resolve.
    But still do not understand the relation between the erro and Scrap Value assignment. Any Idia. It will be helpful for other members also.
    Thanks Pankaj, Madhu and Paul...........
    Regards
    DD

  • Error while creating asset through AS91

    Hi All,
    When i am trying to create asset through AS91 for a new company i am getting error AY 252 " Current fiscal year 2007 has to be after transfer daet 31.12.2007. In this company the Asset accounting has been recently customised but when i am trying for the upload of asset master data i am getting the above given error.
    Please tell what should be done to remove this error.
    Thanks & regards,
    Prachi

    Check the transfer date for asst data transfer...make sure the current fiscal yr is after the transfer date
    Asset accounting>Asset data transfer>Parameters for data transfer>date specifications>Specify transfer date/last closed fiscal yr.

  • Error While Creating Asset Master in AS01

    Hi,
    While creating Asset Master in AS01,I am getting the below error.
    E003 SYST: Period 000 is not valid in financial year variant
    I am using the standard Fiscal year variant V3
    Kindly help me to fix this issue
    Thanks
    Kishore

    Hi
    GO to the transaction code  OBY6 , double clcik on company code  and see have you asigned the fiscal year variant to company code
    Kindly revert in case of any query
    regards
    roobal

  • Create asset-error"E003 SYST: Period 000 is not valid in financial year var

    Error during Asset Creation: E003
    AS01: Create asset was executed. During saving the asset got an error
    E003 SYST: Period 000 is not valid in financial year variant
    Following are the Depr keys assigned;
    LINA is being used for Book Depreciation
    MSTL Depreciation key is being used for ACRES, ALT MIN, ACE, E&P.
    Asset Class is Buildings

    Hello!
    I had the same problem a few month ago. There is a SAP note about this. Run the Asset Year end technical proces in ARJW. Try again your asset creation.
    Greetings,
    Stéphane

  • Display of Profit Center field while creating asset in AS01

    Dear Experts,
    I have a requirement of displaying profit center field while creating asset in AS01. Currently there is no option of profit center in AS01. My client uses the profit center reporting, so they want to assign a profit center at the time of creation of asset in AS01.
    Is this possible to display profit center field in AS01, or else any other option to tackle this issue.
    Regards,
    Juned

    Hi,
    You can only have COST CENTER in asset master, but not profit center.
    You have to maintain the respective PC in cost center master data only.
    If Cost Cetner field is also not in AS01, then you need to activate it first.
    SPRO->FA->AA->Integration with GL->Additional Account Assignment Objects->Activate Account Assignment Objects.
    Here you need to activate COST CENTER field. Now you will be able to change the field status of cost center field in screen layout for asset master data as REQUIRED field. and SAVE
    Then in AS01 you can enter COST CENTER
    Regards,
    Srinu

  • Query on AS01 - Create Asset Master

    Hi, experts,
    I need use Depreciation run - AFAB to allocate the depreciation every month. But my boss ask me to set up new company in SAP . In the first step, I have 2 queries  in T code AS01- Creat Asset Master.
    1) Can I allocate  the monthly depreciation more than one cost centers. In my case, I need allocate the depreciation into 3 cost centers every month.
    2) Can I amend the Useful life setting from i"years" to  "period". In my case, I need calculate the depreciation 33.5 months with straight line methods.
    Please help!!!
    Many thanks!

    Hi,
    A comment on question 2), i.e. useful life must be entered in combination of years and periods, in the case of 33.5 months by mathematical rounding up to 34 months it will become 2 years 10 period.
    Kind regards,
    John Chin

  • SC-Cost Assignment Create Asset Master Button Hide

    Hi All,
    We are using SRM 5 SP013.
    We have a requirement to hide the 'Create Asset Master' Button under cost assigment tab ( when we select Asset) and to make the Asset class field display mode..
    I used the BADI BBP_UI_CONTROL_BADI ( method BBP_SC_UI_CTRL). For hiding , I used the field ASSET_BUTT and for Asset class, I used the field GS_ASSET_C-ASSET_CLASS.
    But nothing worked out.
    Could you please help me? Am I in right direction or missing something.
    Regards,
    Nikhil

    Hi,
    You are certainly using the right BADI and field name.
    In the BADI, you should set the export parameter as CV_INVISIBLE = 'X' (i.e. invisible) and CV_INPUT_READY= ' ' (i.e. display) for the 2 fields as required. And also activate the BADI.
    If nothing works still, report to SAP support.
    Regards.
    YS

  • User Exit - Create Asset Master Data from MIGO

    Hi Experts,
    I want to create an asset master data from Good Receipt Purchase Order, when the user saves the document, but I didn't find none user exit, BADI or BAPI that I can use.
    Cuold you help me?
    Thank a lot.
    Kind Regards
    Giampaolo

    Hi,
    Why you want to create the Asset master at the time of MIGO.
    Posting MIGO is end user activities and Creation of Asset is of Super User, he have to assign cost center plant etc in master which will not be known by the end user and can create lot of problem in later stage.
    If we create Asset it MIGO or PO level how user know that he have to post to new asset or to existing asset. This decision is of Finance person.
    If it is that important in your business process then give the authorization of Asset Master data creation to User.
    I personally feel this requirement is not feasible.
    Regards,
    Shayam

  • Create Asset Master Button does not appear while creating SC.

    Dear Friends,
    We are working on SRM 5 and trying SSP with classic scenario. The issue is while creating Shopping cart for account assignment Asset, system does not display “Create Asset Master” button.
    We have maintained following configuration in our SRM system.
    1.     The authorizations object M_BBP_*** is setup and activated for Employee creating shopping cart as well as RFC user.
    2.     Attribute Asset Class (ANK) is maintained in Organization structure as per Backend asset class
    3.     Attribute Account Assignment Category (KNT) is maintained for Asset in Organization structure
    4.     GL account for product category and account assignment is maintained
    Still while creating Shopping cart for Account assignment “Asset” system does not display button “Create Asset Master”.
    Any idea which setting I am missing?
    In R/3 I am able to create Asset master while creating Purchase Requisition.
    Regards,
    Sandeep Parab

    Hi
    <u><b>Please go through this -></b></u>
    http://help.sap.com/saphelp_srm50/helpdata/en/03/340ff8a5c711d4b2d8000102ade1c8/frameset.htm
    Asset Procurement in EBP
    Re: Asset number creation in EBP ?
    Asset Procurement in SRM 5.0
    Re: Cost center in asset item
    Note 492107 - Account assignment with asset (changes in EBP)
    Note 492073 - Account assignment to asset when creating a shopping basket
    Note 897843 - Mixed account assignment types with asset in extended PO
    Note 732374 - No default values from attributes for account assignment
    Note 921767 - Default settings: Account assignment data is blank in ECS
    Note 588898 - Additional documentation for SAP Enterprise Buyer 3.0
    Note 575654 - Additional documentation for SAP Enterprise Buyer 3.5
    Note 750381 - Asset master number is not transferred from details (2)
    Note 674802 - Asset master number is not transferred from details
    Note 484020 - No Asset Class Description when creating asset master
    Note 936541 - Subsequent note to Note 543055
    Note 613671 - RAISE COMPANY_CODE_NOT_VALID with enclosure creation
    Note 455124 - Error message on unavailable asset class
    Note 579900 - Account assgnmnt screen 2000: asset class transltd incrrctly
    Note 399377 - EBP transfer of the asset text via EBP (as of Release 4.5)
    Note 493512 - EBP: Message 197 (BBP_PD) not displayed by system
    Note 423307 - Messages (BBP_PD) 193/194/195/197/202 translated incorrectly
    Note 202684 - No derived account asgnmnt information frm back end
    Regards
    - Atul

  • Create Asset Master

    Hi Gurus,
    While creating a shopping cart by selecting the account assignment as taxable asset then in the account assignment screen we can see a Create Asset Master button when we click this, an asset will be created in the R/3.
    Please help me how this asset is created in R/3 suggest me any BADI or FM in SRM so that I can debug and see.
    Regards
    Paul

    Activate RFC trace in R/3 t-code ST05 for the RFC user before clicking Create Asset Master in SRM. Then decativate the trace after the asset is created in R/3. This shoudl give any RFC FM used (if any).
    BTW SRM uses the FM META_CREATE_ASSET to route this request. You can start debugging form this FM.
    Hope this solves your problem.
    Regards
    Kathirvel
    Edited by: Kathirvel Balakrishnan on Aug 20, 2008 11:43 AM

  • Creating Asset Lines from Projects

    Hi All,
    We have transactions recorded in Projects module which need to be sent to assets module for creation of assets
    However, the problem here is that they need to create many asset lines from one transaction (400-500 asset lines)
    Users have been manually completing information required to create asset lines from projects module and running the program to transfer to assets module
    In this case there are too many lines to create manually,
    Is there any workaround to this issue?
    Can the lines be transferred to assets module and then split on the prepare mass additions form? If so, can you please let me know the details, to transfer the line as a "multi-unit" line so it can be split on the mass additions form
    Thanks!

    I was thinking just that conroy, attached is a crop of the type of the black and white scan I'm working with, this was originally a trace, it is a very large document this is just one part of it.
    Thanks Noel I did mess around with your suggestions, not sure I achieved what I was after, it was either too strong removing everything or too weak.
    What I'm trying to do is get rid of the speckle (despeckle filter cleans it a little) and just have all the lines nicely redrawn and crisp. I've so far being doing it manually but it is 1) inaccurate and 2) taking me a very long time.

  • Creating asset with reference

    Hi,
    I am facing the following problem: When we use transaction AS01 to create a new asset and use another asset as a reference none fields are copy to the new asset.
    I think that this must be a customising issue but i do not finf anything relative to that.
    Can someone tell me how can i solve the problem?
                   Best Regards
                             João Fernandes

    Hi,
    Creating an asset with reference is a much easier way of creating asset.
    There is no customising issue .
    The basic idea of creating an asset with reference is that it allows us to define default values( particularly depreciation terms) more exactly and comprehensively.
    Fields like cost centre etc have to be entered manually.
    Thanks
    GU

  • Creating asset from purchase orders

    Dear Gurus.
    Please let me know how to create asset from purchase orders.
    Thanks
    Rgds,
    Saurabh

    hi,
    First, determine the information that is necessary for creating the purchase order:
    Check in the Purchasing component whether a purchase requisition exists for the asset (Logistics - Materials management - Purchasing).
    Determine the vendor from whom you are ordering the asset. If needed, enter the purchasing data for the vendor.
    Determine the asset number of the asset that is being ordered. If necessary, create a new asset.
    Create the purchase order. If there is a purchase requisition, use it as a reference (in Purchasing: Purchase order - Create).
    In the initial screen, when you specify the account assignment type A (for asset), this determines
    The account assignment to an asset
    How the goods receipt or the invoice receipt is to be handled (are asset values to be posted at the time of the goods receipt or at the time of the invoice receipt).
    Once you have entered the general purchasing data in the first screen (order date, material group, etc.), a dialog box appears. Enter the asset to which account assignment is to be made in this dialog box.
    If the asset master record for your purchase has not yet been created, you can create it directly from within the purchase order transaction.
    Display the order item and its current delivery status (in Purchasing: Purchase order - List display - By account assignment).
    Later, post the goods receipt or the invoice receipt. (The Customizing definition of the account assignment type determines when the asset values are posted - either at goods receipt or at invoice receipt.) See the corresponding documentation for the Materials Management (MM) component.
    regards,
    Siddharth.

Maybe you are looking for