Checking the field is null or not

Hi Experts,
I need to map if the field is not null,if the field is null i dont need to pass the value to target. is there any function to check this?
Kind Regards,
Kumar
Message was edited by:
        praveen kumar

Hi ;
By null do you mean blank or the node itself is not comming in from sender.
If its comming in as blank then you can achive this by User defined function
Source field Trim UDF -- Target Field
UDF
if(SourceField.length()>0)
return SourceField;
Mudit
Award points if it helps

Similar Messages

  • I am trying to install windows 7 to my Macbook pro with bootcamp but every time I open bootcamp I am only able to check the first two boxes but not the third one saying "install or remove Windows 7", any solutions ?

    Hi, I am trying to install Windows on my MacBook Pro with bootcamp. Every time I open bootcamp I am only able to check the first two boxes but not the third one saying "install or remove Windows 7". I did this before using the same computer and the same hard drive so I am not sure why this is happening now but did´t happen then. Any solutions ?

    Was your Bootcamp info.plist manipulated to change any options?

  • Entry in field Funds Center required; check the field control Mg No.FMEF010

    Hi,
    We have a Z tcode for converting planned order to purchase requisition.
    We use Account assignment P - Project and A - Asset.
    We have WBS element and fund center linked to it.
    For the Z tcode while converting Planned order to purchase requisition we are getting below error
    Error: Entry in field Funds Center required; check the field control Msg No.FMEF010
    While creating manually purchase requisition with same GL code and WBS element the fund center gets automatically picked.
    Can anyone pls let me know in which table we can find the link between WBS element and fund center so that we can code the same in our program. In PRPS table we can find the link between WBS and profit center.
    Or is there any user exit that can be used.
    Thanks in advance.
    Regards,
    Radha

    Hello
    If you do a F1 in the value date field it will give you the answer - The value date is used in bank accounts and bank sub-accounts.
    As regards the other query check whether the tax code has been already created.
    Hope it helps.
    Rgds

  • One of the field is disabled(input not possible) after upgrade in FPE1

    Hi ABAP Gurus,
      I am working on FPE1 Transaction Code and i just find out that after upgrade one of the field  on screen is not input possible but before upgrade we have that field as input/output  possible .
    so now we want same functionality what we have before . so which path do i need to follow because its standard screen .
    any suggestion is appreciated .
    Thanks,
    Jack
    Edited by: jack troy on Jun 24, 2009 7:36 PM

    Hi Ajay,
    Thanks for your reply . My question is can we enable field for input using transaction variant .because if i go to screen layout for FPE1 ,  i can see that this field is only output possible .
    Thanks,
    Jack

  • My iPhone 5s sounds stop working.i did not do anything it just stop working when I tried to turn on my music player all the sounds is not working I already check the volume and it is not also muted :( what happened can anyone solve my prob

    Hello everyone my iPhone 5s sounds stop working.i did not do anything it just stop working when I tried to turn on my music player all the sounds is not working I already check the volume and it is not also muted :( what happened can anyone solve my problem please

    Hey Kirby17,
    Thanks for using Apple Support Communities.
    If you are not getting any sound from the speaker, follow this article.
    iPhone: No sound or distorted sound from speaker
    http://support.apple.com/kb/ts5180
    Ensure that there is nothing plugged in to the headset jack or the dock connector.
    If the iPhone is in a protective case, make sure that the speaker port isn't blocked by the case.
    Make sure that the speaker and dock port aren't clogged with debris. If necessary, clean it with a clean, small, dry, soft-bristled brush. Carefully and gently brush away any debris.
    If an audio issue occurs when using a specific application, try testing other applications to see if the issue persists.
    If the iPhone is paired with a Bluetooth headset or car kit:
    Try turning off Bluetooth.
    If you experience difficulties with the Bluetooth feature, follow these troubleshooting steps.
    Restart the iPhone.
    If restarting doesn't fix the issue, ensure that your iPhone is updated to the latest version of iOS.
    If the issue is not resolved, please contact Apple Support.
    Have a nice day,
    Mario

  • MM/ MB01 goods entries : the field WEMPF (recipient) is not available.

    The message has been transfered from the SD  to the MM forum :
    MM/ MB01 goods entries : the field WEMPF (recipient) is not available.
    Edited by: Vincent JAYET on Sep 23, 2011 3:59 PM

    Than again why you are posting here.  Continue all your queries in MM forum which is the right forum for your query.
    G. Lakshmipathi

  • UDF for Checking the field value

    Hi
    I want to check the whether the fiels conatins any value or not in mapping ... if not i want to raise the exception using the UDF
    DO any one have sample code for writing the UDF
    SV

    Hi SV
    what is your requirement first that should br clear.
    i am giving you two UDF
    1) i have written this uDF for string and comparing the field value XYZ
    2) i am entering a string and its returning aa string which starts from the index of your input fixed length
    int len = a.length();
    String res = "";
    String temp = "";
    if ( len >= 10)
    temp = a.substring(0,10);
    if ( temp.equals("XYZ"))
    res = temp;
    else
    res = "";
    return res;
    =======================================
    String fixed = "ABCD";
    String res = "";
    int index = -1;
    index = a.indexOf(fixed);
    if (index == -1)
    res = "NO INDEX FOUND";// or if u wanna set it as null res = "";
    else
    res = b.substring(index4,index12);
    return res;
    ===
    hope these may solve your problem
    Thanks
    Sandeep sharma
    If helpful reward points

  • How to check the field existence in a string at Header level?

    Hello,
    I have a bunch of fields on my_form, just for example here in this posting I am using US state names ....., say for example,
    I have 3 fields, their names are as below
    1) NY,
    2) CA, 
    3) TX
    I placed a hidden a text field, its name is GFL (i mean, Grey Fields List), am using this GFL for my programming purpose
    From the back end (in our case, its an ERP -SAP) am populating/filling this GFL field, say for example.... its data looks like, CA TX (i mean, am concatenating the state names with a seperation of a space)
    ( FYI.....Already i have some JS piece in my_form INITIALIZATION and docReady events for some other purposes)
    Now, my requirement is as below,
    1) LOOP all the FIELD objects (here they are as State names) of my_form , then check whether their name (NY) existing in GFL's data..........if exisitng (in our case, its not existing) pls. greyed out with readOnly.......... if not existing
    (in our case, its not existing)   then skip the coloring and readOnly, go to next loop / iteration / state / Field
    Actually, i can achieve my requirement by putting JS in each field objet's INITIALIZATION event itslef as below, (but, i have around 200 feilds in my_form, hence i would like to put at HEADER level by generically looping all the field objects in my_form in one piece of code),
    var myStateName = /NY/;
    var returnValue = GFL.search(myStateName);
    if(returnValue != -1){; // This state/field/object is found in the Grey Fields List, hence greyed out with readOnly
    this.ui.oneOfChild.border.fill.color.value = "192,192,192";
    this.access = "readOnly";
    For some other requirement one of expert has provided the below JS in these forums, as below
    function findNodes(vNode) {
        if (vNode.className === "field") {
                       if (vNode.isPropertySpecified("name") === true) {
                                      if (vNode.getAttribute("name").search(/_U$/g) !== -1) {
                                          // Script to execute, when a match was found
        for (var i = 0; i < vNode.nodes.length; i += 1) {
            findNodes(vNode.nodes.item(i));
    findNodes(xfa.form);
    Actually, I tried to change the above JS as per my requirement, but its not working, pls. provide me correct JS as per my requirement
    Thank you

    Try this:
    function findNodes(vNode){
         if (vNode.className === "field"){
              if (vNode.isPropertySpecified("name")===true){
                   var myStateName=new RegExp(vNode.name);
                   var returnValue = GFL.search(myStateName);
                   if (returnValue!=-1){
                        this.ui.oneOfChild.border.fill.color.value="192,192,192";
                        this.access="readOnly";
                   else{  
                        this.ui.oneOfChild.border.fill.color.value="255,255,255";//whatever colour is open access
                        this.access="open";
         for (var a=0;a<vNode.nodes.length;a++){
              findNodes(vNode.nodes.item(a));
    findNodes(xfa.form);
    Kyle

  • Profit center field is null /blank Not picking from responsible cost center

    Hi
    1) Does anyone know if it is possible to change the profit center on a PM order after transactions have occurred? I get an error that says:
    You want to change the profit center for the maintenance order.
    System Response:
    The system does not let you change the profit center, because postings to the order have already taken place.
    2) Even though profit center is maintained for the cost center of the main work center. Responsible cost center and Profit center fields are not being proposed by the system when the work order is being created using T-code IW31.
    Because of profit center field is null the system automatically picks dummy profit center"9999". This is not correct.
    Correct Profit center should comes from the cost center.
    Please help me to resolve this issue.
    Thanks in Advance
    Regards
    Vishvesh

    Hi  Maheswaran
    I am creating a Maintenance order ,
    In operation we  have only one operation having control  key as PM03 for external services ,
    1)for external services PR is created through maintenance order
    2) PR is converted PO and service sheet is created
    So now is it possible to enter  the profit center as the user has initially not enter the profit center .
    What are the steps I need to follow to reverse the cost as in work order if I go to costing tab it is showing plan cost and actual cost
    Thanks in advance
    Regards
    Vishvesh

  • How can I check the field char can be translate into num type?

    Hi
    when I import Excel file into sap . I create one table to save the column and there are one column who's tpye is num . as we all know ,all the fields from excel are char type, the sap system will
    automatic translate char to num . but if the field can not translate char to num. then the program
    will be crush down
    such as : qty type char : 500 in excel then in tab qty type num :500 ok
    qty type char : 50A in excel then crash
    Is there any function that can deal with this matter?

    You may [CATCH|http://help.sap.com/abapdocu/en/ABAPCATCH_SYSTEM-EXCEPT_SHORTREF.htm] the error.
    CATCH SYSTEM-EXCEPTIONS convt_no_number = 1
                            conversion_errors = 2.
      MOVE char TO num.
    ENDCATCH.
    IF sy-subrc EQ 0.
      " converted
    ELSEIF sy-subrc EQ 1.
      " not numeric
    ELSEIF sy-subrc EQ 2.
      " not converted, other error
    ENDIF.
    Regards

  • Firefox v3.6.8 will NOT remember passwords. I've doubled check the settings but it will not remember the passwords

    New HP laptop, O/S XP-Pro, my previous computer with XP-Pro had no problem remembering passwords but this v of Firefox will not remember the PW's

    Thanks Cor-el. It now works on some sites, but there are still some where it doesn't work. The problem appears to be with sites that have more than just the username and password to fill in. Firefox only saves the username and password but not the other fields. It then refuses to fill in any of the fields on the site.
    For instance, my bank has four fields on the sign-in page - username, security code, password, and an odd one with a number between 1 and 4 in it. Firefox only saves the username and password and so can't fill in the other fields. Actually it refuses to fill in any of the fields. It seems to not recognise the page at all.
    The only way I can see around the problem at the moment is to save any that Firefox will save and use RoboForm to save the others. It means having two programs to do one job. It's messy but at least it works and I can save all my usernames and passwords and have them fill in properly.
    I don't know why it is that RoboForm will save the data but Firefox won't. It appears to be something to do with Firefox only saving two fields whereas RoboForm will save any number as required.

  • How can I prevent my previous login strings from showing when I starting typing. I'd rather the field stay blank and not start to fill in, based on previous entries.

    I don't know what setting to change so that when I start typing my login (to an email account, etc), the previous entries do not show up. I want the field to start out and stay blank, and have me type the whoe string
    == This happened ==
    Every time Firefox opened
    == has been, all along

    Clear the Search and Form History, under Tools > Clear Recent History.
    And, then turn off the Search and Form History so it won't save it anymore, in Tools > Options >> Privacy - select ''Use custom settings for history'', then un-select Search and Form History

  • I have an Epson NX420 printer/scanner, and I keep getting a message on the scanner, saying that there is a communication error, check the connection.  I am not having any luck scanning my pictures into the computer.

    I have an Epson Nx 420/printer/scanner, and I keep getting a message that says there is a communication error.  Check the connection [W-61}.  I have the snow leopard operating system Mac OS X 10.6.8  I want to scan my pictures into iphoto.  Can someone please tell me what I am doing wrong. Thankyou.

    Make sure you have updated all of your scanner drivers.  Check Software update and check with Epson tech support.
    Not sure if the Gutenprint and Gimp-Print for Mac OS X (10.2 and later) drivers deal with scanners.  Read the info on their website.
    Check Apple's Knowledge Base for Snow Leopard & Lion Printer solutions and suggestions for scanner troubleshooting.  Especially if you have an all in one.

  • Plz help me for checking the Header record exists or not

    Hi
    How we check the whether the Header record exists or not.. if it is not exists i have raise an exception.. i wanna do this using UDF
    Plz help me  its urgent..
    venkat

    Maybe you should read all the responses in your earleir threads and read the rules of engagement also,
    /thread/117188 [original link is broken]
    Regards
    Bhavesh

  • Want to check the fields content

    Hello Experts,
       I  am having a requirement where in particular code has to get executed only if the value of the field is a number.
            LOOP AT lt_line.
              TRANSLATE lt_line-tdline USING ',.'.
              MOVE lt_line-tdline TO l_aux_tare.
              ADD l_aux_tare TO lv_sum_tare.
            ENDLOOP.
    Here the code inside the loop has to get executed only if the value of the field lt_line-tdline is a number.
    Thanks & Regards,
    Uday....

    if lt_line-tdline CO '0123456789'.
    then process your code here.
    endif.

Maybe you are looking for

  • Painfully long start ups on iMac G3

    I put Jaguar on my daughters G3 slot load 350mhz iMac. I also put a 80 gig drive in and uped the memory to 764 megs. It does start in Jaguar but it is painfully slow. When the screen comes up it makes a noise like 3 soft buzzes, like the drive is try

  • I cannot install updates on my macbook and itunes no longer works.

    I have a macbook that is 3-4 years old. Recently it stopped booting up at all, however was able to restore using original discs. However, my itunes doesn't work and I cannot install any updates at all. I can download the updates from apple, however,

  • How do I get an app on my mac laptop that is on iphone

    don't know how to get apps on my Desktop of my mac

  • BTE - How Implement (OUTBOUND_CALL_00003050_E)

    Hi. I need implement the BTE (SAMPLE_INTERFACE_00003050) in event "00003050" . please, how do they do it Thank. Carlos Orden

  • Call_controller & goto_page

    I guess these are basically the two ways to ´navigate´ around my application.. 1)we can use call_controller() to call a subcontroller and show it inside the current view. or we would show only the subcontroller view if the parent controller doesn´t h