Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2720

Re: Problem changing header Text on SD-Order with 'SAVE_TEXT'

$
0
0

Hi Dieter ,

 

I think There are two key conditions to save text with function module.

 

- Be sure that you are using correct Text Name , Text ID , Text Object and Language. You can find these attributes from VA03. For detailed check the link Instagram ( But If your attributes wasn't correct you couldn't get text from read text )

 

- Use Exporting Parameter savemode_direct with 'X' as in the following code. ( Don't forget to close your COMMIT_TEXT  and COMMIT WORK commands)

 

 

CALL  FUNCTION  'SAVE_TEXT'

     EXPORTING

       client                          = sy-mandt

       header                        = wa_head

       savemode_direct          =  'X'

     TABLES

       lines                            = it_text

     EXCEPTIONS

       id                                =  1

       language                      =  2

       name                           =  3

       object                          =  4

       OTHERS                      =  5.

 

   IF sy-subrc <>  0.

   ENDIF.

 

Regards

Sapromancer

 

Visit My Instagram Page.

 

@sapromancer • Instagram photos and videos


Viewing all articles
Browse latest Browse all 2720

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>