Blank space is not taking in change bdc (cr02)

Hi,
I am working on a change bdc for cr02 tcode. i am changing the data of particular work center. what i want in some fields i need blank space as it had already some data. so that in external file i made it blank but  while uploading data the previous data is not changing to blank space , it is as before. i tried giving 0 or 1 for that field but it is not picking because it is a formula field and in its table 0 or 1 is not available.
so please give some solution to make that field blank  . it is a urgent bdc and datas are huge.
Regards
Banaja

See if you can clear that in online mode..that is directly in CR02. If you cannot clear them in online mode, you probably will not be able to do that in BDC. It would need some config change by the functional analyst.
But if you can clear & save it in CR02 and see it clear when you come to this work center again later, you can do it in BDC too..
Try this eg :
perform bdc_field       using 'RF02D-KTONR(01)'
FORM BDC_FIELD USING FNAM FVAL.
  IF FVAL <> NODATA.
    CLEAR BDCDATA.
    BDCDATA-FNAM = FNAM.
    BDCDATA-FVAL = FVAL.
    APPEND BDCDATA.
  ENDIF.
ENDFORM.

Similar Messages

  • How to replace a character in a string with blank space.

    Hi,
    How to replace a character in a string with blank space.
    Note:
    I have to change string  CL_DS_1===========CM01 to CL_DS_1               CM01.
    i.e) I have to replace '=' with ' '.
    I have already tried with <b>REPLACE ALL OCCURRENCES OF '=' IN temp_fill_string WITH ' '</b>
    Its not working.

    Hi,
    Try with this..
    call method textedit- >replace_all
      exporting
        case_sensitive_mode = case_sensitive_mode
        replace_string = replace_string
        search_string = search_string
        whole_word_mode = whole_word_mode
      changing
        counter = counter
      exceptions
        error_cntl_call_method = 1
        invalid_parameter = 2.
    <b>Parameters</b>      <b> Description</b>    <b> Possible values</b>
    case_sensitive_mode    Upper-/lowercase       false Do not observe (default value)
                                                                       true  Observe
    replace_string                Text to replace the 
                                         occurrences of
                                         SEARCH_STRING
    search_string                 Text to be replaced
    whole_word_mode          Only replace whole words   false Find whole words and                                                                               
    parts of words (default                                                                               
    value)
                                                                               true  Only find whole words
    counter                         Return value specifying how
                                        many times the search string
                                        was replaced
    Regards,
      Jayaram...

  • 2010 - 2013 Migration of Public Folders blank spaces in Public Folder names

    So I found the problem that I was running into with this thread:
    http://social.technet.microsoft.com/Forums/en-US/466106c8-33a4-4474-83eb-2f6451e0d4eb/2010-2013-public-folder-migration-failed-property-expression-isnt-valid?forum=exchangesvrdeploy , however the question I have is a bulk solution for this problem.
    The customer I am working with has just shy of 200GB of Public Folder items with many, well organized public folders that they have been using for many years. I am trying to finish up their migration to 2013 and the solution of ADSI Edit removing blank spaces
    is not going to be a good option, it would add days to the migration and many hours of labor.
    What I am looking for is to see if there is a way to remove these spaces in a bulk or automated fashion. It may be asking a lot but it will save MUCH time and effort. If there is anyone that has any ideas I would love to hear them.
    Thanks,
    Joe

    I ended up opening a support case with MS to resolve this issue. The issue took us through a few different things, on our Get-PublicFolders we had to add the -ResultSize Unlimited flag. He had a modified script that enumerated all of the special characters
    and performed a replace like the script in the prior link had performed.
    From there we also had another issue with trailing blank characters. For that we had a three step process.
    1. Get the list of Public Folders that were Mail Enabled
    2. Disable Mail for all Public Folders
    3. Enable Mail flow to the above Public Folders that had mail flow going to them.
    Finally I was able to get the public folders to migrate.

  • Simple??? Want "INSERT" function to return blank space after a field, how?

    All,
    Am I just having a brain fart? I have a situation where I have a field that needs to return just one space, or a value that has a space before and after it.
    Example:
    In the text ==> I am<field>going to the office. <-- notice no space between am, <field> and going
    I want it to say if FALSE, then "I am *not* going to the office."
    If true, then "I am going to the office."
    If true, I'm simply RETURN(""); <-- This returns a blank space
    If FALSE, I have tried:
    ret="not"
    RETURN(" " & ret & " ");
    This returns "I am notgoing to the office". <-- Notice no blank space after "not"?
    I've tried
    ret="not";
    ret2=(" " & ret);
    RETURN(Insert(ret2, 3, " "));
    Still the same result. What's strange is, if I do a RETURN(Insert(ret2, *2*, " "));, then it returns "I am no tgoing to the office" <-- Notice the space between the "o" and the "t"?
    Ideas?

    Trailing spaces are often removed from data. In your case, the easiest thing to do will be to use what is called the "hard space" character instead of a "real" space. This is key code ALT+0160. For all intent and purposes, it looks like a space and will print as a space, but since it is not technically the space (0032) character, it will not be trimmed from your projects. Just open the quotes, turn off the NUMLOCK and hold down the ALT key and type 0160 and then release the ALT key. This will add the hard space into your string. Then if you are like me, you will have to remember to turn the NUMLOCK back on.
    " not "
    I'm not sure how this will post into this message, but the example above is using hard space characters.
    Edited by: user9976634 on Dec 5, 2012 12:52 PM

  • XML Publisher Printing Blank spaces for no data

    hi All,
    We are trying to build a report using XML Publisher and .RTF template.
    We have dynamic fields like Wt Uom, Volume Uom, Dimensions.So when we don’t have data in these fields XML Publisher consider these data as blank and so blank spaces comes. If we have data in these fields then blank spaces will not come, as the blank spaces will be filled up the data of Wt, Volume and Dimension fields.
    We want to remove the blank spaces for the items that do not have any corresponding data for the fields. Is there any way we can remove the field header and the blank spaces that are there?
    Please help
    thanks,
    Chandan

    Hi Chandan
    The element is present in the XML data, but it has one space
    <?if:element_name and element_name=' ' ?> desired behavior when
    the element exists but value has one space <?end if?>
    Or
    what you can do is trim the data before forming XML .

  • XML Form - Textarea - Blank Space Issue

    I'm trying to use a cftextarea inside an XML form and every
    time I do it keeps putting a space inside of the text area. I've
    tried a few things and found that it's related to the following.
    In the _formelements.xsl in the \CFIDE\scripts\xsl directory.
    <xsl:text> </xsl:text>< !-- extra space at
    end, in case no value is defined -- >
    Trouble is, if I take that out, it blows up the whole page.
    Is there any way around this or any type of quick fix for it?
    It's annoying to have my db updated with a blank space. If not I
    guess I'll have to check each and every textarea and make sure a
    blank space is not placed into my database... very annoying.

    Have you found a solution to this bug? I just came across it
    myself.

  • How can I change a string to a numeric when the numbers are separated by blank spaces?

    I would like to change a list of numbers in string to a list of number in numeric like in the attached vi. Unfortunately, the numbers are not separated by commas but by blank spaces. Which character can I use for the blank space?
    Ninskaya
    Attachments:
    readcommdelim.vi ‏19 KB

    Why don't you just use the Spreadsheet String to Array function instead. You can specify any delimiter you want. See the attached picture.
    Attachments:
    string_to_array.jpg ‏6 KB

  • Blank Spaces not coming in the end

    All,
    We have a report where we need to show some blank spaces in the end of report o/p. Let's say 10 Blank Spaces.
    But in o/p Spaces are being trimmed. If we place some charcater in the end then it shows 10 spaces before the character, but if we remove the chracter then it removes the blank space also.
    We need to send the report o/p to some feeder system where these 10 bkank spaces are mandatory.
    Please suggest how to achieve this.
    Regards
    Sachin

    Hello,
    The way report is hiding the blank spaces from the last its normal report bahavior and as you said if you put some character then it shows. yeah, it will show then. Instead of placing some character place one simple line in the last with white color. So, it will create the spaces in report and user will not feel any difference/change.
    -Ammad

  • Enhancement Section Activated but changes not taking place

    Hello Friends,
    I have been getting a dump error for FM GN_DELIVERY_CREATE_FOR_DIALOG which says that
    "spe_version" does not exist in table "LIPS".
    I found a enhancement option that commented out the perform that lead to the subroutine which has the error code.
    I have activated business function LOG_LE_INTEGRATION via SFW5 which activates among others switch LE_SFWS_SC3.
    I can see the global status of the switch as ON.
    This switch is associated with enhancement spot ES_SAPLV50S which has implemented an enhancement section in inlcude LV50LF14 lines 191 -194
    However, despite activation the changes are not taking place and i am still getting a dump error.
    I am also not able to set a break-point in the FM because the program cannot be generated
    My question is: Is successful program generation a pre-requiste for enhancement source plug-ins to be effective?
    Any pointers would be highly appreciated.
    Thanks,
    Minhaj.

    Hi Minhajuddin ,
    With "enhancement spot" we have come across similar short dumps and inactivation of spots even when steps are taken as per procedure.Please check if any notes are available for the same ,since most of the time it fixed the problem.
    Regards
    Byju

  • Changes to php.ini not taking effect

    I'm running Leopard 10.5.8 with the Apple-supplied versions of PHP (5.2.10) and Apache (2.2.11). Changes made to the /etc/php.ini file are not taking effect after stop/start of Apache. phpinfo() and shell command php -i confirm the 'status quo'. The php.ini file permissions are 444 with root/wheel ownership. It was copied from the php.ini.default file that came with the php distribution. Here's what I'm trying to change - seems pretty like this should be pretty basic stuff:
    include_path = ".:/usr/local/some_directory"
    // Original entry in the php.ini.default file was commented out
    // The directory '/usr/local/some_directory' exists
    // phpinfo() only shows include_path = .:
    magicquotesgpc = Off
    // Original entry in the php.ini.default value was 'On'
    // phpinfo() shows magicquotesgpc = Off
    I've been all over the php.net website and cannot identify my error. Shouldn't the changes to the php.ini file should be interpreted immediately after restarting Apache?
    Has anyone experienced a similar problem? Suggestions for fixing this malfunction would be greatly appreciated. I know I can hard code workarounds into my PHP code but that really defeats the whole purpose of even having a php.ini file....

    Was able to successfully implement these changes on a different Mac OSX 10.5.8 system. Different architecture (1st system is MBP, 2nd system is MB) although each system has all software updates installed and is up-to-date. Copied php.ini file from MB to MBP and problematic settings were corrected. Ran /developer/applications/utilities/filemerge.app to check for differences between the two php.ini files. Found one (line 305):
    Failing entry: error_reporting = E_ALL
    Working entry: error_reporting = E_ALL & ~E_NOTICE
    I took out E_NOTICE to help with debugging as per instructions from php.net/manual/en/errorfunc.configuration.php
    Go figure....

  • In Tools/Account Settings/Disk Space I have changed the setting to "To save disk space do not download messages larger than 1000KB", but all are truncated.

    This occurred a few months ago when I changed the Disk Space setting to "To save disk space do not download messages larger than 1000KB".
    Since then Thunderbird has truncated every message I've received no matter what the size.
    Not your fault, but made much more annoying because my server, Telstra (Australia) does not let me read more than two or three messages at a time without a delay, whereas if messages under 1000KB appear in my inbox automatically I do not have this problem.
    Would really appreciate a solution, as when I've been away from my emails I can have a number accumulate and it wastes valuable work time waiting to download them.
    thanks, Wendy

    hi Matt, or someone else
    Only rarely do I get an email larger than 1000kb. But not matter how small the email, even if only a few kb, Thunderbird truncates every single one, and after I have "untruncated" a few emails, the server refuses to let me untruncate any more for a few minutes. I have used the Thunderbird Disk Save tool for years previously with no problems, and I think this happened when I changed it from 500 to 1000kb a few weeks ago (may have been due to a Mozilla update). I truncate large files because I pay $45/month for 4GB of usage, with absolutely no option to Telstra because I live in the bush in Queensland and Telstra wireless is our only choice for broadband. I use Windows Security Essentials and don't know how to turn off email scanning in it if indeed it does scan my emails (have always assumed it does, but can't find a way to see if it is). In any case I wouldn't want to have this feature off permanently. This problem with truncating all emails has occurred after I started to use Windows Security Essentials. Any more targetted thoughts please to what I've explained above.

  • Selection screen flow logic change not taking affect. Please help!

    Hi
       When I am trying to change the selection scren flow logic I get the following message:
    Selection screen: Report generation makes screen changes ineffective.
    Whatever I am changing is not taking affect in runtime.
    Even though I have activated the changed code for the screen
    What shall I do resolve this?
    Thanks
    Gopal

    You should not be changing the screen flow logic of a standard selection screen 1000.  It will always be regenerated.  In order to modify the standard selection screen, you can do this in the AT SELECTION-SCREEN output event and loop at screen and change the attributes.
    Loop at screen.
      if screen-name = 'P_CHECK'.
        screen-input = '0'.
        modify screen.
      endif.
    endloop.
    Regards,
    Rich Heilman

  • Changes is special conversion routine not taking effect

    I changed a special conversion routine specified in a conversion rule(BD79) with a rule type copy sender field.
    I made the required changes to the function module CONVERSION_EXIT_&_OUTPUT and activated it but still the outbound Idoc suggests that the changes are not taking effect.
    Can someone suggest what may be the reason for this?

    The issue got resolved

  • If pic not found then show blank space

    SELECT '*'||a.Employee_code||'*' AS "BARCODE", a.Employee_code,
    'D:\Pictures\'||a.employee_code||'.bmp' as pict,a.job_status,
    a.Employee_name, a.Designation_desc,a.new_nic_no,
    a.COMPANY_CODE, b.company_name,b.ADDRESS,
    a.location_code, c.location_name,
    a.department_code, d.department_name,
    e.division_code, division_name
    FROM Employees a,
    company b,
    locations c,
    departments d,
    divisions e
    where a.company_code = b.company_code
    and a.location_code = c.location_code
    and a.department_code = d.department_code
    and a.employee_code between :eno and :sno
    and e.division_name = :div
    and a.division_code = e.division_code
    and a.department_head = 'N'
    I used this query for print ID card it is working fine but one problem is here that if I dont have picture of any employee then report gives the error that "Picture not found" I want that if picture not found in d:\pictures then only show the blank space instead of message.

    Query is working fine see in query there is a field PIC that is representing to picture from D:\pictures folder
    if I have 20 records in employee table from 1 to 20 and pictures exist in D:\pictures folder only 1 to 5 then report shows the error that D:\pictures\6.jpg is not found
    I want that if I dont have picture in said folder then it does not return error only show the white rectangle.
    I know that here i can use Pl/Sql but there is not any logic to define there.

  • BADI Changes are not taking effect

    Hi,
    I have done few changes at BADI...but those changes are not taking effect...
    I activated everything...wat might b the problem?
    Regards,
    venkat
    Moderator message: too vague, help not possible, please describe problems in all technical detail if posting again.
    Edited by: Thomas Zloch on Feb 23, 2011 3:02 PM

    Yes, Actually after looking into the problem some more it looks like the
    changes are taking effect. The only problem that we are having is that
    the start bar does not appear when the user log in and no drives are
    showing up under windows explorer. I checked the policy and we did not
    configure the section under windows explorer so i am not sure why the
    drives are not showing. Also I am not sure why the start bar does not
    appear.
    Dan

Maybe you are looking for