cancel
Showing results for 
Search instead for 
Did you mean: 

Stock Data (Changes) are not getting CIFed to APO automatically

Former Member
0 Kudos

Hi,

I am using SAP ECC 6.0 and SAP SCM 7.0.

I have batch managed products. I am trying to CIF Stocks (Object: Storage location Stock) from ECC to APO using CIF Integration Models.

I have NO active integration model for Classes/Characteristics as no Classes/Characteristics is relevant for APO planning.

I have activated the Integration Model for object Batches and batches are getting CIFed to APO.

I have activated the Integration Model for object "Storage Loc. Stk". The Initial Data Transfer of object "Storage Loc. Stk" is getting CIFed to APO.

In CFG1 for object CIF if I see logs, for sub-object text "Initial Data Transfer" I see logs and a qty under column 'Number". However for sub-object test "Stock Data" I do not see any log entries and the "0" qty is seen under column 'Number".

Issue:

However subsequent any changes in the stocks are NOT getting CIFed to APO automatically as a real time transfer. No Outbound queues are           generated after any subsequent changes in the stocks. My issue is changes in stocks not getting CIFed to APO automatically. I do not know to resolve this for what message type I need to maintain check/flag in t-code BD50.

(If I do following then the changes are going over to APO but it's as good as an Initial Transfer)

1. Run program RIMODINI or

2. Just deactivate the existing integration model and activate it again or

3. Re-generate integration model, deactivate existing model and activate newly created integration model)

     

Additional Info:

Based on our design need we are using user-exit CIFSTK01 (Enhancement for Transferring Customer-Specific Stock Fields) to change the Material (field MATNR in Table MARA) to the field Old material number (field BISMT in Table MARA) while transferring any stocks related transactional data from ECC to APO.

I have maintained following CIF settings already on the ECC side - mentioning only those that are relevant to topic:

1.) In CFC2 for user name *, RFC Mode = Q.

2)  In CFC9 checked/flagged for application dependent settings 'Re-Read Stock"

3)  In BD61 checked/flagged for "change pointers activated - generally".

4)  In BD50 checked/flagged for below message types = BATMAS, CIFCUS, CIFECM, CIFMAT, CIFMTMRPA, CIFPPR, CIFVEN, CREMAS, DEBMAS,

     FRE_PLIFZ, MATMAS, MATQM, MEREP_DELTABO

5)  In BF11 checked/flagged for ND-APO and NDI

You can see the attachment.

Please advise.

Abhay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

is it possible to test transfer without user-exit CIFSTK01, just to exclude the possibility that the problem is there? Also try un-check "re-read stock" just to be sure, may be you change material number and then the system cannot find it (just guessing).

good luck,

J.

Former Member
0 Kudos

Hi James,

I disabled the CIF Stocks enhancement user-exit CIFSTK01 and the it's working for transferring the stock data changes automatically on real time basis to APO. (I haven't un-checked CFC9 field "re-read stock" yet due to access issue but I agree it makes sense to remove the check and will get it removed). Thanks ! Atleast I got the clue that something is wrong in the enhancement logic.

We are changing the material number - from (field MATNR in Table MARA) to the field Old material number (field BISMT in Table MARA) on the ECC side during going Outbound may be that is NOT a good idea. And may be we need to maintain the mapping table from material number to old material number for this China plant on the APO side.

To make the CIF enhancement - user-exit CIFSTK01 - work for me - does anyone have an idea if I need to maintain anything in t-code BD52?

Thanks,

Abhay

former_member197994
Active Contributor
0 Kudos

Hi Abhay,

BD52 shouldn't be relevant here. I think you're correct already in saying that something is wrong in the enhancement logic, not outside of it.

Best regards,

Tiemin

Former Member
0 Kudos

Thanks James and Tiemin,

I first disabled the CIF Stocks enhancement user-exit CIFSTK01 and found that the standard CIF worked fine for subsequent data change transfers - from that concluded that the problem was in the enhancement.

Later the ABAP developer picked up some idea from the "Note 746795 - Enhancement of the user exit in CIF stock outbox (Plug-in)" and did the code fix and now the change subsequent data change transfers are reaching APO using our enhancement.

Appreciate your time and response.

Thanks,

Abhay

Answers (0)