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

CA02 user exit

dorota_janik
Explorer
0 Likes
2,734

Hello everybody,

I need to change the date (Key date - RC271-STTAG) after pressing enter on the selection screen in transaction CA02 (Change routing).

I found the exits:

CMDI001

CPAU0001

CPDO0001

CPRE0001

XCZD0004

but non of those seems working..

Badi definition ROUTING_EXIT also seems not usable...

Best regards

6 REPLIES 6
Read only

Former Member
0 Likes
1,815

Hi,

Open the tr code CA02 in SE93.

and open the objects list (ctrlShiftF5).

Now open the node Function Groups and scroll down o bottom. You will find a number customer group exits.

try each one by putting a break point.

Hope it helps..

Regards,

Shashank

Read only

0 Likes
1,815

I hope u had activated the user-exits and implemented the BADIs...

Read only

Former Member
0 Likes
1,815

Hello Dorota,

I also checked the exits and they are not called at relavant position. What u can do is use CPAU0001, EXIT_SAPLCPAU_001. THis is fired for authorisation. You can play with this for your use.

data: f1(50) value '(SAPLCPDI)RC271-STTAG'.

field-symbols: = '20060216'. <- date you can subsitute..

Hope this helps.

Read only

dorota_janik
Explorer
0 Likes
1,815

Hi,

thanks for help, unfortunately your trick does not work (does not take any effect).

Maybe the exit is called too late in standard coding?

I debugged the coding and looked that they are moving to the another structure (SAPLCPDI)RC27S-STTAG, but it seems useless as well..

any idea?

Read only

Former Member
0 Likes
1,815

Hi Dorota,

For routing, does not exists user-exit or BADI.

I use the ENHANCEMENT-POINT below in program LCPDIFV1:

   ENHANCEMENT-POINT EHP603_LCPDIFV1_01 SPOTS ES_SAPLCPDI.

... and works very well.

In this place, you have to use the "collect_task_list_data" routine to obtain the "l_plpo_tab" internal table with the operations and functions modules CP_BT_PLPO_READ_WITH_KEY and CP_BT_PLPO_UPDATE if you want to modify some data.

Also you can access the field RC271-STTAG.

Best regards,

Leandro Mengue

Read only

0 Likes
1,815

Hi Leandro, I would like modify the enhancement like write you but I can not do.

Could you write me how to do step by step?

Thanks a lot.

Ciao

Sonia