Friday, 30 August 2013

How to Reset different SAP buffers

SAP Buffers can be reset with below commands :

1.    /$SYNC        - Resets the buffers of the application server.
2.    /$CUA          - Resets the CUA buffer of the application server.
3.    /$TAB           - Resets the TABLE buffers of the application server.
4.    /$NAM          - Resets the nametab buffer of the application server.
5.    /$DYNP        - Resets the screen buffer of the application server.
 **Please Note : Resetting of the buffers could change the performance of the entire system.

Monday, 26 August 2013

Create RFC TCP/IP Connection and Register Server Program with RFCEXEC

1. Execute SM59
https://rajsapbasis.blogspot.com
RFC Connection











2. Expand TCP/IP connections > Click Create
TCP/IP Connection














3. Enter the following details. Ensure connection type is 'T'



















4. Save and click "Connection Test"

5. You get an error below



Error Details Error when opening an RFC connection
    Error Details ERROR: program myProgId not registered
      Error Details LOCATION: SAP-Gateway on host R3DEV / sapgw00
        Error Details DETAIL: TP myProgId not registered
          Error Details COMPONENT: SAP-Gateway
            Error Details COUNTER: 40112
              Error Details MODULE: gwr3cpic.c
                Error Details LINE: 1871
                  Error Details RETURN CODE: 679
                    Error Details SUBRC: 0
                      Error Details RELEASE: 701
                        Error Details TIME: Tue Mar 29 22:40:17 2013
                          Error Details VERSION: 2



                          1. Login to OS level to register the program id to the gateway.
                          2. After login, open Command Prompt
                          3. Execute rfcexec -a -g -x . Example: Execute rfcexec -a<HPAS2> -g<erpdev> -x<sapgw00>

                             4. You will see command prompt hangs in a loop and execute below codes


                              5. Now back to SAP (SM59). Click "connection test" you will get
                               
                          RFC Check





                          Saturday, 24 August 2013

                          QUEUE_NOT_EMPTY in SPAM

                          Hi All, 

                          1. Lock all users in your system, cycle the system to ensure all users are logged off.
                          2. Disable the batch user as well, to make sure no jobs are running.
                          3. Backup the input buffer file (should bein the trans\buffer folder). After backing up the file, delete the file.
                          4. Goto STMS and check the import buffer, press F5. The buffer should be empty now.
                          5. Return to SAINT and reimport the component, it should be successful now.