BAdI for Personal Default values

Hi,
Does anyone know the BAdI for Default Values/Checks for Personnel Administration and Recritment?
Thanks in advance.
Anand.

Hi anandaraja,
1. I don't think there is a badi,
2. but there is a customer exit
  PBAS0001 - in smode tcode.
3. The fm name inside it is
   EXIT_SAPFP50M_001 for defaulting values
   EXIT_SAPFP50M_002 for validations at time of saving.
regards,
amit m.

Similar Messages

  • Badi for setting default values in the transaction in APO.

    BADI NAME: SMOD_APOCF005 which is used for setting default values in the transaction.
    I have implemented the BADI using the below code but that BADI is not triggering. Please can you provide any solution for resolving this.
    As per my requirement I am trying to set default values for these three fields RRP_TYPE, WHATBOM, CONVH.
    DATA: LS_MATLOC LIKE LINE OF IT_MATLOC.
    LOOP AT IT_MATLOC INTO LS_MATLOC.
    LS_MATLOC-RRP_TYPE = '4'.
    LS_MATLOC-WHATBOM = '5'.
    LS_MATLOC-CONVH = '999'.
    MODIFY TABLE IT_MATLOC FROM LS_MATLOC TRANSPORTING RRP_TYPE WHATBOM CONVH.
    ENDLOOP.
    DATA: LS_MATLOCX LIKE LINE OF IT_MATLOCX.
    LOOP AT IT_MATLOCX INTO LS_MATLOCX.
    LS_MATLOCX-RRP_TYPE = 'X'.
    LS_MATLOCX-WHATBOM = 'X'.
    LS_MATLOCX-CONVH = 'X'.
    MODIFY TABLE IT_MATLOCX FROM LS_MATLOCX TRANSPORTING RRP_TYPE WHATBOM CONVH.
    ENDLOOP.

    The  BADI name: SMOD_APOCF005 .
    T.code at APO : /sapapo/mat1
    Once we enter in that T.Code with some Product and Location data.
    There under PP/DS tab.
    Under Planning Procedure there is a field PP Plng Procedure which I want to set as 4
    And under Order Creation there is Plan Explosion which needs to be set as 5
    And Under Horizons there is PP/DS Horizon which needs to be set as 999.
    BADi is implemented and active.
    And once the data is CIF from ECC to APO
    These default values are not set in the T code in APO and the BADi is not triggering.

  • OAF : LOV mappings do not execute for specified default value in the LOV

    Dear All,
    I know the topic of default value in an LOV has been discussed a million times.
    Please bear with me -
    I set the "Initial Value" property for an LOV to populate a default value in the LOV field when the page loads. This works fine
    My LOV has about 4 lov mappings that populate 4 "formValue" items on my page.
    However, for the default value, these mappings are not executed and the formValue items remain empty. (Though the default value shows up fine on the screen)
    Do I have to explicitly default these formValue items as well ? Is there anyway to get the mappings to execute ?
    Thanks,
    Gagan

    Anyone ?

  • .INI files vs .TXT files for changing default values in a .EXE?

    Hi,
    I have a two-part question related to updating the default values of controls in an executable:
    I am creating a LabVIEW executable for installation on two different production-floor computers.   I need to be able to change the default values of the front panel controls (as I would do with the “make this value default” command during development). From reading prior posts, I understand that I could use the “Write Configuration Settings File.vi” and “Read Configuration Settings File.vi” to generate a .INI file that would be read by the .EXE and would establish the desired values of the controls. However when I took a look at the block diagrams for those configuration .VIs, they don’t appear (to me) to be any easier to use than just reading values from a spreadsheet file. IE: Instead of using these configuration files and a .INI file, could I not instead just read values from a .TXT file that contains the desired values?   I’ve never used a .INI file before, or had to worry about “keys” and “sections,” so from my (perhaps naïve) perspective, the .INI method seems less easy to use. Is there any advantage to the .INI format?
    Regardless of whether I use the .INI file or a .TXT file, I have this additional problem: One of the things that changes when I install my .EXE file on a new computer is the COM port numbers used by two serial devices.   (On my development computer, the two serial devices use COM5 and COM6, whereas on the two production-flood computers, the COM ports will almost certainly be different).   I suppose I could use the Device Manager on the production-floor computers to change the COM ports to be the same as those on my development computer, but I’d prefer to be able to (again) change the default value of the COM ports in my .EXE.   However, I’m not sure how to do that.   The configuration VIs, have options for reading / writing Booleans, strings, paths, and numeric, but not, (so far as I can tell) for a VISA class.
    Any thoughts / suggestions are welcome. Thanks.
    Solved!
    Go to Solution.

    Dan_the_Clam wrote:
    Thanks for your reply, Yamaeda,
    Great that I can use a string to open a VISA session - I had no idea.  I'll try that.  
    And - ah - you are right about the .INI files.  I just did an experiment in which I re-ordered the sections and randomly changed which letters were capitalized in the key values, and the "read configuration settings.VI" still read the file correctly.  Thanks for that.
    Unfortunately, in my existing code, the controls on the block-diagram aren't all co-located together; they are scattered throughout the block diagram - some of them in case structures and loops.   I suppose that means I'll have to move them all to the left side of the block diagram, route them to these "Write Key.VIs" and then wire them up into the cases and loops with fairly long wires.   It's just a hassle, and is going to make my block diagram more complicated.  Well, I suppose that's how one learns...
    Thanks again.
    dan
    Assuming you have a state machine and an Init state it's a fair use of Local Variables to update controls from the ini-file. The same goes for saving the values.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Badi for update dates values in complaints

    Hi all
    I need to update the date of the status of the complaint, does any body know if there are a BADI or any other way to update this value ?
    I try with a DYNP_VALUES_READ function but can't found the dynpro where the vales are.
    any sugestion is grateful

    The  BADI name: SMOD_APOCF005 .
    T.code at APO : /sapapo/mat1
    Once we enter in that T.Code with some Product and Location data.
    There under PP/DS tab.
    Under Planning Procedure there is a field PP Plng Procedure which I want to set as 4
    And under Order Creation there is Plan Explosion which needs to be set as 5
    And Under Horizons there is PP/DS Horizon which needs to be set as 999.
    BADi is implemented and active.
    And once the data is CIF from ECC to APO
    These default values are not set in the T code in APO and the BADi is not triggering.

  • Exit/BADI for condition type value

    Hi friends,
        I have a BADI BADI_SD_BILLING_ITEM. I want to enhance method 'ITEM_PRICING_COM' present in this BADI.
        My purpose of using this BADI is that I want to get the values of condition type before saving a billing document.For that purpose I want to enhance this BADI.
    But I don't know how to proceed.
       Please help me out.
    Regards,
    Rajesh

    Enhancement                                                                               
    V61A0001                                Customer enhancement: Pricing                            
    V60P0001                                Data provision for additional fields for display in lists                             
    SDVFX011                                Userexit for the komkcv- and kompcv-structures     "This may be usefull

  • BADI for validating asset value in ME21N

    Hi,
    I have a requirement where i need to validate the value entered in anln1 (asset) field in ME21N transaction and throw an error message if it matches on e particular value.
    Thanks,
    Abhinay

    Hi,
    I have a requirement where i need to validate the value entered in anln1 (asset) field in ME21N transaction and throw an error message if it matches on e particular value.
    Thanks,
    Abhinay

  • Setting Default Values in Search Criteria for COSTCENTER

    Hi ALL,
    I need Help for setting default values in search criteria for COST CENTER.
    Basically the issue is when creating a Shopping Cart, i need to assign a COST CENTER at Item level under COST ASSIGNMENT Tab.
    While searching the cost center i need to default the following fields in my search criteria based on the Login User :
    1. Controlling Area,
    2. Language Key.
    Please suggest some solution.
    Thanks & Best Regards,
    Surya

    Hi Vani,
    Sorry for the delay reply and Thanks a Lot for your timely support......I would like confirm once again is the name of the BADI is <b>bbp_f4_read_on_exit</b> or <b>bbp_f4_read_on_entry</b>. In this BADI i've not found a method to default Controlling Area. Can you please suggest me which method i can use.
    Thanks & Regards,
    Surya

  • Default value for period indicator in MM01

    Hello Gurus,
    I have created a transaction for maintaining default value for period indicator in MM01 transaction. User has to maintain the period indicator for Material Type(MTART) and Plant(WERKS) before creating a material master. If it is not maintained, then error message will be generated saying that 'Maintain Period indicator for the Plant and Material Type'.
    I have created an implementation for that in 'Y_BADI_MATERIAL_REF'. For Material type 'FERT' it is working fine.
    But when i try to create a material of type 'RAW1' , im getting a error that 'Mandatory field Profit center is missing' which is already entered in the material master and is not in the part of forecast view i have created.
    During my second testing, i got a different error MRP group 'Y0Y3' is not valid, though i entered it using F4 help.
    When i commented my piece of code in the implementation, error disappeared..
    Im very new to MM, please help me out gurus..
    Thanks in advance.

    Thanks for your reply.
    I know that it can be made as optional entry in OMS9 transaction. But when i deactivated my BADI, that error disappeared.
    Is there any relation between the period indicator and profit centre ?
    And also while creating a material, when i select the MRP group from the dropdown list(F4), whatever the group i select, im getting an error 'MRP group does not exists'. But when i deactivated my BADI, it disappeared.
    Im really confused why am I getting such errors because of this BADI.
    Please help me out...

  • Displaying default value for a field in ALV table

    Hai all,
         I am having an ALV table in which I want to display Requisition number by default using a value which i generated randomly and it is stored in a variable.
    While displaying ALV table my req number field should display that value by default when ever user is inserting a row( all the coloumns n my alv are editable.
    Is it possible?? 
    Kindly give some suggestions.
    Thanks in Advance,
    Nalla.B

    Hai Kris,
        I took help from ur link and i declared a global attribute request_number.
    and i created an event handler ON_ALV_INSERT and did the follwing coding for giving default value wen ever am inserting new row.
    FIELD-SYMBOLS: <wa_row> LIKE LINE OF r_param->t_inserted_rows.
      DATA bill_details TYPE REF TO zdom_bill_detail.
      LOOP AT r_param->t_inserted_rows ASSIGNING <wa_row>.
        bill_details ?= <wa_row>-r_value.
        IF bill_details->REQ_NUMBER IS INITIAL.
      DATA lo_nd_bill_detail TYPE REF TO if_wd_context_node.
      DATA lo_el_bill_detail TYPE REF TO if_wd_context_element.
      DATA ls_bill_detail TYPE wd_this->Element_bill_detail.
    navigate from <CONTEXT> to <BILL_DETAIL> via lead selection
      lo_nd_bill_detail = wd_context->get_child_node( name = wd_this->wdctx_bill_detail ).
    lo_el_bill_detail = lo_nd_bill_detail->get_element( index = <wa_row>-index ).
          lo_el_bill_detail->set_attribute(
            EXPORTING
              name  = 'REQ_NUMBER'
              value = wd_comp_controller->request_number
    Wen am  setting the value of wd_comp_controller->request_number to my context attribute am getting NULL object ref error.
    lo_el_bill_detail->set_attribute(
        name =  `REQ_NUMBER`
        value = wd_comp_controller->request_number ).
    Pls give some suggestions,
    Thanks in Advance,
    Nalla.B

  • How to set a default value of " " for a VARCHAR2 in ER diagram?

    Hi,
    I am trying to set the default value of a VARCHAR2 attribute to " " (space) in an ER diagram. But it just thinks I don't want anything for the default value. If I specify CHR(32) will it work? or is there another way? Will I have to wait until I get into the server model to do this, if so how do I do it there?
    thx
    adam

    Are you sure you want the default to be a space, not a NULL? VARCHAR2 fields want to trim spaces from the right, which makes them NULL if they started as all spaces. You can force them to accept spaces, but it is an unnatural condition. Even the VARCHAR2 columns that I use as surrogates for booleans I set as 'Y' for true and 'N' for false, or 'T' for true and 'F' for false. Occasionally, it will be 'X' for selected and NULL for not selected, but the NULLs tend to cause trouble so I avoid them.
    Okay, let's assume that you have a good reason to default to a space. Use ' ', including the single quotes. When you transform to a Table Definition, change the Default Value Type for the column to a Database Function Call. You can't do that in the logical (Entity/Attribute) design, only in the physical (Table/Column). That will make sure that the Server generator will leave it the way you wrote it.

  • Set Default Value based on Field from another table for a custom object

    I'm trying to set the default value on a custom object field to the value of an account field. I have tried the syntax 50 different ways, and just am getting no where. The account field label displays as DBA, the integration tag is ltDBA_ACCT, and it shows up in reporting fx area as Account.Text_22.
    The custom object field I'm triying to update is also called DBA, which was originally the "NAME" required field. Does the table name, Account, have to be included? Do I need a function in front of the field?
    I have been updating the external ID using the row ID with syntex <ID> (Less than ID greater than) so I know it is possible to set the Default Value, but <DBA>, <ltDBA_ACCT>, "Account"."DBA", and so on just don't not work.
    If anyone knows how to enter this I'd really appreciate the help.

    Ok, so if you want to default a field to the value from another object, you have to use the JoinFieldValue function. I think you understand that, based on your original post, but I want to be sure that you do.
    Next, this will only work as a default if the record is created from the object that you wish to join on because a default works at record creation and the ID needs to be available for it to work properly. It will not work if you choose the related object record after the custom object record is created. You could set the value as a post-default, but that does not seem to meet your requirements.
    The syntax for the Default Value would be as follows: JoinFieldValue(ref_record_type, foreign_key, field_name).
    In your case, ref_record_type is '<Account>', foreign_key is &#91;<AccountId>&#93;, and field_name is '<YourFieldName>'. The best way to determine what the field name is would be to create a new workflow for Account and use the Workflow Rule Condition expression builder to pick your field ("DBA") from the list. The value that is returned by the expression builder should be placed in the field_name variable in the JoinFieldValue function (minus the brackets and in single quotes).
    Give this a shot and let me know how you do.
    Thom

  • Pl/sql expression for default value

    I'm trying to run this simple script as a default value using pl/sql expression, but I keep getting this error. THe select statement itself works fine as a sql statement source value, but will not work as a pl/sql exression as a default value. This (:P33_SYSUSERID_CREATED_BY ) is the field name on the form. Any ideas?
    begin
    select a.id || ', ' || A.NAME_LAST into :P33_SYSUSERID_CREATED_BY from S_USERSV a where a.name_last = 'HAMMAKER';
    end;
    Error ERR-9132 Error in PLSQL expression for item default code, item=P33_SYSUSERID_CREATED_BY
    OK
    ORA-06550: line 1, column 27: PLS-00103: Encountered the symbol "BEGIN" when expecting one of the following: ( - + case mod new not null avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp interval date pipe

    Sudha,
    For a default value type of PL/SQL Expression, you could create a function that accepts an input and returns a value. If the function (not a procedure) is named GET_REFNO, you would call it using an expression in the default value field like:
    get_refno(:P3_REFTYPE)
    For a default value type of PL/SQL Function Body, you could call your existing procedure with a default value like:declare
        l_value varchar2(32767);
    begin
        get_refno(:P3_REFTYPE, l_value);
        return l_value;
    end;Scott

  • Default value for date parameters

    Hi,
    There are several reports that have from_date/to_date parameters where the default value is, e.g. 01/01/2012 and 31/12/2012.
    Every year, after the previous year is closed, I go through the process of having to change the default values to the new year in all the reports. I have checked but not found an option of using a formula for a default value in a parameter. Could there have been something new recently that I missed?
    Or does anyone have a suggestion of a way to get around it? I have tried in the past trying to extract the year from sysdate, but have not succeeded in getting a formula that the Discoverer accepts in the default value.
    Thanks.
    Leah

    Thanks for the information. I doubt that my boss would go for it but I will speak to him when I am at work next week. We have some old reports which have a default value of null and that would most probably be confusing for many of the users. Is there a way to have the default the end of the year also?
    Once again, thank you.
    Leah

  • How to set a 3 default values for a dependent key flexfield

    hi,
    I have an inquiry in oracle applications 11i - Oracle General Ledger module, Accounting Key flexfield structure.
    we have an independent key segment PROJECT and a dependent key segment SUB-PROJECT.
    Can we define 3 dependent value for the SUB-PROJECT to be the default for any new entered value in the PROJECT segment??
    e.g creating 3 default SUB-PROJECT values: X, Y, and Z. Any new value entered to the PROJECT key segment will have X, Y and Z by default as it's SUB-PROJECTS.
    If the above scenario is possible, please guide me to the best solution...
    Thank you...

    I can find that the value set of any dependent value set has only one room for a default value.
    What are the implications of creating a new Independent value set and assign it to the SubProject segment, on historical data and reports?
    thank you...

Maybe you are looking for

  • Hi i am not able to see even i connect to aia_lifecycle database,isee nothn

    Hi Robert, Hi i have succcessfully installed 11.1.1.5.0 successfully in my sytem (windows) but while creating a abcs i am after creating a connection to aialifecycle ,a screen is populated and i dont see anything in it,the columns name project and bu

  • Error 400 in signing in to PSE9

    I have Windows 7 and PSE9. I can sign in to my account with Photoshop.Com but not to my PSE9. I cannot sync files to Photoshop.Com or Revel. I can also not access the installed Photoessentials 3. I have checked my firewall and all seems to be okay to

  • No Firewire

    Hello all, I have read these forums with a passion for the past couple of weeks seeking a way to fix my problem by myself. Basically what happened was, I was moving something and I accidently unplugged my computer. I plugged it back in, started it up

  • Alert Configuration issue

    Hi I have followed the Alert Configuration according to this link http://www.****************/Tutorials/XI/AlertConfiguration/AC1.htm But when I tried defining Alert Rules i.e. when I click on the Alert configuration tab in RWB, I am getting 404   No

  • EDI scenario

    hi friends, how to create PROCESS CODE and FUNCTION MODULE for creating a IDOC. can anyone send me a Real Time scenario based on this. My email id : [email protected] Thanks in advance, Ganesh Message was edited by:         ganesh ram