Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

CSAP_MAT_BOM_MAINTAIN explication

Hi,

Can you help me ?

I want to create and modify a BOM. So I use the function CSAP_MAT_BOM_MAINTAIN.

My problem is that I don't understand the meaning of these parameters.

CALL FUNCTION 'CSAP_MAT_BOM_MAINTAIN'

EXPORTING

material = w_matnr

plant = w_plant

bom_usage = w_usage

alternative = w_alternative

valid_from = w_valid_from

change_no = w_change_no

revision_level = w_revision_level

i_stko = ti_stko_api01

fl_commit_and_wait = 'X'

    • FL_CAD = 'X'*

fl_new_item = 'X'

fl_complete = 'X'

IMPORTING

fl_warning = fl_warning

TABLES

t_stpo = ti_stpo_api03

  • T_DEP_DATA = TI_DEP_DATA

  • T_DEP_DESCR = TI_DEP_DESCR

  • T_DEP_ORDER = TI_DEP_ORDER

  • T_DEP_SOURCE = TI_DEP_SOURCE

  • T_DOC_LINK = TI_DOC_LINK

  • T_DMU_TMX = TI_DMU_TMX

  • T_DEP_DOC = TI_DEP_DOC

  • T_LTX_LINE = TI_LTX_LINE

  • T_STPU = TI_STPU

EXCEPTIONS

error = 1

OTHERS = 2.

Can you explain me what are the differents parameters of this fonction (with meaning) and are there other parameters ?

Thank you for your help.

Carine.

Edited by: Carine Formant on Oct 9, 2008 9:24 AM

Tags:
replied
fl_warning = fl_warning

Check the contents of fl_warning. There should be some info regarding your error.

Also, check if the following system variables have a value:

SY-MSGID

SY-MSGNO

SY-MSGV1

SY-MSGV2

SY-MSGV3

SY-MSGV4

If these variables have value, start transaction SE91 and use SY-MSGID as message class.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question