Query on static text files upload ? Please reply

Hi all,
We have some doubts in uploading static text files in RAR 5.3 version. Can anybody please clarify at the earliest?
1) Can we prepare the SoD rule set in the static text files (as provided by SAP during installation)
till Action (t- code) level conflicts and upload the same. After that cam we add/change the
authorization objects manually as per the business requirement? Whether this is possible?
Does a small SPACE in the text file will impact the rule set uploading?
2) If we are configuring the rule set manually i.e when we are assigning t-codes to the functions,
we believe the authorization objects will gets picked up automatically from the back end system for that particular t-code and the object values can be edited as per the SoDs of the business requirement? Is our understanding correct?
If this is true, refer to question 1 whether we will get the authorization objects in case of
uploading the text files (Business process, Funcitons, rule set,action level) only at action
level?
3) Once if we have used the text files for uploading the rule set can we edit them manually i..e disabling the t-codes from function, deleting the risk ids etc.,. ORELSE even the changes has to be made in the text files and upload again replacing the existing rule set whenever there are changes in the SoD rule set?
Thanks and Best Regards,
Srihari.K

Dear Srihari,
1) Can we prepare the SoD rule set in the static text files (as provided by SAP during installation)
till Action (t- code) level conflicts and upload the same. After that cam we add/change the
authorization objects manually as per the business requirement? Whether this is possible?
Ans - Theoratically we can prepare our own text files in the same format as provided by SAP. Till action level it is not so difficult. Difficulty rises when we create permission files. This is near to impossible to create exact copy of SPA authorization objects and values due to human error. So it is advisable to upload SAP standard for sap specific analysis and at the same time we can keep org levle ruleset and risks. We do it by doing it in GRC manually( Create business process, function id, risks and generate rul sets) - that is better practice.
Does a small SPACE in the text file will impact the rule set uploading?
2) If we are configuring the rule set manually i.e when we are assigning t-codes to the functions,
we believe the authorization objects will gets picked up automatically from the back end system for that particular t-code and the object values can be edited as per the SoDs of the business requirement? Is our understanding correct?
If this is true, refer to question 1 whether we will get the authorization objects in case of
uploading the text files (Business process, Funcitons, rule set,action level) only at action
level?
Ans - As far I know the text file should be in exact format if we want to create custom files.
3) Once if we have used the text files for uploading the rule set can we edit them manually i..e disabling the t-codes from function, deleting the risk ids etc.,. ORELSE even the changes has to be made in the text files and upload again replacing the existing rule set whenever there are changes in the SoD rule set?
We have to change it in GRC manually.
From your question what I could get is that you want to do it according to your business scenario. Better if you collect data(as you will even do in case of text files) and configure it manually.
Regards,
Sabita Das

