Problem when defaulting a value to the field

Hi CRM Experts,
I am new to CRM, i am facing a problem when defaulting a value to the field in the Tcode 'SOLMAN_WORKCENTER' (Solution Manager Server).
when i am defaulting it is displaying fine in the view( Redefined the getter method there i passed the value), i set a break point in the getter method when i am executing the getter method i am unable to get the defaulted value in the importing parameter value, but i am getting the value here when i used to type manually in the filed, i cant understand why it is behaving like that? please can any body help in this regard...
Thanks in advance
Hari..

There are other ways to get the string-value of an enum (format into string with a %s formatter for instance).
But I have no idea what you are seeing.
However I would not use the enum to string technique chose you have, just add the enum to the 'file' VI as an input.
And the =0 comparison you have is useless, add the enum to the case structure as the selector.
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be!

Similar Messages

  • How to put the SQL-statement returned value into the field (as a default)

    Hi,
    I am using Developer/2000 (Forms Designer) under windows 98.
    Please tell me how to put the SQL-statement value (as a default value) into the field before enter-query mode. Noted that I have tried the following ways but still some problems:-
    1) Place the SQL-statement into PRE_QUERY trigger in the form/block level.
    There is a message box which ask 'Do you want to save the changes?'.
    2) Place the SQL-statement before execute enter_query. There is still a
    message box which ask 'Do you want to save the changes?'.
    Any hints? Thanks. Urgent.

    solved it!
    1) Suppress DEFAULT save message
    if form_failure then
    raise form_trigger_failure;
    end if;
    2) Place the default value before enter-query.
    Ref: Title='Default value in query field in ENTER_QUERY mode' in designer forum by CVZ
    form level trigger
    ============
    WHEN-NEW-ITEM-INSTANCE
    =======================
    if :system.mode = 'ENTER-QUERY' then
    :block.item := 'default waarde';
    end if;
    3) Suppress the changes whenever leaving the default field.
    if :block.item is null then
    -- assign statement
    end if;

  • Need to set default values for the fields plant and location in ME21N

    Hi All,
    i need to set default values for the fields plant and location in ME21N tcode.
    In accout assignment if we give 'A' then we need to create asset by clicking the Asset tab,there you have the fields plant and location.
    How to resolve this?
    Thanks in Advance

    hi .
    i needed to set default strorage location and plant in personal setting  in me21n.
    i solve it with this way.
    go to program SAPLMEPERS in se38.
    create new function in output with the sample name :MODULE ZTEST_001 OUTPUT.
    in this module write:
    if MEPOITEM_PROP-WERKS is INITIAL and  MEPOITEM_PROP-LGORT is INITIAL.
    MEPOITEM_PROP-WERKS = '1000'.
    MEPOITEM_PROP-LGORT = '0032'.
    endif.
    this is the solution.
    best regards.
    maryam

  • How to set the default values of the field of the context.

    Hi Experts ,
    I want to set the default value of the field of the context.
    Where and how this declaration should be done.
    Thanks in Advance.

    In the context tab of the view. Select the attribute for which you want to set the default value.it will show the properties at the bottom. set the Default value property to the value which you want to set as the default value.
    Regards
    Naresh

  • Default initial value for opportunity field

    Hi all,
    What is the fastest and most elegant way to achieve this requirement:
    When user clicks create opportunity the field "Relevant for forecast" should be default unflagged. Currently it defaults it to be flagged. It should only happen at creation time. The user should be able to flag the field again before saving. So basically I need to make sure that the defaulting is only done once in the lifetime of an opportunity (i.e. at the very first creation).
    Br,
    Anders

    Hi,
    1) Enhance your component
    2) Enhance view "BT111H_OPPT"
    3) Generate GETTER/SETTER for "STRUCT.FORECAST_REL" in context node "BTOPPORTH"
    4) Add the following code at the end of the method "GET_FORECAST_REL"
    IF value IS INITIAL.
    * value = 'X'  -> to check the checkbox if initial
    value = ''.
    ENDIF.
    This should work, but I have not tested it in this case.
    Kind regards
    Michael

  • How do I make a text box solid if the value in the field is greater than 0 and do this for all recor

    Hello,
    I have several text boxes on a document, and wish to make the boxes either solid or visible if the value in the field is greater than 0.
    I am using an excel file for the data, each cell with either 1 or 0 (true or false).
    Any help would be appreciated.
    Thanks,
    BJ

    Yes, I also sent an email regarding this problem.
    I am using XNET to write a custom device for PXI-8516 LIN card.
    I've attached a couple snippets showing where I've tracked the problem.
    The only error that I've seen comes from the XNET Wait vi in the timeout snippet.  I believe that error occurs because frame queued in the write snippet is never transmitted by the LIN card.
    Attachments:
    Timeout_Error_Snippet.png ‏22 KB
    XNET_Write_Snippet.png ‏24 KB

  • How to enter values in the fields of standard SAP Infotype e.g. IT0024

    Hi,
    How to enter values in the fields of standard SAP Infotype?
    e.g. I want to enter values in infotype IT0024(Qualifications) in the field AUSPR(Profincy):-
    1-Level 1
    2-Level 2
    3-Level 3
    4-Level 4
    5-Level 5
    Thanks,
    Ameet

    Hi Divya,
    I checked with the screen and report which is mentioned by you. But I want to modify/make changes that should appear in the screen when you view details for a particualar employee in Qualifications(IT0024).
    Please refer the screen 2000 of module pool MP002400 in SE80. In that screen I want to make change as listbox with key.
    Can it be achieved in the same way as mentioned by you before by making standard SAP report as Z and then modify using layout editor?
    Please help me out. I think I am almost there.
    Thanks,
    Ameet

  • How to get the value of the field 'KOMP-NETWR' in Pur.

    Hello everyone,
    how do i get the value of the field 'KOMP-NETWR' in the purchase order.
    thanks
    Arnaud

    Hi,
    Try this code similarly for komp
    REFRESH i_komv.
    CLEAR i_komv.
    CALL FUNCTION 'PRICING_REFRESH_TX'.
    CALL FUNCTION 'REFRESH_TAX_TABLES'
    EXPORTING
      LIVERY        =
    LOOP AT i_ekpo INTO wa_ekpo.
      wa_taxcom-bukrs = wa_ekko-bukrs.
      wa_taxcom-budat = wa_ekko-bedat.
      wa_taxcom-bldat = wa_ekko-bedat.
      wa_taxcom-waers = wa_ekko-waers.
      wa_taxcom-hwaer = wa_ekko-waers.
      wa_taxcom-kposn = wa_ekpo-ebelp.
      wa_taxcom-mwskz = wa_ekpo-mwskz.
      wa_taxcom-wrbtr = wa_ekpo-netwr.
      wa_taxcom-xmwst = 'X'.
      wa_taxcom-lifnr = wa_ekko-lifnr.
      wa_taxcom-ekorg = wa_ekko-ekorg.
      wa_taxcom-matnr = wa_ekpo-matnr.
      wa_taxcom-werks = wa_ekpo-werks.
      wa_taxcom-matkl = wa_ekpo-matkl.
      wa_taxcom-meins = wa_ekpo-meins.
      wa_taxcom-mglme = wa_ekpo-menge.
      wa_taxcom-mtart = wa_ekpo-mtart.
      wa_taxcom-land1 = wa_ekko-lands.
      wa_taxcom-ebeln = wa_ekpo-ebeln.
      wa_taxcom-ebelp = wa_ekpo-ebelp.
      CALL FUNCTION 'CALCULATE_TAX_ITEM'
        EXPORTING
          i_taxcom                  = wa_taxcom
        IMPORTING
          e_taxcom                  = wa_taxcom
        TABLES
          t_xkomv                   = i_komv
        EXCEPTIONS
         mwskz_not_defined         = 1
         mwskz_not_found           = 2
         mwskz_not_valid           = 3
         steuerbetrag_falsch       = 4
         country_not_found         = 5
         OTHERS                    = 6
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    clear wa_taxcom.
    ENDLOOP.
    LOOP AT i_komv INTO wa_komv.
      CASE wa_komv-kschl.
    *EXCISE DUTY
        WHEN 'JMOP'.
          v_jmop = v_jmop + wa_komv-kwert.
    endcase.
    endloop.
    Hope this might be of some use.
    Regards,
    sirisha

  • How to set default date value to a field on screen

    How to set default date value to a field on screen and allow users to modify it ....

    Hello,
    In the PAI module, you need to save the changes to the database using the command MODIFY.
    Follow an example:
    Create or change a message in database table T100. If there is no message with the number 100 in the MYMSGCLASS message class in English, it will be created. Otherwise only the text is changed.
    DATA message_wa TYPE t100.
    message_wa-sprsl = 'EN'.
    message_wa-arbgb = 'MYMSGCLASS'.
    message_wa-msgnr =  '100'.
    message_wa-text =  'Some new message ...'.
    MODIFY t100 FROM message_wa.
    Regards.

  • What is the default timeout value for the SPQuery object?

    What is the default timeout value for the SharePoint SPQuery object? I've tried searching online but can't find anything with the actual timeout value.
    Someone suggested it might use the timeout property in the database? Anyone know if that's how it works?

    Hi,
    Do you want to avoid timeout when you query list items?
    If so, we can use the following C# code to set timeout.
    HttpContext.Current.Server.ScriptTimeout = 600; // 10 minutes
    More information is here:
    http://200oksolutions.blogspot.com/2013/03/sharepoint-2010-set-timeout-only-to.html
    The SPQuery object doesn’t provide any property to set timeout. We can also set timeout in web.config, or SQL Connections or IIS.
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • How to give values to the field in free selection via call transaction?

    Hi,
    I'm using call transaction for transaction "FAGLB03". And i'm passing the values for the fields company code, account number and year using the respective parameter id. But i need to pass the value for Profit center also, which is in the free selction button (near to variant button). I have tried by passing the value thorugh the parameter id. but it is not taking up. The code is as follows:
        SET PARAMETER ID 'ACC' FIELD lv_saknr.
        SET PARAMETER ID 'BUK' FIELD lv_rbukrs.
        SET PARAMETER ID 'GJR' FIELD lv_ryear.
        SET PARAMETER ID 'PRC' FIELD lv_prctr.
        CALL TRANSACTION 'FAGLB03' AND SKIP FIRST SCREEN.
    Here the value of profit center is not filling up in the screen.
    If anybody have any clue please replay back.
    Thanks in Advance.

    Hello Pothiraja
    If the free selection parameter cannot be filled this way you may try to call the corresponding report using the SUBMIT statement. <b>SUBMIT </b>has the option
    ... WITH FREE SELECTIONS texpr
    For details refer to the ABAP keyword documentation for SUBMIT -> selscreen_parameters.
    Regards
      Uwe

  • Youtube videos I placed in a site made in Muse, don't have sound and don't auto play in my Android phone. Can anyone tell me why? The same video has no problems when I watch it at the youtube site on my phone. It has sound on an iphone, but doe

    Hello. The Youtube videos I placed in a site made in Muse, don't have sound and don't auto play in my Android phone. Can anyone tell me why? The same video has no problems when I watch it at the youtube site on my phone. It has sound on an iphone, but doesn't auto play either. Thanks!

    Hi Mariana,
    Please make sure you have the autoplay checkbox selected from the fly-out options:
    Regards,
    Akshay

  • I always have problem when I download movies on the Apple Tv, I can t find them?!!

    I always have problem when I download movies on the Apple Tv, I can t find them?!!
    Can you please help me?
    Thanks

    You may wish to enable automatic downloads in your iTunes  > preferences > store settings.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.

  • When combining multiple PDF's, the field properties change

    When combining multiple PDF's, the field properties for the Font and/or the "Scroll long text" checkbox change settings. What is causing this to happen?

    Thank you for the prompt reply. I do indeed have the same field name across multiple files, but they are all set the same in their individual files.

  • I create a project w/iMovie and I have two problems:  When I try to finalize the project iMovie crashes; when I share to DVD sometimes it crashes also; if I can successfully send it to DVD and then burn a DVD there are wavy lines on the screen.  Help!

    I create a project w/iMovie and I have two problems:  When I try to finalize the project iMovie crashes; when I share to DVD sometimes it crashes also; if I can successfully send it to DVD and then burn a DVD there are wavy lines on the screen.  I'm uising photos in my project, not video.  Help!

    You can split a project in two by doing this.
    1) Go to the Project Library View.
    2) Select your project, and click FILE/DUPLICATE PROJECT. Give it a name like "your project name - part 1".
    3) Do this again. This time name it "your project name - part 2"
    4) Open Part 1 for editing. Delete everything in the second half.
    5) Open Part 1 for editing. Delete everything in the first half of the project.
    At the end you should have your original project, plus the same project in two parts.

