Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

COOPA003

Former Member
0 Kudos

Hi,

I am trying to add new fields to TC KO01/2/3.

I've read the documentation and did not understand.

I've already created my fields in the CI_AUFK structure.

Can anybofy help me with detailed steps on how to create the screen so I will be able to see the screen when I view an internal order via KO02.

Thanks

1 ACCEPTED SOLUTION

former_member705122
Active Contributor
0 Kudos

EXIT_SAPMKAUF_002 Function callup for customer fields: PBO

EXIT_SAPMKAUF_003 Function callup for customer fields: PAI

Pass the subscreen number in EXIT_SAPMKAUF_002

subscreen = '<nnnn>'.

@aadil

8 REPLIES 8

Former Member
0 Kudos

Hi,

Please check this :

Link : [http://sapass.metro.client.jp/UserExit/COOPA003.htm]

0 Kudos

Hi,

I read that documentation. It did not help me. I created my subscreen but for some reason it is not displayed in the TC.

former_member705122
Active Contributor
0 Kudos

EXIT_SAPMKAUF_002 Function callup for customer fields: PBO

EXIT_SAPMKAUF_003 Function callup for customer fields: PAI

Pass the subscreen number in EXIT_SAPMKAUF_002

subscreen = '<nnnn>'.

@aadil

0 Kudos

Thanks,

Can you give me an example for what to write in EXIT_SAPMKAUF_003?

0 Kudos
*&---------------------------------------------------------------------*
*&  Include           ZXAUFU05
*&---------------------------------------------------------------------*

data: w_temp(30) value '(SAPLXAUF)G_AUFK-ZFIELD'.
field-symbols:  <fs> type any.
assign (w_temp) to <fs>.

if sy-subrc eq 0.
  if sy-tcode eq 'KO01' or sy-tcode eq 'KO02'.
    c_user_ci_aufk-zfield = <fs> .                 " zfield : custom field
  endif.
endif.

@aadil

0 Kudos

I solved the problem in a diffrent way. but thanks anyway.

0 Kudos

HI,

Your answer is very helpful. With that I can write the coas-zmenge into the table. but on the user-define screen '0100' , the field of coas-zmenge is still blank,can't display with the value.

Can you give me an example of how to write in EXIT_SAPMKAUF_002 PBO?

Thank you !

0 Kudos

Hi all!

I am facing the same task. Tomer could you please teel us the solution?

Thank you!

Parker