How to put data restrictions in transaction: GR55

Hi,
When I run a report with gr55 it shows figures for all profit center.I have defined a role which has profit centers restriction .
but when ever user run gr55 he can see the data for the all proit center.
How can i put data restriction on GR55.
Anybody?
Best regards,
Bhavesh

Hi,
You can create a selection group that will serve as parameter in your GR55 report. Go to transaction code GRR2 and edit your form. You can set/tick the hierarchy node or variable in the profit center characteristic.

Similar Messages

  • How to put data into a RFC import parameter structure from portal

    Hi, All,
    I have a RFC in which an import parameter is a structure (not a table). I want to put data into that structure. I know how to put data into a table or a string. I tried to use
    IRecordSet MyTABStr = (IRecordSet)structureFactory.getStructure(function.getParameter("MYTABSTR").getStructure());
    MyTABStr.setString("FIELD1", value1);
    MyTABStr.setString("FIELD2", value2);
    importParams.put("MYTABSTR",MyTABStr);
    But it works for table not structure.  Is there anybody know how to do that?
    Thanks in advance!
    Meiying

    Hi,
    You can try the following code -
    IRecord structure = (IRecord)structureFactory.getStructure(function.getParameter("MYTABSTR").getStructure());
    structure.setString("FIELD1", value1);
    structure.setString("FIELD2", value2);
    importParams.put("MYTABSTR",structure);
    Regards,
    Sudip

  • How to put datas from database in html�s forms?

    Does anyone have any idea how to put datas from the database using JSP???

    One option: put your data into a JavaBean and then put that into the session. You can then access it from your JSP. You can access the properties of the bean using the basic JSP scripting elements, or if you want to get fancy, both JSTL and Struts have a bunch of custom tags for working with JavaBeans.

  • How to see data in a transaction ODS

    Hi all,
    I am populating data into my Transactional ODS through the function module RSDRI_ODSO_INSERT_RFC . But not able to see the data in it. as there is no manage option to the ODS. and by default an export datasource is created for the ODS. do i have to create one more standard ods and use this export datasource as update rules and see the data?
    Please let me know how to see the data. and also and detail document on Transaction ODS?.

    Hello Satish,
    Data loaded through Planning Application eg. In Transactional ODS will not have manage option or request. You can view the data using following methods.
    Since transactional ODS objects cannot be filled with BW data using staging (data is not supplied from the DataSources), they are not displayed in the Scheduler or in the Monitor. Transactional ODS objects can therefore not be updated in the same way as standard ODS objects.
    If you switch a standard ODS object that already has update rules available to a transactional one, the update rules are set as inactive and are no longer processable.
    As no change log is generated, no delta update of data stored at the end of the process is possible.
    You cannot set the indicator for BEx Reporting when creating a transactional ODS object.
    1.) In order to report this, you can create an InfoSet and then execute a BEx query for it.
    2) You can also download the data from your transactional ODS object using the download function. You can find this function in the administration of the ODS objects, Tab Page Contents -> Active Data.  Choose Execute to display the data. Using the main menu Edit -> Download, you can download the data in different formats.
    Hope it helps.
    San.

  • How to upload data using SXDA Transaction

    HI,
    Can any one explain step by step procedure to upload data using SXDA transaction.
    I have already uploaded to txt file in Application server.
    I have created a project and  entered into the sub-project wizard and selected the object type as BKPF and then pressed continue, then i enter into task tab....
    There i see convert data , Check file,File split,load data,
    In convert data i have selected the program name as RFBIBL00.
    In check file i have selected the file type as Physical file and selected the file name from F4 button.
    I am fasing the probelm in load data ....
    Can any one please explain how to proceed further..

    Hi Yogesh,
    Use this function module
    ALSM_EXCEL_TO_INTERNAL_TABLE to upload the excel sheet data into internal table.
    Then from the internal table data use KE13 transaction to upload data.
    Regards
    Arun

  • How to put data into textbox using JSP

    How can I put data into a textbox using JSP?
    This code prints to a html page but I want it inside an text area:
    // Print out the type and file name of each row.
            while(ftplrs.next())
                int type = ftplrs.getType();
                if(type == FtpListResult.DIRECTORY)
                    out.print("DIR\t");
                else if(type == FtpListResult.FILE)
                    out.print("FILE\t");
                else if(type == FtpListResult.LINK)
                    out.print("LINK\t");
                else if(type == FtpListResult.OTHERS)
                    out.print("OTHER\t");
                out.print(ftplrs.getName() +"<br>");
            }I have tried with the code below:
    <textarea name="showDirectoryContent" rows="10" cols="70">
    <%
           // Print out the type and file name of each row.
            while(ftplrs.next())
                int type = ftplrs.getType();
                if(type == FtpListResult.DIRECTORY)
    %>
                    <%= "DIR\t" %>
    <%            else if(type == FtpListResult.FILE) %>
                    <%= "FILE\t" %>
    <%            else if(type == FtpListResult.LINK)  %>
                    <%= "LINK\t" %>
    <%            else if(type == FtpListResult.OTHERS) %>
                    <%= "OTHER\t" %>
    <%            String temp = ftplrs.getName() +"<br>");
                  <%= temp > <br>
    %>
    </textarea>I get the following error:
    Location: /myJSPs/jsp/grid-portal-project/processviewfiles_dir.jsp
    Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile Note: sun.tools.javac.Main has been deprecated.
    C:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\grid_0002dportal_0002dproject\processviewfiles_dir_3.java:151: 'else' without 'if'.
    else if(type == FtpListResult.FILE)
    ^
    C:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\grid_0002dportal_0002dproject\processviewfiles_dir_3.java:165: 'else' without 'if'.
    else if(type == FtpListResult.LINK)
    ^
    C:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\grid_0002dportal_0002dproject\processviewfiles_dir_3.java:179: 'else' without 'if'.
    else if(type == FtpListResult.OTHERS)
    ^
    C:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\grid_0002dportal_0002dproject\processviewfiles_dir_3.java:193: ';' expected.
    String temp = ftplrs.getName() +"");
    ^
    4 errors, 1 warning
         at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:898)
         at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:733)
         at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506)
         at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:875)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
         at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
         at java.lang.Thread.run(Thread.java:536)
    Please help???

    Yes indeed this works:
    <textarea name="showDirectoryContent" rows="10" cols="70">
    <%
           // Print out the type and file name of each row.
            while(ftplrs.next())
                int type = ftplrs.getType();
                if(type == FtpListResult.DIRECTORY)
    {%>
                    <%= "DIR\t" %>
    <%}            else if(type == FtpListResult.FILE)  {%>
                    <%= "FILE\t" %>
    <%}            else if(type == FtpListResult.LINK)  {%>
                    <%= "LINK\t" %>
    <%}            else if(type == FtpListResult.OTHERS) %>
                    <%= "OTHER\t" %>            
                  <%= ftplrs.getName() %>
    <%
    %>

  • How to put data from database into array

    I need to answer hot to put data from database directly into array.
    I tried like the code below but the error message said: java.lang.ArrayIndexOutOfBoundsException: 0, and it points to this line: numbers [row][0]= rs.getString("ID");
    Hope you can help.
    ResultSet rs = stmt.executeQuery(query);
         int row=0;
         String [] [] numbers=new String [row][10];
         // output resultset
         while ( rs.next() )
              numbers [row][0]= rs.getString("ID");
              numbers [row][1]= rs.getString("name");
         row++;
         // close resultset
         rs.close();
    thanks,Devi

    The exception is been thrown simply because you assigned '0' to the 'row' variable, indicating a zero length of the array. In fact you should assign the row count to it.
    After all, don't do that. Make use of the Collection framework and map the ResultSet to a Collection of DTO's.
    List<User> users = new ArrayList<User>();
    while (resultSet.next()) {
        User user = new User();
        user.setID(resultSet.getString("ID"));
        user.setName(resultSet.getString("name"));
        users.add(user);
    }

  • How to put data in an ActiveX SequenceVi​ew Control Object (not MFC)?

    Hi!
    In my application (not MFC) I added an ActiveX SequenceView Control Object.
    I want to put data in it.
    But nothing is in it after executing the following code:
    HWND hListView=(HWND)GetDlgItem(IDC_SEQUENCEVIEW1);
    LVITEM lvi;
    lvi.mask = LVIF_TEXT;
    lvi.pszText = "text";
    ListView_InsertItem(hListView, &lvi);
    SendDlgItemMessage(IDC_SEQUENCEVIEW1,LVM_INSERTITE​M,0,(LPARAM)&lvi);
    What is wrong or missing?
    Thanks for helping me!!!
    I tried to use the SimpleMFCOperatorInterface-example but as I am not using MFC it said:
    'CListCtrl' : undeclared identifier
    So this example isn't helpful for me.

    Hi
    If you have TestStand 3.0 installed then you will find a simple example using MFC under
    \OperatorInterfaces\NI\Simple\C++ using MFC
    The OI is written using the new UI controls and the manager controls.
    You need TestStand 3.0 or greater to use the new UI controls
    I hope this helps.
    Regards
    Anand Jain

  • How to store data in NON -Transactional ODS

    Hi,
    for reporting reasons I wish to store data in non-transactional ODS. Reading in this forum I found only the standard fm 'RSDRI_ODSO_MODIFY' but this fm is used only for transactional ODS.
    Any suggestions?
    Thanks in advance.
    Regards,
        Giovanni

    First of all, many thanks for the quick reply.
    To focus on my problem I have the necessity to realise what it is detailed in a document at this url:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60938938-de6f-2910-2080-fc80d38ebfec
    Working in SEM environment I have the necessity to handle text field in a non-transactional ODS for reporting without using an InfoSet.
    Observing the exceptions raised by calling the fm 'RSDRI_ODSO_MODIFY' it is possible to find the ODS_TYPE_NOT_TRANSACTIONAL showing that a non-transactional ODS is not handled.
    I hope to have explained my intention and my problem and I'm confident to receive your support.
    Thanks.
        Giovanni

  • How to Extract  data from a transaction..

    Hi All
    There are some transactions and report programs which are used daily to produce some results and the requirement is to extract that data into BW
    so how can we extract information from a transactions and programs
    Any help will be really appreciated and ofcourse rewarded ...
    Regards
    Lisa

    You can use the following methods
    Method 1:
    1> Create another ABAP program with logic to calculate all the fields, but instead of writing the result data to screenm, it should store it in a internal table and pass it to the extract structure.
    2>Create a InfoSet query based on your ABAP program and use that InfoSet
    3> Create a DataSource based on this InfoSet query and extract data from the DS to you ODS/Cube
    In this method there is no Intermediate storage used.
    Method 2:
    1> Modify the report/transaction program to store the required data into a Transparent Table (u can create one from SE11) in addition to displaying on the screen.
    2> Create a View on this transparent table (from SE11)
    3> Create a DataSource on that view and extract data from that into your ODS/Cube.
    Here, the required data is stored in the Table in addition to the DataTarget.
    But, to implement either of these solution, you will need a decent ABAP knowledge. Else, it will give you a tough time!
    Good luck!
    Regards,
    Sree

  • How to put date&time into a variable from a database?

    In an Oracle table, myDateColumn is 2002-06-25 17:40:55. I can't put it into a variable.
    java.text.SimpleDateFormat dF=new java.text.SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
    rs=stmt.executeQuery("select myDateColumn from myTable");
    rs.next()
    System.out.println(rs.getString(1)); // 2002-06-25 17:40:55 is output
    java.util.Date myDate=rs.getDate(1);
    out.println(dF.format(myDate)); // 25/06/2002 00:00:00 is output
    java.util.Date myDate=rs.getTime(1);
    out.println(dF.format(myDate)); // 01/01/1970 17:40:55 is output
    My question is: How should I put this date (both date and time) into a variable, myDate?

    There are three JDBC types relating to time:
    1] The JDBC DATE type represents a date consisting of day, month, and year. The corresponding SQL DATE type is defined in SQL-92, but it is implemented by only a subset of the major databases. Some databases offer alternative SQL types that support similar semantics.
    2] The JDBC TIME type represents a time consisting of hours, minutes, and seconds. The corresponding SQL TIME type is defined in SQL-92, but it is implemented by only a subset of the major databases. As with DATE, some databases offer alternative SQL types that support similar semantics.
    3] The JDBC TIMESTAMP type represents DATE plus TIME plus a nanosecond field. The corresponding SQL TIMESTAMP type is defined in SQL-92, but it is implemented by only a very small number of databases.
    In ur case pls use:
    java.sql.Timestamp
    good luck !
    ...san :--)

  • How to put data into a array element in the BPEL

    Hi,
    I have a element in the WSDL which is of type Array. (i.e accepts unlimited data for the same element). How should i put a data into a array in the BPEL.
    Example:
    The below Example gives u an idea about wht iam asking:pasting a piece of my requirement:
    <s:element minOccurs="0" maxOccurs="1" name="parameters" type="tns:ArrayOfCSParameters" />
    <s:complexType name="ArrayOfCSParameters">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="unbounded"
    name="CSParameters" nillable="true" type="tns:CSParameters" />
    </s:sequence>
    </s:complexType>
    <s:complexType name="CSParameters">
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="RevenueItem" type="tns:RevenueItem" />
    <s:element minOccurs="0" maxOccurs="1" name="AccountURIs" type="tns:ArrayOfString" />
    <s:element minOccurs="0" maxOccurs="1" name="GroupURIs" type="tns:ArrayOfString" />
    <s:element minOccurs="1" maxOccurs="1" name="Percentage" nillable="true" type="s:decimal" />
    </s:sequence>
    <s:attribute name="Version" type="s:decimal" use="required" />
    <s:attribute name="URI" type="s:string" />
    </s:complexType>
    Any suggestion is appreciated.
    Regards
    pavan

    You have 2 options i guess.
    Use the transformation and the for-each to construct the array-list
    or like Richard said, use a loop in bpel, assign in the loop an variable of element type="CSParameters" and append this variable to your variable with accepts the arraylist.

  • How to Put together all SAP Transactions that are used a single User

    Dear Friends,
    In our client place, each user will be given a set of transaction codes, (like Sales Order Creation, Invoice Creation etc....). Each user role differs with other user role.
    Our client requirement is to put together all transaction codes on which his role is assigned, for instance transaction coeds like VA11, VA15N, VA21, VA25N, VL01N, VL06O, Print command. and customer generated report 'Z' codes should be placed together in a single transaction.
    I heard about area menus but I dont know how to call that functionality within the Sales Transactions. Could any one of you help me to resolve this issue. Your suggestions will be highly appreciated.
    Thank you,
    Raghu Ram

    HI,
    In case of your requirement , you can create an Area Menu (SE43) based on the role and assign all the required transactions.
    Later you can assign that Area Menu as the default parameter to the User ID (SU01).
    Whenever the user will logon he will see that area menu instead of initial SAP screen.
    Please check with the same and confirm.
    Regards,
    Harsh

  • How to put data in JTable from database

    hi everyone,
    i want to query the databse and put the result in the JTable and if possible i want to edit some information. For example: i have 5 records in the database query them and place them in JTable and each record has its own status. if i want to change the status For Example: the status of the 4 records are "Cleared" and the other one is "RELEASEd" so if i have JCombo Box to set the 4 records in to RELEASED status and then save the changes is that possible?
    thank you
    dhing

    In [url /thread.jsp?forum=54&thread=387565]this thread I describe how to use a result set as a basis for table data. Check some database tutorials for information on getting a result set.

  • How to put data in datagrid with AS3 AIR?

    Hi, I'm doing an AIR app scheduler to load data from a .txt. I'm able to trace the data in flash but how do I put those data into flash components (maybe datagrid? Maybe something that can let the user delete part of the entry of their schedule in the scheduler. For example if they wish to delete entry 5 of the scheduler, what should the code for the app be? After displaying the code in the app via flash, the user will be able to delete the fifth entry in the scheduler, or something similiar to this idea. How can I achieve that?
         function loadData(event)
                   var bytes = file.data;
                   str = bytes.readUTFBytes(bytes.length);
                   trace(str);

    Hi, I'm not sure what is a Data Provider actually.
    How about if in flash I make a combo box that list out all the sheduler entries that is grabbed from the .txt file, allowing the user to select which sheduler entry they want to delete. Is that possible? Using FileReference or FileStream is better in this case? How can this be done?

Maybe you are looking for

  • IMac G3 DV 400 "not acceptable to OSX 10.4.3 Updater?

    I have been resurrecting a friends G3 slot loading iMac and have just hit a strange hitch - having fixed the firmware update problem, installed a gigabyte of RAM, installed OSX 10.4, installed Photoshop and Internet access (via Safari) the machine ha

  • How to set a display variable

    Hi all, we have oracle EBS 12.1.1 installed on suse linux servers in our setup. one developer is using dev tools to have some graphs displayed while generating reports. all of a sudden we find that the graphs are not getting generated. i am told that

  • Lockbox / Remittance Advice Configuration Error

    We are developing a solution to correct some issues posting EDI 820 (remittance advice) and EDI 823 (lockbox) transactions.  Our SAP implementation consultant apparently advised us to map both of these to FINSTA01 IDOCS, instead of using REMADV for t

  • Lines over watermark

    Hello, Is there anyway, using Crystal Reports designer, to have a watermark that appears below the boxes and lines in a report ? When I try to add lines or boxes in the watermark report sample given by Crystal, lines are always displayed under the wa

  • How do i subtract a still image from a video I have recorded

    say I have a video and at one part of the video I pause it and would like to take the frame that is up on the screen and make it into a still image> how would I do that?