Constant Checking in Row Formula for Report Writer

Dear All,
Please advice what is the format to check a constant (string) in the row formula for Report Writer.
Let's say if I want to check the cost center group -->
If '&1KOSET' = 'ABC' then .... else......
So, what is the format for ABC? Because if i put 'ABC' it will be treated as cell. But if i do not put the ' ', then i get system error.
Thanks a million for your advice.
Best Regards,
CW

Hi John Lee,
The logic that you would want , can be implemented through a column set. That is, as per your logic written in the set, your column values differ.
First in your set, keep your account number in the first set line. ie. 5000000.
Then you enter the following formula in the second line of a set defined for a report column:
IF u2018001u2019 > 5000000 THEN u2018001u2019 ELSE 0
If the value in the first column (set line 001) is greater than 5000000, then this value displays in the second column; if the value in the first column is less than 1000, the value 0 displays in the second column.
Revert if you need any additional help.
Regards,
Subin John

Similar Messages

  • Profit center security for Report Writer reports

    We need to limit users access to profit center report writer reports.  We attempted to add values to security object K_PCA but this did not work.   I have heard there is a way to turn on objects for report writer checks but so far have been unable to figure out how this is done.

    Which release are you on and how have you defined the authorizations?
    If the st01 trace always returns 0 then chech the "reason code" (this is available since about 6 months).
    Manually you can check it in tcode auth_switch_objects if globally disabled for the client.
    Conversions to the new concept sometimes did this when they didn't want to use it.
    Retro-fitting is difficult because your hierarchies might be maintained in PROD but your roles in DEV.
    Tough call...

  • Adding formula in report writer

    Hi Experts,
    I am trying to build a formula in report writer
    In one the hierarchy report   I need I have 4 columns formula should be
       A-B-C =X but values should populate in the X column when the A column value is greater than the B or C, or B and C 
    If add the simple formula A-B-C= X it will show wrong values if B values or C values or B+C values is greater than the A
    Is there any possibilities creating a conditions in the table TKCKO
    Please help me this issue.
    Thanks and Regards,
    Naren

    Hi,
    In the formula make a condition "IF (A > B) OR (A > C) THEN A-B-C". (if I got your logic right)
    Regards,
    Eli

  • New set for Report Writer

    Hello,
    I am new to the Report Writer.  My understanding is that Report Writer makes use of pre-defined sets of financial objects.  My user wants to create new report group in Report Writer and add some new data which are currently in Z-table. Is this possible? Do we create a new set based on Z-table and then incorporate it in the new report?
    Please advise,
    Thanks
    Galina

    Hi Galina,
    No were SAP released document Z tables is support for report writer.
    moreever SAP recomonded to create reports by using report writer / painter for specific Tables only not for all standared tables.
    as i know not possible to use Z tables for report writer.
    still your business want A table data report, you can able to develop through ABAPer help.
    Refer: http://www.virtuosollc.com/PDF/Get_Reporter.pdf
    Regards,
    Viswa

  • Account to display in Chinese language for Report writer report

    Hi All,
    I am working on Report Write Report.
    I need to display the description of G/L Account in chinese language.
    That particular Accout's description in FS00 for Short text and Long text has already maintained in chinese Language.
    In my Report I am using the Layout ZCORP1.
    What I am trying to doing is
    1)  I am changing the Layout using GR12 . Here in tab Language-Dependent,
    I am trying to change Language Key to ZH (chinese) from EN ( English),
    but not able to do.
    2) In GR22, to change Library (which I have used for my Report), I am
    trying to change Original language to chinese, but not able to do.
    3) In GR32 to change the Report, I am trying to change the
    Maintenance Language to Chinese, but not able to do.
    Ok.. my main motive for all above is to see the output for G/L Account in chinese
    Is my approach is right or what shall I do.
    Please guide soon. It is urgent.
    Rishi

    HI,
    In the Third Button of Save Layout.Check the USer Specific settings of the Report Layout and save the Varaint.This will help.
    Bala.M

  • Is there a way to programmatically check the Row Selector for a row?

    Greetings,
    I have a report that has the Row Selector column. I am processing the rows that are checked by the user when they click a button, so I am already looping thru FOR ii IN 1 .. Apex_Application.g_f01.COUNT.
    I need some of the rows to always be processed in the loop, so I would like to:
    1. have certain rows checked automatically. Is that possible?
    2. using the same logic that automatically checks certain rows I would also like to insure they stay checked, or are process in the loop. (You know, I may automatically check certain rows, but the user may uncheck them.) So, even if the user doesn't check them, I would like to programmatically check them before the FOR ii IN 1 .. Apex_Application.g_f01.COUNT looping occurs.
    3. If it is possible to prevent the unchecking of a row that is automatically checked it would be awesome and would mean that requirement 2 is moot. If that's possible let me know. That would be sweet. :-)
    I hope that makes sense, and that you understand what I need to do. If not, let me know.
    Thanks in advance for your help, Tony

    Hi Shunt,
    That's a great help ! ! ! Thanks much ! ! ! :-)
    I did some additional research from what you told me, and I found out that the apex_item.checkbox is a page item and it is included in the SQL that builds a report. Your code got me on the right track. That's great. Also, it's great to know I can do what I need. My next question is 'How do I get there from here?' :-)
    I built my current report using the report builder, then used the trick to change it to a type of 'SQL Quey (updatable report)' just so I could click the setting to add the checkbox column, then I set the type back to 'SQL Query'. So, I don't have apex_item.checkbox in my SQL. I guess Apex (thru its magic) prepends it to the SQL somewhere along the way. What do I need to do now?
    Do I need to rebuild the report without using the above 'trick' and code the checkbox into my SQL myself? Or, can I just add it to the existing SQL? Or, with that cause 2 checkboxs to be on the report (mine and the one Apex generates)? That's one set of questions. :-)
    Also, whether the checkbox is checked (and disabled) is based on a value in the table the SQL is running over. Would it be possible to put a subselect, or something along those lines, in the main SQL (that has the checkbox item) that would programmatically check the checkbox?
    Sorry for my newbie questions, but I'm relatively new to Apex and PL/SQL, so there's still a lot I have to learn. All you need to do is point me in the general direction and I'll take it from there. I just want to know the right way to go about this before I start coding. :-)
    To give you and idea of what I'm doing now and want to do I have my simple SQL below:
    = = =
    select
    ecn_approval_master_id, mandatory, approval_type,
    htmldb_item.hidden(50,ecn_approval_master_id) idalias
    from
    ecn_approval_master
    where ecn_plant_master_id = :P0_PLANT
    order by mandatory DESC, approval_type
    = = =
    The 'mandatory' column contains 'Y' or 'N'. If it is 'Y' I want the checkbox to be checked and disabled. If it would help in the coding I could have the values of the mandatory column 'Y' and NULL. But, I'm not sure if it will help, because it looks like the checked rows are listed in parm 4. Then, when the htmldb_application.g.f10.count.... routine processes the selected they mandatory ones will automatically be processed. Course, you probably figured that out already.
    Thanks, Tony

  • How to create the Set ID for report writer

    Hi
    I am suppose to create the Set id . Please suggest me the t-code etc for creating set id.
    Thanks
    Shiv

    transaction for  creating the set ID GS01
    further, the menu path  in the application menu is
    information system->Ad Hoc Reports ->Report Painter ->Report Writer ->Set
    if helpful, plz assign point as way of thanks

  • Configure for Report writer

    Hi
    I have a ZZZZ transparent table with data, that is not a pool or cluster table, and would want to be able to use Report Writer to search from this table and create RW reports.
    1. Is this possible?
    2. What are the set up tables needed to configure for RW? I could think of only T804A and T804B.
    Does anyone have a soft copy of the steps in doing this? I am going through the SAP Help and it seems that there are steps missing, and I am unable to complete the process of creating a custom Library for this table.
    Thank you
    Priya

    COPA is a mini data warehouse and each company have to define the datasource structure, called profit segment, based on their own profit analysis requirement before they create any PA reports. Since the profit segment could be different from company to company, no univeral PA report can be used for all companies, that is also why SAP normally do not provide any standard reports in KE30.
    So, you have to first define the characteristics, value fields, and profit segment with the characteristics and value fields (KEA0). Then create your own PA reports with the segment you define forms (KE34, KE31).
    Forms are the structures required as the basis for the definition of reports
    Regards

  • How to apply condtion formula inside Report Writer and Report Painter

    Hi anybody,
    I am doing report painter. but i don't know how to include condition formula inside report painter or report writer. ex if condition ..
    Anybody please explain to me the steps of report writer how do this.
    I will appreciate goods answers to me.
    thanks
    Regards,
    S.Muthu
    Edited by: Subramaniyan Marimuthu on Jun 3, 2009 7:50 AM

    www.virtuosollc.com/PDF/Get_Reporter.pdf
    This is most useful PDF written by industry expert. This is more informative.
    http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7dc143c211d182b30000e829fbfe/frameset.htm
    Regards,
    Ravi

  • Formula for report to run with data of only current day

    I need a report that whenever refreshed it run with data for only the current day. It is for knowing how many checks were performed from the start of the current day to the time the report runs. Iu2019ve tried to use the select expert but I guess I need to use a formula in it.
    Thanks,
    Andreia

    Andreia,
    I think you've posted this into the wrong forum!
    -Anil

  • Looking for Report Writer Example

    I am building an application that allows the users to select the columns they want to see then select filters based on those columns depending on the datatype. Date ranges, etc. All this is working fine. The next step is to save the report parameters the user has selected and let them name the report for future use. It could be a simple as saving the created querystring or, ideally, save the parameters so the filter page could be re-created in its current state to allow changes.
    Does anyone have any examples of something like this?
    thanks

    I am building an application that allows the users to select the columns they want to see then select filters based on those columns depending on the datatype. Date ranges, etc. All this is working fine. The next step is to save the report parameters the user has selected and let them name the report for future use. It could be a simple as saving the created querystring or, ideally, save the parameters so the filter page could be re-created in its current state to allow changes.
    Does anyone have any examples of something like this?
    thanks

  • Need PL/SQL Command for to check all rows value for child record and update

    Hi All,
    i want to update one field following by
    one to many relationship for example
    in child applet status field is value is "Closed" for all child record then parent value also should update to closed
    Note: if one child record field status is "Open" don't do the update operation

    You can do it in single UPDATE operation.
    Here is sample & Result:
    create table PA (id varchar2(3), name varchar2(12), STATUS varchar2(12));
    insert into pa values('001','Cary','Open');
    insert into pa values('002','TOM','Open');
    create table boy (par_id varchar2(3), id varchar2(4), name varchar2(12), status varchar2(12));
    insert into boy values('001','ABC1','Cary','Open');
    insert into boy values('001','ABC2','Mac','Closed');
    insert into boy values('001','ABC3','Ray','Closed');
    insert into boy values('001','ABC4','NALLY','Open');
    insert into boy values('002','ABC5','ME','Closed');
    insert into boy values('002','ABC6','SHE','Closed');
    UPDATE PA
    SET STATUS='Closed'
    WHERE NOT EXISTS
      (SELECT 1
      FROM BOY
      WHERE BOY.PAR_ID=PA.id
      GROUP BY BOY.PAR_ID,
        BOY.STATUS
      HAVING SUM(DECODE(BOY.STATUS,'Open',1,'Closed',0,0))>0
    select * from pa;
    001     Cary     Open
    002     TOM     Closed

  • User Exit for For Variable G_Set_Formula_Exit on Report Writer

    Hi SAP Experts,
    I want to create user exit for formula variable for Cost Center Group with alphanumeric type ( like 1KOSET- but 1KOSET is a set variable). I will use it as one of my row formula in report writer.
    There is one alphanumeric user exit example, which is Controlling Area (#S010) in GS13. SAP message said that I can create other alphanumeric user exit by using user exit G_Set_Formula_Exit.
    Can someone advice on how to implement this user exit?
    Your advice on this issue is highly appreciated.
    Thanks,
    CW

    Hello Ce Wie,
    Were you able to implement G_SET_FORMULA_EXIT? I am also very interested on this issue.
    Thanks!
    Josep

  • 1 User Prompt for 2 rows in Financial Reporting ?

    Hello,
    for 2 years, I am struggling with following-
    we have very detailled (detailled in 2 or 3 dimensions - let's say here: CBU and CostCenter ) reports, which run very long
    in order to give user the overview/total as well, we want to give the total over all 2 or 3 dimensions only
    the user should be allowed to choose 1 or more values (CBUs) via user prompt
    current workaround is to have 2 user prompts (1 for detailled combinations) and (1 for total) and asking the user to fill the CBU 2 times
    if user is not chosing same CBU(s), then report is inconsistant:
    as many people have to use dozens of values and because there is no select all/ deselect all function - the handling is very annoying for the users.
    Sample Report Definition
    ...........................................Dimension 1...........................................Dimension 2
    Row 1 (of report definition): Descendants of Prompt for CBUs..............Descendants of Costcenter
    Row 2 (of report definition): Prompt for CBUs....................................Costcenter Total
    by this, we get a sample output like this: (Projects are the level 0 members of CBUs in CBU dimension)
    ...........................................Project A from CBU I.....................CostCenter X...............50
    ...........................................Project A from CBU I.....................CostCenter Y...............20
    ...........................................Project B from CBU II....................CostCenter X...............10
    ...........................................Project C from CBU III...................CostCenter Z...............100
    ...........................................Project D from CBU III...................CostCenter X...............200
    ...........................................CBU I..........................................CostCenter Total..........70
    ...........................................CBU II.........................................CostCenter Total..........10
    ...........................................CBU III........................................CostCenter Total..........300
    Problem is:
    I would like to define for
    Row 2 Prompt for CBUs
    and for
    Row 1 Descendants of Same as Row 2
    but then I get the error "5200 : Error executing query: +Server+/+Application+/+Database+/+User+/Error(1001005) Unknown Member [Same As Row  2] in Report
    any idea how to workaround with that ? (have same problem with *Children of Same as Row 2*
    I tried to combine *Same as Row 2* with *RelativeMember & Offset -1* definition in reporting is then: Relative to Same As Row 2 offset by -1
    - but no success - all I achieve is a true Same as - resulting in duplication of all data of Row 2 and nothing from row 1.
    Any other ideas, how to combine a same as function with functions like parent,children,descendants or relative member ? Did I do anything wrong in combining them or is the relativemember function not working in 9.3.1 ?
    Please note, that these detailled reports typicially run 10 to 20 minutes - so telling users to run 2 reports or including lot's of not needed data or first retrieving and then hiding again is not really helpful - I would also not ask, if this function was not used in dozens of reports.
    The user prompt function in financial reporting is the most used functionality in our reports- the users run approx. 100 reports a day - and fill between 3 and 10 user prompts (with a lot of default values & substitution variables) - this appeared the most efficient way for unexperienced users, who need different data every day.
    unfortunately, it does not allow the report designer to allow either 1 or many values
    it seems to struggle with our special request of "children of same as"
    and it has no "select all" / "unselect all" button - which would allow the user to select all/none of the Choices List, defined in the user prompt.
    Please do not recommend usage of Analyzer - this tool is far to slow, has no cancel button and the users simply go lost.
    Smartview is too risky for majority of our users, as they would use the refresh button only - and not zoom in & zoom out - and miss a lot of new combinations by using old smartview-excel-templates (from previous month/forecast)
    Any help on any of these items would be highly recommended.

    If I understand correctly you would only have one CBU on any given report.
    Instead of prompting for Row 2 and pulling the totals from the Outline. You could delete your current Row2 and have the report provide the totals based on the data results from ROW 1. Insert a row formula for Row 2 and sum the results for that paticular column.
    Formula:
    Sum([1])
    Edited by: ronnie on Apr 21, 2011 9:51 AM
    Edited by: ronnie on Apr 21, 2011 9:52 AM

  • Report Writer report required by Business Area GSBER  for table GLPCT  ECC6

    Please help,
    I have a requirement for report writer report by Business Area (GSBER) for table GLPCT.
    I am using Libruary PCA which has GSBER already activated
    In report I am able to select GSBER in General Data Selection and generate.
    However when I execute report I get error message GR410 "Characteristic GSBER cannot be combined with key figures" .
    I have looked at SAPnotes 929889 1155524 and 358251, which describes solution to add field to CCSS table (structure CCR1S) however I cannot work out what structure to change for table GLPCT used in my report.
    Steve
    Solution was to use Libruary 8A3
    Edited by: Debra Dunford on Jun 29, 2011 10:34 AM

    Hi ,
    If you are using the cube: 0FIAP_C20, then i guess you are using the standard extractor 0FI_AP_20 . One thing which i remember that there is a standard view in ECC : LFC1_AEDAT.
    This view has two tables : LFC1 and BWFI_AEDA2.
    LFC1 - Vendor master (transaction figures)
    BWFI_AEDA2 - BW FI: Log Table for Changed Transaction Figures
    This standard extractor uses table LFC1 to show vendor balances.
    And the table BWFI_AEDA2 contains the log of the changes that has taken place business area wise and account no of the vendor wise .
    Please check the view definition to confirm the same . Once you will see the joining conditions in this view you will get a clear picture of the above point .
    So for your issue, you can do datasource enhancement of 0FI_AP_20 .
    The logic will be based on LIFNR,BUKRS,GJAHR available from the datasource , fetch the business area from this view and populate it in your datasource .
    But first check in the table BWFI_AEDA2 whether for the field BWFI_AEDA2-TABNAME= lfc1 , business areas are maintained .
    Hope the above reply was helpful.
    Thanks & regards
    Edited by: DEADLOCKS on Apr 23, 2011 10:52 AM

Maybe you are looking for

  • Family Share - A CRUEL 365-day lockout, REALLY?

    I bought my wife a new 128 GB iPad mini 3 on December 15th at Best Buy, I had been saving for this iPad for some time, and Lori had wanted the new iPad mini 3. Both my wife and I have bought multiple iPods over the years, use them, abuse them, and th

  • Iphone 4 deletes exchange emails if they are read on desktop

    My iphone 4 is receiving my exchange emails but as soon as I read the emails on my desktop computer, my phone deletes them.  I do not have Outlook set to view "unread" messages only.  It is set to read all messages.  It was working fine last week unt

  • Mapping in Import manager

    Hi, I have a basic doubt in Import manager. While mapping source to destination. We select main table in the destination and mapp with the file import as source. Suppose my main table is vendor and source table is vendor i ahve mapped all the fields

  • How to change the color of cover book in iphoto?

    I like to change the color of cover in iphoto book order? the proposed color is realy ugly. do you know how to do it? thank you for tips.

  • Album artwork on itunes

    Hey guys, So i'm new to all this ipod/itunes stuff \nd i havnt been doing bad by myself. I have one question that no one can seem to answer for me so hopefully someone on here can... Ive brought myself a new ipod 8gb nano to go with my new laptop..i