|
<< Click to Display Table of Contents >> Navigation: All About ABAP Technique > English > ABAP Tutorial > ABAP Workbench Tools > Enhancement > Business Add-Ins (BADI) > Business Add-Ins (BADI) Examples > ZME_PROCESS_PO_CUST |
WS Additional Logic in Checking Purchase Order Document
•OPEN
>> Allow only Import Vendors to be assigned to PO Import. Only vendor with Account Group ZIMP can be assigned to PO Type ZNB3 (Import).
>> Set Block Stock as the default (non-changeable) stock type in PO Return (ZNB&) when conducting goods return transaction.
>> Allow only account assignment A and F in PO Asset (ZNB1). Otherwise, issue an Error Message.
>> DEACTIVATED : Default tax code to BN if vendor does not have VAT no. in the vendor master (NPWP no.).
>> Allow only account assignment K ad F in PO Service (ZNB2). Otherwise, issue an Error Message.
>> Default confirmation key in PO document to Inbound Delivery (0004) for all PO (except STO) with plant 2011 and 2012. Default no confirmation key for all PO (except STO) with plants other than 2011 and 2012.
>> DEACTIVATED : Material number must entered in all PO except those with item category D
>> DEACTIVATED : Set Storage location as mandatory field in all STO document.
>> DEACTIVATED : Allow PO release per account assignment.
>> Default GL account 72991001 for PO asset (ZNB1) with Account Assignment F (Internal Order).
>> Disallow purchasing organization A024 (Building Material Procurement) to order nonBM materials (material type non Z2FE).
>> DEACTIVATE :Disallow PO with more than one Plant in all PO.
>> PO Asset (ZNB1) with material group 1607 (nonstock asset construction) will require the following default:
•Goods Receipt tick box active
•Delivery Completed tick box inactive
•GR based IV tick box inactive
•GR nonValuated tick box inactive
>> Set Outline Agreement field as mandatory for PO with Purchasing Organization A024 (Buidling Material Procurement).
>> Verify that Order Unit must be the same as Order Price Unit, except for PO STO (UB).
>> Disallow PO to adopt PR that has been closed (with Closed tick box active).
>> Set default GR-Based IV tick box as nonactive for PO Import (ZNB3).
>> Do not allow price difference of more than 25% between MAP and Net Price. This is based on several exception:
•Free Item
•Service Item
•Return Item
•User ID (dept Head)
•Subcontracted Item (Item Category D)
•Material Group (material with grades)
•PO Type (PO Import - price by air/sea)
Taking into account:
•exchange rate
•Per price unit conversion