10-06-2011 10:56 AM
Hello Guys,
I have requirement to override the check box button of Exch.Rate Fixed under Delivery/Invoice Tab upon PO creation. Can you please assist me how to look for user-exit/BADI to achieve my requirement?
10-06-2011 12:37 PM
10-06-2011 12:37 PM
10-06-2011 1:31 PM
Hello madhurao123,
Thanks a lot for your valuable response. I'll check the BADI now and provide feedback.
Cheers.
10-18-2011 11:07 AM
Hello,
I updated method IF_EX_ME_PROCESS_PO_CUST~PROCESS_HEADER with get_data() and set_data() methods and clearing field lwa_poheader-kufix before calling set_data() but the exchange rate fix box is still checked. Is there something I missed?
Thanks.
10-18-2011 11:43 AM
Hi,
It is fine . Please paste your code if still any issue.
Regards
Madhu.
10-18-2011 12:38 PM
Hi madhurao123 ,
Here's my code but I removed some parts because I'm working for a client.
basically, I just cleart the field and pass it as prameter in set_data( ).
DATA: lwa_poheader TYPE mepoheader.
CONSTANTS: lc_x TYPE c VALUE 'X'.
lwa_poheader = im_header->get_data( ).
IF lwa_poheader-bukrs IS NOT INITIAL
AND lwa_poheader-waers IS NOT INITIAL.
CLEAR lwa_zxxx.
SELECT SINGLE *
INTO lwa_zxxx
FROM zxxx
WHERE bukrs EQ lwa_poheader-bukrs
AND waers EQ lwa_poheader-waers
AND zxrt_flag EQ lc_x.
IF sy-subrc EQ 0.
CLEAR lwa_poheader-kufix.
CALL METHOD im_header->set_data
EXPORTING
im_data = lwa_poheader.
ENDIF.
ENDIF.
ENDIF.
Edited by: binary ghost on Oct 18, 2011 2:02 PM
10-18-2011 1:17 PM
Hi,
I have a small question. What you want to do in that field like select or unselect.
Regards,
Madhu.
10-20-2011 5:22 AM
It's just a sort of checking when to clear the checkbox. I already debugged even set_data() method and field kuffix is cleared.