TABLE :RFCDES

TABLE :RFCDES
can i find the aRFC max number in this table? 
and from this table i can find this information  M=300,U=WF-BATCH,l=X,Y=2,h=2,v=%_PWD,q=0,d=2.
i know that M for client ,U for name.
but dont know the others.
please help me.

Thats correct... RFCDES does not contain that information.
Also, read...
http://help.sap.com/saphelp_nw70/helpdata/en/7f/06363dc992752de10000000a114084/content.htm
Regards
Jaun

Similar Messages

  • Update in RFCDES

    Hello,
    in the document "SAP System Landscape Copy for SAP NetWeaver and SAP Solutions"  [https://websmp102.sap-ag.de/~sapidb/011000358700003128302006E] i can read
    Disable system connections / RFC destinations to prevent any communication from being issued by the system. Execute an SQL statement which invalidates the hostnames, respectively the IP address in the main RFC connections table, for example by adding a suffix u2018.copyu2019 or a prefix u2018#u2019 to the hostname / IP address. The hostname / IP address is contained in field RFCOPTIONS of table RFCDES. This step can help to prevent any messages from being transferred from the target to the source environment. The actual adjustment of the destinations to their final values (the real servers of the target environment) is done later in step 6.4 using the official SAP transaction SM59.
    [img]http://service.gmx.net/de/cgi/dfstools?CUSTOMERNO=13112334&t=de1914898820.1264687146.ef29b2b6&action=fullscreen&URL=http%3A%2F%2Fservice%2Egmx%2Enet%2Fde%2Fcgi%2Fdfsimg?CUSTOMERNO%3D13112334%26t%3Dde1914898820%2E1264687146%2Eef29b2b6%26folder=%252FMeine%2BBilder%252F%26file=rfcdes%252Ejpg%26f=fullscreen[/img]
    Do you have any code examples code to update the table RFCDES.
    Best regards
    Lutz

    Better approach is to export the table from the target system and then import it back in after the copy.  this will prevent the problem from occuring.

  • Table to maintain RFC destination

    Hi,
      An RFC enable Function Module from R/3 is to be called in CRM system. I dont want to hard the RFC destination for the R/3 whn calling the FM. Is there any other table tht can b used for this?
      Is there any other way to achieve this???
    Regards,
    Sivagami

    Hi Sivagami,
    Check the table RFCDES. This table will store all RFC destinations defined for your system. U can use the transaction SM59 to create the RFC destinations. But most of the developers dont have access to this transaction. So cotact ur basis team to define required RFC destinations.
    Thanks,
    Vinod

  • Table for logical destination

    hi,
    logical destinations are defined in which table

    Check the table RFCDES Destination table for Remote Function Call
    The table RFCDES describes logical destinations for remote function calls (RFCs)

  • How to find the User who changed the connection settings

    Hi Gurus,
    I am basically a BW guy but i am looking at your precious Guidance in this issue.
    We have a situation in our BW production system. The job loads are working fine till now but seems like someone has meddled with RFC connection with R/3 prod.
    The connection between R/3 and BW is broken. I would like to know if there is any way to find the User or some Log to find who might have medelled with the RFC's .
    Help is greatly appreciated.
    Regards
    satish M

    Hello Satish,
    Which release are you on?
    Option 1: Take a look in SM59 selecting the destination and there is a "last changed" information displayed.
    Option 2: the table for these connections are often not logged for table change logging, but if they are... then try transaction SCU3 on the backend tables (table RFCDES is a good start).
    (search for rec/client and recclient etc as search terms).
    Option 3: Why would someone change a connection? Try to analyze what happened during the time period after the change, or even immediately before the change (audit logs, system events, server statistics etc). A simple check would be via SM20 to see who started SM59 immediately prior to this. A more complex check would be analyzing the RFC profiles in ST03N.
    Option 4: On the R/3 side, you might be able to find the same auditable information as well (perhaps even the IP address of the caller?) Tip: The person might have created a dump... => transaction ST22.
    Option 5: There are some other additional logging, tracing and control possibilities at a deeper technical level, if used or active at that point in time.
    Cheers,
    Julius

  • User password problem in RFC after system copy

    HEllo,
    we have a problem in ECC6.0 after system copy (refresh QUAL system by PRD data).
    BEfore doing this copy, we export RFC data (SM59 tables) of our QUAL system and after the refresh we reimport these RFC in our QUAL system. We don't want RFC comming from productive system.
    After this reimport, RFC configuration is ok but we have a problem with RFCuser password. In the password box we have "inconsistent"...
    Have you an idea to reimport succesfully these informations ?
    Thanks
    lionel

    Hello,
    We performed another refresh yesterday. But unfortunatly it was not working. Password are still inconsistent.
    This are exactly way we perform it:
    Before restoring DB :
    export table via R3trans for tables:
    RFCDES, RFCDOC, RFCATTRIB, RFCCHECK, RFCDESSECU, RFCSYSACL, RFCTRUST, RFCCMC, RFCGO, SXRFC, IBSSI_RFCDEST, PARAMVALUE, RSECACTB where ident LIKE '___/RFC%'
    export users via scc8
    Restore DB, truncate upper rfc tables,  import rfc Tables
    Check SM59 => inconsistent
    Migrate Secstore => still inconsistent
    Import Users via transport generated by scc8
    run scc7 as post actions
    Tuncatate/re-import rfc tables
    Check SM59 => inconsistent
    Migrate Secstore => still inconsistent
    What else could be done ?
    We have a lot of RFC. so re-enter all password is really a hudge task ..
    Thanks a lot for help

  • Change of SAP Server IP Address

    Hi,
    We are using operating system win 2008 server (IP address: 192.168.50.1), In that we are accessing SAP ECC6.0 Server(IP address: 192.168.50.2)  and SAP Solution Manager server(192.168.50.3) through  HyperV Manager, both servers are installed in windows server 2003.
    Recently we are relocating our server.
    Now we are planning  to change IP address of servers according to our LAN.
    Like :
    win 2008 server IP address: 192.168.50.1 to  192.168.2.1
    win 2003 server( SAP ECC6.0) IP address 192.168.50.2 to 192.168.2.2
    win 2003 server( SAP Solution manager) IP address 192.168.50.3 to 192.168.2.3
    Please suggest me if any impacts while changing the IP Address.
    Regards,
    BBC  Achari

    Dear Achari,
    Check whether your machines are configured using hostnames not ip addresses.
    look in table rfcdes for sm59 RFC destinations and see if you need to change any ip to valid host names also look at  any scripts that may ftp files to your machine or so
    Also check profiles/scripts/./etc/hosts etc.
    Also check your transport management system, it always using hostname but check whether any IP address you have mentioned there.
    Except that there is no big risk in changing IP addresses.
    Hope this will help.
    Thanks
    Anil

  • Function module for checking existance of rfc destination?

    hi all,
       is their any function module for checking existance of rfc destination?
    regards
    deepak

    Hi,
    check teh table 'RFCDES'.
    reward if helpful.
    Regards,
    nagaraj

  • How to save SM59 RFC entries during system refreshes

    Hello,
    I will be refreshing our NW04 ERP and SRM QA systems.   Our platform is Oracle/Unix.
    My question is how to export the SM59 RFC entries before the refresh, so I can reimport them after the refresh.   I have done this successfully in R/3 4.6c, but cannot get it to work in NW04.
    During the last refresh, I manually created transports and added the three standard objects, but after reimporting the transport in the newly refreshed system, I found that the RFC's were not restored.
    Any help would be greatly appreciated!
    Thank You,
    Joyce

    Hello Joyce,
    I've created an RFC destination in a NW04 system while making a SQL trace.
    It did
    a DELETE in table RSECACTB
    an UPDATE in table RFCDES
    an UPDATE in table RSECTAB
    an INSERT in table RFCDES
    an UPDATE in table ATAB
    an INSERT in table RFCATTRIB
    a  DELETE in RSECTAB
    an INSERT in RSECTAB
    an INSERT in RSESCACTB
    an INSERT in ATAB
    I think that the data model is much more complicated in NW04 than in R/3 4.6 and creating manually a transport is a challenge that I would not try !
    Regards,
    Olivier

  • Hi abap experts (one help)

    hi
    1. please send standard data base table names related to    fi/co?
    2.  please send any objects related to fi/co (weather its   reports bdc, scripts or smarforms)?

    Hi,
    Please go through the below mention code where you can find the data related to FICO.
    This program is mainly used for F-53 BDC Document clearance.
    REPORT ZCITI_F53_WIPRO no standard page heading line-count 255.
    TABLES: BSIK,        " Accounting: Secondary Index for Vendors
            LFA1,        " Vendor Master (General Section)
            LFB1,        " Vendor Master (Company Code)
            BKPF,        " Accounting Document Header
            bsak,        " Acctg:Secondary Index for Vendors (Cleared Items)
             t077k.
    DATA:  Z_FNAME LIKE RLGRAP-FILENAME,
           Z_PATH LIKE RLGRAP-FILENAME,
           MASK(10).
    begin of mod01 +
    TYPES : BEGIN OF W_TAB1,
            BELNR LIKE BSIK-BELNR,
            WRBTR LIKE BSIK-WRBTR,
            END OF W_TAB1.
    TYPES : BEGIN OF W_TAB,
            BELNR LIKE BSIK-BELNR,
            WRBTR LIKE BSIK-WRBTR,
            lifnr like bsik-lifnr,
            END OF W_TAB.
    end of mod01 -
    DATA : BEGIN OF IT_BSIK OCCURS 0,
           BUKRS LIKE BSIK-BUKRS,
           LIFNR LIKE BSIK-LIFNR,
           GJAHR LIKE BSIK-GJAHR,
           BELNR LIKE BSIK-BELNR,
           WRBTR LIKE BSIK-WRBTR,
           REBZG LIKE BSIK-REBZG,
           ZLSPR LIKE BSIK-ZLSPR,
           SHKZG LIKE BSIK-SHKZG,
           PARTL LIKE BSIK-WRBTR,
           NTAMT LIKE BSIK-WRBTR,
           XPORE LIKE LFB1-XPORE,
           END OF IT_BSIK.
    data : file_path like rlgrap-filename.
    DATA : BEGIN OF IT_LFA1 OCCURS 0,
           LIFNR LIKE LFA1-LIFNR,
           END OF IT_LFA1.
    DATA : BEGIN OF it_error OCCURS 0,
                 bukrs LIKE bsik-bukrs,
                 lifnr LIKE bsik-lifnr,
                 belnr LIKE bsik-belnr,
                 gjahr LIKE bsik-gjahr,
                 rej(1),
            END OF it_error.
    DATA : IT_TAB TYPE STANDARD TABLE OF W_TAB
           INITIAL SIZE 0 WITH HEADER LINE,
           IT_TAB1 TYPE STANDARD TABLE OF W_TAB1
           INITIAL SIZE 0 WITH HEADER LINE.
    DATA : BEGIN OF IT_INVN OCCURS 0,
           BUKRS LIKE BSIK-BUKRS,
           LIFNR LIKE BSIK-LIFNR,
           GJAHR LIKE BSIK-GJAHR,
           BELNR LIKE BSIK-BELNR,
           WRBTR LIKE BSIK-WRBTR,
           REBZG LIKE BSIK-REBZG,
           ZLSPR LIKE BSIK-ZLSPR,
           SHKZG LIKE BSIK-SHKZG,
           PARTL LIKE BSIK-WRBTR,
           NTAMT LIKE BSIK-WRBTR,
           XPORE LIKE LFB1-XPORE,
           END OF IT_INVN.
    data : str type string.
    DATA : m_wrbtr_h LIKE bsik-wrbtr,
           m_wrbtr_s LIKE bsik-wrbtr,
           m_wrbtr_net LIKE bsik-wrbtr,
           m_amnt  like bsik-wrbtr,
           m_pamnt like bsik-wrbtr,
           M_NTAMNT LIKE BSIK-WRBTR,
           M_PNTAMNT LIKE BSIK-WRBTR.
    data : t_bdc_tab like standard table of bdcdata
          initial size 0 with header line.
    data : dat(10).
    data : flag(1),
           FLAGE(1),
           count(4) type n,
           counter(4) type n.
    DATA : FSYR LIKE BSIK-GJAHR.
    DATA : M_PARTL type string,
           M_AMOUNT type string,
           mt_ntamnt type string,
           MT_PNTAMNT type string.
    data: m_file LIKE rlgrap-filename.
    DATA: id1(3) TYPE n.
      TABLES rfcdes.
      DATA: file_count  TYPE i,
            dir_count   TYPE i.
      DATA: file_table  LIKE sdokpath OCCURS 0 WITH HEADER LINE,
            dir_table   LIKE sdokpath OCCURS 0 WITH HEADER LINE,
            source      LIKE rlgrap-filename,
            destination LIKE rlgrap-filename,
            dest_path   like rlgrap-filename,
            return TYPE i.
    data : begin of it_bsak occurs 0,
           augbl like bsak-augbl,
           end of it_bsak.
    SELECTION-SCREEN BEGIN OF BLOCK BK1 WITH FRAME.
        PARAMETERS : P_CMCD LIKE BSIK-BUKRS OBLIGATORY DEFAULT 'WT01'.
        PARAMETERS : P_FLNM LIKE RLGRAP-FILENAME OBLIGATORY.
        PARAMETERS : P_FSYR LIKE BSIK-GJAHR OBLIGATORY. "ADDED mod01
    SELECTION-SCREEN SKIP.
        PARAMETERS : PX_TEST AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN END OF BLOCK BK1.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
    SELECTION-SCREEN COMMENT 1(70) m_info.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN COMMENT 1(70) m_info1.
    SELECTION-SCREEN SKIP.
        PARAMETERS : PX_MOVE AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FLNM.
      Z_FNAME = 'regular.txt'.
      Z_PATH = 'c:\citibank\liabilitydoc\regular.txt'.
      MASK = ',.,..'.
      CALL FUNCTION 'WS_FILENAME_GET'
          EXPORTING
               DEF_FILENAME     = Z_FNAME
               DEF_PATH         = Z_PATH
               MASK             = MASK
               MODE             = 'O'
            TITLE            = ' '
          IMPORTING
               FILENAME         = P_FLNM
            RC               =
           EXCEPTIONS
                INV_WINSYS       = 1
                NO_BATCH         = 2
                SELECTION_CANCEL = 3
                SELECTION_ERROR  = 4
                OTHERS           = 5.
      IF SY-SUBRC <> 0.
        MESSAGE I000(E4) WITH 'File Upload Error'.
      ENDIF.
    AT SELECTION-SCREEN OUTPUT.
      m_info =
        'Before BDC Run - First move all the files from directory'.
    M_INFO1 ='C:\CITIBANK\PAYDOC_IMPORT\ to C:\CITIBANK\PAYDOC_PROCESSED'.
    P_FLNM = 'c:\citibank\liabilitydoc\regular.txt'.
    START-OF-SELECTION.
      CALL FUNCTION 'WS_UPLOAD'
           EXPORTING
                FILENAME                = P_FLNM
                FILETYPE                = 'DAT'
           TABLES
                DATA_TAB                = IT_TAB1[]
           EXCEPTIONS
                CONVERSION_ERROR        = 1
                FILE_OPEN_ERROR         = 2
                FILE_READ_ERROR         = 3
                INVALID_TYPE            = 4
                NO_BATCH                = 5
                UNKNOWN_ERROR           = 6
                INVALID_TABLE_WIDTH     = 7
                GUI_REFUSE_FILETRANSFER = 8
                CUSTOMER_ERROR          = 9
                OTHERS                  = 10.
    START-OF-SELECTION.
    CALL FUNCTION 'Z_GET_FISCALYEAR'
         EXPORTING
              PDATE   = sy-datum
        IMPORTING
             PYEAR   = FSYR
    begin of mod01 +
    loop at it_tab1.
    select single lifnr into it_tab-lifnr from bseg
                              where bukrs = p_cmcd and
                              belnr = it_tab1-belnr and
                              gjahr = p_fsyr.
    if sy-subrc <> 0.
            MOVE P_CMCD TO IT_ERROR-BUKRS.
            MOVE IT_TAB1-BELNR TO IT_ERROR-BELNR.
            MOVE FSYR TO IT_ERROR-GJAHR.
            MOVE 'A' TO IT_ERROR-REJ.
            APPEND IT_ERROR.
            CLEAR IT_ERROR.
            delete it_tab1.
    else.
        it_tab-belnr = it_tab1-belnr.
        it_tab-wrbtr = it_tab1-wrbtr.
        append it_tab.
        clear it_tab.
    endif.
    endloop.
    end of mod01 + ************
    SORT IT_TAB BY BELNR.
    LOOP AT IT_TAB.
          select SINGLE bukrs
                        lifnr
                        gjahr
                        belnr
                        wrbtr
                        rebzg
                        zlspr
                        shkzg into
                       (it_bsik-bukrs,
                       it_bsik-lifnr,
                       it_bsik-gjahr,
                       It_bsik-belnr,
                       it_bsik-wrbtr,
                       it_bsik-rebzg,
                       it_bsik-zlspr,
                       it_bsik-SHKZG)
                from bsik where
                 bukrs = P_CMCD and
                gjahr = fsyr and    " MOD01 -
                lifnr = it_tab-lifnr and
                 gjahr = P_FSYR and     "MOD01 +
                 belnr = it_tab-belnr.
          IF SY-SUBRC <> 0.
            MOVE P_CMCD TO IT_ERROR-BUKRS.
            MOVE IT_TAB-BELNR TO IT_ERROR-BELNR.
            MOVE FSYR TO IT_ERROR-GJAHR.
            MOVE 'A' TO IT_ERROR-REJ.
            APPEND IT_ERROR.
            CLEAR IT_ERROR.
            delete it_tab.
          ELSE.
              APPEND IT_BSIK.
              CLEAR IT_BSIK.
          ENDIF.
    ENDLOOP.
    SORT IT_BSIK BY LIFNR.
    LOOP AT IT_BSIK.
    select single ktokk from lfa1 into lfa1-ktokk.
    select single xcpds from t077k into t077k-xcpds where ktokk = lfa1-ktokk
        IF IT_BSIK-ZLSPR <> ''.
            MOVE IT_BSIK TO IT_ERROR-BUKRS.
            MOVE IT_BSIK-BELNR TO IT_ERROR-BELNR.
            MOVE IT_BSIK-GJAHR TO IT_ERROR-GJAHR.
            MOVE 'B' TO IT_ERROR-REJ.
            APPEND IT_ERROR.
            CLEAR IT_ERROR.
            delete it_bsik.
        elseif t077k-xcpds = 'X'.
            MOVE IT_BSIK TO IT_ERROR-BUKRS.
            MOVE IT_BSIK-BELNR TO IT_ERROR-BELNR.
            MOVE IT_BSIK-GJAHR TO IT_ERROR-GJAHR.
            MOVE 'G' TO IT_ERROR-REJ.
            APPEND IT_ERROR.
            CLEAR IT_ERROR.
            delete it_bsik.
        ENDIF.
    ENDLOOP.
    SORT IT_BSIK BY LIFNR BELNR.
    LOOP AT IT_BSIK.
    SELECT SINGLE ZLSPR FROM BSIK INTO BSIK-ZLSPR WHERE
      BUKRS = IT_BSIK-BUKRS AND LIFNR = IT_BSIK-LIFNR AND
      GJAHR = IT_BSIK-GJAHR AND REBZG = IT_BSIK-BELNR.
      IF BSIK-ZLSPR <> ' '.
              MOVE IT_BSIK TO IT_ERROR-BUKRS.
            MOVE IT_BSIK-BELNR TO IT_ERROR-BELNR.
            MOVE IT_BSIK-GJAHR TO IT_ERROR-GJAHR.
            MOVE 'B' TO IT_ERROR-REJ.
            APPEND IT_ERROR.
            CLEAR IT_ERROR.
            delete it_bsik.
    ENDIF.
    ENDLOOP.
    sort it_bsik by lifnr.
    loop at it_bsik.
        ON CHANGE OF IT_BSIK-LIFNR.
          MOVE IT_BSIK-LIFNR TO IT_LFA1-LIFNR.
          APPEND IT_LFA1.
          CLEAR IT_LFA1.
        ENDON.
    endloop.
    SORT IT_LFA1 BY LIFNR.
    LOOP AT IT_LFA1.
          SELECT SINGLE SPERZ FROM LFA1 INTO LFA1-SPERZ WHERE
          LIFNR = IT_LFA1-LIFNR.
          IF LFA1-SPERZ = 'X'.
            MOVE IT_LFA1-LIFNR TO IT_ERROR-LIFNR.
            MOVE 'C' TO IT_ERROR-REJ.
            APPEND IT_ERROR.
            CLEAR IT_ERROR.
            delete it_lfa1.
          ENDIF.
    ENDLOOP.
    sort it_bsik by belnr.
    sort it_tab by belnr.
    loop at it_bsik.
        read table it_tab with key belnr = it_bsik-belnr binary search.
         if sy-subrc = 0.
             move it_tab-wrbtr to it_bsik-partl.
             modify it_bsik transporting partl.
         endif.
    endloop.
    SORT IT_BSIK BY BUKRS LIFNR GJAHR BELNR.
    LOOP AT IT_BSIK.
        SELECT SINGLE XPORE INTO IT_BSIK-XPORE FROM LFB1
        WHERE LIFNR = IT_BSIK-LIFNR.
        MODIFY IT_BSIK TRANSPORTING XPORE.
        CLEAR : M_WRBTR_H,M_WRBTR_S,M_WRBTR_NET.
        SELECT WRBTR SHKZG INTO (BSIK-WRBTR,BSIK-SHKZG) FROM BSIK
        WHERE BUKRS = IT_BSIK-BUKRS AND
              LIFNR = IT_BSIK-LIFNR AND
              GJAHR = IT_BSIK-GJAHR AND
              REBZG = IT_BSIK-BELNR.
         IF BSIK-SHKZG = 'H'.
              M_WRBTR_H = M_WRBTR_H + BSIK-WRBTR.
         ELSEIF BSIK-SHKZG = 'S'.
              M_WRBTR_S = M_WRBTR_S + BSIK-WRBTR.
         ENDIF.
       ENDSELECT.
       M_WRBTR_NET = IT_BSIK-WRBTR + M_WRBTR_H - M_WRBTR_S.
       IF M_WRBTR_NET LT 0.
            MOVE IT_BSIK TO IT_ERROR-BUKRS.
            MOVE IT_BSIK-BELNR TO IT_ERROR-BELNR.
            MOVE IT_BSIK-GJAHR TO IT_ERROR-GJAHR.
            MOVE 'D' TO IT_ERROR-REJ.
            APPEND IT_ERROR.
            CLEAR IT_ERROR.
            delete it_bsik.
       ELSEIF M_WRBTR_NET GT '100000000.00'.
            MOVE IT_BSIK TO IT_ERROR-BUKRS.
            MOVE IT_BSIK-BELNR TO IT_ERROR-BELNR.
            MOVE IT_BSIK-GJAHR TO IT_ERROR-GJAHR.
            MOVE 'E' TO IT_ERROR-REJ.
            APPEND IT_ERROR.
            CLEAR IT_ERROR.
            delete it_bsik.
       ELSE.
          MOVE M_WRBTR_NET TO IT_BSIK-NTAMT.
         MODIFY IT_BSIK TRANSPORTING NTAMT.
       ENDIF.
    ENDLOOP.
    concatenate 'CITI/RTGS/NEFT/' sy-datum6(2) '.' sy-datum4(2) '.'
    sy-datum(4) into str.
    SORT IT_BSIK BY XPORE.
    LOOP AT IT_BSIK.
      IF IT_BSIK-XPORE = 'X'.
          MOVE-CORRESPONDING IT_BSIK TO IT_INVN.
          APPEND IT_INVN.
          CLEAR : IT_INVN.
          DELETE IT_BSIK.
      ENDIF.
    ENDLOOP.
    if px_move = 'X'.
        perform file_move.
    endif.
    IF PX_TEST = 'X'.
        perform sub_output_run.
    ELSE.
    SORT IT_LFA1 BY LIFNR.
    SORT IT_BSIK BY LIFNR.
    SORT IT_INVN BY LIFNR.
    concatenate sy-datum6(2) '.' sy-datum4(2) '.' sy-datum(4) into dat.
    LOOP AT IT_LFA1.
    SELECT SINGLE XPORE FROM LFB1 INTO LFB1-XPORE WHERE
    LIFNR = IT_LFA1-LIFNR.
    IF LFB1-XPORE = ' '.
    clear : m_amnt,M_PAMNT, M_NTAMNT,FLAG.
        LOOP AT IT_BSIK WHERE LIFNR = IT_LFA1-LIFNR.
            IF IT_BSIK-XPORE = ' '.
                M_PAMNT = M_PAMNT + IT_BSIK-PARTL.
                m_amnt = m_amnt + it_bsik-ntamt.
            endif.
        ENDLOOP.
       perform populate_bdc_tab using: '1' 'SAPMF05A' '0103',
                                       ' ' 'BKPF-BLDAT' dat,
                                       ' ' 'BKPF-BLART' 'BR',
                                       ' ' 'BKPF-BUKRS' P_CMCD,
                                       ' ' 'RF05A-AUGTX' STR,
                                       ' ' 'RF05A-KONTO' '632118',
                                       ' ' 'BSEG-GSBER' 'T100'.
          IF M_PAMNT <> '0.00'.
              FLAG = 'X'.
              M_AMOUNT = M_PAMNT.
              condense m_amount.
              PERFORM POPULATE_BDC_TAB USING: ' ' 'BSEG-WRBTR' M_AMOUNT.
          ELSE.
              M_AMOUNT = M_AMNT.
              condense m_amount.
              PERFORM POPULATE_BDC_TAB USING: ' ' 'BSEG-WRBTR' M_AMOUNT.
          ENDIF.
          PERFORM POPULATE_BDC_TAB USING: ' ' 'RF05A-AGKON' it_LFA1-LIFNR,
                                          ' ' 'BDC_OKCODE' '/00'.
        loop at it_bsik where lifnr = it_lfa1-lifnr.
          PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                         ' ' 'BDC_OKCODE' '=OSU'.
               PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '2000',
                                         ' ' 'RF05A-XPOS1(03)' 'X',
                                         ' ' 'BDC_OKCODE' '=GO'.
                 PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '0731',
                                        ' ' 'RF05A-SEL01(01)' it_bsik-belnr,
                                        ' ' 'BDC_OKCODE' '=GO'.
                PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'BDC_OKCODE' '=OMK'.
                  PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'BDC_OKCODE' '=Z+'.
              PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'BDC_OKCODE' '=OSE'.
        endloop.
                if FLAG = 'X'.
                    m_ntamnt = m_amnt - m_pamnt.
                    mt_ntamnt = m_ntamnt.
                    condense mt_ntamnt.
                    PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'RF05A-AKOBT' mt_ntamnt,
                                        ' ' 'BDC_CURSOR' 'RF05A-AKOBT',
                                        ' ' 'BDC_SUBSCR' 'SAPDF05X',
                                        ' ' 'BDC_OKCODE' '=BU'.
                   PERFORM POPULATE_BDC_TAB USING: '1' 'SAPMF05A' '0700',
                                        ' ' 'BDC_CURSOR' 'RF05A-AZEI1(02)',
                                        ' ' 'BDC_OKCODE' '=PI'.
                   PERFORM POPULATE_BDC_TAB USING: '1' 'SAPMF05A' '0302',
                                      ' ' 'BSEG-SGTXT' 'CUMULATIVE PAYMENT',
                                        ' ' 'BDC_OKCODE' '=BU'.
                else.
                   PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'BDC_OKCODE' '=BU'.
                endif.
           CALL TRANSACTION 'F-53' USING T_BDC_TAB MODE 'A'.
    if sy-subrc = 0.
      refresh T_BDC_TAB.
    endif.
       else.
        loop at it_INVN where lifnr = it_lfa1-lifnr.
        CLEAR : FLAGE.
       perform populate_bdc_tab using: '1' 'SAPMF05A' '0103',
                                       ' ' 'BKPF-BLDAT' dat,
                                       ' ' 'BKPF-BLART' 'BR',
                                       ' ' 'BKPF-BUKRS' P_CMCD,
                                       ' ' 'RF05A-AUGTX' STR.
          IF IT_INVN-XPORE = 'X' AND IT_INVN-PARTL <> '0.00'.
            SELECT SINGLE XBLNR BSCHL INTO (BSIK-XBLNR,BSIK-BSCHL) FROM
                    BSIK WHERE
                     BUKRS = IT_INVN-BUKRS AND
                     LIFNR = IT_INVN-LIFNR AND
                     GJAHR = IT_INVN-GJAHR AND
                     BELNR = IT_INVN-BELNR.
          IF BSIK-BSCHL = '31'.
                perform populate_bdc_tab using: ' ' 'BKPF-BKTXT' BSIK-XBLNR.
          ELSE.
              SELECT SINGLE BKTXT FROM BKPF INTO BKPF-BKTXT WHERE
                  BUKRS = IT_INVN-BUKRS AND
                  BELNR = IT_INVN-BELNR AND
                  GJAHR = IT_INVN-GJAHR.
                perform populate_bdc_tab using: ' ' 'BKPF-BKTXT' BKPF-BKTXT.
          ENDIF.
        ENDIF.
            PERFORM POPULATE_BDC_TAB USING: ' ' 'RF05A-KONTO' '632118'.
            PERFORM POPULATE_BDC_TAB USING: ' ' 'BSEG-GSBER' 'T100'.
          IF IT_INVN-XPORE = 'X' AND IT_INVN-PARTL <> '0.00'.
              FLAGE = 'X'.
              M_PARTL = IT_INVN-PARTL.
              CONDENSE m_partl.
              PERFORM POPULATE_BDC_TAB USING: ' ' 'BSEG-WRBTR' M_PARTL.
          ELSE.
              M_PARTL = IT_INVN-NTAMT.
              condense m_partl.
              PERFORM POPULATE_BDC_TAB USING: ' ' 'BSEG-WRBTR' M_PARTL.
          ENDIF.
           PERFORM POPULATE_BDC_TAB USING: ' ' 'RF05A-AGKON' it_LFA1-LIFNR,
                                           ' ' 'BDC_OKCODE' '/00'.
               PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                         ' ' 'BDC_OKCODE' '=OSU'.
               PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '2000',
                                         ' ' 'RF05A-XPOS1(03)' 'X',
                                         ' ' 'BDC_OKCODE' '=GO'.
                 PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '0731',
                                        ' ' 'RF05A-SEL01(01)' it_INVN-belnr,
                                        ' ' 'BDC_OKCODE' '=GO'.
                PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'BDC_OKCODE' '=OMK'.
                  PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'BDC_OKCODE' '=Z+'.
                 if FLAGE = 'X'.
                    m_Pntamnt = IT_INVN-NTAMT - IT_INVN-PARTL.
                    mt_Pntamnt = m_Pntamnt.
                    condense mt_pntamnt.
                    PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'RF05A-AKOBT' mt_Pntamnt,
                                        ' ' 'BDC_CURSOR' 'RF05A-AKOBT',
                                        ' ' 'BDC_SUBSCR' 'SAPDF05X',
                                        ' ' 'BDC_OKCODE' '=BU'.
                   PERFORM POPULATE_BDC_TAB USING: '1' 'SAPMF05A' '0700',
                                        ' ' 'BDC_CURSOR' 'RF05A-AZEI1(02)',
                                        ' ' 'BDC_OKCODE' '=PI'.
                IF BSIK-BSCHL = '31'.
                   PERFORM POPULATE_BDC_TAB USING: '1' 'SAPMF05A' '0302',
                                      ' ' 'BSEG-SGTXT' BSIK-XBLNR,
                                        ' ' 'BDC_OKCODE' '=BU'.
                ELSE.
                   PERFORM POPULATE_BDC_TAB USING: '1' 'SAPMF05A' '0302',
                                      ' ' 'BSEG-SGTXT' BKPF-BKTXT,
                                        ' ' 'BDC_OKCODE' '=BU'.
                ENDIF.
                else.
                   PERFORM POPULATE_BDC_TAB USING: '1' 'SAPDF05X' '3100',
                                        ' ' 'BDC_OKCODE' '=BU'.
                endif.
          CALL TRANSACTION 'F-53' USING T_BDC_TAB MODE 'A'.
    if sy-subrc = 0.
      refresh T_BDC_TAB.
    endif.
        endloop.
    ENDIF.
    wait  up to 3 seconds.
    ENDLOOP.
    clear : count, counter.
    SORT IT_BSIK BY BUKRS LIFNR GJAHR BELNR.
    wait up to 60 seconds.
    loop at it_bsik.
    count = count + 1.
        select SINGLE augbl from bsak into bsak-augbl
    where
              bukrs = it_bsik-bukrs and
              lifnr = it_bsik-lifnr and
              AUGBL <> IT_BSIK-BELNR AND
              gjahr = it_bsik-gjahr and
              belnr = it_bsik-belnr.
                  move bsak-augbl to it_bsak-augbl.
                  append it_bsak.
                  clear it_bsak.
    endloop.
    SORT IT_INVN BY BUKRS LIFNR GJAHR BELNR.
    loop at it_INVN.
    count = count + 1.
        select single augbl from bsak into bsak-augbl
    where
              bukrs = it_invn-bukrs and
              lifnr = it_invn-lifnr and
              gjahr = it_invn-gjahr and
              belnr = it_invn-belnr AND
              SHKZG = 'H'.
                  move bsak-augbl to it_bsak-augbl.
                  append it_bsak.
                  clear it_bsak.
    endloop.
    SORT IT_BSAK BY AUGBL.
    delete ADJACENT DUPLICATES from it_bsak comparing augbl.
    DESCRIBE TABLE it_bsak LINES counter.
    SORT IT_BSAK BY AUGBL.
    PERFORM get_file_name.
    CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
              FILENAME                = file_path
             FILETYPE                = 'ASC'
         TABLES
              DATA_TAB                = it_bsak
    format color col_heading intensified off.
    uline.
    Write : /50 'F-53 BDC Run Successfully'.
    format color off.
    uline.
    format color col_normal intensified off.
    write : /20 'Payment Document File is store in following Path'.
    write : /35 'C:\CITIBANK\PAYDOC_IMPORT\'.
    uline.
    format color off.
    uline.
    format color col_total.
    write : /20 'Total No of Liability Documents Processed ', count no-zero.
    write : /20 'Total No of Payment Documents Generated   ', counter
    no-zero.
    format color off.
    uline.
    ENDIF.
    *&      Form  SUB_OUTPUT_RUN
          text
    -->  p1        text
    <--  p2        text
    FORM SUB_OUTPUT_RUN.
    data : SRNO type i value 0,
           srno1 type i value 0,
           srno2 TYPE i value 0,
           srno3 TYPE i value 0,
           srno4 TYPE i value 0,
           srno5 type i value 0.
      FORMAT COLOR col_heading intensified off .
      ULINE.
      WRITE:/35 'TEST RUN'.
      ULINE.
      FORMAT COLOR 5 INTENSIFIED OFF.
    SORT IT_ERROR BY REJ.
    LOOP AT IT_ERROR.
        ON CHANGE OF IT_ERROR-REJ.
          IF IT_ERROR-rej = 'A'.
          FORMAT COLOR col_heading INTENSIFIED OFF.
          ULINE.
    WRITE : /'Following Documents are already cleared or do not exist in'.
    write : 'current financial year'.   "MOD01 +
        uline.
         format color off.
          elseif it_error-rej = 'B'.
                FORMAT COLOR COL_HEADING INTENSIFIED OFF.
          ULINE.
    WRITE : /'Following Documents are Blocked for Payment'
        uline.
         format color off.
          elseif it_error-rej = 'C'.
                FORMAT COLOR COL_HEADING INTENSIFIED OFF.
          ULINE.
    WRITE : /'Following Vendors are Blocked for Payment'
        uline.
         format color off.
          elseif it_error-rej = 'D'.
                FORMAT COLOR COL_HEADING INTENSIFIED OFF.
          ULINE.
    WRITE : /'Amount is less than 0 for following Documents'
        uline.
         format color off.
          elseif it_error-rej = 'E'.
                FORMAT COLOR COL_HEADING INTENSIFIED OFF.
          ULINE.
    WRITE : /'Amount is greater than 10 crores for following Documents'
        uline.
         format color off.
          elseif it_error-rej = 'E'.
                FORMAT COLOR COL_HEADING INTENSIFIED OFF.
          ULINE.
    WRITE : /'One Time Vendor'.
        uline.
         format color off.
       endif.
       endon.
       if it_error-rej = 'A'.
        srno = srno + 1.
        format color COL_NORMAL.
        write : /10 srno,35 it_error-belnr.
        format color off.
       elseif it_error-rej = 'B'.
        srno1 = srno1 + 1.
        format color COL_NORMAL.
        write : /10 srno1,35 it_error-belnr.
        format color off.
       elseif it_error-rej = 'C'.
        srno2 = srno2 + 1.
        format color COL_NORMAL.
        write : /10 srno2,35 it_error-lifnr.
        format color off.
       elseif it_error-rej = 'D'.
        srno3 = srno3 + 1.
        format color COL_NORMAL.
        write : /10 srno3,35 it_error-belnr.
        format color off.
       elseif it_error-rej = 'E'.
        srno4 = srno4 + 1.
        format color COL_NORMAL.
        write : /10 srno4,35 it_error-belnr.
        format color off.
       elseif it_error-rej = 'G'.
        srno5 = srno5 + 1.
        format color COL_NORMAL.
        write : /10 srno5,35 it_error-lifnr.
        format color off.
       endif.
    endloop.
    if it_error is initial.
         FORMAT COLOR COL_HEADING INTENSIFIED OFF.
          ULINE.
    WRITE : /'Test Run not find any Document with Error'
        uline.
         format color off.
    endif.
    clear : srno,srno1,srno2,srno3,srno4,srno5.
    ENDFORM.                    " SUB_OUTPUT_RUN
    *&      Form  POPULATE_BDC_TAB
          text
         -->P_0217   text
         -->P_0218   text
         -->P_0219   text
    form populate_bdc_tab using    value(flag)
                                   value(var1)
                                   value(var2).
      clear t_bdc_tab.
      if flag = '1'.
        t_bdc_tab-program = var1.          " Program Name
        t_bdc_tab-dynpro = var2.           " Screen Number
        t_bdc_tab-dynbegin = 'X'.          " Starting of new screen
      else.
        t_bdc_tab-fnam = var1.             " Field Name
        t_bdc_tab-fval = var2.             " Field Value
      endif.
      append t_bdc_tab.
       endform.                               " POPULATE_BDC_TAB
    *&      Form  FILE_MOVE
          text
    -->  p1        text
    <--  p2        text
    FORM FILE_MOVE.
    file_path = 'c:\citibank\paydoc_import\'.
    dest_path = 'c:\citibank\paydoc_processed\'.
        CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
          EXPORTING
            directory  = file_path
            filter     = '.'
          IMPORTING
            file_count = file_count
            dir_count  = dir_count
          TABLES
            file_table = file_table
            dir_table  = dir_table
          EXCEPTIONS
            cntl_error = 1
            OTHERS     = 2.
        IF sy-subrc = 0.
          LOOP AT file_table.
            CONCATENATE dest_path file_table-pathname
            INTO destination.
            CONCATENATE file_path file_table-pathname
            INTO source.
            CALL FUNCTION 'WS_FILE_COPY'
              EXPORTING
                destination = destination
                SOURCE      = SOURCE
              importing
                return      = return.
            CALL FUNCTION 'WS_FILE_DELETE'
              EXPORTING
                file   = source
              IMPORTING
                return = return.
          ENDLOOP.
          CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
            EXPORTING
              directory  = file_path
              filter     = '.'
            IMPORTING
              file_count = file_count
              dir_count  = dir_count
            TABLES
              file_table = file_table
              dir_table  = dir_table
            EXCEPTIONS
              cntl_error = 1
              OTHERS     = 2.
          IF file_count > 0.
          write : /'Error copying', source, 'to', destination.
           CONCATENATE 'Error copying' source 'to' destination
           INTO i_error SEPARATED BY space.
           APPEND i_error.
          ENDIF.
        ENDIF.
    ENDFORM.                    " FILE_MOVE
    *&      Form  GET_FILE_NAME
          text
    -->  p1        text
    <--  p2        text
    FORM GET_FILE_NAME.
    file_path = 'c:\citibank\paydoc_import\'.
      CLEAR : zcitibank2.
      SELECT SINGLE * FROM zcitibank2 INTO zcitibank2
                      WHERE citi_field = 'FNAME'.
      id1 = zcitibank2-citi_val .
      IF zcitibank2-sap_val <> sy-datum .
        zcitibank2-sap_val = sy-datum .
        UPDATE zcitibank2 SET citi_val = '001'
                              sap_val  = sy-datum
                              WHERE citi_field = 'FNAME'.
    *sap_val = sy-datum.
      ELSE.
        id1 = id1 + 1.
        UPDATE zcitibank2 SET citi_val = id1
                                        WHERE citi_field = 'FNAME' AND
                                                 sap_val = sy-datum.
      ENDIF.
      CLEAR : zcitibank2.
      SELECT SINGLE * FROM zcitibank2 WHERE citi_field = 'FNAME'.
    CONCATENATE SY-DATUM SY-UZEIT INTO M_FILE SEPARATED BY SPACE.
      CONCATENATE zcitibank2-sap_val zcitibank2-citi_val INTO m_file
    SEPARATED  BY '_'.
      CONCATENATE file_path m_file '.'
      'txt' INTO file_path.
    ENDFORM.                    " GET_FILE_NAME

  • RFC Entries Missing In sm59

    Hi Experts,
    Please help me with this problem. Never seen before... All RFC Entries are missing in PRD system. Is ther e any I can restore that back? I am sure there must be some table where all the RFC connections are defined, But how it can be done?

    Those are stored in table RFCDES - maybe someone truncated the table?
    Markus

  • IDOC Adapter error while load balancing

    Folks,
    I am facing an issue when I am switching on Load balancing button in RFC destination while sending IDOC in sender system . The sender system shows this error in SM58
    <u><b>IDoc adapter inbound channel: Error Error when rea</b></u>
    Thanks,
    Manish

    Hi Manish...
    This is from F1 on Traget host field in SM59..Check part in bold..
    Name of target host  
         Name of the target host as displayed by the UNIX command 'hostname'.    
         <b>If you are using load balancing, the target host must be the host name  
         of the message server of the SAP System. This is defined in the profile 
         parameter 'rdisp/mshost' of the target system. If you have any further  
         questions, consult your system administrator.                           </b>
         You can specify host names as                                           
             -   Normal host names                                               
             -   Host names in DNS format (if DNS available)                     
             -   IP addresses                                                    
             -   SAProuter names (in the form /H/.../S/.../H/.../S/... )        
    Notes                                                                      
         If you enter the host name (for example, hs0311) as the target host in 
         an RFC destination, its IP address is stored internally in the database
         table RFCDES (destination administration). This speeds up the RFC      
         connection initiation, since the host name does not need to be converted
         into its IP address.                                                   
         However, problems occur if the IP address of the target host changes.  
         For this reason, you must adjust the RFC destinations if the IP address
         of the target host changes.                                            
         If you specify the host name as a SAProuter name (/H/hs0311 instead of 
         hs0311), it is not converted into its correspondidng IP address.       
         Instead, it is stored in its SAProuter form in table RFCDES.

  • How to delete users in PRD

    hi friends,
    In my production server , we want to create new user's with copy of existing users.After that we are planing to delete those user as per  user Licenses.
    Please suggest me how to proceed this in my PRD server.
    Its an urgent requirement.
    Tanks in Advance.

    Hi,
    first you have to do some checks.
    1. check if users are used in jobs
      Goto transaction se16. enter table TBTCP.
      Chose "Settings" -> "Fields for Selection".
      Mark the checkbox on field AUTCKNAM.
      Press Button "Multible selection" (button next to the selection fields)
      Enter the useres you want to delete
    2. check if users are used in RFC-destinations
      Goto transaction se16. enter table RFCDES.
      Enter 9999 in field "Width of Output List"
      Enter 9999 in field "Maximum No. of Hits"
      In the list you can search for the users.
    3. check if users are used in interfaces
      For examplu are there users that login to the system by external programs.
      You can check this with transaction SM59. RFC-> "Display Trace". Search the list for the users you want to delete.
    4. copy users with transaction SU01
      If you have a lot of users, program a batchinput or use eCATT.
    5. delete users with transaction SU10
      select all users you want to delete and press delete
    ready
    Best regards
    Willi Eimler

  • IP Change on SAP Servers

    Hi,
    The purpose of this question is because our company is moving the main headquarters to another plant and we need to move the site, and this also includes the SAP Servers to another location.
    So we need to change the IP addresses for every SAP Server that we have.
    We have the following architecture:
    1 SAP application server defined with hostname SAP-APP (Production system). Operating System is Microsoft Windows Server 2003 Standard Edition with Service Pack 2.
    1 SAP DB Server defined with hostname PRODUCCION (Productive DB). Database is MS SQL Server 2000 with Service Pack 4 and Operating System Microsoft Windows Server 2003 Standard Edition with Service Pack 2.
    1 QAS and DEV Server with a local Database defined with the hostname QAS_DEV. Operating System is Microsoft Windows Server 2003 Standard Edition with Service Pack 2 and the database is MS SQL Server 2000 with Service Pack 4.
    We do not use Print Servers or IP Printers on SAP, we use default printers for every user, using the SWIN: Windows printing via SAPlpd.
    Our SAP Version is SAP ERP Central Component 5.0.
    Notes related.
    And then, we checked the related notes and topics on market place for changing an IP address to a SAP Server and found the following ones:
    Note 403708 – Changing an IP address.
    Note 88346 – Changing the RFC destination if IP changes are made.
    Note 25917 – Changing to /etc/hosts are not accepted.
    RFC’s on transaction SM59 and table RFCDES
    The RFC that we are most worried about are the following:
    PRODUCTION:
    RFCDEST: CONEXION A QAS
    RFCTYPE: 3
    RFCOPTIONS: H=10.172.20.14,S=10,M=020,U=EESPINOSAZ,v=E962007D7D3C11AE883C362D16A252D
    RFCDEST: SAPNET_RFC
    RFCTYPE: 3
    RFCOPTIONS: A=1,a=5,H=/H/10.172.20.115/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001,
    RFCDEST: SAPNET_RTCC
    RFCTYPE: 3
    RFCOPTIONS: H=/H/10.172.20.115/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001,S=01,M=0
    RFCDEST: SAPOSCOL_SAP_DB
    RFCTYPE: T
    RFCOPTIONS: H=10.172.20.13,N=
    10.172.20.13\usr\sap\PRD\SYS\exe\run\SAPOSCOL.EXE,R=N
    RFCDEST: SAPOSS
    RFCTYPE: 3
    RFCOPTIONS: A=1,a=5,H=/H/10.172.20.115/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001,
    RFCDEST: SDCC_OSS
    RFCTYPE: 3
    RFCOPTIONS: H=/H/10.172.20.115/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001,M=001,U=
    QAS:
    RFCDEST: CONEXION A DEV
    RFCTYPE: 3
    RFCOPTIONS: H=QAS_DEV,S=00,M=030,U=EESPINOSAZ,L=E,v=3734043406A307628776795A292D89,i
    RFCDEST: CONEXION A PRD
    RFCTYPE: 3
    RFCOPTIONS:H=SAP-APP,S=00,M=200,U=EESPINOSAZ,L=E,v=A7361E1928457A0626D502BA5F3FB8,i
    RFCDEST: SAPNET_RFC
    RFCTYPE: 3
    RFCOPTIONS: A=1,a=5,H=/H/10.172.20.115/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001,
    RFCDEST: SAPNET_RTCC
    RFCTYPE: 3
    RFCOPTIONS: H=/H/10.172.20.115/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001,M=001,U=
    RFCDEST: SAPOSS
    RFCTYPE: 3
    RFCOPTIONS: A=1,a=5,H=/H/10.172.20.115/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001,
    DEV
    RFCDEST: CONEXION A QAS
    RFCTYPE: 3
    RFCOPTIONS: H=QAS_DEV,S=10,M=020,U=EESPINOSAZ,L=E,v=F004DE7B5EC01E876B998927E7417A,i
    RFCDEST: SAP_INTERNET_GATEWAY
    RFCTYPE: T
    RFCOPTIONS: H=QAS_DEV,G=pynl0x.pypmsa.com.mx,g=smtp.wan,N=/sapmnt/SID/exe/mlunxsnd,R
    Is there any problem if we have defined like this the RFC connections?
    Are we missing anything using these notes or do we have to consider anything else?
    Best Regards,
    Erik Espinosa

    Hi,
    you are not changing the SAP System Host name, you are only change the IP address SAP Server.
    for that you are only worried about the RFC destination which are created using IP  address of host,
    you need to change those RFC and assign correct IP address.
    Production.
    RFCDEST: CONEXION A QAS
    RFCTYPE: 3
    RFCOPTIONS: H=10.172.20.14,S=10,M=020,U=EESPINOSAZ,v=E962007D7D3C11AE883C362D16A252D
    this RFC is created under Production system for PRD - QAS connectivity.
    H=10.172.20  -->  assign the correct the ip address of QAS system.
    RFCDEST: SAPNET_RFC
    RFCTYPE: 3
    RFCOPTIONS: A=1,a=5,H=/H/10.172.20.115/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001,
    RFCDEST: SAPNET_RTCC
    RFCTYPE: 3
    RFCOPTIONS: H=/H/10.172.20.115/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001,S=01,M=0
    RFCDEST: SAPOSS
    RFCTYPE: 3
    RFCOPTIONS: A=1,a=5,H=/H/10.172.20.115/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001,
    RFCDEST: SDCC_OSS
    RFCTYPE: 3
    RFCOPTIONS: H=/H/10.172.20.115/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001,M=001,U=
    10.172.20.115 -> check the correct IP address of SAP router running at your side.
    RFCDEST: SAPOSCOL_SAP_DB
    RFCTYPE: T
    RFCOPTIONS: H=10.172.20.13,N=
    10.172.20.13\usr\sap\PRD\SYS\exe\run\SAPOSCOL.EXE,R=N
    10.172.20.13 -> check the correct IP address of SAP production server host
    regards,
    kaushal

  • Homogeneous System Copy - Remaining ALE Configuration

    We made a system copy of an R/3 HR productive system to a new server for testing purpose. The system copy was made with a backup / restore procedure. Now, the new server in online and is working fine. The problem starts when we want to make the accounting payroll. This process needs financial data from R/3 Finance system via ALE to make the accounting. So we decided to connect this new test system with our R/3 Finance QAS system, via ALE, to make possible the extraction of the data needed.
    When running the accounting payroll process, we get the following error: "RFC Destination is not maintained for object BUS6004 and method check" and the accounting is canceled. We noticed that the system is trying to use a RFC which its destination is R/3 HR Productive system. Obviously, we deleted the RFC connection pointing to the real productive system to prevent any damages. Also, we checked the ALE configuration and everything is OK (Transactions: BD97, WE20, WE21). But, when we checked the consistency of the ALE configuration, in transaction BDM5, we noticed that there is another ALE configuration defined, which is pointing to the R/3 HR Productive system. It seems that the system copy brings all the definitions of the ALE configurations that were defined in the original R/3 HR productive system. However, this new system is using these settings for connecting via ALE. There is a way to delete or disable these old settings defined in this new system? When making a system copy, there is a way to avoid copying the ALE configurations defined in the source system?

    You have some options here ie after system copy
    - Before starting the background process (ie  #rdisp/wp_no_btc)
    - Start SAP system, execute sm59 and append to all the  <destination/target> with <destinaion/target>_no connect for each RFC. This way the connections won't happen
    - Save
    - Stop SAP
    - remove # frm rdisp/wp_no_btc
    - Restart SAP
    whenever you want to try a connection then will remove the _NOCONNECT and it connect
    or
    you have a table RFCDES, which can be disabled (i haven't tried this).
    Cheers

Maybe you are looking for