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

PSPAR structure

Former Member
0 Likes
2,695

Hello,

Can anyone tell me the meaning of field AKTYP (data type ACTYP) of struture PSPAR ?

I want to use this field to know if im executing a dynamic measure or not .

Tks

Tiago

Portugal

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,179

Hi,

ACTYP is an Activity type or transactions in HR infotype Dialog Modules.

Regards,

Aswin

13 REPLIES 13
Read only

Former Member
0 Likes
2,180

Hi,

ACTYP is an Activity type or transactions in HR infotype Dialog Modules.

Regards,

Aswin

Read only

0 Likes
2,179

Hi Marcelo,

this is the SAP help for that field..


The activity type has the following values:
'A' - The transaction enables you to display objects.
      The current object is not locked.
'P' - The transaction enables you to maintain objects.
      The current object is locked.
'U' - The transaction is a utility for maintaining data.
      Certain consistency checks are deactivated when you use it.
      These transactions allow you to process data which
      normally only the system maintains, or to delete
      records without a time constraint check.
      These transactions should be used by authorized
      persons only for test purposes.

I don't think will suit ur reqt..

regards,

Suresh Datti

Read only

0 Likes
2,179

Tks,

but that is not enough....

Sometimes this field contains 'P', othertimes is initial, i dont understand the meaning of the content of this field, can you help again ?

tks

T.

Read only

0 Likes
2,179

Thank you very mucg, you're very specific but as you told me that dont satisfy my needs.

Do you know how can y do this ?

I want to check if im executing an infogroup, if so i do not want to execute the dynamic measure.

I only want to execute the dynamic action if im changing the infotype directly.

tks

T.

Read only

0 Likes
2,179

Didn't my reply help? the field only tells u the activty type of the transaction ie display,update etc.. It is specific to the Tcodes (HR) maintained in T588A.. Where exactly are you trying to determine if its Dynamic Measure? User exit? PA40?

Check for function code selected in the Program. if it is 'INFO', then its an Infogroup.

Regards,

Suresh Datti

Message was edited by: Suresh Datti

Read only

0 Likes
2,179

Suresh Datti ,

Tks .

This is the example:

I defined dynamica actions but i only want to them execute if im changing an infotype directly not by executing a action.

Read only

0 Likes
2,179

Suresh Datti,

Whem im changing IT0001 the fcode is 'UPD' not 'INFO' ...

Read only

0 Likes
2,179

In fact, Dynamic Actions are meant to get triggered via actions. You are prempting your requirement by putting it in DA. What are you trying to do via the Dyn Action? Create another Infotype record? You could probably use the Infotype User exit ZXPADU02 for that.

Regards,

Suresh Datti

Read only

0 Likes
2,179

Suresh Datti,

I tried to use that possibility but it not suit me.

Maybe if y check (on dynamic actions) if pspar-MASSN is initial i could obtain the answer if im executing actions or not, what do you think about this?

im trying to create an infotype 9xxx when changing p0001-bukrs, with many propose values...

tks

T.

Read only

0 Likes
2,179

OK.. then my guess was right.. you are trying to create an Infotype record after all.. You CANNOT use Dynamic actions in your scenario. What was the issue with the Infotype User exit? Did you try to use the function Module HR_INFOTYPE_OPERATION inside ZXPADU02 to create the 9XXX record ?

Regards,

Suresh Datti

Read only

0 Likes
2,179

Suresh Datti ,

perhaps with a little more effort i could solve my problme with the user exit.

But PSPAR-MASSN solve my problem: so

in t588z i add a line :

P PSPAR-MASSN=' '

and like this if no action was enterd the dynamic action executes otherwise no .

tks

Read only

Manohar2u
Active Contributor
0 Likes
2,179

Its Activity Type of transaction like

create/Display/change/ like 1/2/3 values.

Regds

Manohar

Message was edited by: Manohar Reddy

Read only

ferry_lianto
Active Contributor
0 Likes
2,179

Hi Marcelo,

Activity type defines specific activities performed by a cost center. Activity types are required in order to carry out internal activity allocation, which is used for the direct or indirect entry and allocation of completed internal labor or product/service activity. Every activity type has an hourly standard labor rate and a secondary cost element used to allocate that standard labor rate to orders and/or projects. An internal activity allocation is a method of internal cost allocation by which priced activities from cost centers can be assigned to other cost objects. Activities represent the output of a cost center (i.e., activity type).

Also please check this pool table <b>T588A</b>.

Hope this will help.

Regards,

Ferry Lianto