How to suppress the name if it is blank in sap script

hi
I have one doubt
iam print NAME2 in sap script.
if NAME2 is balnk
blank line is coming
but my requiremt is if it is balnk, blank line sould not come
i tried with NAME2(I) but it is not working
please give the solutions at the earliest
very urgent
thanks
regards
venu

Hi Venu,
Try with this code.
<b>&NAME2(F*)</b>
You can replace leading spaces in a value with a fill character. Use the F option with the character immediately following the F in the specification as the fill character.
In your case if it is empty then it will comes with *s.
Check this link for Fill characters
http://help.sap.com/saphelp_47x200/helpdata/en/d1/8032cc454211d189710000e8322d00/frameset.htm
Thanks,
Vinay

Similar Messages

  • How to change the name and description of a wim using DISM

    With Imagex we could update the name and description of the wim with on easy command:
    imagex /info img_file [img_number or
    img_name] [new_name] [new_desc]
    e.g.
    imagex /info Win7Combined.WIM 1 "Win7(x86)" "Windows 7 x86"
    Since the ImageX tool is deprecated in Windows 8 and has been replaced with DISM, can someone explain how to update the name and description with one easy command using DISM like we could with Imagex?

    It looks like this person had the same issue. Have you seen this
    link
    It talks about exporting an Index into a new WIM. Which, in a way, would be renaming it. It's really recreating it and you have to give it a name. But it seems to work.
    Dustin Estes - MCP | www.dustinestes.com

  • How to find the Names of Most costly Views or Most Time consuming views

    Hi All,
    I had a database consisting of almost 200 views,as a part of Optimization process i want to find out the most costlier views.How to do that.Actually i want the names of the VIEWS,so that i can optimize that.Can any one help me out?
    I had one more doubt in our Database a view is created like view A( which is created by joining several tables).so do i need to add index on this view separately or does it take the index of the tables which i joined? And in our Database i  had created
    a VIEW which is derived from other views(the Joining objects are views not tables),so while i select recoreds from this views which is derived from other views it is taking a lot of time.Is tehre any problem with that?

    Please avoid such double post spread over several forums:
    http://social.msdn.microsoft.com/Forums/en-US/bae4042a-10b8-4d12-aa46-88a05ea37a76/how-to-find-the-names-of-most-costly-views-or-most-time-consuming-views?forum=sqldataaccess
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How to suppress the Acknowledgement  Error in IDOC to File scenario?

    Hi -
    I got the status in SXMB_MONI as 'Processed Successfully' for the IDOC to File scenario but the Acknoledgement status throws an error saying 'Acknowledgement not possible'.
    I read one of the documents in the forums on how to suppress the acknowledgement using a table on R/3 side using IDXNOALE,
    i tried that option but i still get the 'Acknowledgement not possible' error.
    Is there any other way to suppress this error?
    Thanks,
    Tirumal

    Hi Tirumal,
    Receiver adapters that run on the Adapter Engine support system acknowledgments if they are requested by the sender. Acknowledgements are triggered when a message is successfully processed by the adapter or if an error occurs while it is being processed. Receiver adapters do not support application acknowledgments. The RNIF and CIDX adapters are exceptions to this rule, since they also support scenario-dependent application acknowledgments. Sender adapters of the Adapter Engine do not request any acknowledgments.
    This means, JDBC adapter does only send system acks, however IDoc adapter is requesting application acks. Therefore as mentioned by the previous poster, you have to disable acks for this scenario using report IDX_NOALE.
    Also go through these documents for any further help:
    http://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how to handle acknowledgments for idoc.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
    Regards,
    abhy

  • How to refractor the name of a View Object ?

    I dont see how to change the name of view. It was refractor in the prior version.

    The same operation is used in 11g to rename a VO and works as expected in the most current internal builds.
    --Ric                                                                                                                                                                                                                                       

  • How to change the "name of column" property of an text item in runtime?

    How to change the "name of column" property of an text item in runtime?
    I look the properties of items in help and found nothing about this!
    It's possible?

    Hi,
    an other solution is change the block property QUERY_DATA_SOURCE_TYPE from "Table" to "Sub-query" , than change at run time the property QUERY_DATA_SOURCE_NAME.
    First create block and add items
    The QUERY_DATA_SOURCE_NAME will be for ex. "Select 'A' as col1, 'B' AS col2, 'C' as col3 from dual"
    Set into items the column name property to col1 , col2 ...
    At run time change the query to "Select 'Z' as col1, 'X' as col2 , 'Y' as col3 from dual"
    in this way you can change the source of column value.
    Caution because if you change value type from varchar2 to date you must cast date into varchar2.
    May be that this way is valid only for view data not for insert-update, i don't remember.
    bye
    Message was edited by:
    Killernero

  • How to display the name of my metric in a PivotTable.

    Hi I am working with OBIEE Plus
    How to display the name of my metric in a PivotTable.
    Why when I add a field to the sector of the measures in a PivotTable field name disappears.
    Help please
    Thanks beforehand

    Where are your 'measure labels' ? These show what the metric is.

  • How to get the name of the current tab.

    Hi Experts,
    I have two tabs in my tab strip and a button common to both the tabs.Can you please let me know how to get the name of the current tab in the event method of the push button.
    Thanks in advance.
    Regards,
    Arun

    1.Declare an Action for OnSelect event of Tabstrip. This event is triggered whenever any change in tab occurs.
    2. Declare an Import Parameter in this method
       Tab type String.
    3. This parameter has value of the selected TAB.
    4. You can set this value in some Attribute in Attribute Tab in this event only (OnSelect):
         wd_this->Att  = Tab.
    Att is the attribute created by you in Attributes Tab of View. ( of type String)
    5. Now the selected Tab ID is stored in this Attribute Att.
    6. In the Onaction of Button , retrieve the selected tab value from this attribute using :
               Data : lv type string.
                lv =  wd_this->Att
    Now lv has your selected TAB ID.
    I hope it would help you.
    Edited by: Saurav Mago on Oct 13, 2009 2:22 PM

  • How to list the name of recipient in Sent mail folder

    In the Gmail folder in Mail, is a Sent Mail folder. It lists FROM, SUBJECT, and DATE RECEIVED. My wife is the only account using the Mail appl. She would like to know how to have the name of the mail recipient listed, rather than her name as the sender since she already knows that info.
    Thanks.
    Jerry

    Jerry,
    That should happen automatically in Mail.
    Click the Gmail Sent folder. Where the names of the columns is displayed, there should be a dot next to the first column name. Right-click or control-click to get the menu. Click to check To. If you don't want to see From bring up the menu again and click it to uncheck.
    Done.
    -Wayne
    Message was edited by: ParentalUnit

  • How to get the name of a Data Element of a generic Table!

    Hi guys!
    In my function i have the following import paramenter
    i_outtab type standard table
    now i import a table and i want to get the dataelement of the fields.
    is there a way to do this??

    Hello Thomas
    Perhaps the following sample report may be useful for you.
    *& Report  ZUS_SDN_RTTI_STRUCT_COMPONENTS
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1145711"></a>
    *& Thread: How to get the name of a Data Element of a generic Table!
    REPORT  zus_sdn_rtti_struct_components.
    TYPE-POOLS: abap.
    TYPES: BEGIN OF ty_s_outtab.
    TYPES: bukrs    TYPE bukrs.
    TYPES: kunnr    TYPE kunnr.
    TYPES: END OF ty_s_outtab.
    DATA: gdo_data    TYPE REF TO data.
    DATA: gs_outtab   TYPE ty_s_outtab.
    DATA: go_typedescr  TYPE REF TO cl_abap_typedescr,
          go_structdescr  TYPE REF TO cl_abap_structdescr,
          go_datadescr    type ref to cl_abap_datadescr.
    DATA: gs_comp        TYPE abap_compdescr,
          gd_dtel        type string,
          gt_dfies        type ddfields.
    FIELD-SYMBOLS:
      <gs_struct> TYPE ANY.
    START-OF-SELECTION.
      BREAK-POINT.
      GET REFERENCE OF gs_outtab INTO gdo_data.
      ASSIGN gdo_data->* TO <gs_struct>.
      go_typedescr = cl_abap_typedescr=>describe_by_data( <gs_struct> ).
      go_structdescr ?= go_typedescr.
      BREAK-POINT.
      LOOP AT go_structdescr->components INTO gs_comp.
        go_datadescr = GO_STRUCTDESCR->GET_COMPONENT_TYPE( gs_comp-name ).
        gd_dtel = go_datadescr->get_relative_name( ).
        write: / syst-tabix, 'Data element =', gd_dtel.
      ENDLOOP.
    END-OF-SELECTION.
    Regards
      Uwe

  • Every time I download a file to my macbook pro, it saves it to downloads but changes the name and inserts % sign.  Please advise how to correct the name that it is saved under.

    Every time I download a file to my macbook pro, it saves it to downloads but changes the name and inserts % sign.  Please advise how to correct the name that it is saved under.

    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID.
    Apple ID FAQs
    http://support.apple.com/kb/HE37

  • How to change the name of a BADI Implementation?

    Hello experts,
    Does anyone knows how to change the name of the BADI Implementation? I just create a new Implementation but we need to rename it.
    Thanks in advance,
    AK

    Hi,
    Please go to transaction SE19, enter your implementation name.
    Then go to menu: Implementation -> Rename -> ...
    Regards,
    Ferry Lianto

  • Will someone please tell me how to change the name of a folder I created in Pages and saved to the cloud?

    Will someone please tell me how to change the name of a folder I created in "Pages" and saved to the "Cloud"? Thanks.

    Go to the open dialog in Pages and select iCloud.
    Click on the folder that you created on iCloud to open the folder.
    On the lower half of the window (the open folder) click on the name of the folder.
    Once you click and select the folder's name it should be editable.

  • How to suppress the back-ground execution of a query in design mode

    hi guys,
    there is a bahaviour of the system, that I'd like to change. So, when we
    1. start EXCEL
    2. go to the designer mode to create a report
    3. first drop an InfoProvider (e query) into a cell,
    4. second - pull e.g a filter element into another cell, still being in the design mode.
    Just in this moment, the query itself has been already started in the back groud, aiming to fill the cache, I guess.
    Does anyone know how to suppress the back-ground execution? I'd like to control, when to start the reports execution.
    Thanks in advance.
    Neven

    Hello,
    There is no way to do that if you are creating thru BEx Analyzer.
    Instead use the BEx Analyzer, try to create using directly BEx Query Designer.
    In that way, the query will not be executed, until you want to...
    Thank you
    Edward John

  • How to have the name of code PL/SQL

    I make a generique tools for logging in PL/SQL : http://log4plsql.sourceforge.net/
    1. how to have the name of the code PL/SQL which is run ?
    2. how have a pl/sql call stack dynamically ?
    proc1 -> proc2 -> package1.proc3

    For 2, check if DBMS_UTILITY.FORMAT_CALL_STACK will work for you:
    http://tahiti.oracle.com/pls/db901/db901.tabbed?section=32613
    For 1, is there anything in DBMS_DEBUG that would help?
    http://otn.oracle.com/docs/products/oracle9i/doc_library/901_doc/appdev.901/a89852/dbms_deb.htm#1015019

Maybe you are looking for

  • Java core dump on AIX5.2 / J2RE 1.4.1

    I'm running a program on AIX 5.2.0.0 which fails after two minuts whith a Java core file.... This is the content of this file ; does anyone know how to read this ?? NULL ------------------------------------------------------------------------ 0SECTIO

  • Struts file upload without interMedia under ADF

    Can this be done ? I have an existing table with the following columns: Content BLOB MimeType VARCHAR2 FileName VARCHAR2 and more

  • Unable to view router console

    i am unable to log on to my router to change or view setting , but this is not all the time i am all so running network magic software could this be part of the problem.

  • Essbase Error(1200400): scalar double argument expected in function [@EQ]

    Hi, I am trying to launch a business rule that was validated successfully in EAS but when I launched it, it resulted in following error: Detail:Cannot calculate. Essbase Error(1200400): Error executing formula for [390202] (line 37): scalar double ar

  • Where to download  "sun.awt.image.codec.JPEGImageDecoderImpl"/Windows

    Hello, I bought some Java API. These API uses com/sun/image/codec/jpeg/JPEGCodec. I found these clases in src.zip in java install directory. Then, this code has a source line "import sun.awt.image.codec.JPEGImageDecoderImpl;" Where can I find/downlad