on 03-12-2008 12:57 PM
Hi,
We have a situation where we have two R3 systems linked to APO. Two separate BSGs. We are trying to segregate the locations by adding the BSG code to the location number. So UK01 from BSG2 is supposed to be UK01_BSG2 in APO.
We are using EXIT_/SAPAPO/SAPLCIF_LOC_001. We will appreciate if any of you have used this exit and could provide an example of the code.
Best Regards,
Zeeshan.
Sorted it out with an SAP note 458914 with an example code (below).
cf_dup_check = 'X'.
data: lv_srcsys like cs_controls-logsrcsys value ''.
concatenate
cs_controls-logsrcsys(3) cs_controls-logsrcsys+7(3) into lv_srcsys.
loop at it_loc.
clear et_locmap.
move-corresponding it_loc to et_locmap.
concatenate it_loc-ext_locno '@' lv_srcsys into et_locmap-locno.
append et_locmap.
endloop.
Now it is important to set the flag ef_map_use
Without this the changes above will not be taken into account
if not et_locmap[] is initial.
ef_map_use = 'X'.
endif.
Edited by: Ahmed Zeeshan on Mar 12, 2008 2:41 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
9 | |
4 | |
3 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.