"
Supported by

Clearing the buffers of an SAP session

I keep learning new transaction commands. Today I learned some which solve a problem which, although rarely, has happened to me in the past.

Did this happen to you? You make a change to a text of a data element you’re using in a table to be edited through SM30. But when you go and edit that table in SM30 the old text is still there. You activate objects, close windows, open windows, no matter what you do, the new text is not shown.

The old text is cached somewhere in SAPGui.

To solve this you can write the following commands in the transaction field:

  • /$sync (clear buffer)
  • /$tab (clear table related buffers)

It’s always nice to know these obscure little secrets. Thank you Sérgio Serra for revealing this one to me.

Thank you Prime Number for the photo.

Greetings from Abapinho.

6 comentários a “Clearing the buffers of an SAP session”

  1. Gilson Souza Diz:

    Opa! Realmente muito útil! Vale a pena citar o report BALVBUFDEL que também reinicializa o Buffer, geralmente resolve pra mim… hehehe…

  2. Pedro Oliveira Diz:

    Bem, o /$sync pode levar a inconsistências de dados se tiver o azar de ser executado quando o buffer estiver a ser “despejado” para a base de dados – não convém usar em sistemas produtivos. Para refrescar os buffers, por uma questão de segurança, mais vale usar a velha tecnica de logout/login..

  3. Nuno Godinho Diz:

    Pedro, ao que consta há coisas que não vão lá nem com um logou/login. Mas eu nunca senti isso.

    Gilson, obrigado pela dica!

  4. SÉRGIO FRAGA Diz:

    E há também o /$OTR para textos OTR

    Abc

  5. Sebastien Dessertine Diz:

    Hi ,
    and why not simply recreate the maintenance screen of table in table maintenance generator menu ? it will then take into acount the new description i guess, like when you extend a new field in definitionf of table.

    Sebastien

  6. Nuno Godinho Diz:

    Hi Sébastien, but that requires a transport request, right? And since the descriptions are cached on shouldn’t have to go through all the trouble of recreating the screen just to update the descriptions.

Deixe um comentário


About Abapinho
Abapinho runs on WordPress
Articles (RSS) e Comments (RSS).