cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Custom field enhancement to MARC and /SAPAPO/MATLOC tables & data transfer via CIF

prenith_pp
Explorer
0 Kudos
1,492

I have to create a custom field in MARC table ECC side; also same custom field in /SAPAPO/MATLOC table in APO. Also i have to maintain the core interfaces so that data transfer happens from ECC to APO.

I have enhanced MARC table and structure 'CIFMTLCCUS' to hold my custom field. I have used the ECC enhancement 'CIFMAT01' to place in my code for mapping my custom field to 'CIFMTLCCUS'.

In the APO side I have modified the '/SAPAPO/MATLOC' table(Already the free attribute fields are used up in APO) and structure '/SAPAPO/CIF_MATLOCCUS' to hold my custom field. I have used the enhancement 'APOCF005' in APO side. Inside the enhancement I have written a select query to read the MATLOC details based Product Id & have written a modify statement mapping my custom field.

My issue is when a new material gets created in ECC; and is transferred my custom field doesn't get updated.

Accepted Solutions (1)

Accepted Solutions (1)

prenith_pp
Explorer
0 Kudos

I have made use of Enhancement 'APOMD005' in APO side & it's working fine.

Answers (1)

Answers (1)

RahulHanda
Active Contributor
0 Kudos

Prenith,

Considering your custom field is updated in MARC table and you want to update the same in free attribute field while CIF, use EXIT_SAPLCMAT_001 Core Interface to APO: Enhancements to Material with include ZXCIFU01.

Write your logic in this and map it to attribute field in APO, system will automatically push the values from ECC to APO every time CIF is triggered (for newly created and change materials).

Let me know if it resolved your issue.

Regards

Rahul