Skip to Content
author's profile photo Former Member
Former Member

BAPI_MATERIAL_SAVEDATA

Hi guys,

I need your help, i am using BAPI_MATERIAL_SAVEDATA to create all views for material, but i don't know how update Sales Text and Purchase Order Text, somebody knows how to create this texts and organizational levels?

Thanks in advance .

regards

Marisol

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 16, 2008 at 03:20 PM

    HI

    You can use the function module 'CREATE TEXT', to save the standrd text lile Material Sales Text/ PO text.

    For Sales text:

    CALL FUNCTION 'CREATE_TEXT'

    EXPORTING

    FID = v_tid

    FLANGUAGE = lv_spras

    FNAME = v_tdname

    FOBJECT = v_tdobject

    SAVE_DIRECT = 'X'

    FFORMAT = '*'

    FFORMAT = ' '

    TABLES

    FLINES = i_lines

    EXCEPTIONS

    NO_INIT = 1

    NO_SAVE = 2

    OTHERS = 3.

    Text name 000000000001110257B227BD

    Language EN

    Text ID 0001 Sales text

    Text object MVKE Material texts, sales

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      HI

      You can use the function module 'CREATE TEXT', to save the standard text like Material Sales Text/ PO text.

      CALL FUNCTION 'CREATE_TEXT'

      EXPORTING

      FID = v_tid

      FLANGUAGE = 'EN'

      FNAME = v_tdname

      FOBJECT = v_tdobject

      SAVE_DIRECT = 'X'

      FFORMAT = '*'

      FFORMAT = ' '

      TABLES

      FLINES = i_lines

      EXCEPTIONS

      NO_INIT = 1

      NO_SAVE = 2

      OTHERS = 3.

      Here,

      for sales text

      v_tid = '0001'

      v_tdobject = 'MVKE'

      v_tdname = Concatenated text of Material Number (18 chars), Sales org (4 chars) and Distribution Channel (2 chars)

      For PO text

      v_tid = 'BEST'

      v_tdobject = 'MATERIAL'

      v_tdname = Material Number(18 chars)

      And i_lines is the table with the text lines you want to create.

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.