Skip to Content

sales order header text

Hi,

When our user create a new sales order, at the header level text are populating by default. I checked the customer master but there is no text data maintained. Following are the technical details;

When I go to the header;

1) Text name: xxxxxxxxxx

2) Language: EN

3) Text ID: ZE18

4) Text object: VBBK

5) Short title: VL10RV50SBT1

The access sequence for the text determination procedure is accessing the following;

1) VBBK - id ze18 - all language - Req 001

2) KNVV - id ZE18 - all language

The requirement 001 has following coding in it;

----


  • Transfer parameters: *

  • BP_SUBRC = 0 - Text will be copied *

  • BP_SUBRC > 0 - Text will not be copied *

----


FORM BEDINGUNG_PRUEFEN_001 USING BP_SUBRC.

BP_SUBRC = 0.

IF FTVCOM-VBELV IS INITIAL.

BP_SUBRC = 4.

ENDIF.

ENDFORM.

*eject

To my surprise, initially I could see the text while the sales order is created. Once I save the sales order and if again I open the sales order in change mode the texts goes off.

May I know from where the texts are being pulled?

When I use the function module Text_Read, I get one of values in the results TDMACODE1 = VL10RV50SBT1.

Has anyone come across this situation?

Thanks for your help.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 03:57 PM

    hi shiva,

    1) Text name: xxxxxxxxxx

    2) Language: EN

    3) Text ID: ZE18

    4) Text object: VBBK

    since u r seeing this values

    goto se11 , table STXH , f7 , technical settings,

    now u will see 4 fields

    TDOBJECT-- 'VBBK'

    TDNAME -- XXXXXX (UR VALUE )

    TDID -- ZE18

    TDSPRAS --EN

    AND DO f8

    this will give u the contents of the whole stuff.

    see whenever header or item texts are created for a particular transaction these are all stored in to this Table .

    just explore this table ,

    regards,

    VIjay.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Shiva Ram

      I do not think that this text should be pulled to sales order. I think it could be that this bogus entry with empty TDNAME was created in your system and it's now being added to every new sales order (based on VL10RV50SBT1 - it's created by delivery due list).

      I would first check on any other system if you have a similar entry with empty TDNAME, if not - you can just delete this entry on your system and check if it fixes your problem.

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 04:05 PM

    HI,

    text are pulled from table stxh,stxl

    FM read_text pulls the text from tabove tables

    by passing follwing parameters

    DATA : LV_NAME LIKE THEAD-TDNAME,

    LV_ID LIKE THEAD-TDID,

    LV_OBJ LIKE THEAD-TDOBJECT.

    FREE : XTLINE.

    CLEAR : XTLINE,

    LV_NAME,

    LV_ID,

    LV_OBJ.

    LV_NAME = IT_1979DATA-VBELN.

    LV_ID = 'Z964'.

    LV_OBJ = 'VBBK'.

    CALL FUNCTION 'READ_TEXT'

    EXPORTING

    CLIENT = SY-MANDT

    ID = LV_ID

    LANGUAGE = SY-LANGU

    NAME = LV_NAME

    OBJECT = LV_OBJ

    • ARCHIVE_HANDLE = 0

    • IMPORTING

    • HEADER =

    TABLES

    LINES = XTLINE

    EXCEPTIONS

    ID = 1

    LANGUAGE = 2

    NAME = 3

    NOT_FOUND = 4

    OBJECT = 5

    REFERENCE_CHECK = 6

    WRONG_ACCESS_TO_ARCHIVE = 7

    OTHERS = 8.

    IF SY-SUBRC <> 0.

    ENDIF.

    IF NOT XTLINE[] IS INITIAL.

    • loop at xtline from 1 to 12 "SJOSYUL 09/03/2004

    LOOP AT XTLINE

    WHERE TDLINE <> SPACE.

    • moving sail date to final table

    IF XTLINE-TDLINE CS GC_SDT.

    IT_FINAL-SAILDT = XTLINE-TDLINE+10(8).

    ENDIF.

    • moving ETA date to final table

    IF XTLINE-TDLINE CS GC_ETA.

    IT_FINAL-ETADT = XTLINE-TDLINE+4(8).

    ENDIF.

    ENDLOOP.

    ENDIF.

    you can fing text object from below link

    va03->header-text-double click on any line->go to-header

    to get text details

    Text name 0225066731 (sales order)

    Language E

    Text ID Z506

    Text object VBBK

    Regards

    amole

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 26, 2006 at 06:41 AM

    Hi shiva,

    okay

    just proceed like this ..

    okay now the sales order which u r referring to ..

    JUST CHECK THIS NAVIGATION.

    do this and it will give u a clear idea ...

    take the sales order number ,, goto VA02 AND OPEN THE SAME ...hit enter after u enter the order number ..

    1.from the second screen goto menu items ,, header and texts ..

    2. now here u assign some texts in the column area in the subscreen.

    3. double click on the text line which u have entered ..

    4. this will take u to one more screen which will say change remarks : 0000xxxxxx language EN

    5. in this form the menu item select goto->header

    6 this will pop up a screen for u ..

    in here u wil find the details for which u have entered the text just now .. remember that this is a unique id

    generated by the system ..

    this will be like this...

    text name -0000321411

    language -EN

    text id --0003

    Text object ---> VBBK Sales Header texts

    now this values when given in ur STXH table will tell u what it contain ..

    means through this id i can see what text is contained ..

    okay now check this entry after this come to va02

    for ur solution .. just delete this entry ..now goto table stxh and give the old values again

    u will find no entry now ..

    this is as simple as that ..

    -


    //

    Any help? For your information, the text only comes during VA01 and if I dont change and save the sales order then it vanishes in va02/va03//

    for this just delete the entry in the text field in t-code va02..

    this will be there see the change /display icons with some lines on the icon ..

    delete it and save ..

    thats it ..

    -


    in ur query if at all i need to give some remarks for the order i have to do it in va02 only ..

    just navigate the flow this will give u a clear picture ..

    u r almost there .. just add some text and delete and cross check in STXH tables .. this will make u clear ..

    regards,

    Vijay

    no need to go to sm30 , or deletion of data in stxh tables

    remove it in va02 itself ..

    and save ..

    Message was edited by: Vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 02:28 PM

    Hi,

    use create_text->create text

    save_text->save text

    read_text->read text

    edit_text->edit text

    Regards,

    amole

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 02:51 PM

    check this .

    Header" target="_blank">http://www.sapdevelopment.co.uk/sapscript/sapscript_texts.htm">Header texts

    goto va03 ,

    hit enter ..

    after coming to the second screen

    from the menu bar ... click GOTO,

    it will give u header ->

    item ->

    choose header-> texts

    for header texts ,

    this will give u a sub screen

    from that clion the change buttons or a click will do

    item->texts

    for item texts ..

    repeat the same as header ..

    hope this helps ,

    regards,

    Vijay

    Add a comment
    10|10000 characters needed characters exceeded

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.