SET ID in Report Writer

Hi Friends,
I don't have knowledge pertaining report writer.  I need to find out what data source is in a particular SET ID.  Also, how is the SET ID created and how do I view it.  Please advise.
Thanks,
HN

<b>SET PARAMETER</b>
SET PARAMETER ID pid FIELD f.
In some cases, the syntax rules that apply to Unicode programs are different than those for non-Unicode programs. See ABAP Unicode - Other Changes
<b>
Effect</b>
Writes the contents of the field f to the global user-specific SAP memory and the local transaction-specific SAP memory under the ID pid. Any existing values under the same ID are overwritten.
Parameter IDs can be up to 20 characters long. They cannot consist entirely of spaces. The SAP system description contains an overview of parameter IDs. You can also produce a list using the ABAP Workbench.
<b>Notes</b>
The global, user-specific SAP memory is available to a user for the duration of a single terminal session. Values written to it are retained even when the user exits a program.
Do not use SAP memory as a temporary storage area, since parallel sessions belonging to the same user all use the same memory area.
Only store data of the types C, N, D, and T, as well as structures that consist of these types, in the SAP Memory.
You can create new parameter IDs using the ABAP Workbench.
Parameter IDs may have a namespace prefix.
<b>Example</b>
DATA REPID like sy-repid VALUE 'RSPFPAR'.
SET PARAMETER ID 'RID' FIELD REPID.
Sets the program name so it can be passed to other programs.
<b>GET PARAMETER</b>
GET PARAMETER ID pid FIELD f.
In some cases, the syntax rules that apply to Unicode programs are different than those for non-Unicode programs. See ABAP Unicode - Other Changes
<b>
Effect</b>
First, the value stored under the key pid is transferred from the local SAP memory into the field f. If this key is not available in the local SAP memory, the value stored under the same key pid is transferred from the global user-related SAP memory to the field f.
A parameter ID can have up to 20 characters. You can find an overview of the keys (parameters) used in the SAP system description or the appropriate function in the ABAP Workbench.
The Return Code is set as follows:
SY-SUBRC = 0: A value was read from SAP memory. SY-SUBRC = 4: No value was found in SAP memory under the specified key.
<b>Notes</b>
The global user-related SAP memory is available to each user for the entire duration of a terminal session. For this reason, set values are retained when you leave a program.
You should not use SAP memory for temporary storage because a user's parallel sessions use the same global memory.
<b>Example</b>
Read the program name from SAP memory:
DATA : REPID LIKE SY-REPID.
GET PARAMETER ID 'RID' FIELD REPID

