Application Development and Automation 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: 
Read only

COOPA003

Former Member
0 Likes
2,531

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
Read only

Former Member
0 Likes
1,693

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
Read only

Former Member
0 Likes
1,693

Hi,

Please check this :

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

Read only

0 Likes
1,693

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.

Read only

Former Member
0 Likes
1,694

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

Read only

0 Likes
1,693

Thanks,

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

Read only

0 Likes
1,693
*&---------------------------------------------------------------------*
*&  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

Read only

0 Likes
1,693

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

Read only

0 Likes
1,693

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 !

Read only

0 Likes
1,693

Hi all!

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

Thank you!

Parker