I have created a ABAP report in R/3 which calls the function module ZBW_RAISE_EVENT in BW ( DEV )
Following is the code of the ABAP report:
parameters: rfcdest NO-DISPLAY like rfcdisplay-rfcdest DEFAULT 'BWDCLNT200' .
parameters: zevent NO-DISPLAY like tbtco-eventid.
*rfcdest = 'BWDCLNT200'.
zevent = 'TEST'.
call function 'ZBW_EVENT_RAISE'
eventid = zevent
bad_eventid = 1
eventid_does_not_exist = 2
eventid_missing = 3
raise_failed = 4
OTHERS = 5.
This code works fine.
My question is - when I transport this code to QA, how do I make it look for the appropriate "RFCDEST" BW client?
I promise to reward points.
Thanks for your time and help.