cancel
Showing results for 
Search instead for 
Did you mean: 

CIF error Location does not exist for external location XXXX

samir_ali
Participant
0 Kudos

Hi Expert,

Facing issue durin CIF "Location does not exist for external location 1000"

Requirement:- Need to connect two ECC(ECC1 & ECC2) system with one APO (( BSG1 & BSG2 ). 

ECC1 is already conneted withAPO as BSG1 and locaiton 1000 aleaday there.

Now we would like to map ECC2 with APO.

Action taken :- defined BSG2 and assigned  to logical system also.

in ECC2 :- 

-consits of same list of locations e.g.1000 

-activated  Locitn integration model but I can't see new entries for location 1000 as BSG2 in APO table /SAPAPO/LOCMAP. 

  only one entry 1000 with BSG1 appears.

- created new material ( it doesn't exist in ECC1) and trying to transfer material so getting  error "Location does not exist for external location 1000"

Would like to understand if we need to create new locaion ( not as 1000) or same location can be CIF as BSG2.

regards

Samir

Accepted Solutions (1)

Accepted Solutions (1)

sourabh_jain66
Active Contributor
0 Kudos

Hi Samir,

Technically, if you have two different ECC systems assignment of BSG to logical systems should take care of things, but in your case as you have same location name in both of your ECC systems, and need two entries of same with different BSGs.

I am not very sure about how system handles duplication, same location with different BSGs.

The error you are getting is because of this same reason, system is unable to differentiate between location 1000 from ECC1 and ECC2.

One possible thing which you can do is assign same BSG to both of ECC systems, this is possible, one BSG can be assigned to multiple logical systems.

Try with this and let me know, if your issue gets resolved.

Rgds

Sourabh

samir_ali
Participant
0 Kudos

Thanks Sharath & Saurabh for quick reply.

Here what I assume BSG is give by SAP to differtiate mater data of multiple  ECC system.

e.g. product A in APO can be recognised by BSG group. BSG1 or BSG2.

Above scenrio is you have different locaio in each BSG e.g.

ECC-BSG1  - Loc1 & Loc2  product A

ECC-BSG2  - Loc3 & Loc4 Product A

So in APO product A can be differentiated by BSG1 or BSG2 at respective location

I am trying other scenario ( here location are same but products are different) :-

ECC-BSG1  - Loc1 & Loc2  Product A

ECC-BSG2  - Loc1 & Loc2 Product B

Is this possible.

regards


Samir

Former Member
0 Kudos

Hi Samir,

For multiple BSG's the locations can be CIF'ed to APO with prefix.

SAP has provided standard BADI  APOCF001_TYPEDIF for this.

Also you can refer the SAP Note: 458914

Regards,

Ashish

sourabh_jain66
Active Contributor
0 Kudos

Hi Samir,

You are right in a way that BSGs are here to identify master data coming from different systems, but in order to use same naming convention from different systems you need to use following BADIs.

  • Inbound processing of location: BAdI definition SMOD_APOCF001, method EXIT_/SAPAPO/SAPLCIF_LOC_001
  • Inbound processing of product: BAdI definition SMOD_APOCF005, method EXIT_/SAPAPO/SAPLCIF_PROD_001

With this you will be able to use same location / product coming from different ECC systems, assigned to different BSGs.

With the help of these BADIs system will prefix the BSGs to location / product name, so there will not be any duplication in your APO system, and you will be able to use same existing location / product name from your ECC systems.

Rgds

Sourabh

samir_ali
Participant
0 Kudos

Thanks Ashish,

Ok, before apply Badi would like to understand impact on existing masterdata with BSG1 in APO.

What will be approach to implement this Badi and preparation step in terms of previous data.

1)Do we need to delete all existing APO data, implement Badi and then re-cif all master data for BSG1 and  BSG2

Or

2) No need to delete existing masterdata with BSG1 , implement Badi and CIF master data for BSG2.

    ( assuming mass transaction can be applied to take care of BSG1 to prefix master data instead of deleting )

option one could be lenghty and time consuming.

Is there any best way

regards

samir


Former Member
0 Kudos


Hi Samir,

Option 2 will be better with the following sequence.

1. Delete data for BSG2 (if Already sent to APO)

2. Implement BADI

3. Send data to APO through CIF

Regards,

Ashish

samir_ali
Participant
0 Kudos

hi Ashish,

ok I will go for option 2 but what about the data already there in APO for BSG1 will system automatically prefix as BSG1 or need to do some activity, if yes then what activity.

regards

Samir

Former Member
0 Kudos

Hi Samir,

BSG1 will not have any prefixes. Only new BSG's added will be prefixed. e.g. BSG2, BSG3 likewise.

Since this thread is answered, please close the same.

Thanks & Regards,

Ashish

Answers (1)

Answers (1)

Former Member
0 Kudos

Samir,

Although you have the same location name in 2 ECC systems with different BSGs you need to create 2 separate locations for this in APO.

Regards,

Sharath