Userfriendly alternative for table ROAUTH

In we have about 100 export DataSource, only one is allowed to be accessed by other systems. We want to limit the access to the 99 export DataSource for other systems. If we use standard SAP in SPRO, table ROAUTH, we have to enter 99 entries.
Is there a more userfriendly way of limiting access to export DataSources, and enter only the DataSource which can be accessed by other systems?

I'm not quite sure if it works but it should. Prerequisites:
Make sure that the user inside your BW (e.g. ALEREMOTE) is a different one from the other systems (e.g. BWREMOTE). You can maintain the users in SM59 in the source system.
Implement the BAdI RSU5_SAPI_BADI. In both methods (DATA_TRANSFORM and HIER_TRANSFORM) you should implement the following coding:
IF sy-uname <> 'ALEREMOTE'.  " Call from another system
  IF i_datasource <> '8EXPORT'. "datasource allowed to
                                "export
    REFRESH C_T_DATA.           "Don't export any data
  ENDIF.
ENDIF.
Instead of hard coding the data source you could also do a select on the ROAUTH. If there are no entries for the data source delete the data, otherwise let ROAUTH do the check.
Best regards
Dirk

Similar Messages

  • Calling Batch input from Web Dynpro - any alternatives for table updates?

    Hi!
    I am asked to create a screen in Web Dynpro for the GJ30 transaction (JV Cutback mapping of WBS' elements). I created a remote enabled function module which call batch input for GJ30 . Testing the Function modules direclty goes fine, but not calling the function module from WD. then I get the same error message as when I once tried to call SAP GUI from Web Dynpro ( Call transaction /submit program).
    My next step is to try to create a batch input session (instead of call transaction) and run it using rsbdcsub, and then check the result of the run. But maybe this will fail of the same reason as well, and I suppose this will make the user waiting longer for the response .
    I read somewhere that Web Dynpro does not support batch Input. But what can you do when there are no standard BAPI's for the update you want to do in SAP ?  We are not supposed to do direct table updates.  
    Anyone who have struggled with the same issues and found a solution??
    regards, Tine

    Hi,
    as BDC is calling screens and in Webdynpro ABAP you cannot use SAP GUI sceeen, you are getting short dump.
    Refer CNTL_SYSTEM_ERROR in webservices from r/3 system
    Thanks,
    Chandra

  • CSS alternative for tables

    Hi,
    I used to do more web pages back in the late 1990s when layout was done in tables. I have tried to use just CSS, but there are some things that I am not confident of how to do in CSS and make it look consistent across browsers and resolutions.  Is there a good way to do the same thing in CSS?
    For example, at http://apilotproject.com/links.htm, I have used a 2 column table to position link buttons to the right of a spilt cell.  Is there a more efficient way to do this in CSS.  I don't want text to wrap around the link logos/buttons.  I assume I could assign a class to the buttons to have them position to the right, but not clear on how to keep them aligned with the text on the left.
    Thanks,
    Kirk 

    Try the following
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <style>
    body {
        width: 960px;
        margin: auto;
        background: #01003A;
    .panel { /* Box Sizing see http://css-tricks.com/box-sizing/ */
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
        -moz-box-sizing: border-box;    /* Firefox, other Gecko */
        box-sizing: border-box;         /* Opera/IE 8+ */
        overflow: hidden;
        color: #FFFFFF;
    .onefifth {
        width: 20%;
        float: left;
    .fourfifth {
        width: 80%;
        float: left;
    .panel h3 {
        color: #275C96;
    .panel img {
        width: 90%;
        display: block;
        margin: 15px auto;
    </style>
    </head>
    <body>
    <div class="panel fourfifth">
      <h3>PILOT MAGIC MUSIC</h3>
      <p>The new home for Pilot's official website. Here you can find everything you wanted to know about Pilot past, present, and future. This website will be up soon, keep checking back.</p>
    </div>
    <div class="panel onefifth"> <img src="http://apilotproject.com/images/linkpilotmagicmusic.jpg" alt=""/> </div>
    <div class="panel fourfifth">
      <h3>DAVID PATON</h3>
      <p>At David's official website you will find lots of great information about David and his career. There are exclusive pictures to see, MP3s to hear and you can even submit questions for David to answer about his career outside of Pilot. Check it out now!</p>
    </div>
    <div class="panel onefifth"> <img src="http://apilotproject.com/images/linkdp.jpg" alt=""/> </div>
    <div class="panel fourfifth">
      <h3>IAN BAIRNSON</h3>
      <p>At Ian's official website you will also find lots of great information about Ian Bairnson. Great pictures to see, an extensive discography with MP3 clips of his guitar work, and much, much more.</p>
    </div>
    <div class="panel onefifth"> <img src="http://apilotproject.com/images/linkib.jpg" alt=""/> </div>
    </body>
    </html>

  • Alternative for Table Celvarient

    Dear All,
                    I am Using NWDS 04s Version. In this version Table Cell Varient option is not available. Please any one help me if any alternative is there.
    Thanks&Regards,
    Bhargava

    Hi Bhargava,
    The Table Cell Variant option is available in NW 2004s. What version of the NWDS are you using and what is the version of the SAP NW server.
    The hierarchy of UI Elements in a Table is:
    Table
    >Table Column
    >Header
    >Table Cell Variant (which is a TextView, dropdownbyindex, dropdownbykey etc)
    Right Click on the table column select the option "Insert Cell Variant"
    You will see a pop with the options of UI elements like TextView, Inputfield, DropdownByIndex, DropdownByKey etc.
    Select the option required.
    Regards,
    Kartikaye

  • Alternate for tables statement

    hi friends
    If i use dictionary fields in the screen i am using tables statement of that corresponding structure.
       but i think tables statement is obsolete one is it right so what is the alternative for tables statement
    how to move the values of fields between screen and abap program, help me
               thanks in advance

    Fields are moved from your program to the screen when the field names match.  There is no explicit transport command needed.
    I do not think that the TABLES command is considered obsolete when used in screen programming.  That is the only time that I use it.  There was some training material in regards to the TABLES command being required for proper transport between the program and the screen.  I do not know if this has changed with 4.7.

  • Alternative for Pooled table M_VMVAC in ECC 5 version

    Hi,
    Pooled table M_VMVAC in version 3.1i does not exist
    in ECC 5.Can anyone tell me the alternative for this?
    Pool/cluster is M_VMVA in 3.1i version
    Helpful answers will be rewarded
    Thanks
    Kiran

    Check data base view V_VMVAC.
    Regards
    Sridhar

  • Alternative for Pooled table M_VMVLA in ECC 5 version

    Hi,
    Pooled table M_VMVLA in version 3.1i does not exist
    in ECC 5.Can anyone tell me the alternative for this?
    <b>Pool/cluster  M_VMVL in 3.1i version</b>
    Helpful answers will be rewarded
    Thanks
    Kiran

    Hai Kiran
    Check the following Code in program 'RVV50L21'.
    the following Code is present in ECC 5.0
    select * from <b>shp_idx_gdsi</b> where wadat in i_datum     "470
                                     and   vstel in i_vstel
                                     and   route in i_route
                                     and   vbeln eq vttp-vbeln.
    simillar code in 3.1 version is
    select * from <b>m_vmvla</b> where wadat in i_datum
                           and   vstel in i_vstel
                           and   route in i_route
                           and   vbeln eq vttp-vbeln.
    Replacent table for m_vmvla is shp_idx_gdsi
    Regards
    Sreeni

  • Archiving object for tables GLPCC and GLPCO

    Hi All,
      GLPCA table stores the actual line items in PCA and GLPCT table stores the totals records of PCA.
    What are the transactions which get affected in regular course by these tables?
       GLPCC - EC-PCA: Transaction Attributes
       GLPCO - EC-PCA: Object Table for Account Assignment
    There is no archiving object for the tables GLPCC and GLPCO when checked in DB15. What is the alternative for archiving the entries in those tables?
    Thanks in advance
    Regards
    Anupama

    Hello Anupama,
    The standard archiving objects for PCA are EC_PCA_ITM & EC_PCA_SUM. Most of the data is archived with above two objects.  Hence it would be better to use given archiving object. About 80% of data can be archived through standard archiving objects.
    For more information you may read SAP Data Management Guide.
    Regds
    Ambadas

  • Alternative for AT NEW --- ENDAT

    Hello experts,
    I am using field-symbol as internal table. I cant use AT NEW statement inside this loop.
    Can u pls provide alternative for above control break statement.
    Thanks in advance.
    Zak.

    Hi,
    to use control break statement, first you should sort the internal table and then you use it.
    Take one example:
    data: begin of it9 occurs 4,
               f1,
               f2,
             end of it9.
      it9 = '1A'. append it9. "Fill it9 with data
      it9 = '3A'. append it9.
      it9 = '1B'. append it9.
      it9 = '2B'. append it9.
    sort it9 by f1.
    loop at it9.
         at new f1.
             write: / 'start of:', it9-f1.
             endat.
         at end of f1.
             write: / 'end   of:', it9-f1.
             endat.
         endloop.
    free it9.
    Hope it is helpful.
    Regards,
    Chris Gu

  • Alternative for EXEC command(Native SQL)

    Hi Friends,
             While Using the EXEC command in native sql it is showing the obselete Error  , Can  any one help  with giving the alternative for the commands for native SQl.
           Immediate

    In a Native SQL statement, data is passed between the ABAP program and the database using host variables. A host variable is an ABAP variable that is identified as such in the Native SQL statement by a preceding colon (:).
    Example
    Displaying an extract from the table AVERI_CLNT:
    DATA: F1(3), F2(3), F3(3).
    F3 = ' 1 '.
    EXEC SQL.
      SELECT CLIENT, ARG1 INTO :F1, :F2 FROM AVERI_CLNT
             WHERE ARG2 = :F3
    ENDEXEC.
    WRITE: / F1, F2.
    To simplify the form of the INTO lists in the SELECT statement, you can, as in Open SQL, specify a single structure as the target area.
    Example
    Displaying an Extract from the Table AVERI_CLNT:
    DATA: BEGIN OF WA,
            CLIENT(3), ARG1(3), ARG2(3),
          END OF WA.
    DATA  F3(3).
    F3 = ' 1 '.
    EXEC SQL.
      SELECT CLIENT, ARG1 INTO :WA FROM AVERI_CLNT
             WHERE ARG2 = :F3
    ENDEXEC.
    WRITE: / WA-CLIENT, WA-ARG1.
    Native SQL supports the directly-executable commands of your underlying database system. There are other special commands that you can use after the EXEC SQL statement for cursor handling, stored procedures (procedures stored in the database), and connections to other databases.
    Cursor Processing

  • Alternative for 'WITH HEADER LINE' ?

    Hello All,
    In BSP's I gues we can't use table with header lines and occurs 0.
    SO whts the alternative for this ?
    I want to use the FM 'GET_COMPONENT_LIST' .
    To this FM I need to pass the table which is declared with  occurs 0 or with header line .
    Eg:
    DATA: lt_cols TYPE STANDARD TABLE OF it_cols with header line.
    DATA: v_count TYPE i.
    CALL FUNCTION 'GET_COMPONENT_LIST'
      EXPORTING
        program    = sy-repid
        fieldname  = 'LT_COLS'
      TABLES
        components = itab[].
    DESCRIBE TABLE itab LINES v_count.
    WRITE v_count.
    " I've used the following code :
          DATA: ls_final_t    TYPE STANDARD TABLE OF mara initial size 10  ,
                lt_rstrucinfo TYPE TABLE OF rstrucinfo .
          CALL FUNCTION 'GET_COMPONENT_LIST'
            EXPORTING
              program    = 'CL_O243NHIEBSRAZZG8RPTVGL3YAH9CP'
              fieldname  = 'LS_FINAL_T'
            TABLES
              components = lt_rstrucinfo[].
    But it's not working .
    I guess the problem is wid passage of parameter for program.
    Bcoz i tried the same in the ABAP Program and it's working !
    SO can any one tell me what to pass for the program ?
    I tried with sy-repid , hardcoded my BSP application name , but none of them worked !!!
    Can anyone help me out ?
    Regards,
    Deepu.K

    Hi Depp,
    The problem with your code example is that you should not have used the [] addition to the table name.
    Try this...
          CALL FUNCTION 'GET_COMPONENT_LIST'
            EXPORTING
              program    = 'CL_O243NHIEBSRAZZG8RPTVGL3YAH9CP'
              fieldname  = 'LS_FINAL_T'
            TABLES
              components = lt_rstrucinfo. "Note change here!
    It is a good idea to get used to working with tables without header lines. I like to use data references where possible.
    For example...
      DATA: i_tab TYPE TABLE OF sflight,
            w_ref TYPE REF TO sflight.
    * Append line to table
      APPEND INITIAL LINE TO i_tab REFERENCE INTO w_ref.
      w_ref->carrid = 'AA'.
      w_ref->connid = '123'.
    * Loop through table
      LOOP AT i_tab REFERENCE INTO w_ref.
        WRITE: / `ConnID is `, w_ref->connid.
      ENDLOOP.
    * Read line
      READ TABLE i_tab REFERENCE INTO w_ref WITH KEY connid = '123'.
    Cheers
    Graham Robbo

  • Alternative for Open , Fetch cursor command

    Hi Experts,
    I am populating data from glpca table using Open Cursor statement with hold as shown below:
      OPEN CURSOR WITH HOLD cur1 FOR
    Select data from the purchase order header table.
      SELECT runit rprctr sprctr                               
             racct rfarea hsl msl kostl aufnr ps_psp_pnr
              FROM glpca
             WHERE docnr  IN s_docnr
               AND rbukrs =  p_rbukrs
               AND rprctr IN s_rprctr
               AND sprctr IN s_sprctr                          
               AND rfarea IN s_rfarea
               AND budat  IN s_budat
               AND kostl  IN s_kostl
               AND aufnr  IN s_aufnr.
    Now when i try to Fetch the cursor even restricting it with PACKAGE SIZE command ( value 998), my program get struck over here for 20-30 mins or more den that & session gets out for the user at client end coz of large data. I checked the value of cursor , it was around 670-700 approx.
    The query is shown below:
    DO.
    fetch rows from cursor depending on package size
        FETCH NEXT CURSOR cur1 INTO TABLE t_glpca
           PACKAGE SIZE p_size.
        IF sy-subrc NE 0.
          CLOSE CURSOR cur1.
          EXIT.
        ENDIF.
    The program get struck at above fetch next cursor command.
    Kindly suggest me some other way to handle or populate the data or any alternative for Cursor command.
    Thanks for your consideration.
    Regards
    Mudit

    Siegfried Boes  wrote:
    > there is a reason why OPEN CURSOR WITH HOLD is usually used.
    >
    > Siegfried
    Sorry for hijacking this thread and asking here. I am here in the forums on daily basis just reading and learning.
    This got me curious and I googled and read SAP tutorial about cursors:
    http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3b23358411d1829f0000e829fbfe/content.htm
    also read an answer from Thomas after searching forum:
    The combination with OPEN CURSOR ... WITH HOLD allows package processing of tasks that require a database commit inside the loop. A normal SELECT loop without holding the cursor would be interrupted by a commit -> short dump.
    MY TWO QUESTIONs
    1. In SAP tutorial it states that
    "WITH HOLD addition in the OPEN CURSOR statement allows you to prevent a cursor from being closed when a database commit occurs in Native SQL"
    If I don't specify any commit statements in my abap code and user cursor without the addition with hold.
    Can a commit be executed anyway and I get an unwanted commit and thus an unwanted close of my cursor?
    Or do they mean that "if you specify commit in native sql"?
    2. Thomas says a normal select loop without the cursor holding would be interrupted. Interrupted by who? Again, it seems like there is an "unwanted" commit here? Again, can there be any commits and unwanted interrupts if I dont specify it somewhere in my code?
    regards
    Baran
    Edited by: Baran Sölen on Feb 25, 2009 11:39 AM

  • Alternative for Cursor in SQL Server 2012

    Hi all,
      I keen to know Alternative for Cursor in SQL Server 2012. Why everyone telling Cursor have performance impact. Any other alternative for row by row comparison like Array in SQL 2012 ?
    Thanks

    It is not the cursor that kills you - it is the loop as such. I've seen more than one example of a poor man's cursor, where they have selected TOP 1 from a #temp ORDER BY, and several operations on the temp table - which is completely void of indexes,
    making the operations for the loop control the slowest in the batch. So you use cursor when you need to iterate.
    But in many cases, you should work and think set-based instead.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Alternative for SE16

    Is there any alternative for SE16 to check number of entries in tables.
    Scenario is,
    Based on filter company code, find number of records in BKPF and then in BSEG. Is they any other way?
    thanks,

    Hello Mark,
    thanks for reply.
    I am checking if there is any alternative for SE16.
    Since the BSEG table is big and in most of the cases in foreground with SE16 it will give time out error.
    i know we can check by running SE16 in background job.
    This is the reason I am wondering if there is any another option.
    regards,
    Sant

  • Alternative for inner joins

    Hi,
    please check this code and suggest me of an alternative for this performance wise.
    SELECT b~partner
                      APPENDING CORRESPONDING FIELDS OF
                      TABLE t_db_pos_match
                        FROM adrc AS a
                        JOIN but020 AS b
                          ON   aaddrnumber = baddrnumber
                        JOIN but000 AS c
                          ON   bpartner    = cpartner
                        WHERE  c~partner   NE t_bp_obj-act-ekun-partner
                          AND  c~mc_name1   = t_bp_obj-act-ekun-name_last
                          AND  a~city1      = wa-city1
                          AND  a~post_code1 = wa-post_code1
                          AND  a~po_box     = wa-po_box
                          AND  a~street     = wa-street
                          AND  a~house_num1 = wa-house_num1
                          AND  a~house_num2 = wa-house_num2
                          AND  a~region     = wa-region
                          AND  a~addr_group = 'BP'.
    awaiting your reply.
    Binay.

    HI
    *PARAMETERS P_CITY TYPE SPFLI-CITYFROM.
    **TYPES: BEGIN OF ENTRY_TAB_TYPE,
            CARRID TYPE SPFLI-CARRID,
            CONNID TYPE SPFLI-CONNID,
          END OF ENTRY_TAB_TYPE.
    **DATA: ENTRY_TAB   TYPE TABLE OF ENTRY_TAB_TYPE,
         SFLIGHT_TAB TYPE SORTED TABLE OF SFLIGHT
                          WITH UNIQUE KEY CARRID CONNID FLDATE.
    **SELECT CARRID CONNID
          FROM SPFLI
          INTO CORRESPONDING FIELDS OF TABLE ENTRY_TAB
          WHERE CITYFROM = P_CITY.
    **SELECT CARRID CONNID FLDATE
          FROM SFLIGHT
          INTO CORRESPONDING FIELDS OF TABLE SFLIGHT_TAB
          FOR ALL ENTRIES IN ENTRY_TAB
          WHERE CARRID = ENTRY_TAB-CARRID AND
                CONNID = ENTRY_TAB-CONNID.
    TRY LIKE THIS
    REWARD IF USEFULL

Maybe you are looking for

  • Select Vendor Email Address when creating PO

    Hi Guys; When I create PO for send by email, the system get Email Address from Vendor.   But some vendors got two or more email address.   For example; 001 [email protected]    Standard 002 [email protected] 003 [email protected] In the PO Header dat

  • Import and export a root site in a site collection in sharepoint2010

    Hi, I have site-collection in sharepoint2010 i.e. http://test.com/ and i have subsites under it that looks like this http://test.com/HR,http://test.com/payroll etc.. root site in site-collection i.e. http://test.com/ has to be imported from other Sha

  • How to change name of downloaded file by URLLink.acsm

    When I browser my URLLink.acsm: "http://host:8080/fulfillment/URLLink.acsm?action=...." it download a file named "URLLink.ascm". How can I change that file name to "title.acsm" insteed of "URLLink.ascm"? For example: "ShakespearInLove.acsm". I'm usin

  • Transactional Replication - SQL Server 2012

    Newbie to Replication. Configured transactional replication on a database and everything run's fine, but out of all the tables one of the table with couple of columns as VARCHAR(MAX) and with about 3 million records takes 80% of replication duration.

  • How to audit unsuccessful select

    I got a error message 'ORA-00492: Table or view does not exist.' from an application I've no source code. In order to know what table the user try to access, I use the command 'AUDIT SELECT TABLE BY username'. But Oracle only keeps the records that u