re_data = wa_item. CHECK wa_item-banfn IS NOT INITIAL. "get refer PR lv_name = wa_item-banfn . "check PR type SELECT SINGLE bsart spras INTO ( lv_bsart,lv_spras ) FROM eban WHERE banfn = wa_item-banfn. IF sy-subrc = 0 AND lv_bsart = 'ZNB2'. ELSE. RETURN. ENDIF. ...
一层层跟下去,调用的时候定义类对象,调用其方法即可 另外:ME53N查看时,点编辑按钮,进入编辑状态,可以在ME_PROCESS_REQ_CUST -- open方法中写逻辑 FM内代码: FUNCTION zlm_fm_me52n. *"--- *"*"Local interface: *" IMPORTING *" VALUE(IM_HEADER) TYPE REF TO IF_PURCHASE_REQUISITION OPTIONAL *" EX...
WHEREBANFN=L_MEPOITEM-BANFN ANDBNFPO=L_MEPOITEM-BNFPO. IFSY-SUBRC=0. L_MENGE =L_MENGE *105/100-L_PO. IFL_MEPOITEM-MENGE > L_MENGE. MESSAGEE000(ABAPDOCU)WITH'PO不能超过PR数量的105%!此PR已转'L_PO. ENDIF. ENDIF. ENDIF. ENDLOOP. * ME29N/ME28 C7审批之后不能修改 IFL_MEPOHEAD...
Recently I have implemeted Badi(ME_PROCESS_PO_CUST) for'Not allowing create PO(with dcoument type NBPJ and CRPJ) without PR. If user tries to create PO(PO document type PJCR or NBPJ) with out PR,then system will throw error message.The Error message is"There is NO Purchase Requisit...
Pl use ME_PROCESS_PO_CUST and interface is 'Check'. Runtime behavior should be 'The implementation will be called'. For quantity check at PO compare with PR, you can set the standard message 06 076 'Materials of requisition & item & alr. ordered in full' with Error. Regards Ajay Reply...
METHODif_ex_me_gui_po_cust~subscribe. DATA:ls_subscriberLIKE LINE OFre_subscribers. * ***add by abap02 begin 20120316 只有显示的时候调用增强页面 * CHECK SY-TCODE EQ 'ME53N'. ***add by abap02 end 20120316 * IF im_application EQ 'REQ'...
sap me21n采购订单加第二个增强页签 METHOD if_ex_me_gui_po_cust~subscribe. DATA: ls_subscriber LIKE LINE OF re_subscribers.***add by abap02 begin 20120316 只有显示的时候调用增强页面* CHECK SY-TCODE EQ 'ME53N'.***add by abap02 end...
If you want to handle through error out in case the field is blank then use BADI : ME_PROCESS_PO_CUST and Method - PROCESS_ITEM. Also check the BADI -method, what Raymond said above. If it does not work then try below ( also refer to similar kind of requirement in the link where...
cust_item_view. ENDIF. *添加页签代码*** ENDENHANCEMENT. *屏幕0110代码,此页签只做显示功能 PROCESS BEFORE OUTPUT. MODULE STATUS_0110. * PROCESS AFTER INPUT. * MODULE USER_COMMAND_0110. DATA:LV_BANFN TYPE BANFN. LV_BANFN = EBAN-BANFN. CLEAR:ls_zmmt114_h. SELECT SINGLE * FROM ZMMT...
VE93 RVEXCUSA EDI-CUSTEC Austria VE94 RVEXSOVA Load Commodity Code for EU Countrie VE94X RVEXSOE2 Load Commodity Code for EU Countrie VE95 RVEXPAIP Create INTRASTAT papers: Portugal VE96 RVEXEX01 EXTRASTAT Data Select.: Init. Scree VE97 RVEXDEIH Create EXTRASTAT tape: Netherlands VE98 ...