By Jürgen Schwaninger
Whether you're a fabrics administration advisor or a programmer, you’ll the right way to customize and enhance your techniques by way of consumer exits, company add-ins (BAdIs), and enhancement spots with this publication. the writer makes use of his real-life adventure and realizing of the complex demanding situations that clients face, and gives excellent recommendations to augment and optimize the SAP common via customized advancements. This e-book exhibits you the way to enforce those customizations for fabrics administration (MM) in SAP ERP and describes how those customizations effect the habit of the consumer exits with customized ABAP courses. incorporated in the course of the e-book are workouts to demonstrate the precise tactics and coding examples wanted, in addition to necessary information and tricks.
1. useful Introduction find out how you should use and turn on some of the enhancement strategies of the SAP process on the way to create functions which are particular in your person wishes.
2. vital program Areas locate attempted and established methods for every of the key components of fabrics administration, in addition to for the validation and substitution of accounting records.
3. Cross-Release Description follow programming examples for liberate 4.6C and better. You’ll find out about substitute answer thoughts if an enhancement has must haves or was once applied in a later liberate.
4. whole Overview realize the main important user-exits, enterprise add-ins, and enhancement spots which are interested by fabrics administration. A finished appendix additionally offers an easy-to-reference list.
- External providers Management
- Inventory Management
- Area Valuation and Account task Area
- Invoice Verification
- Validation and Substitution of Accounting Documents
- User Exits and BAdIs
- Materials Management
Quick preview of ABAP Development for Materials Management in SAP: User Exits and BAdIs PDF
20 and directory three. 21). 2. Navigate to the OPEN approach. after which name your functionality module LME_CUST _ OPEN to learn the customized info. to do that, you simply need to move the acquisition order quantity, that you receive back through the GET_OATA approach to the IM_HEAOER reference parameter (see directory three. 22). three. To replace the knowledge, you currently desire the publish approach to the undesirable! within which you name your functionality module Z_ME_CUST_POST. This additionally calls for the rfile sixty eight Customized Fields in buy Orders quantity. that's without delay transferred right here within the IM_EBELN parameter (see directory three.
If gv_trtyp • ' A' OR gs_drseg_ci · c_rblgp IS preliminary. ls_col-screen-input- zero . ELSE . ls_col-screen-input = I . ENOl f . ENOIF . MODI FY tc_mrm_cust-cols ENOLOOP . ENONOOULE . " FRO~I ls_col. TC_MRI~_CUST_CHANGE_FI directory 7. 10 Module TC_MRM_CUST_GET_LINES OUTPUT ELO_ATT R OUTPUT I 7. 1 7 I person Exits and BAdls in logistics bill Verification strategy sooner than OUTPUT . MODULE get_data . *&SPWIZARD : PBO Fl014 LOG IC FOR TAB LECONTROL ' TC_MRM_CUST" MODULE tc_mrm_cust_change_tc_attr . *&SPIH ZARD : ~IODU LE TC_t1Rt·1_CUST_CHANGE_COL_ATTR .
The following the reference within the IF_PURCIIAS[_OROER_ ITEM_t1t·1 interface is at once transferred because the IM_ITEM parameter. for that reason. an upcast isn't really required. With the GET_OATA process, you want to o:1ly retrieve and payment the knowledge to figure out even if the deletion indicator (LOEKZ) is decided (see directory three. 19). I three. 1 3 I consumer Exits and BAdls in procuring process if_ex_me_process_po_cust-process_item. info : ls_mepoitem sort mepoitem . info : ls _item kind zme_poitem. * Retrieve merchandise information l s_mepoitem- im_item ->get_data( ) .
You could evaluation th is info. and shop it within the attributes of the implementation for next use. STATUS_ANO_HEAOER this system is especially used to fill the customized header facts while an current record is learn. desk five. 1 Initialization of a record and standing switch The equipment also are achieved w ith every one conversation step for header facts from desk five. 2 and with each one conversation step on merchandise information from desk five. three. the tactic LINE_MOD · 1FY can be done whilst a line is further both while the consumer makes an access or whilst an latest fabric record is learn from the database.
BCLTAB BKPF for rfile header or BSEG for rfile merchandise. All indexed fields (the box identify is in BCL FIELO) should be substituted, if the indicator intercourse· CLUOE isn't set. additionally, for Callup element 2 it really is allowed to unencumber additi onal fields by means of customizing desk GBOI. the extra fields are in this article: .. BSEG· FI POS (financing merchandise) .. BSEG· HBKIO (short key for a home financial institution) .. BSEG·MSCHL (dunning key) .. BSEG·MANSP (dunning block indicator) .. BSEG·MAOAT (date of the final reminder become aware of) ..