Maybe you are looking for

  • Urgent: Change custom conditions on item level

    Hi experts, could you please tell me how you resolve this issue, its very urgent? I´m facing the promblem that my condition type doesn´t get changed! I want only to change KBETR at item level. After CRM_ORDER_SAVE is called I can see, that order got

  • .CAF and File Transfer Problem

    It seems like the iPhone SDK limits the codec to .CAF for applications. It seems like Garage Band handles this extention quite well; however, I mainly use a PC. I was wondering what Audio Editing software people use that can handle .caf. Quicktime Pr

  • OSB always uses two volumes instead of one

    Hi I use osb and the following script to backup my db: run { CONFIGURE RETENTION POLICY TO Redundancy 3; CONFIGURE CONTROLFILE AUTOBACKUP ON; allocate channel c1 device type sbt parms 'ENV=(OB_MEDIA_FAMILY=mftest)'; delete noprompt obsolete device ty

  • Our converted eCourses often freeze when launched from our new 3rd party hosted LMS...

    We have recently purchased a new externally hosted LMS system (Silkroad's GreenLight) and we have a 3rd party taking our older authorware courses (which are working) and updating/converting them using Adobe Captivate 5.5.  Once these are done and upl

  • BBCiplayer global

    My BBC iPlayer global has disappeared from the screen and I can't reload it from the app store, nor can I delete from iPad to reinstall