on 05-16-2006 10:17 AM
How to get trtyp's value in method FIELDSELECTION_ITEM as i need to know the current status of PO whether it's on create/change mode
Hi,
Dont bother about display because the badi will never get triggered when PO transaction is in display mode.
So check on create/change is sufficient.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
that would be very easy,
Get the header data from method FIELDSELECTION_ITEM.
data : l_header type ref to if_purchase_order_mm.
data : l_conditions type mmpur_tkomv.
data : l_data type mepoheader.
call method im_item->get_header
receiving
re_header = l_header.
call method l_header->get_data
receiving
re_data = l_data.
Here if l_data-ebeln is initial then it is create mode, otherwise it would be change mode.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.