BAdI or Exit to Default Activity Type in transaction CJ20n

Hi friends,
  Is there any BAdI or user exit to default the Activity type in the creation of Network activity.
Also please help me with llogic of the code.
Thanks in Advance.
Poorna

Hi,
      Implementing Business Add-Ins (BADI)     
The use of object orientated code within SAP has lead to new method of enhancing standard SAP code called
Business Add-Ins or BADI's for short. Although the implementation concept is based on classes, methods and
inheritance you do not really have to understand this fully to implement a BADI. Simply think of methods
as a function module with the same import and export parameters and follow the simple instructions below.     
Steps:
1.     Execute Business Add-In(BADI) transaction SE18
2.     Enter BADI name i.e. MB_MIGO_BADI and press the display
        button
3.     Select menu option Implementation->Create
4.     Give implementation a name such as Z_MB_MIGO_BADI
5.      You can now make any changes you require to the BADI within this
        implementation, for example choose the Interface tab MODE_SET
6.     Double click on the method you want to change, you can now enter
        any code you require.
7.      Please note to find out what import and export parameters a
        method has got return the original BADI definition
        (i.e. MB_MIGO_BADI) and double click on the method name
        for example within MB_MIGO_BADI contract is a method
8.      When changes have been made activate the implementation
<b>Reward points</b>
Regards

