2007 Mar 21 11:34 AM
Hi all
where I can find samples about BADI BOM_UPDATE?
txs
Stefano
Hi all
where I can find samples about BADI BOM_UPDATE?
txs
Stefano
2007 May 31 8:21 AM
If you want to make use of the BADI definition BOM_UPDATE, you have do implement this.
This can be done by,
1. Go to SE18 and give the BADI BOM_UPDATE.
2.Go to Implementation-->Create then give the implementation name as ZBOM_UPDATE then give the desription for the implementation.
3.Then go to the interface tab there you can find the Methods.
Here for this defintion you can find the methods are CHANGE_IN_UPDATE, CHANGE_BEFORE_UPDATE, CHANGE_AT_SAVE.
Put the break point in the relevent methods and activate the implementation.
Reward the points if it is useful.
2007 May 31 8:38 AM
hi,
DATA: l_matkl type mara-matkl.
DATA: stpob TYPE stpob.
DATA: FIELD_NAME(30) VALUE '(SAPLCSBT)O1-STPOB[]'.
FIELD-SYMBOLS: <TABLE> TYPE TABLE.
ASSIGN (FIELD_NAME) TO <TABLE>.
LOOP AT <TABLE> INTO STPOB.
clear l_matkl
clear stpob-sortf.
select single matkl
from MARA
into l_matkl
where matnr = stpob-idnrk.
if sy-subrc eq 0.
concatenate l_matkl(3) '.' stpob-posnr(3) into sortf.
modify <table> from stpob.
*else.
*modify <table> from stpob.
endif.
ENDLOOP.
COMMIT WORK and WAIT.
Regards
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |