Skip to Content
avatar image
Former Member

Text Determination

Hello friends,

I have requirement to conditionalize default export text (e.g. Z020) based on sales organization. On sales order create, we need to pull out SAP script text into order header text (e.g. Z020). This works well with customizing. Now with 2nd site going live, verbage would be different and this is what i thought:

1. Z-table to map sales org to corresponding SAP script text id

Sales org SAP script text id

2000 Z_2000_EXPORT_TEXT

3000 Z_3000_EXPORT_TEXT

2. Sales order user exit on VA01 save, would find SAP script text id for a sales org and copy that text to Z020.

Let me know if you see better solutions,

thanks,

Hetal

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Aug 22, 2007 at 02:40 PM

    Hi,

    I can recommend you other solution. In the access sequence assigned to your text id (in your text procedure) you can have a line which use a special data transfer routine - a new one.

    Here is an example which is extracting different standard texts for different plants:

     data: l_st_text like REFERENZ-TDNAME.
    
      concatenate 'Z_POSTEXT_'
                   ftvcom-werks
                   into l_st_text.
    
      REFERENZ-TDID     = 'ST  '.
      REFERENZ-TDOBJECT = 'TEXT      '.
      REFERENZ-TDNAME   = l_st_text.

    In the given example the standard text has the same beging as name "Z_POSTEXT_" and the rest is the plant code.

    Regards,

    Valentin

    Add comment
    10|10000 characters needed characters exceeded