cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer of fields from ECC to APO

Former Member
0 Kudos


Hi All,

I have a requirement where in I need to implement logic for Repl. Lead time as follows -

     1. check if the purchase info record exists

          if exists, then check if the current date is between lifba and lifbi of EINA table

               if exists then pass EINE-APLFZ to AT101 field of cif_matloc

     2. if purchase info record does not exist, then pass the lead time from Material Master data.

I have done the coding in Exti_SAPLCMAT_001 (ZXCIFU01).

the issue is, its not checking for the existence of info record, directly the lead time is being taken from material master data.

Pls help...this is an urgent issue.

Thanks & Regards,

SriLalitha. 

Accepted Solutions (1)

Accepted Solutions (1)

marianoc
Active Contributor
0 Kudos

Hi SriLalitha,

I have loaded a document explaining how you can set defaults values in APO MAT1 when the material is CIFfed. See this document, here you have the ABAP code:

http://scn.sap.com/docs/DOC-56755

This need to be done in APO, thru BAdI: BADI SMOD_APOCF005. In the ABAP code in APO you will need to use function: 'RFC_READ_TABLE' in order to get the details from table EINE. In my example, I am doing something similar checking values from tables MARA and MARC.

Thanks and Regards,

Mariano

Answers (0)