cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to update zfield in include structure CI_AUFK of the table AUFK through user exit.

Former Member
0 Kudos

For the transaction CO01 i have created a project in cmod with

Enhancement PPCO0012

Function Exit - EXIT_SAPLCOKO1_001 (PBO)

                EXIT_SAPLCOKO1_002 (PAI)

Screen exit   - SAPLCOKO1

Added zfield in include structure CI_AUFK table AUFK named ZZPP_STORE_ORD(Work Order Number) of datatype AUFNR.

In screen exit-

In Element List added field WA_AUFK-ZZPP_STORE_ORD

In Flow Logic

PROCESS AFTER INPUT.

  CHAIN.

    FIELD: wa_aufk-zzpp_store_ord.

    MODULE user_command_0100.

  ENDCHAIN.

In PBO(EXIT_SAPLCOKO1_001)

Import I_CAUFVD            LIKE        CAUFVD

WA_AUFK-ZZPP_STORE_ORD = i_caufvd-ZZPP_STORE_ORD.

In  EXIT_SAPLCOKO1_002

Export E_COCI_AUFK     LIKE        COCI_AUFK

E_COCI_AUFK-ZZPP_STORE_ORD = WA_AUFK-ZZPP_STORE_ORD.

But the ZZPP_STORE_ORD is not getting updated in the table AUFK.

Can anyone help me on this.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Anshika,

Pretty old trend, but I am currently facing the exact issue.

Were you able to resolve the issue, If yes, Please let me know how did you manage to achieve it.  Thanks.

Regards,

Chaitanya.