Similar Messages

  • 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

  • Tables for Sets in report writer/painter reports - very urgent

    Hi All,
    Does anyone know which table keeps the information of sets used in report painter/writer reports? I have to get the information like “values used in the set”, “set usage” etc.
    Your help is highly appreciated and rewarded with points
    Thanks in advance
    Kumar

    tables :setnode,
            setheader,
            setleaf.
    or Fms
    G_SET_FETCH
    regards
    Prabhu

  • 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

  • Re: Setting Authorization Check in Report Writer

    Hi,
    In ABAP Query or ABAP customized program, it is possible to set authorization object checking.
    In Report Writer, how can I do it?
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Thanks
    Edited by: Alvaro Tejada Galindo on Dec 26, 2008 10:59 AM

    Hi Colin,
    I would like to suggest,
    Creating an Authorization object & then using it in the report program is the preffered way.
    I would like to suggest a couple of references, quite similar to your issue,
    [SDN - Reference for using authorization checks at the report level|User authorisation check in ABAP-HR program;
    [SAP HELP - Standard Reference for Programming Autorization checks|http://help.sap.com/saphelp_nw04/helpdata/en/52/6712ac439b11d1896f0000e8322d00/frameset.htm]
    [SAP HELP - Standard Reference for Authorization checks|http://help.sap.com/saphelp_nw04s/helpdata/en/fc/eb3ba5358411d1829f0000e829fbfe/frameset.htm]
    Hope that's usefull.
    Good Luck & Regards.
    Harsh Dave

  • Report Writer - Using Formula in a set

    Hi I am trying to learn Report Writer (GR31) and one of the things I want to do is put a formula in a set, but I am having hard time getting it to work.
    I want to put a formula like this...
    if account is 5000000 then put do one thing else put 1
    IF '&ZACCT1' = 500000 THEN '001' * 'A' ELSE 1
    but I am not getting any value back.
    Anyone have any idea what I am doing wrong.
    Thanks in advance for any help/suggestions.
    John

    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

  • Set id for a report in report writer

    Hi ,
    Could you tell me how to find the set id for a report created through report writer ,
    For example, Library -SL5 ,Report group is -M038 , Report is M038-0001 .
    If i run this report it is showing the error that set id not found .
    How to solve this ?
    Thanks in advance.

    Hi Devika,
    You can create set ids using transaction code GS01. For change and display you can use transaction codes GS02 and GS03.
    Thanks,
    Reward If helpful.

  • EC-CS report writer report: what sets to use in general data select/cols?

    I am about to write Report Writer reports using table FIMC. In the rows I will use a set that includes the whole balance sheet structure. What do I put in general data selection or columns? I need to know the ids of the (standard?) sets...

    hi,
    In General Data Selection you have to assign the
    1. Controlling Area or Company Code
    2. Fiscal Year.
    3. From and To Period.
    4. Dr. /Cr Indicators.
    Cheers
    Ranjit

  • Extraction from R/3 SET / Report Writer

    Matez,
      How do I extract a SET created with Report Painter in SAP R/3 to SAP BW ?
      My client have created SET ID for various Financial Items.
      Now, I need to import this SET ID / Hierarchy to BW !
      Kindly advice...

    Hi Eugene,
      Thanks for the suggestion.
      So, in your best opinion, where should the groupings of GL Account/Cost Elements be maintained ?
      Should these account groupings which are used on Balance Sheet/P & L be maintained in the hierarchy of R/3 or should be maintained in SAP BW ?

  • Error generating report in Report writer (GR214, short dump)

    Hello
    We are making a report in GGR2. When generating the report group, we have dump with error:
    Short text of error message:
    Internal error.: SAPMGRW2, Include: MGRW2F20, FORM: GEN_DATAFI
    ELD.
    Long text of error message:
    Technical information about the message:
    Message class....... "GR"
    Number.............. 214
    Variable 1.......... "SAPMGRW2"
    Variable 2.......... "MGRW2F20"
    Variable 3.......... "GEN_DATAFIELD"
    Variable 4.......... " "
    I have generated as well via GR52 with the same result.
    The report i try to generate has about 500 lines, uses a number of existing sets and has simple formulas in it. When i restrict the number of rows to say 400 I donu2019t have the issue. Is there a restriction to rows in report writer?
    Thanks for your help
    Kai

    Hi,
    The error you are receiving could be caused by a large number of row blocks in your report definition, (you can check the report definition with report RGRRDC00). A report should not contain too many row and column blocks. It is not possible to give an upper bound for the number of row blocks (since the length of the coding depends on other parts of the report as well). However, even a complicated Report Writer or Report Painter report should not contain more than 50 row blocks, and reports with more than 100 row blocks should not be defined.
    In this case the report(s) have to be redefined. Please also refer to the note 387916 for further information regarding this issue.
    When there are more than 30 variables in a report, please have a look at the note 332091.
    Please reduce the number of row blocks in the report by using the function 'Edit' -> 'Rows' -> 'Explode' in the Report Painter
    definition. This function enables several rows to be created for one row block (in the Report Painter definition one row block is just one row). Report Painter (and Report Writer) are designed to display hierarchical reports where the rows in the few row blocks are built up using the 'Explode' function.
    regards
    Waman

  • Error message in report writer when add new selection filed?

    Dear All,
    I wanna add a new selection field cost element group and cost element to a report in report writer. I key in GR52 and click the general data selection. I select the set variable &1KSTAR to enter into the set ID. But it shows me the following message:
    Set cannot be used in Selection:
    Message no. GR807
    Diagnosis
    You are trying to use a set in report maintenance.
    The set cannot be entered in the report definition for any of the dimensions for which the set could be used.
    The following error message describes why the set cannot be used for all the dimensions for which the set can be used.
    System Response
    The set will not be entered in report maintenance.
    Procedure
    Choose an appropriate set.
    What does it mean? I have tried other set variables but sitll gave the same message.
    Thank you and good day.
    Emma.

    At the same time, it gave me a green light message saying:
    Characteristic Cost Element is already used in a row
    Message no. GR465
    Diagnosis
    The characteristic Cost Element is already being used in a report row block and therefore cannot be used in a different part of the report.
    Technical note:  The field name for characteristic Cost Element is KSTAR.
    Does it mean I have used the cost element in the report and blocked the cost element so that I can't use it in the selection screen? How can I solve this by not changing the report or should I change the report?
    Thank you and good day
    Emma

  • Report Writer Issue

    Hi Gurus,
    I have created report ZTEPCA12 with report writer .When i check the syntex i am getting the error.
    The key figure cell ZTEPCA12 has not yet been defined
        Message no. GR687
    Can any one please tell me where do i need to define this.
    Thank in advance

    Hi,
    Go into GR32, select the report you have created in change mode.  Go to the columns, and view the key figure set.  In there you would have defined a set of key figures, which are basically value fields.
    The reason for the error could be that you have entered a key figure set there but not defined the set with the key figure fields or you would not have entered a key figure set in the report itself.
    Go into GS02 and enter the set name and include the key figures in the column From value from the table defined in the set.
    If the set does not exist then create a key figure set with key figures.
    Cheers.

  • Error when running a report writer

    Hi,
    I am getting an error ("Internal error: More than 999 GREP blocks were requested") when running a report writer.
    The error diagnosis is:
    Internal error: More than 999 GREP blocks were requested                                                                               
    Message no. GR 215                                                                               
    Diagnosis                                                                               
    An internal error occurred in the Report Writer.                                                                               
    When running the program, you selected the option to store your results
         permanently.  However, when the selected data was stored in blocks in  
         the GREP file, the maximum number of blocks was exceeded.                                                                               
    System Response                                                                               
    The selection program was terminated.                                                                               
    Procedure                                                                               
    Inform your system administrator.                                                                               
    You may have to increase the block size for the GREP blocks.    
    Anybody knows how to increase the size of GREP blocks?
    Thanks in advance.
    Regards,
    Arun Mohan

    Hello,
    The reason for the error GR215 is that too many data blocks are being
    processed.
    The explanation is one of the following:
    - You have variation activated in the report
    - A large group of objects is being processed and the report output
       fails due to the large data size
    - the selected data is reaching the technical restriction
    Check the SAP note 64537. This note advises you to set the BLOCK SIZE parameter
    in the coding to 500000. However, the maximum value possible is 999999. You may -
    if you already implemented the coding change of SAP note 64537 - raise the parameter
    once more to 999999.
    If the error then still remains the selected/processed data is definitely too much.
    Then check the report definition in comparison to SAP notes 317574 and 387414.
    Regards,
    David

  • What is the significance of report writer and report painter

    hi all,
    can anyone throw light on report write and report painter, when and why it used with examples.
    thanxs in advance
    regds
    hari

    Dear Hari,
    http://www.virtuosollc.com/PDF/Get_Reporter.pdf
    http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
    Report Painter allows you to create reports using data from SAP application components, which you can adapt to meet your individual requirements.
    Many of your reporting requirements can already be met by using the standard reports provided by various SAP application components. If these SAP standard reports do not meet your reporting needs, Report Painter enables you to define your specific reports quickly and easily.
    Report Painter fulfills a function similar to Report Writer, but is easier to use. Most of the functions found in Report Writer have been built into Report Painter; however, you do not need to be familiar with all Report Writer concepts (such as Sets) in order to use Report Painter.
    When executing a Report Painter report, it is displayed by the system in Report Writer format. You thus have access to the same functions as for Report Writer reports defined in the same way, and can combine Report Painter and Report Writer reports together in a report group.
    Report Painter uses a graphical report structure, which forms the basis for your report definition and displays the rows and columns as they appear in the final report output.
    To facilitate report definition, you can use many of the standard reporting objects provided by SAP (such as libraries, row/column models, and standard layouts) in your own specific reports. When you define a Report Painter report you can use groups (sets). You can also enter characteristic values directly.
    Advantages of Report Painter include:
    Flexible and simple report definition
    Report definition without using sets
    Direct layout control: The rows and columns are displayed in the report definition as they appear in the final report output, making test runs unnecessary.
    http://help.sap.com/saphelp_47x200/helpdata/en/56/32e339b62b3011e10000000a11402f/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
    Regards,
    Naveen.

  • Getting a weird error in Report Writer Report(ABAP Reporting tool)

    Hi Guys,
    If anybody has worked on Report Writer Report.Can you help me in this regards?
    There is a peculiar problem for the (Column block) .In the Column block there are 3 key figures(Quantity,Local Currency and Group Currency).
    Of these in the output of the Report Writer Report the Quantity Column is not getting summed up properly.Though the other 2 columns(Local Currency and Group Currency)are reflecting the proper summed up data.
    According to the tables, all of them are reflecting the accurate data.But only for the Quantity column though its reflecting the actual data,but the summation for it is not reflecting the correct data.
    Can anybody tell me if we can attach screen-shots for Questions posted in Forums?
    Please help me in this regards.

    Hi James,
    Thank you for your quick response.
    I checked the report and the remainder functions is not being used.
    The only formulas being used in the report are the following.
    UpperCase ([1])
    + ", " + - This is set to @name
    {@name} + " (" + + ")"
    There are some formatting formulas set on the above values, but other than that, there is a sql query and the "select distinct rows" and "perform grouping on server" is selected.
    Thanks,
    Jayashree

Maybe you are looking for

  • Converting smartform output to a text file

    Hi , can anyone explain me in detail that whether a smartform output can be converted to an excel file via ABAP coding in driver program. If yes pls tell me how to do it . Thanks... Regards, Rose.

  • Itunes crashes when connected to ipad

    i tunes crashes when i connect my ipad

  • Acrobat 9 Pro Freezing??

    Hi Guys I have the CS4 Suite on a Windows Xp computer and all the other components work great but I have a weird issue that whenever I open any file in acrobat it opens then freezes for like 2-3minutes before I can do anything..photoshop, illustrator

  • Question on Redo logs in RAC

    DB version:11.2 Platform : Solaris 10 We create RAC DBs manually. Below is a log of the DB creation from Node1 . Instance in Node2 is not yet created (only binary is installed in Node2). SQL> conn / as sysdba Connected to an idle instance. SQL> start

  • N79- can't send messages

    My N79 no longer sends the text messages I write... I was in Kenya for 4 weeks, it worked fine there both with my regular sim card and a Kenyan one. When I got to the airport in Istanbul I could no longer send messages. I tried again in Munich and th