Similar Messages

  • BADI / USER-EXIT FOR DEFAULTING THE FIELD VTTK-TNDR_ACTC IN TCODE VT01N

    Hi,
    I require a BADI / USER-EXIT for defaulting the field VTTK-TNDR_ACTC(Currency of Actual Shipment costs) to 'EUR' in transaction VT01N(Shipment Transaction) .
    Please could anyone help me with this .
    Regards,
    Sushanth H.S.

    Hi!
    User Exits in Transportation
    In Transportation, there are enhancements that you can use with transaction CMOD.
    For a detailed description of the individual enhancements, see the documentation on the individual enhancements or function modules in transaction SMOD.
    You can display all enhancements that are available for the area of transportation by choosing F4 in the Enhancement field. Enter V56* in the Enhancement field and choose Execute. Enter V54* to get a list of all enhancements for the area of shipment cost processing.
    Business Add-Ins in the transports
    Business add-ins (BADIs) are predefined user exits. They enable businesses, partners, and customers to add additional softward to the SAP source code. The linkup of SAP's New Dimension Products, such as APO and BW, to the standard system is thus possible.
    Customer-specific functions can be executed before the save time and after the database update.
    The following methods are available for the BADI with the definition name 'BADI_LE_SHIPMENT':
    AT_SAVE: BADI is called up at the time of the save. Checks and return to dialog are possible.
    BEFORE:_UPDATE: BADI is called up right before the data is saved to the database, that is, when all the data is available (for example, internal ly assigned shipment number).
    IN_UPDATE: BADI is called up after the database update.
    Standard Settings
    Creating a BADI method:
    Call up transaction SE19. Enter a name of your choice. Choose "create" and in the dialog box enter the definition name 'BADI_LE_SHIPMENT'. Afterwards, enter a short text for implementation. Save the BADI.
    On the tab page 'Interface', choose the method for implementation by double-clicking on it. Now you can enter your customer-specific program code. Save and activate the code. You can acess the transmission parameters entered in the BADI definition. With the method ***_AT_SAVE you can initiate the exception ERROR_WITH_MESSAGE (description 'An error message has occurred' ) if you wish to return to the dialog.
    Afterwards, go to the heading and activate the interface.
    Regards
    Tamá

  • Assignment of default activity type to individual person

    Hi All,
    I have following scenario.
    One maintenance order is created with one operation. Three persons are assigned to the same operation. All these three persons are having different per hour rate and so having different activity types.
    I have mentioned all these 3 activity types in assigned workcenter.
    But while executing in maintenance order I can assign only one activity type in operation tab and so the same is appearing during time confirmation as default.
    I need respective activity types to be appeared by default for each of persons. How can be achived this?
    Sundar

    Hi,
    As 3 different activity types are having 3 different per hour rate, it would better to define sub operations based on the activity type & assign the activity types separately for each sub operations.
    Regards,
    Maheswaran.

  • Change default document type in transaction F-47

    Hi guys,
    any idea how may I change the default value (not on user level) of the document type in transaction F-47.
    Thanks and regards

    Use transaction OBU1 (path: IMG Financial accounting / general ledger accounting / business transactions / G/L account posting / Carry out and check document settings / default values)

  • BADI/User Exit for Checking Conditions in TRM Transactions

    Hi  All,
    I have to check some conditions before saving the transaction FTR_CREATE. So that based on that condition it will be known that whether that transaction will save or not.  I found some BADIs, but those are particularly working for Money market and derivatives. For my Req, I need a BADI which will check conditions for both Money market and Securities.
    Exact req is, Based on Portfolio and PaymentAmount i have to restrict the transaction. Those will found in 2 tables VTBFHA and VTBFHAPO. But many BADIs doesnt contain VTBFHAPO.
    If any one working on TRM can u help me out ?

    >
    priya tavanam wrote:
    > Hi Frds,
    >
    > I am using the FTR_TR_GENERIC Badi.  In that one method is : EVT_TRANSACTION_SAVE_CHECK. In that one parameter is PI_PROXY_TRANSACTION. I want to get the attributes of Method A_TAB_CASHFLOW . That is  : A_TAB_CASHFLOW~BZBETR.
    -->whats ur code to read those values , it should be
    lt_cashflow[] = PI_PROXY_TRANSACTION->a_A_TAB_CASHFLOW [ ] ' .
    But i am unable to access this value in BADI. how access this. Can any one help me on this.

  • Activity type in a Personnel Master , CAT2

    Hi All,
    Need a reply at an urgent basis. In the HR management, the cost center can be attached to a personnel master data against which a CAT2 time sheet can be filled. Is it also possible to attach a given activity type to a personnel record?
    pls help
    Anuradha Ambekar
    TCS

    Dear Anuradha,
    maintain Activity type in transaction CJ20N at Network Activity level.
    In IMG under
    Cross Application Components -> Time Sheet -> Specific settings for CATS notebook -> Set up data entry profile -> Choose your profile -> Set Activity type under default values.
    I believe Inforype 0315(CATS: Sender Information) is not used.
    Regards,
    Naveen.

  • Default Activity changing when it should not

    We have a problem where if I use a general task list with 2 operations and both have a seperate activity type assigned, when creating a new SM order we pull the Tasklist into the order but we change the default work centre, this change in default work centre causes the default activity type on the first operation to change to the same default activity type as the one on the second operation which is undesired.
    However it is inconsistent when this happens has anyone seen this before or does anyone know if there is an OSS creection for this problem, although I suspect it may be data setup related.
    thanks

    The script have to be something like:
    *WHEN RPTCURRENCY
    *IS LC
    *WHEN RCOST_CENTER
    *IS RCCA_NONE
    *WHEN AUDITTRAIL
    *IS CC_FY
    *WHEN TIME
    *is 2015.12
    *REC(EXPRESSION=%VALUE%/12, TIME = "2015.01", AUDITTRAIL = "CC")
    *REC(EXPRESSION=%VALUE%/12, TIME = "2015.02", AUDITTRAIL = "CC")
    *REC(EXPRESSION=%VALUE%/12, TIME = "2015.03", AUDITTRAIL = "CC")
    *REC(EXPRESSION=%VALUE%/12, TIME = "2015.04", AUDITTRAIL = "CC")
    *REC(EXPRESSION=%VALUE%/12, TIME = "2015.05", AUDITTRAIL = "CC")
    *REC(EXPRESSION=%VALUE%/12, TIME = "2015.06", AUDITTRAIL = "CC")
    *REC(EXPRESSION=%VALUE%/12, TIME = "2015.07", AUDITTRAIL = "CC")
    *REC(EXPRESSION=%VALUE%/12, TIME = "2015.08", AUDITTRAIL = "CC")
    *REC(EXPRESSION=%VALUE%/12, TIME = "2015.09", AUDITTRAIL = "CC")
    *REC(EXPRESSION=%VALUE%/12, TIME = "2015.10", AUDITTRAIL = "CC")
    *REC(EXPRESSION=%VALUE%/12, TIME = "2015.11", AUDITTRAIL = "CC")
    *REC(EXPRESSION=%VALUE%/12, TIME = "2015.12", AUDITTRAIL = "CC")
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    Without any *XDIM_MEMBERSET!
    Vadim

  • PDC interface - PM/CS confirmation without Activity type

    Hi,
    We have a problem with PM/CS PDC confirmations in our ECC6 version of SAP.  For PS & PP, the default activity type is populated automatically when doing the confirmation.  But for PM/CS, the activity type is left blank.  All three CONFXX idocs have no activity type specified.
    The only thing I found regarding this problem/behavior is a OSS note, dated from 2001. OSS number is 0000381846.  Is this note applicable for our system?
    Is there someone who knows about this?
    Thanks
    Eric

    Hi,
    what you are willing to implement is not a supported functionality in the current Yard management.
    If this is not yet the case, I would encourage you to open a SAP Customer message so that your question gets checked and analysed at development support.
    BR
    Alain

  • How to get internal order and activity type other than from BSEG

    We want the Internal order and activity type fields. From BSEG, it is taking a long time, and it hangs.
    Is there any other table we can get these values from?
    Our query is this:
    select bukrs "Company code
    gjahr "Fiscal year
    belnr "Document no.
    buzei "Document Item no.
    aufnr "Internal order
    lstar "Activity type
    from bseg
    into table gt_add_info
    for all entries in gt_gl_detail
    where bukrs = gt_gl_detail-rbukrs"Comcode from G/L acct detail
    and buzei = gt_gl_detail-buzei "Doc item no. from G/L acct detail
    and belnr = gt_gl_detail-belnr "Doc no. G/L acct detail
    and gjahr = gt_gl_detail-gjahr."Fiscal yea
    Can advise please how to make it faster. My internal table (GT_GL_DETAIL) has over 100000 records. ? thanks.

    I did a SQL trace, and saw that tables CSLA, CSSL, COKL and COKA are being hit with the values I entered inthe Activity type in transaction FB50.
    Still not clear but where it gets stored. If in any of these tables, how do I get the object key?

  • BADI / user exit for Tcode IW32?

    Hi
    Are there any BADIs  / user exits for changing component data in Transaction IW32 for a maintainance order?
    regards
    cs

    Enhancement                                                                               
    IWO10012                                Maintenance order: Priority handling on central header                                                                               
    Business Add-in                                                                               
    IWO_UI_USEFLEX                          BAdI for Calling Up an Alternative UI                  
    I hope it helps.
    Best Regards,
    Vibha
    Please mark all the helpful answers

  • How to add new row in KL02 trx - Activity type control data

    Hi guys.
    I am not a FI-CO consultant, but I want to add a row since KL02 transaction within a cost center, with a new fiscal year. When you access KL02 (change activity type), you set the activity type, then press Master Data and the basic screen appears. If you press the Display planning control button, you will see the "Display Activity Type Control Data" List. I wanna add a row for a specific cost center here, because the cost center I refer has not 2011 as fiscal year. I tried to use, since basic screen of KL02, use the Change planning control button, but when I set my cost center and 2011 as fiscal year, the Save button is inactive. Furthermore, I tried to press the Period screen and a message appeared "No data has been entered yet". So I dont know how to add one row for a cost center in the Planning control (Activity type control data) list of the KL02 transaction, specifically for an activity type. Do you know? Thanks in advance

    Hi,
    The list of cost centers in which the activity type is planned is given in KL02 under planning data.  In order to add a new cost center to this, you need to enter the activity type in transaction KP26 for a particular year. 
    Goto transaction KP26
    Give version - 0
    from period 1 to 12
    year - 2011
    cost center - mention the cost center
    Activity type - mention activity type
    goto overview screen F5 and add the plan price for the activity in the cost center.  This step will automatically add new row in the activity type control data.
    Hope this helps.
    Thanks,
    Ram

  • In CATS,  where can I assign "Activity type to default Time sheet",

    Hi gurus,
    In CATS,  where can I assignt Activity type to Default time sheet.  Please help me asap.
    If any cats doc.  available plz share with me.
    Thanks in advance,
    Sadana.

    If you have defined activity types then you can define them with the right price in KP27 for each costcenter.
    the costcenter is connected with the personelnumber.. in infotype 315 you can define which is the default activitytype for each person.
    if you have only 1 activitytype you can also programm the user exit to fill it in by default
    see EXIT_SAPLCATS_002 to implement a fixed activitytype for whole cats
    kind regards
    arthur de smidt

  • Is there any user exit/ badi to populate the partner bank type for   F-63.

    Is there any user exit/ badi to populate the partner bank type (field name BSEG-BVTYP) in transaction F-63. There is exit ‘ZFI_FOAP_CDITEMS_00001011’ having BKPF and BSEG as only import parameters so I can’t change the value for BSEG-BVTYP.
    So could you please let me know any exit where I can change the value for BSEG-BVTYP for transaction F-63?
    Thanks in Advance,
    Steevan

    hi,
    Below r the user exit related to transaction  F-63.
    Check out if any of them will solve ur Query..
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    Reward points if helpful,
    Regards,
    Brijesh

  • User exit/BADI for changing the exchage rate type in MIGO

    Dear guru's,
    Please help me in finding the user exit/BADI to change the exchange rate type in MIGO.
    Regards,
    Abdul Rahim

    did you check this one MB_GOODSMOVEMENT?
    also exchange rates needs to be changed at Purchase order level and those will be reflected while creating MIGO.

  • Valuation price with user Exit on activity types

    Hi All,
    Our customer could have different activity cost for different products even if they are processed on the same cost center, same activity type and same activity time. So I wonder whether SAP has valuation price with user Exit on activity types as what on material valuation, when we select "U" in the relevant valuation variant. Could anyone knows advise please?
    Regards
    Walter

    Hi Walter,
    an idea might be to include an ABC template into the costing. ABC tempaltes allow a big degree of freedom in determinin which processes to use and in which quantities. To use the product as a cost driver is certainly not an issue. I doubt that you can directly influence the process 'price' to be applied, but to change the quantity could bring the same result.
    See the docu for more info:
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/7e/cb7d1443a311d189ee0000e81ddfac/frameset.htm]
    best regards,
                        Udo

Maybe you are looking for

  • Printing problem with Photoshop cs4, need help

    I'm using PS CS4, with a Canon Pixma iP4200 and Mac os 10.6.2.  I CAN print from other programs such as TextEdit or Pages.  And my printer prints a test page without any problems.  However, when I try to print something from PhotoShop, the printer di

  • I just started doing illustrator tutorials. please help me with feedback :)

    Hey guys, i just started doing tutorials and i need your feedback to improve. i would like to know what you think of my first video. I would really appreciate it How To Save Artwork In Adobe Illustrator - YouTube

  • ISight won't work for other user

    My wife and I have seperate user IDs on the same machine. For me the isight works perfectly with ichatAV and with iMovie. But for my wife though the camera works fine with iMovie only the sound will work with ichat. She gets the message "your camera

  • How do you change the resolution?

    lol, sorry, but I don't know how to change the resolution!

  • Abstract classes and inheritance

    I'm trying to do some simple inheritance but I'm a little stuck. Without giving too much away here's what I have (or am trying to have). I have an abstract "Test" class and a number of concrete classes that extend that abstract class. In my main meth