Skip to Content
0
Former Member
Jun 09, 2009 at 05:15 PM

SD_SALESDOCUMENT_CREATE: "sales_text" doesn't appear in Standard Order

640 Views

Good evening,

we are creating a Standard Order with function module "SD_SALESDOCUMENT_CREATE". Everything is fine except for the text field "Contract riders (Clauses)", which is empty. The table for filling this field is "zsales_text" and it contains three datasets with the following fields as shown in the debugger:

first dataset:

DOC_NUMBER (initial) ITM_NUMBER 000000 TEXT_ID 0016 LANGU D LANGU_ISO DE FORMAT_COL 1 TEXT_LINE hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh#iiiiiiiiiiiiiiiiiiiiiiiiiii FUNCTION (initial)

second dataset is the same as the first one except for:

FORMAT_COL 2 TEXT_LINE iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii#kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk

third dataset is the same as the first one except for:

FORMAT_COL 3 TEXT_LINE ööööööööööööööööööööö#üüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüüü

The other parameters of the function module are (commented entries are left out):

CALL FUNCTION 'SD_SALESDOCUMENT_CREATE'
EXPORTING
    SALESDOCUMENT                 = zsalesdocument
    SALES_HEADER_IN               = zsales_header_in
    SALES_HEADER_INX              = zsales_header_inx
    BUSINESS_OBJECT               = zbusiness_object-objtype
    STATUS_BUFFER_REFRESH         = 'X'
  IMPORTING
    SALESDOCUMENT_EX              = zsalesdocument_ex
  TABLES
    RETURN                        = zreturn
    SALES_ITEMS_IN                = zsales_items_in
    SALES_ITEMS_INX               = zsales_items_inx
    SALES_PARTNERS                = zsales_partners
    SALES_SCHEDULES_IN            = zsales_schedules_in
    SALES_SCHEDULES_INX           = zsales_schedules_inx
    SALES_CONDITIONS_IN           = zsales_conditions_in
    SALES_CONDITIONS_INX          = zsales_conditions_inx
    SALES_TEXT                    = zsales_text.

None of the datasets shows up in the text field "Contract riders (Clauses)" in VA03 and also in no other text field. Do you have any idea where the data has gone? Are there any special parameters to be set?

Thank you for your suggestions!

Best regards,

Michael