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

Atomate Costcenter infotype P0027 using pa30

laxman_sankhla3
Participant
0 Kudos
323

Hi all,

I have Query with Costcenter posting automate using Exit,

I have the Two user exits X and ZXPADU02

here i can Change the Costcenter field and i can restrict the PA and Company code level.

But when i change the value or create duplicates values overlaps in pa30 infotype 27.

is thare any way to use the automation...

my requirement is that,

i have a z table have PA ,Personal Subarea and Costcenter fields,

When the user create are change the Costcenter infotype 27 ..

i need to check the validation for that employee PA and Personal Subarea based on this condition ztable Costcenter trigger.

can u give me any solution....

Thanks.

3 REPLIES 3
Read only

amit_khare
Active Contributor
0 Kudos
282

Use dynamic actions for the same.

Read only

Former Member
0 Kudos
282

hi laxman

write the selection query

select pa

from ztable

into wa_itab

where pa = '27'.

if sy-subrc eq 0 .

write:/ infotype found .

else

continue.

pls check it can be useful

endif.

Read only

laxman_sankhla3
Participant
0 Kudos
282

Thanks for replay.

How can i use the Dynamic Action and where can i assign ...

Can u give me details....

My HR-functional department says this is not passible to use the Dynamic action.

It can be Passible Exit only....

Regards,

Laxman.