Skip to Content

Deleting Positiontexts of Factura programically (only of Position 1)

Hi developers,

I have an urgent problem:

If I choose transaction VF02 and afterwards a faktura, then I get displayed the positions of this faktura. What I want is to delete the positiontexts of the first position of certain fakturas (about 300.000 fakturas available!). Manually, I would click double-click on the first faktura position to get datails about the first position. The details also have a tab called "Position texts". What I actually want is to delete the "positio notes". Of course I don't want to to this manually. I need to write some ABAP programm, that selects the fakturas and then delets corresponding the texts. But I do not know how to delete the texts. They must be stored in some database table, right? But where exactly??

Any help is appreciated!!!!

Thanks,

parsman

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 20, 2008 at 01:27 PM

    if you are talking about the long text, then double click the text to get into the editor.

    Beeing there choose from menu GOTO > Header

    There you can find the keys you need to find the text in table STXH and STXL.

    Add a comment
    10|10000 characters needed characters exceeded

    • I did not say you should go GOTO > header when seeing the item overview of the invoice, nor when you are in the item detail.

      I said you should double click text. you can as well click the magnifying glass below the text window.

      Then you are the long text editor. From there you should execute GOTO > header . there is no futher menu.

      It opens just a window with all infos you need.

      If you have used the standard SAP item note, then you should see

      Textname 0064080648000001 (invoice number + item number)

      Sprache EN

      Text-ID 0002 Positionsnotiz

      Textobjekt VBBP Vertrieb Positionstexte

      This is the key to find the record in table STXH and STXL.

      By the way you cannot read the text with SE16.

      You have to do it with a function module called READ_TEXT.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.