‎2006 Mar 15 3:04 PM
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
‎2006 Mar 16 5:24 AM
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
‎2006 Mar 16 5:29 AM
I hope u had activated the user-exits and implemented the BADIs...
‎2006 Mar 16 6:33 AM
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.
‎2006 Mar 16 8:55 AM
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?
‎2012 Mar 20 12:35 PM
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
‎2013 Jan 09 10:03 AM
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