Similar Messages

  • "Import from Text File" & "Upload from Clipboard" icon not appearng in F110

    Hi Experts,
    While making the payment to the vendors through TN F110, in "PARAMETER" screen just next to 'STATUS' screen, there is a vendor field for selection in range and just ahead of this there is an icon for multiple vendor selection ( Bold arrow mark ). If I click on that multiple vender selection icon ( on bold arrow mark ), an another screen opens for multiple selection for vendors. In this screen 'Enter, Copy, Delete etc' icons are appearing at the bottom of the screen but "Import from Text File" & "Upload from Clipboard" icon are not appearing there.
    Can you please let me know how to bring that icons there?
    Points would be awarded.
    Rgds,
    Shailesh

    Hi Ravi,
    I have not yet created anything and have just entered the parameter. In the multiple screen for vendors there are 5 fields for individual and 5 for range selection. Even you can put more than five range selections or individual selections by clicking on the page button but there I am not finding these two icons.
    Can you please check at your end and let me know if you are getting or what to do to bring those two icons in F110.
    Rgds,
    Shailesh

  • How to write the output of an SQL query to a text file?

    I am using Oracle 11g and SQL plus.
    I have a large table called rating.
    Whenever I do
    SQL> select * from rating;
    The output goes much beyond what the SQL Plus screen can show. I want to therefore store the output of this query into a text file.
    How can this be done? Please help. Thanks.

    SQL> SPOOL results.txt
    SQL> select * from rating;
    SQL> SPOOL OFF

  • How to display the out put of the sql query in a text file using forms

    I want to display the out put of the sql query in a text file using forms 6.0.Same could be done using spool command in sqlplus but i want it using forms....Fiaz

    Have a look at the text_io package:
    http://www.oracle.com/webapps/online-help/forms/10g/state?navSetId=_&navId=3&vtTopicFile=f1_help/oraini/c_text_io.html&vtTopicId=
    cheers

  • Saving query results to text file

    Hi experts,
    I would like to save a query results to text file.
    The query has desined to the correct structure and I wish the query results will be saved automaticly to text file every time the query is running.
    The query should cintain some sql code that will save the query to text file instead of show the query results.
    What function of SQL should I add to query to achieve that goal. (The query is a long one).
    Thanks in advance,
    Joseph

    If you are talking about Query Manager, it is not difficult to do.  No matter how long your query coding is, just go to the start point of your query.  Then press CtrlShiftEnd to select all the TEXTs.  CtrlC and CtrlV will copy the text (query codes) to text file easily.
    Thanks,
    Gordon

  • GRC 5.3 - Text file upload errors in RAR configuration

    Hello,
    I am in the process of configuring the RAR for GRC 5.3 and I keep getting several java errors while trying to upload the Descripotions Text file from the backend system.
    I could successfully load the Auth object file after several attempts.
    Can someone advise how I can overcome this issue.
    Thanks,
    Farah
    *Some of the error messages as they appear :*
    at com.virsa.cc.rulearchitect.bo.ObjectTextBO.insertObjectText(ObjectTextBO.java:84)
    at com.virsa.cc.comp.UploadTexts.onActionUploadTextObjs(UploadTexts.java:335)
    at com.virsa.cc.comp.wdp.InternalUploadTexts.wdInvokeEventHandler(InternalUploadTexts.java:169)

    Hi Farah,
    Please refer to this document [Offline Mode Risk Analysis|https://www.sdn.sap.com//irj/sdn/go/portal/prtroot/docs/library/uuid/20a06e3f-24b6-2a10-dba0-e8174339c47c|Offline Mode Risk Analysis at GRC Wiki]. This will help you in conforming the structure and all the necessary tabbed-delimitation in each file.
    Yes, as mentioned do save the files as UTF-8 text encoding.
    Secondly, DO NOT open the files in MS WORD or MS EXCEL rather use WORDPAD and NOTEPAD for the same. Sometimes, word/excel affect the stucture of the file and even you can't open more than 65536 records in excel.
    Cheers!
    Aman

  • GUI_UPLOAD not working for text file upload with '|' as a saperater

    Dear all,
    I have used 'GUI_UPLOAD' to upload data from text file having below format,
    1000|HBK1|HKTI
    1000|HBK2|HKTI
    1000|HBK3|HKTI
    My code is as below
    *& Report  ZTEST_NEW1
    REPORT  ZTEST_NEW1.
    TYPE-POOLS: truxs,
                kcde.
    TYPES :     BEGIN     OF             ty_data2          ,
                zbukr     TYPE           payr-zbukr       ,
                hbkid     TYPE           payr-hbkid       ,
                hktid     TYPE           payr-hktid       ,
               END       OF             ty_data2         .
    DATA :            it_file   TYPE           filetable        .
    DATA :      wa_file   LIKE LINE OF   it_file          .
    DATA :      w_rc      TYPE           i                ,
                lv_file   TYPE           string           .
    DATA : it_data2 TYPE TABLE OF ty_data2,
           wa_data2 LIKE LINE OF it_data2.
    SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME TITLE text-020.
    PARAMETER : pr_file   TYPE           rlgrap-filename         .
    SELECTION-SCREEN END OF BLOCK bk1                            .
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR pr_file.
      PERFORM get_file.
    START-OF-SELECTION.
      PERFORM get_data.
    FORM get_file .
    CALL METHOD cl_gui_frontend_services=>file_open_dialog
    *  EXPORTING
    *    WINDOW_TITLE            =
    *    DEFAULT_EXTENSION       =
    *    DEFAULT_FILENAME        =
    *    FILE_FILTER             =
    *    INITIAL_DIRECTORY       =
    *    MULTISELECTION          =
    *    WITH_ENCODING           =
        CHANGING
          file_table              = it_file
          rc                      = w_rc
    *    USER_ACTION             =
    *    FILE_ENCODING           =
       EXCEPTIONS
         file_open_dialog_failed = 1
         cntl_error              = 2
         error_no_gui            = 3
         not_supported_by_gui    = 4
         OTHERS                  = 5
      IF sy-subrc EQ 0.
        CLEAR : wa_file.
        LOOP AT it_file INTO wa_file.
          pr_file = wa_file-filename.
          CLEAR : wa_file.
        ENDLOOP.
      ELSE.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " get_file
    FORM get_data .
    IF pr_file IS INITIAL.
        MESSAGE 'Enter file name'(002) TYPE 'E'.
      ENDIF.
      IF pr_file CP '*.xls'
        or pr_file CP '*.xlsx' . " Added
      ELSEIF pr_file CP '*.txt'.
    CONSTANTS : c_del TYPE c LENGTH 1 VALUE '|'.
        lv_file = pr_file.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = lv_file
       FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = c_del
    *   HEADER_LENGTH                 = 1
    *   READ_BY_LINE                  = 'X'
    *   DAT_MODE                      = ' '
    *   CODEPAGE                      = ' '
    *   IGNORE_CERR                   = ABAP_TRUE
    *   REPLACEMENT                   = '#'
    *   CHECK_BOM                     = ' '
    *   VIRUS_SCAN_PROFILE            =
    * IMPORTING
    *   FILELENGTH                    =
    *   HEADER                        =
      TABLES
        DATA_TAB                      = it_data2
    * EXCEPTIONS
    *   FILE_OPEN_ERROR               = 1
    *   FILE_READ_ERROR               = 2
    *   NO_BATCH                      = 3
    *   GUI_REFUSE_FILETRANSFER       = 4
    *   INVALID_TYPE                  = 5
    *   NO_AUTHORITY                  = 6
    *   UNKNOWN_ERROR                 = 7
    *   BAD_DATA_FORMAT               = 8
    *   HEADER_NOT_ALLOWED            = 9
    *   SEPARATOR_NOT_ALLOWED         = 10
    *   HEADER_TOO_LONG               = 11
    *   UNKNOWN_DP_ERROR              = 12
    *   ACCESS_DENIED                 = 13
    *   DP_OUT_OF_MEMORY              = 14
    *   DISK_FULL                     = 15
    *   DP_TIMEOUT                    = 16
    *   OTHERS                        = 17
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endif.
    ENDFORM.                    " get_data
    In my output I am only getting company codes and not getting other two columns, can any body guide me where I am doing wrong?
    I have checked many other same kind of threads and I have done the same as suggested to do but still I am facing issue.
    Thanks in advance.
    Regards,
    Umang

    Hi Umang,
    There is a simple solution to this problem. Make the following changes to your code(marked in red color):
    REPORT  ZTEST_NEW1.
    TYPE-POOLS: truxs,
                kcde.
    TYPES :     BEGIN     OF             ty_data2          ,
                zbukr     TYPE           payr-zbukr       ,
                hbkid     TYPE           payr-hbkid       ,
                hktid     TYPE           payr-hktid       ,
               END       OF             ty_data2         .
    types: begin of ty_data
                 str type char200,
               end of ty_data.
    DATA: it_data type table of ty_data,
               wa_data type ty_data.
    DATA :            it_file   TYPE           filetable        .
    DATA :      wa_file   LIKE LINE OF   it_file          .
    DATA :      w_rc      TYPE           i                ,
                lv_file   TYPE           string           .
    DATA : it_data2 TYPE TABLE OF ty_data2,
           wa_data2 LIKE LINE OF it_data2.
    rest of the code **
    FORM get_data .
    IF pr_file IS INITIAL.
        MESSAGE 'Enter file name'(002) TYPE 'E'.
      ENDIF.
      IF pr_file CP '*.xls'
        or pr_file CP '*.xlsx' . " Added
      ELSEIF pr_file CP '*.txt'.
    CONSTANTS : c_del TYPE c LENGTH 1 VALUE '|'.
        lv_file = pr_file.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = lv_file
       FILETYPE                      = 'ASC'
    *HAS_FIELD_SEPARATOR           = c_del                    "comment this line
    HEADER_LENGTH                 = 1
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      TABLES
        DATA_TAB                      = it_data
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      NO_AUTHORITY                  = 6
      UNKNOWN_ERROR                 = 7
      BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
      SEPARATOR_NOT_ALLOWED         = 10
      HEADER_TOO_LONG               = 11
      UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
      DP_OUT_OF_MEMORY              = 14
      DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
    IF SY-SUBRC  0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endif.
    Loop at it_data into wa_data.
    split wa_data-str at '|' into wa_data2-zbukr wa_data2-hbkid wa_data2-hktid.
    append wa_data2 to it_data2.
    clear wa_data2.
    Endloop.
    ENDFORM.                    " get_data
    IT_DATA2 will contain the final uploaded data. Hope this helps

  • Can anybody provide the SQL query to find the files uploaded in a particular folder?

    Hi All,
    Can anybody provide the SQL query to find the documents (document name) uploaded in a particular folder? While clicking on folder in
    GUI I'm hitting the Timeout error. I would like to find the files uploaded into this folder from SQLPLUS.
    Any help is greatly appreciated.
    With best regards,
    Nevin

    Nevin,
    Be great if we could know the version of Portal. For Rel. 1, here's the query
    select id,masterthingid from wwv_things
    where siteid = &site
    and cornerid = &corner
    &site - Content Area id
    &corner - Folder id
    if you don't know the folder id, use
    select id from wwv_corners where siteid = &site
    and name = &folder
    Hope this helps. I have run into this situation before. Usually, the culprits were
    one of the following:
    1. Junk Characters in description of item (caused due to Copy-Paste)
    2. Special Characters in the File name
    Hi All,
    Can anybody provide the SQL query to find the documents (document name) uploaded in a particular folder? While clicking on folder in
    GUI I'm hitting the Timeout error. I would like to find the files uploaded into this folder from SQLPLUS.
    Any help is greatly appreciated.
    With best regards,
    Nevin

  • Text file upload

    Hi all,
         I am uploading a text file like resume in presentation server to sap i have two fields in internal table, both of char type and of length 140 ch, I was able to upload the file but the thing is in the first field i am getting only 74 char and the rest are not coming. pls help. i am attaching the sample code with ths.
    DATA : BEGIN OF WA_NAME ,
           V_NAME(140),
           V_DET(140),
           END OF WA_NAME.
    DATA : IT_NAME LIKE WA_NAME occurs 0 with header line .
    CALL FUNCTION 'UPLOAD'
    EXPORTING
      CODEPAGE                      = ' '
       FILENAME                      = ' '
       FILETYPE                      = 'DAT'
      ITEM                          = ' '
      FILEMASK_MASK                 = ' '
      FILEMASK_TEXT                 = ' '
      FILETYPE_NO_CHANGE            = ' '
      FILEMASK_ALL                  = ' '
      FILETYPE_NO_SHOW              = ' '
      LINE_EXIT                     = ' '
      USER_FORM                     = ' '
      USER_PROG                     = ' '
      SILENT                        = 'S'
    IMPORTING
      FILESIZE                      =
      CANCEL                        =
      ACT_FILENAME                  =
      ACT_FILETYPE                  =
      TABLES
        DATA_TAB                      = IT_NAME
    EXCEPTIONS
      CONVERSION_ERROR              = 1
      INVALID_TABLE_WIDTH           = 2
      INVALID_TYPE                  = 3
      NO_BATCH                      = 4
      UNKNOWN_ERROR                 = 5
      GUI_REFUSE_FILETRANSFER       = 6
      OTHERS                        = 7
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards
    Tharanatha

    DATA : BEGIN OF WA_NAME ,
    V_NAME(140),
    V_DET(140),
    END OF WA_NAME.
    <b>DATA : IT_NAME LIKE standard table of  WA_NAME  with header line .</b>
    CALL FUNCTION 'UPLOAD'
    EXPORTING
    CODEPAGE = ' '
    FILENAME = ' '
    FILETYPE = 'DAT'
    ITEM = ' '
    FILEMASK_MASK = ' '
    FILEMASK_TEXT = ' '
    FILETYPE_NO_CHANGE = ' '
    FILEMASK_ALL = ' '
    FILETYPE_NO_SHOW = ' '
    LINE_EXIT = ' '
    USER_FORM = ' '
    USER_PROG = ' '
    SILENT = 'S'
    IMPORTING
    FILESIZE =
    CANCEL =
    ACT_FILENAME =
    ACT_FILETYPE =
    TABLES
    DATA_TAB = IT_NAME
    EXCEPTIONS
    CONVERSION_ERROR = 1
    INVALID_TABLE_WIDTH = 2
    INVALID_TYPE = 3
    NO_BATCH = 4
    UNKNOWN_ERROR = 5
    GUI_REFUSE_FILETRANSFER = 6
    OTHERS = 7
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • How to tackle " . " or " , "Comma DECIMAL notations in text file uploading?

    Hi Experts,
    I hv to upload the text file via LSMW and creating the Purchse Orders.
    So, issue is with QUANTITY and VALUE fileds, bcoz, the text file may some times contain " . " as DECIAML or may some times " , "(comma-Europe) as DECIMALs.
    And some times this LSMW may run by US guys, where " ." is DECIMAL and some times Europe guys, where " , " is DECIMAL.
    So, request u that, let me know that, How to handle all situations? Is there any FM?
    thank u

    Hello Srinivas
    The easiest approach would be the organizational one:
    Assuming that all relevant values have at most two digitals then export all values without decimal sign and interpret the last two digit of any values as decimals values (this approach is used in many EDI messages).
    The second approach would be to include a "marker" about the decimal notation in the file.
    However, I would always recommend to use the simplest approach (= 1st approach).
    Regards
      Uwe

  • Myterious character in text file! Please help!

    Hello all
    I am experiencing a problem identifying a certain character in a text file I have to import.
    In the .txt doc the char appears as a square, and when copying the text to MSWord, it seems like a paragraph sign.
    But when I'm searching for paragraph signs or line breaks, it is skipping that char, so it must be something else.
    Question:
    How will I find out what char it is, in order to remove it with StringTokenizer?
    I already tried ("\r") and ("\n")
    Any ideas will be welcome
    Regards
    Jaco

    Get the bytes using String.getByes(), print out the value of the byte for the particular character u are looking ,and then u will know which ASCII char it is.
    Most likely it would be char(13).
    byte [] bytes=s.getBytes();
    for(int i=0;i<bytes.length;i++)
    system.out.println(byte);
    Hope it helps.

  • File Upload: Please Help

    Hi Ppl, Will midp allow me to write an application that can upload a file preferably less than 100kb in a file server.

    Unless you're required to use FTP, it might be worth looking at doing the upload via an HTTP POST. Look at [RFC 1867 - Form-based File Upload in HTML|http://www.ietf.org/rfc/rfc1867.txt]. This is fairly easy to implement on the client side, and since it's the same technique that browsers use for file upload, there's usually a straightforward way to implement server side support. There's some sample code for a servlet to receive the file at [http://www.servlets.com/cos/|http://www.servlets.com/cos/].

  • Bulk insert of text file Help PLEASE!

    Hello,
    I am trying to insert the following data into a sql server table.
    11470012 31020141100AMFI2              TENTATIVE APPOINTMENT SET FOR 03/17/2014 AT 10:00 AM
    11470012 31720141000AMFI7              INTERVIEW COMPLETED.
    I am using the following code.
    Bulk Insert dbo.Totalnt
    From 'c:\totalnt.txt'
    with (rowterminator = '\n');
    I get the following error.
    Msg 4866, Level 16, State 7, Line 4
    The bulk load failed. The column is too long in the data file for row 1, column 1. Verify that the field terminator and row terminator are specified correctly.
    Msg 7399, Level 16, State 1, Line 4
    The OLE DB provider "BULK" for linked server "(null)" reported an error. The provider did not give any information about the error.
    Msg 7330, Level 16, State 2, Line 4
    Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".
    Please help,
    M. Wilson
    M. Wilson

    Here is the create table statement.  I appreciate your assistance.  I have never imported a file into sql server.
    USE
    [2013ProductionData]
    GO
    /****** Object:  Table [dbo].[Totalnt]    Script Date: 03/31/2014 21:24:17 ******/
    SET
    ANSI_NULLS
    ON
    GO
    SET
    QUOTED_IDENTIFIER
    ON
    GO
    CREATE
    TABLE [dbo].[Totalnt](
    [Cluster] [nvarchar]
    (2)
    NOT
    NULL,
    [Project] [nvarchar]
    (3)
    NOT
    NULL,
    [Case] [nvarchar]
    (2)
    NOT
    NULL,
    [RecType] [nvarchar]
    (1)
    NULL,
    [ContactDateM] [nvarchar]
    (2)
    NULL,
    [ContactDateD] [nvarchar]
    (2)
    NULL,
     [ContactDateY] [nvarchar]
    (4)
    NULL,
    [ContactTimeH] [nvarchar]
    (2)
    NULL,
    [ContactTimeM] [nvarchar]
    (2)
    NULL,
    [ContactTimeAMPM] [nvarchar]
    (2)
    NULL,
    [Who] [nvarchar]
    (2)
    NULL,
    [Result] [nvarchar]
    (1)
    NULL,
    [ApptDateM] [nvarchar]
    (2)
    NULL,
    [ApptDateD] [nvarchar]
    (2)
    NULL,
    [ApptDateY] [nvarchar]
    (4)
    NULL,
    [ApptTimeH] [nvarchar]
    (2)
    NULL,
    [ApptTimeM] [nvarchar]
    (2)
    NULL,
    [ApptTimeAMPM] [nvarchar]
    (2)
    NULL,
    [Comments1] [nvarchar]
    (50)
    NULL,
    [Comments2] [nvarchar]
    (50)
    NULL,
    [Comments3] [nvarchar]
    (50)
    NULL,
    [Comments4] [nvarchar]
    (50)
    NULL
    ON [PRIMARY]
    GO
    M. Wilson

  • How to make a text file out of a bunch of strings

    Hey Guys,
    Can anyone please tell me how I can make a text file that stores a bunch of strings. I have some strings that store some values. I want to know is there a way so that I can just keep on appending the string values to the text files. Please reply. Any help would be appreciated.
    Thank you,
    Vivek

    boolean appendToFile = true;
    // will create the file if it does not exist...
    // will append to the file (at the end of the file) if it exist
    PrintWriter out = new PrintWriter( new BufferedWriter(
         new FileWriter("term.txt", appendToFile)) );     
    out.println(str);   // print the string and append a newline character
    out.print(str);     // print the string
    out.close()         // close the file when done (release the resource)
            

  • Error while uploading standard text files for the Global rule set

    Hi all,
    As part of Post Installation Activities we have uploaded standard text files for business process, functions, risks and rule set obtained with the installable Software.
    While uploading the text files we have uploaded the Basis Functions Authorizations first and then R/3 text files.
    When we checked no actions are appearing in the rule architect under respective functions except for the BASIS Module.
    Is this because we have uploaded the Basis functions before the R/3 text files?If yes, how to replace the Basis with the R/3 ones.
    We tried to replace the Basis function authorizations by re-uploading the R/3 text files again but we got the below error message u201CORA-00001:unique constraint (SAPSR3DB.SYS_C004479) violatedu201D
    Can somebody please help in this regard how to get the standard rule set in our system?
    Thanks and Best Regards,
    Srihari.K

    Hi Sri,
    you should upload first the static text files and the authorization objects first and then the GRC standard rule set files following the instructions of the SAP Configuration Guide available in Service Market Place under http://service.sap.com/instguides .
    The GRC standard rule set contains files named Basis_functions_action.txt and R3_function_action.txt. The first one contains ONLY function definitions in terms of transcation codes for basis only, whereas the second one contains functions definition for basis AND ERP modules. The same holds for the *_function_permission.txt files. There are also function definition files for other SAP solutions such as APO, CRM, HR  etc.
    You can open a customer message and request a deletion script for the rule sets files you have uploaded already. After their application of this script all rule set data will be deleted from your database. If you have uploaded static text and authorization files correctly, you can then upload the GRC standard rule set files as needed again.
    best regards,
    Frank

Maybe you are looking for

  • DefaultListModel  & JTable; how to sync the items in the DefaultListModel

    I have a jtable with items in it example name date age Peter 01-jan-43 62 Ron 03-nov-73 32 when double clicking the name( eg peter), a new window pops up contains all relevent info of the user. I added a sorter and when sorting the table it comes in

  • Standard RFC for update Purchase Order No. in Sales Order

    Hi all, It's allow the custoemrs to login in internet to change the fields of Purchase Order No & PO Date. Is there any standard RFC to update the fields of Purchase Order No. (VBKD-BSTKD) & PO Date (VBKD-BSTDK) in Sales Order?

  • Updating ARDT table without using direct update statement

    hi,     can any one guide me how to update REMARK field in the ADRT table without using direct UPDATE statement. It would be helpful if any one can tell me the bapi or a function module with a sample code.

  • How to overwrite contacts/calendars on touch from computer?

    I have a 2nd gen iPod Touch which I have been syncing with MobileMe.  I now have to change to iCloud, and the Touch is not supported.  I have read that I can continue to sync my contacts and calendars, however, via iTunes on this device, and use iClo

  • How to stopping rounding  using decimal format

    my problem is as 1. I am taking a double input in a jtextfield 2. Now i am using decimal format to round it to 6 decimal places Now , how to make sure that decimal format while formatting do not round like If input is 1.2345678 i want to get 1.234567