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

COOM0003 User-exit: need sample code

Former Member
0 Likes
1,373

Hello.

If somebody write UE with extension COOM0003, please, reveal your code.

Thanks.

2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
0 Likes
806

There is a standard sample given by SAP :

case i_strat.
  when 'C01'.
    e_konty = 'SK'.
    e_receiver-hkont = '0000315000'.
  when 'C02'.
    if i_senderart = 'ORC'.
      e_konty = 'KS'.
      e_receiver-kostl = '4711'.
    else.
      e_konty = 'KS'.
      e_receiver-kostl = '4712'.
    endif.
endcase.

Regards

Read only

0 Likes
806

Thanks, but I know it sample:


*----------------------------------------------------------------------*
*   INCLUDE LXKOBSF01                                                  *
*----------------------------------------------------------------------*

************************************************************************
* Example: settle to fix G/L account 315000 for strategie C01;
*          settle to fix cost center 4711 for strategie C02 if object
*          type = internal orders, to fix cost center 4712 for other
*          object types.
************************************************************************

Me need real sample, please.