How to delete target field in graphical mapping

Hi all,
        i have a field called failedsubject in my target my requirement is if their is no value in this field then it has to be deleted means it should not be shown iam using graphical mapping. please help me
thanks in advance

Hi,
           Please try with the below logic.
public String failedSubject(String sub1, String sub2, String sub3, Container container) throws StreamTransformationException{
if (Integer.parseInt(sub1) >= 40)          //assuming 40 as passmark
          if (Integer.parseInt(sub2) >= 40)
     if (Integer.parseInt(sub3) >= 40)
           return false;
                      else
                            return true;
          else
                  return true;
else
       return true;
failedSubject---->ifWithoutElse-->failedSubject
pass all subjects as input to the UDF.
Regards
Priyanka
Edited by: priyanka.anagani on Sep 16, 2011 3:26 PM

Similar Messages

  • How to delete a field in Infotype.

    Hi All,
    Can anyone suggest me how to delete a field in infotype.
    Thanks,
    Chakradhar.

    Hi Chakradhar!
    Check these links for your taste:
    <a href="http://help.sap.com/erp2005_ehp_02/helpdata/en/bb/bdb6c8575911d189240000e8323d3a/frameset.htm">Delete infotype record - OM</a>
    <a href="http://help.sap.com/erp2005_ehp_02/helpdata/en/48/35c7414abf11d18a0f0000e816ae6e/frameset.htm">Delete infotype record - PA</a>
    Best regards,
    Zsolt

  • Send Multiple field values to Single Target field in Message Mapping

    Hi,
    My  Requirement is to Map Multiple fields to Single field in Target side.I have to send all the values concatenated and pass the same to target Field in Message Mapping.
    We can use Concat function,but more that 15 fields are there.If using concat,the mapping will be complex.
    Is there any way to simplify this requirement or we can use any UDF for this,kindly suggest.
    Regards,
    Madhu

    >>>We can use Concat function,but more that 15 fields are there.If using concat,the mapping will be complex.
    I don't think it's complex but  just that it occupies more mapping area
    Just write a simple UDF - a one line code and pass all your input variables.
    return var1+var2+var3+var4+...+var15;

  • Display queue for Target field in Message Mapping

    Hi Folks,
    If i check my Target Field (DT_Req) (Display queue) in Message Mapping, I am getting 2 values like ie [] that means ....in my test result in MM, i should get 2 times DT_Req field.
    Is it right?
    Plz give some idea how this display queue works on each field?
    Thanks
    Prabaharan
    Edited by: Prabaharan on Sep 10, 2008 12:22 AM
    Edited by: Prabaharan on Sep 10, 2008 12:24 AM

    Hi,
    In my scenario occurrence of that
    target field is    0...unbounded
    and in my display queue.. Initially it is
    suppress, [], suppress, suppress, suppress,suppress,suppress,suppress,suppress,suppress, [],suppress
    in my result i could get only one DT_req field.
    Plz throw some idea on this?
    thanks

  • How to access Target field type, length from DT definition

    I have defined the XSD Type (String, Number, Date..) and the length in the DT for the Target message
    How do I access this info. in the mapping - so I can fill trailing spaces on String data, and zero-fill on Numeric data on the outbound XML MT ?
    Thanks in advance!

    Hi Satish,
    Thanks for this info.
    Exactly - I am trying to avoid Field length maintenance on every field level mapping.
    Currently, I have a  HashMap defined  as follows..
    empFieldLengthsMap = new HashMap();
    // emp field lengths 
    empFieldLengthsMap.put("Record_Type","1");
    empFieldLengthsMap.put("Movement_Type","1");
    empFieldLengthsMap.put("Company_Code","3");
    and then a UDF that yields me the size as follows from the map
    String out = "";
    out =  (String) empFieldLengthsMap.get( targetField );
    if (out == null || out.equals("") ) {
        out = "0";
    return out;
    HOWEVER, I cannot get the target field to input into this UDF!   Any ideas?
    Mustafa
    Edited by: Mustafa Dadawalla on Jul 15, 2010 11:44 AM

  • Reading Target field Values in Mapping Runtime

    Hi all,
    I have a requirement ,
    source                target
    A                           X
    B                           Y=X+Z+W
    C                           Z=X+Y
    D                           W
    Kindly can some one help me,how this can be achived in mapping?

    Hi,
    are you sure about that ?
    B                           Y=X+Z+W
    C                           Z=X+Y..... so Z=X+X+Z+W    !!!!!    so 2X = -W... (in mathematic) 
    does "+" is "add" or "concatenate"?
    Else as X comes from A, W comes from D... in your mapping use the sources A and D, and do not try to use your targets... Or if you have have to the same value, reuse the rule ! and point it to two target fields
    regards
    Mickael

  • How to delete all favorites in here maps at once?

    How can i delete all favorites in here maps at once? On my Nokia lumnia 920 maps is not working due long synchronisation time.
    Arnold
    Solved!
    Go to Solution.

    Do not see any option to do that at once.. You need to delete them one-by-one ...
    What if you go to settings (in Maps on your device..) and set 'Synchronise favourites automatically' to OFF? 
    Other work around is to create a fresh account at here.com and use that as Nokia account on your phone..

  • How to delete a field's name in the form of 2014.1

    In the 2014 version, you can delete the field's email in html and online everything worked. In version 2014.1 so you can do. Necessary to create a form with the name and telephone. Help!

    I would like to know how to delete the email field in the Muse Web Form. I need to create a form which does not require an email field.

  • How to delete a field in pcui

    hi,
    i am new in pcui.
    can i one tell me how to delete ( label and input field ) a field in pcui.
    thnx in advance

    Hi Amit,
    You can delete or hide the fields u want in  PCUI application refer below steps:
    1) Tcode CRMC_PCUITOOLS in Analysis Tools enter u r application and Ziview and execute (make sure u r changing the zivew, which will not affect standard ivews)
    2) in Window u'll see the all technical details i.e.Structure, field group, Access class, Toolbar Group etc.
    3) Tcode CRMC_BLUEPRINT_C in Application Element u can Customize Toolbar, Tab Page Group, Field Group etc u r Zivew.
    Note : You can get the PCUI cookbook from the service market place which will help you in making changes specific to PCUI applications.
    Hope it'll help u.
    Thanks,
    Dipesh.
    Edited by: DD's on Nov 10, 2008 6:30 AM

  • How to delete a field

    Hi,
    I have a table t1 in the table t1 i have a field f1, how to delete the data of field f1.

    Dropping Columns
    Only with the release of Oracle 8i has it been possible to drop a column from a table. Prior to this it was neccessary to drop the entire table and rebuild it. Now you can mark a column as unused (logical delete) or delete it completely (physical delete).
    Logical Delete
    On large tables the process of physically removing a column can be very time and resource consuming. For this reason you may decide to logically delete it:
    ALTER TABLE table_name SET UNUSED (column_name);
    ALTER TABLE table_name SET UNUSED (column_name1, column_name2);
    Once this is done the columns will no longer be visible to the user. If at a later date you have time to physically delete the columns this can be done by:
    ALTER TABLE table_name DROP UNUSED COLUMNS;
    On large tables you can reduce the amount of undo logs accumulated by using the CHECKPOINT option which forces a checkpoint after the specified number of rows has been processed:
    ALTER TABLE table_name DROP UNUSED COLUMNS CHECKPOINT 250;
    The DBA_UNUSED_COL_TABS view can be used to view the number of unused columns per table.
    Physical Delete
    To physically drop a column you can use one of the following syntaxes, depending on whether you wish to drop a single or multiple columns:
    ALTER TABLE table_name DROP COLUMN column_name;
    ALTER TABLE table_name DROP (column_name1, column_name2);
    Dropping a column from a table will cause all unused columns in that table to be dropped at the same time.

  • How to delete invisible fields from screen painter SE51?

    Dear all,
    How to delete/remove invisible fields from screen painter SE51?
    Thanks.

    HI,
    just go to screen painter-->layout in change mode.
    the invisible fields will be looking faded
    click on that and press the DEL button.
    that will be deleted.
    <b><REMOVED BY MODERATOR></b>
    vivekanand
    Message was edited by:
            Alvaro Tejada Galindo

  • How to delete a field from search help which is delivered

    hi
    I got a requirement to delete a field from search help which is delivered long back
    Regards
    krishna

    Hi
    Whether it exists in DEV system or not?
    Take the name of that Search Help from PRD/Quality(if it is not there in DEV system) and modify/change it by removing that field from the search help in DEV system and create a Transport request and transport the same request to Quality/PRD systems
    Now the New changes (in which the field was removed) will be over written on the old search help in the PRD system, since it is the same Name (search help)
    Regards
    Anji

  • How to delete Search History in Ovi Maps 3.06 (Nok...

    Disappointing to say the least.
    Data is stored in:
    C:\private\20001f63\searchhistory.s2d
    C:\private\20001f63\settings\recent.s2d
    Maybe there are other files involved like all.s2d but deleting those files emptied my map and drive mode search, enough.
    Aren't there bettery ways to do it? 

    @m80116
    Congratulations on tracking these files down as previously N8 either needed updating to v3.08Beta or firmware re-flashed to purge maps history!
    Happy to have helped forum with a Support Ratio = 42.5

  • How to delete predefined fields  like Provisioning Date in users- create

    Hi,
    Is there a provision to delete predefined fields like Provisioning Date in users->create form in admin console.
    If so, please tell me all the files i need to change.
    Thanks in advance

    Hi,
    You need to comment on following sections in FormMetaData.xml.
    <!-- User Provisioning Date -->
    <!--
              <AttributeReference editable="true" optional="true">-23</AttributeReference>
    -->
              <!-- User Provisioned Date -->
    <!--
              <AttributeReference editable="false" optional="true">-25</AttributeReference>
    -->
              <!-- User Deprovisioning Date -->
    <!--
              <AttributeReference editable="true" optional="true">-24</AttributeReference>
    -->
              <!-- User Deprovisioned Date -->
    <!--
              <AttributeReference editable="false" optional="true">-26</AttributeReference>
              -->
    Please let me know if you have any questions.
    Regards
    Nitesh

  • How to delete a field from a Dynamically created internal table

    Hi friends,
    I have got a requirement in which, I will be entering the table name and Excel file from seletion-screen.
    based on the Table I have entered in the selection-screen I need to create a dynamic internal table so that I can fill that Execel data into that internal table and later i using BDC i can I can fill the database table using SM30 transaction.
    here. my problem is that, When I am creating internal table dynamically, MANDT filed is also getting created in the internal table.
    please, help in deleteing the filed MANDT from the internal able.
    following is the code which creates the dynamic internal table.
    CREATE DATA dy_table TYPE TABLE OF (p_tabname).
    assign dy_table->* to <dyn_table>.
    please provide, if any sample code is available.
    Regards,
    Xavier.P

    Hi,
    You can use this logic,
    While creating the Dynamic filed catalog try to avoid MANDT field.
    Ex:
    *Dynamic creation of a structure
      CREATE DATA LP_STRUCT TYPE (V_TABLE).
      ASSIGN LP_STRUCT->* TO <FS>.
    *Fields Structure
      OF_SDESCR ?= CL_ABAP_TYPEDESCR=>DESCRIBE_BY_DATA( <FS> ).
    LOOP AT OF_SDESCR->COMPONENTS ASSIGNING <COMPONENTS>.
    *Field MANDT not displayed
        IF SY-TABIX = 1 AND <COMPONENTS>-NAME = 'MANDT'.
          CONTINUE. " Next loop
        ENDIF.
    *Build Fieldcatalog
        LS_LVC_CAT-FIELDNAME = <COMPONENTS>-NAME.
        LS_LVC_CAT-REF_TABLE = V_TABLE.
        APPEND LS_LVC_CAT TO LT_LVC_CAT.
        CLEAR LS_LVC_CAT.
      ENDLOOP.

Maybe you are looking for

  • How can I import my home movies (.dv) into iTunes?

    I'm getting frustrated with the lack of information about converting movies with all the recent upgrades. I have many short home movies in a variety of formats (.dv, .mov. Mp4, etc) - how in the world can I get them into iTunes (and ultimately on my

  • Replacement iphone - trying to restore from backup, but iOS v 6 running and won't update from recent backup

    Replacement iphone - trying to restore from backup, but iOS v 6 running and won't update from recent backup. How do I ensure I get all my photos etc onto new phone? Thanks

  • How to determine the encoding

    In my web application , we are capturing arabic name and storing it in oracle database // while saving this.arabicDesc=new String(paymentTransactionTypeDetailVO.getArabicDesc().getBytes("ISO8859_1"),"UTF8") ; // while retrieving from database payment

  • How do i change the look of finder

    i would like to make finder look like it did in snowleopard, ie, when i select sort by date modified it doesnt come up with all this last week, last month etc, i just want the whole window to be sorted by date, can anyone help?

  • Opening a file in server

    How to create a client-server program in which the client gives a file name and the server opens that file.