Skip to Content
0
Former Member
Feb 23, 2006 at 06:06 AM

Regarding Coding from Specification

22 Views

Hi All,

I have a clarification regarding following Technical specification.

Can anybody tell me what is the exact coding i can do for following specification.

Here I_EKKO is for Header data, XEKPO is for line item data etc.

Activate user exit MM06E005 (EXIT_SAPMM06E_013) to accomplish this.

1. For I_EKKO-RESWK <> “ “ and XEKPO-TECHS = “ “ and MARA-KZEFF = X (for MARA-MATNR = XEKPO-MATNR) and XEKPO-LOEKZ = “ “ and XEKPO-ELIKZ = “ “, get XEKPO-EBELN, XEKPO-EBELP, XEKPO-MATNR, XEKPO-WERKS, XEKET-EINDT, XEKKN-PS_PSP_PNR (existing logic) – please note that we used RESWK from EKKO and now we are using WERKS from EKPO.

2. For XEKPO-PSTYP = 3 and XEKPO-TECHS = “ “ and MARA-KZEFF = X (for MARA-MATNR = XEKPO-MATNR) and XEKPO-LOEKZ = “ “ and XEKPO-ELIKZ = “ “, get XEKPO-EBELN, XEKPO-EBELP, XEKPO-MATNR, XEKKO-WERKS, XEKET-EINDT, XEKKN-PS_PSP_PNR. 

3. For records retrieved for step 1 and 2, get part type for unique MATNR and WERKS combination: Pass XEKPO-MATNR and XEKPO-WERKS as I_MATNR and I_WERKS to function module Z50_MFGTYPE and get E_PTYPE – please note that we used RESWK from EKKO and now we are using WERKS from EKPO.

4. Write all these fields to table zppe0169_01.

Can anybody solve my issue.

Thanks in advance.

Thanks & Regards,

Rayeez.