Skip to Content

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

How to evaluate log from CSAP_MAT_BOM_MAINTAIN ?

Hello,

I am trying to use the call function CSAP_MAT_BOM_MAINTAIN.

This is an extract from the example from the function-builder:

call function 'CSAP_MAT_BOM_MAINTAIN'

exporting

material = 'MAT100'

plant = '0001'

bom_usage = '1'

valid_from = '14.10.1996'

fl_bom_create = ' '

fl_new_item = ' '

i_stko = tstko

importing

fl_warning = flg_warning

o_stko = tstk2

tables

t_stpo = tstp3

exceptions

others = 1.

if sy-subrc eq 1.

  • Error occurred

  • Evaluate log

endif.

if flg_warning eq 'X'.

  • Warning occurred

  • Evaluate log

Endif.

Can anybody please explain me how I can evaluate the error- and warning-messages from CSAP_MAT_BOM_MAINTAIN?

Regards

Oliver Roell

Tags:
Not what you were looking for? View more on this topic or Ask a question