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

CALL CUSTOMER-FUNCTION question

Former Member
0 Likes
1,271

Dear Experts,

Please note that I am not a developer, so my question might be dumb, but still looking forward to seeing your comments.

Can you please explain what constrains must be met for program to go into such customer function ?

CALL CUSTOMER-FUNCTION '001'
        EXPORTING
             PERNR                = PERNR
             MOLGA                = MOLGA
             DATUM                = DATUM
             NR_YEARS             = NR_YEARS
        TABLES
             YEARS                = YEARS
        EXCEPTIONS
             STANDARD_CALCULATION = 1
             CUSTOMER_ERROR       = 2
             OTHERS               = 3.

The reason why I am asking is because in one of our systems program goes into  CALL CUSTOMER-FUNCTION '001' and in other system it doesn't.

After clicking on '001' in both systems I see an include which is not implemented.

Thanks.

1 ACCEPTED SOLUTION
Read only

schneidertho
Product and Topic Expert
Product and Topic Expert
0 Likes
735

Hi,

the customer function (i.e. enhancement) must be part of a project and it must be active.

  • double click on '001' to find the function module name -> might be something like EXIT_SAPLCJWB_004
  • use the name to find an (active) project, thereto goto transaction CMOD -> F4 on project field -> display all selections -> under 'additional selections' you can enter the function module name from the first step in field 'enhancement component'
  • if you find a project, display the attributes of the project (project status should be active)

I assume that the enhancement is active in the one system. And not active (or does not even have a project that could be active) in the other system.


Hope that help.

Best regards

Thorsten

2 REPLIES 2
Read only

schneidertho
Product and Topic Expert
Product and Topic Expert
0 Likes
736

Hi,

the customer function (i.e. enhancement) must be part of a project and it must be active.

  • double click on '001' to find the function module name -> might be something like EXIT_SAPLCJWB_004
  • use the name to find an (active) project, thereto goto transaction CMOD -> F4 on project field -> display all selections -> under 'additional selections' you can enter the function module name from the first step in field 'enhancement component'
  • if you find a project, display the attributes of the project (project status should be active)

I assume that the enhancement is active in the one system. And not active (or does not even have a project that could be active) in the other system.


Hope that help.

Best regards

Thorsten

Read only

0 Likes
735

Hi Thorsten,

Thank you for such detailed instruction.

Indeed your assumption was correct and this is also an answer to my case.

Regards!