Wednesday, 4 September 2013

SAPGUI logged out automatically after certain time, Auto Log-out.

Hi ,

Normally the purpose of this parameter is suppose if a user is logged in to the system and is inactive from the time specified in the parameter then it will automatically log that user out from the system to save the resources which cab be utilized by other active users. But, here you are saying that while executing the payroll stimulation this is happening. How it can happen when the user is running some thing and active. Kindly check whether the user is really running the report or not. If you do not want to set this parameter then you can put the value as 0.



Method 1:

Login into SAP System


Goto --> RZ11


Enter the Parameter : rdisp/gui_auto_logout

Click on --> Display 


Click on -->Change Value


 Enter the New Value : 3600
Click on--> Save.



Click on Continue.

Note: This will change the value and it will be effective with new value only until next restart of the instance. Once the instance is restarted it will revert back to old value and this is called dynamically changing parameter. Also, check the parameter rdisp/max_wprun_time if report is running for long time than value specified and throwing time out. Check in ST22 for any Time out dumps.



Parameter


Method 2:

Also, you can change the parameter temporarily or permanently like if you want to change the value permanently then change the value in instance profile and restart the instance to take effect. 

Check and Set the INSTANCE profile parameter as below:
rdisp/gui_auto_logout = <Auto_logout_time>
You can also delete or set as below to disable the auto logout time.
rdisp/gui_auto_logout = 0
You will need to restart the SAP after changing profile parameter.

1. Goto your Instance profile Parameter




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.

                          Tuesday, 25 June 2013

                          Auto Register Program on SAP Gateway after Terminated

                              Auto Register Program on SAP Gateway after Terminated

                           

                          There are external RFC server programs that close the connection to the gateway and close themselves after an error. As a result of this behavior, the RFC no longer works using this destination.
                          As a workaround, such a program has to be started using a script.

                          Windows

                          SM59: Program (exec) could not be started

                                    SM59: Program (exec) could not be started

                           

                          Symptom

                          Solution

                          1. Ensure rfcexec and rfcexec.sec files are in your executable directory, cdexe, /sapmnt/SID/exe/. If not there, you can download from SAP Service Marketplace or copy from other SID (but ensure the version is compatible with the current kernel).

                          Reset SAP SPAM & SAINT Queue

                          Reset SAP SPAM & SAINT Queue

                          1. Open transaction code SE37, fill in OCS_RESET_QUEUE and execute.
                                
                          2. In this example, we are going to reset spam queue. So, put SPAM in Value of IV_TOOL Import parameters. Put X in Value of IV_FORCE in Import parameters.
                               
                          3. Select Yes to continue.
                              
                          4. The OCS queue will be deleted and you can verify in transaction code SPAM.