Using a macro to hide an account line when refreshing a report

let say i have the account "Expense" in cell A1 with values of 10 and 15 in cells B1 and C1. have any of you guys used a macro to do this? is the code fairly simple?
basically i dont want to see the "Expense" line if cells B1 and C1 have no value or are blank.
Thanks

Dear sapbpc70,
I have a simple idea for your case, I have three options for your case, let you choose which one:
1. You can use the suppress option in Expand Range 
2. You can add the new column behind column A and B. After that, you put your excel formula (IF Statement). The column A you should to hide so the user never see it.
3. If you wanna use the VBA macro. Please you put your clean data code in the trigger "Function AFTER_EXPAND(Argument As String)"
Thanks,
Wandi Sutandi

Similar Messages

  • How to hide the extra line when use the AI pen tool

    When I use AI CC  pen tool to draw a line, when i click the 1st anchor point,  " - " shows next to the Poniter  ( I did not drag ) ,I tried to move, but  an extra line coming out before I click another point. So I could not draw lines or curves!  That extra line just follow the Pointer  direction.  I am using Window 32 bit,  will it affect this?  please help.

    suetsuetwong,
    Apologizing for my being so slow in the uptake, I believe I have finally grasped the meaning.
    As I now (mis)understand it, you are seeing the (maybe overly) helpful Smart Guides in action.
    You may ignore the line or untick Smart Guides in the View dropdown, or change their settings as desired.
    The Smart Guides are trying to help you with snapping to directions, paths, Anchor Points, whatever, and also telling you where you are.

  • Is there a way to hide the account ranges when creating a web-adi for budgets?

    Hi,
    I'm trying to create budgets for an end-user. The user doesn't want to see all account ranges defined for that budget organization and would like to populate them on his own. I can hide the account ranges in the document creation page but not in the web-adi excel file. Is there a way to do hide the account combinations from being displayed in the excel file?

    you'd have to disable javascript - but this won't be a very practical solution since many sites are broken without it. you can use an extension like [https://addons.mozilla.org/de/firefox/addon/noscript/ noscript] & do a whitelist approach - disable js by default and only allow it on sites that you trust/need.
    here's some more stuff that websites can find out about you: [http://browserspy.dk]

  • How to hide Database Logon option when scheduling Crystal Report in BOE?

    Hi All,
    For security reason, we are try to hide the Database Logon option in Crystal Report Schedule page in InfoView.
    There is option in CMC which we can configure the default Database logon option so that users do not have to enter the logon everytime they view or schedule the report.  However, we are looking to hide this option completely.
    Does anyone know if there is a security setting which can hide the option from specific users?
    Thanks,
    Bobby

    Hi Bobby,
    As Jorge informed that there is no method available within CMC to hide database logon option when scheduling or viewing a Crystal Report in the Info view. This is very much true.
    But as you also mentioned that you don't want your users to enter the database logon credentials evertime they view or schedule a crystal report, there is one setting in CMC which we can do to avoid prompt for database logon credentials.
    CMC - Home - Go to that specific crystal report - Click Process tab - Click the sub-tab 'Database' and at the bottom of the page there is an option "Use same database logon as when report is run". Check this option after providing the database credentials and click UPDATE.
    Now whenever users try to view or schedule this specifc crystal report they won't be prompted for the database logon credentials.
    Regards,
    Venkat

  • GL account balance when running background report

    Hi Friends,
    I run a report in background to fetch GL acct balance (using FAGLL03) and choose particular "doc type" using dynamic selections
    the doc type does not reflect in the report that is getting generated. also few other columns which i get to see in a foreground run are missing.
    nor am i able to choose layout.
    bascially i need to see the reports in same fashion as it were during regular execution and choose various layouts based on needs.
    is there a way that i can even choose the layout of background report before executing it in background
    Many thanks
    Sanjay

    Hi,
    In the selection screen of FAGLL03, give the "layout" in the bottom and then execute in background.
    Then the spool with get the output in that layout format.
    Regards,
    SDNer

  • Someone accesed my account and used $30 credit in my itunes account.  how do i report to customer service?

    help

    Go here:
    http://www.apple.com/emea/support/itunes/contact.html
    to report the issue to the iTunes Store.
    Regards.

  • Everytime I use the firefox browser it will freeze up when refreshing a page or changing to another page saying program not responding. This is getting really annoying, is there anyway to fix this problem?

    Everytime I check my email and switch websites the program will become unresponsive and freeze, then it will say "Not Responding". After waiting a while it will work again but with it freezing up for every time a page changes or refreshes it's a waste of time for me to use this browser.

    The following support articles should help:
    * https://support.mozilla.com/kb/Could+not+initialize+the+browser+security+component
    * https://support.mozilla.com/kb/AUS+Update+XML+File+Malformed+200

  • Error while refreshing a report using local csv file

    Hi,
    I'm using BI 4.1 SP02.
    While using Rich client, I've created a report with some merged queries, while one of the queries is a local CSV file - saved on AD in some server, and not on the repository inside BO.
    While trying to refresh the report with the Rich client, it all went great.
    Now, while using BI Launchpad java based app, I can't refresh the report - I get the following error:
    "An Internal error occurred while calling 'processDPCommandsEx' API. (Error: ERR_WIS_30270) (WIS 30270)"
    Should I be able to refresh a report without the Rich if it contains a local file (which is possible to EDIT only with rich) ?
    If so, then did someone ran into this error?
    Thank you,
    Or.

    First of all, thanks for both of the replies.
    Second,
    my problem is unlikely have to do something with permissions from one reasons -
    when the report is using XLS\XLSX on same folder(with same name prefix) - the report is running without any problem.
    Only problem is while refreshing without Rich while the source is network CSV file.
    Any suggestions?
    Thanks.

  • Hide/Show columns only when exporting to .CSV

    Hi, how can i hide a particular column when exporting the report to excel

    Hi,
    You can set column conditionally by request.
    E.g. columns that you do not like export set condition PL/SQL function body returning a boolean
    RETURN NVL(:REQUEST,'EMPTY') NOT IN('CSV','XLS','PDF','XML','RTF');I have sample here
    http://apex.oracle.com/pls/otn/f?p=40323:63
    EMPNO column is not exported from report
    Br,Jari

  • Report GL Account Line Item with vendor name and VAT registration number

    Hi,
    Is there any standard SAP report/inquiry for GL Account Line Item like FBL3N, with information vendor name and VAT Registration Number (field STCEG) without using ABAP.
    Thanks.

    Hi,
    We can get purchase register through T.Code: 'J1I2' by specifying condition types and tax codes.
    We can't get 100% report from this T.Code.
    Check it once.
    Regards,
    Padmaja N.

  • G/L ACCOUNT LINE ITEM ERROR

    hello experts,
    i am working on  FI DATASOURCE trying to extract the data for the 1st time since we went live
    the datasource is G/L Accounts: Line Items  0FI_GL_40
    i have executed the infopack and got more than 2.5 crore records in PSA
    now when i am executing the DTP to load the data to DSO
    its giving short dump within 30 mins of execution showing below details
    Runtime Errors         UNCAUGHT_EXCEPTION
    Except.                CX_SY_NO_HANDLER
    Date and Time          05.03.2011 13:31:40
    Short text
         An exception occurred that was not caught.
    What happened?
         The exception 'CX_SY_NO_HANDLER' was raised, but it was not caught a
          along
         the call hierarchy.
         Since exceptions represent error situations and this error was not
         adequately responded to, the running ABAP program
          'CL_RSBK_CMD_X=================CP' has to be
         terminated.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    rror analysis
       An exception occurred which is explained in detail below.
       The exception, which is assigned to class 'CX_SY_NO_HANDLER', was not caught
        and
       therefore caused a runtime error.
       The reason for the exception is:
       An exception with the type CX_SY_OPEN_SQL_DB occurred, but was neither handle
       locally, nor declared in a RAISING clause
       The occurrence of the exception is closely related to the occurrence of
       a previous exception "CX_SY_OPEN_SQL_DB", which was raised in the program
        "CL_RSODSO_SEMANTIC_PACKETIZER=CP",
       specifically in line 79 of the (include) program
        "CL_RSODSO_SEMANTIC_PACKETIZER=CM002".
       The cause of the exception was:
       The database returned a value containing an error
       how to correct the error
       If the error occures in a non-modified SAP program, you may be able to
       find an interim solution in an SAP Note.
       If you have access to SAP Notes, carry out a search with the following
       keywords:
       "UNCAUGHT_EXCEPTION" "CX_SY_NO_HANDLER"
    "CL_RSBK_CMD_X=================CP" or "CL_RSBK_CMD_X=================CM00S"
    "IF_RSBK_CMD_X~GET_DATAPACKAGE_GENERAL"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
       To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
       Display the system log by calling transaction SM21.
       Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
       In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    please suggest what is the error and how to Rectify the same as it is needed on priority
    thanks in advance
    Edited by: Tarakz on Mar 5, 2011 12:11 PM

    hello ,
    i have got the data correctly but the request is still showing Red although when i monitor nothing is red inside but still request showing red
    and i have semantic keys and in filter option i am unable to take any selection
    how to take selection
    plzzz explain
    thankssss

  • Display GL Account Short Text in FBL3N report line

    Dear all,
    I have one issue here. I would like to display the GL Account Short Text while executing report FBL3N.By default system will display each GL account and it's short text at the header before the list of all entries for the specific GL account. But user would like to have it at every line item (in the table line) in the report. This is because they need it during excel extraction.
    May i know how do i go about this?
    Many thanks.

    Hello,
    Please check the following.
    You cannot assign vendor or customer number to sales/purchase GL account with standard settings.
    You must do some development for it.
    You can add additional field to FBL*N reports with using BTE exit.
    First of all, if you don't use BTE before, you must create a product on FIBF.
    Call FIBF transaction -> Settings -> Products -> ...of a customer
    Create a new line,
    Product: ZFI
    Text: BTE Products for FI Exit
    Product active: tick checks from activation.
    Then you must call SE11 for structure RFPOS.
    You must use append structure function for this structure and you can define ZFI_RFPOS append structure
    Define 4 fields.
    Component: KUNNR - Component type: KUNNR
    Component: NAMED - Component type: NAME1
    Component: LIFNR - Component type: LINFR
    Component: NAMEK - Component type: NAME1
    Then save and active your RFPOS structure.
    After that, you must do same step for structure RFPOSX.
    Then go to SE37 and copy from SAMPLE_INTERFACE_00001650 to ZFI_INTERFACE_00001650 FM.
    After copy action, you must uncomment this line on ZFI_INTERFACE_00001650 FM's source code. It's very important;
    E_POSTAB = I_POSTAB.
    Then you should add some ABAP code for getting customer & vendor details.
    I give you some examples, you can use it. (Next message on this thread, please check)
    Then save and active FM.
    Call FIBF transaction again.
    FIBF -> Settings -> Process Modules -> ...of a customer
    Define a new line.
    Process: 00001650
    Function Module: ZFI_INTERFACE_00001650
    Product: ZFI
    and this customizing.
    Then you go to SE38 transaction.
    start report RFPOSXEXTEND. After starting, a pop-up appears, you must click YES.
    After those operations, you can see customer/vendor code and their names on FBL3N.
    ABAP source example,
    TABLES : bseg, kna1, lfa1.
    IF sy-tcode = 'FBL3N'.
      CLEAR: bseg.
      SELECT SINGLE *
      FROM bseg
      WHERE bukrs = i_postab-bukrs
           AND belnr = i_postab-belnr
           AND gjahr = i_postab-gjahr
           AND koart = 'K'.
      IF sy-subrc EQ 0.
        e_postab-lifnr = bseg-lifnr.
        CLEAR: lfa1.
        SELECT SINGLE *
        FROM lfa1
        WHERE lifnr = bseg-lifnr.
        IF sy-subrc EQ 0.
          e_postab-namek = lfa1-name1.
        ENDIF.
      ENDIF.
      CLEAR : bseg.
      SELECT SINGLE *
      FROM bseg
      WHERE bukrs = i_postab-bukrs
           AND belnr = i_postab-belnr
           AND gjahr = i_postab-gjahr
           AND koart = 'D'.
      IF sy-subrc EQ 0.
        e_postab-kunnr = bseg-kunnr.
        CLEAR: kna1.
        SELECT SINGLE *
        FROM kna1
        WHERE kunnr = bseg-kunnr.
        IF sy-subrc EQ 0.
          e_postab-named = kna1-name1.
        ENDIF.
      ENDIF.
    ENDIF.
    Rgds
    Murali. N

  • Acrobat X: Option to hide the dotted line in between pages when viewing in 2 page view?

    Acrobat X: Anyone know if there is an option to hide the dotted line in between pages when viewing in 2 page view?  So that the 2 pages can look seemlessly joined, with no gap and no dotted line?  This would be useful when viewing PDF magazines or books in which 2 pages join for a larger picture.

    Create a Page 0 item which will be available on all pages.OMG yes I can use items in page 0 ! I should have think of that :/ Shame on me.
    Application item values can be set from JavaScript using AJAX and an On-Demand Process.Yes I already tried ajax with ODP, my getappitem() function works but my setappitem() function won't assign value to application item, but it's not a problem now, I removed the ajax part and I will use page items :D
    Thank you fac586.
    Yann.

  • G/L Accounts: Line Items (Direct)

    Hi experts,
    in BI, we are using VIRTUAL cube G/L Accounts: Line Items, which is based on DTP, using data source 0FI_GL_40. We have enhanced extractor, using user exit, to populate some fields, which have been empty (vendor and customer number on G/L account). Now, extractor is working properly and the fields are populated, also seen in BI report, when using - REPLICATED data (from DSO). But when we use VIRTUAL provider (cube), the fields are empty.
    It seems to me like VIRTUAL info providers BASED on DTP "don't go through" user exit. I would like to ask whether this can be handled somehow, so that are fields populated through user exit, will be seen also usin virtual provider, not replicated data.
    Thanks in advance.
    Peter

    Hello Dennis,
    thanks for the tip, your assumption is right, it's regarding 0FIGL_V40 in BI 7.0. Could you please be more detailed, which BW 3.x InfoSource do you mean? Or what exactly has to be done?
    The "objects" under this InfoCube are - transformation, datasource (0FI_GL_40) and InfoPackage, that's it. When I check InfoCube Type/Namespace - it is based on Data Transfer Process for DirectAccess, but the checkbox With InfoSource 3.x is not checked..
    Thank you in advance for your answer.
    Regards,
    Peter

  • How to know printout of G/L Account Line item

    I'm using FBL3N to query the G/L account line item. And now, i want to print out the report of last page. But i don't know which is the last page. How can i print the page. Thanks

    Print in background. The spool request will indicate the number of  pages. With changed parameters you can print just the last page.

Maybe you are looking for