Dynamic actions - how to create an infotype with a date - 1 day.
Hi everyone,
I need a requirement to change an infotype through dynamic action with ENDDA = BEGDA of maintaned infotype(0000) - 1 day.
In other words when a personel action is performed, another infotype (2001) should appear for change, and in the validity period of this infotype should end with the day before the start of the personel action.
is it possible to achieive this using dynamic actions? how?
Thanks!
Stanislaw Adamski
Hi Adamski,
A dynamic action has the following components.
Infotype Number (INFTY): specifies the infotype for which you want the dynamic action triggered
Subtype (SUBTY): narrows the focus to a specific subtype
Field Name (FIELDN): starts your action when a maintenance function is performed on a particular field
Function (FC): specifies the various maintenance operations to which your dynamic action would respond. They are 02 (change); 04 (create); 06 (create and change); 08 (delete); 10 (change and delete); 12 (create and delete). Dynamic actions are only applicable in maintenance operations, not in display functions.
Sequence Number (NO): refers to a sequential number.
Step (A): specifies a particular type of action. No dynamic action is executed if the function character has a value other than one of the following:
P: Plausibility checks, which allow you to check certain conditions.
I: Calls an infotype for processing
W: Called after the I statement and used to assign values to screen fields while creating or copying another infotype record through the I statement
F: Calls a FORM routine (subroutines in ABAP) during your action. The routine may reside in or out the module pool MPNNNN00.
V: Lets you treat collectively a number of fields for which you want to define a common dynamic action
M: Sends SAP Office mail
Variable function part: The variable function part along with the step indicator forms the core part of your action. It specifies the processing details when the dynamic action is triggered. For example:
you have to look for the scenario what you are planning tyo create .
The maintenance of dynamic actions is done via the view V_T588Z, as shown in 1 (IMG menu path Personnel Management>Global Settings in Personnel Management>Basic Settings>Infotypes>Create Dynamic Actions
Here you havev to use conditions INS for the infotype what you want to create..
Please brief the light on the scenario.
Warm Regards,
Kapil Kaushal
Similar Messages
-
How to create a report with survey data
Hi All,
I need to create a report with survey data in below format. Can anyone help me how to display the summary in this format.
SwapnaHi Swapna,
According to your description, you want to create a report with survey data and display the summary.
Reporting Services is used for rendering the report with data retrieved from datasource. In Reporting Services, we can retrieve data from the datasource then design a report, after the report processed, data is fixed on the report. So it’s not supported
to have the end users selection and do summary. For your requirement, it’s can’t be achieved currently.
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
How to create an infotype with one of its field length eq 1000.??
hi ,
i need to create a infotype where one of the field length is 1000 characters how do i achieve this. if i give more than 255 in the PS structure it will not allow. then how do i get a text field of 1000 chars in the screen ( which is an input field)You can use those function calls even inside a PA Infotype.. they just invoke the text ediotr table control.. I gave you the reference of the PD infotype 1002 just for an idea. I don't think you will able to meet your 1000 char reqt without using the text editor.
~Suresh -
How to create a group with multiple data fields
Post Author: RichS
CA Forum: Formula
Using CR XI. Using CSV input from ODBC text driver. No problems here.
There are 3 fields that I want the same group by action. Is this possible?)
If any one of these 3 fields change I want some header information and column fieldnames to display. The header information I only want displayed on the first page (on the change) and the column fieldnames to display on every page. I have played around with things like "InRepeatedGroupHeader" and "report group header on each page". I am not getting all the results that I am looking for though.
I want report to look like:
Page header stuff (to display on every page) This data consists of some fields that will have static data and will display on every page. And it consists of 3 non-static fields that I want to group on.
Group header stuff that I only want displayed on the first page on a change from one of the 3 fields mentioned above.
Column headings that I want displayed on every page.
Details data
Group footer stuff (details not important for this)
I get the expected output (column headings displayed on every page, and group header stuff display on the first page on each group change) with one group field. But I want the group change to happen for all 3 fields.
It seems simple but I can't find a way to create a "group" so if "field1 or field2 or field3" change, I get the same "group by" action. I just need to know how to get the expected action.
I expect that I might have some terms mixed up and/or some important information that would aide you in helping me. If that is the case please re-post and I will add any missing or mis-stated information.
Thanks,Post Author: V361
CA Forum: Formula
I am slightly confused, but perhaps you can create a formula
Then group on the formula. If this is not what you want, could you post some sample data, with the desired results. -
how to create an rule with action to subtract from the event log of Ips manager express console?, some knows of has an guide?.
Thank you.
Sent from Cisco Technical Support iPad AppHi,
http://www.cisco.com/en/US/products/sw/secursw/ps2113/products_tech_note09186a0080bc7910.shtml
HTH
Luis Silva
"If you need PDI (Planning, Design, Implement) assistance feel free to reach us"
http://www.cisco.com/web/partners/tools/pdihd.html -
How we create custom infotype and how to configure with its subtypes.
hai abap-hr gurus,
how to create custom infotype and how to configure with its subtypes. when i am creating infotypes i am not getting how to configure subtypes.
plz help me for this with an example code.
thanks..
kiran kumarHi Kiran,
Please fallow the below steps to create the custom infotype. If you have any quires let me know.
For Creation of Infotype first Go to Transaction PM01, Enter the custom Infotype number which you want to create, it should be a 4 digit number and have to start with 9xxx.
then select the `Employee Infotype' radio button
after that select the `PS Structure Infotype'
then click on Create A separate table maintenance window appears
then Create a PS structure with all the fields you want on the infotype
Save and Activate the PS structure
now Go back to the initial screen of PM01
Click on `All' push button. It takes a few moments
Click on `Technical Characteristics. Infotype list screen appears
Click on `Change'(pencil) button
Now select your Infotype and click on `Detail' (magnifying glass) button
Give `T591A' as subtype table & also Give `T591S' as subtype txt tab
Give your subtype field as subtype field & Save and come back to PM01 initial screen
Click on `Infotype Characteristics' Infotype list screen appears
Click on `Change' (pencil) button & on New Entries
and then Enter your Infotype number and short text Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference
to fill yours). Now save ur entries
Now the Infotype is created and ready to use.
If you want to change the layout of the Infotype as per your
requirement
In the PM01 initial screen Select `Screen' radio button and give
2000 as the screen name, then click on edit.
In the next screen.. Select `Layout Editor' and click `Change'.
Screen default layout appears here you can design/modify the
screen..change the attributes of the fields..etc.
Save and activate. (Don't forget to `Activate at every level)
Regards,
Ramakrishna kotha. -
How to create a node with attributes at runtime in webdynpro for ABAP?
Hi Experts,
How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
Please help!
Thanks
GopalHi
I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
Note
The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
My code is like the following:
TYPES: BEGIN OF t_type,
CARRID TYPE sflight-carrid,
CONNID TYPE sflight-connid,
END OF t_type.
Data: i_struc type table of t_type,
dyn_node type ref to if_wd_context_node,
rootnode_info type ref to if_wd_context_node_info,
i_node_att type wdr_context_attr_info_map,
wa_node_att type line of wdr_context_attr_info_map.
wa_node_att-name = 'CARRID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
insert wa_node_att into table i_node_att.
wa_node_att-name = 'CONNID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
insert wa_node_att into table i_node_att.
clear i_struc. refresh i_struc.
select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
rootnode_info = wd_context->get_node_info( ).
rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
attributes = i_node_att
is_multiple = abap_true ).
dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
dyn_node->bind_table( i_struc ).
l_ref_interfacecontroller->set_data( dyn_node ).
I am trying to create a new node. That is
CONTEXT
- DYNFLIGHT
CARRID
CONNID
As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
Also I cannot define the structure in the ABAP dictionary because it changes based on condition
Message was edited by: gopalkrishna baliga -
How to create a table with events in smartforms?
How to create a table with events view in smartforms?
It doesn't like general table with header, main area and footer.
for example:
in smartforms: LE_SHP_DELNOTE
table name is TABLEITEM(Delivery items table)Vel wrote:
I am creating XML file using DBMS_XMLGEN package. This XML file will contain data from two different database tables. So I am creating temporary table in the PL/SQL procedure to have the data from these different tables in a single temporary table.
Please find the below Dynamic SQL statements that i'm using for create the temp table and inserting the data into it.
Before insert the V_NAME filed, i will be appending a VARCHAR field to the original data.
EXECUTE IMMEDIATE 'CREATE TABLE TEMP_TABLE (UNIQUE_KEY NUMBER , FILE_NAME VARCHAR2(1000), LAST_DATE DATE)';
EXECUTE IMMEDIATE 'INSERT INTO TEMP_TABLE values (SEQUENCE.nextval,:1,:2)' USING V_NAME,vLastDate;What exactly i need is to eliminate the INSERT portion of it,Since i have to insert more 90,000 rows into it. Is there way to have the temp table created with data in it along with the sequence value as well.
I'm using Oracle 10.2.0.4 version.
Edited by: 903948 on Dec 22, 2011 10:58 PMWhat you need to do to eliminate the INSERT statement is to -- as already suggested by others - eliminate the temporary table. You don't need it. It is just necessary overhead. Please explain why you (apparently) believe that the suggestion of a view will not meet your requirements. -
How to create custom infotype for training and event management
hai freinds can any one tell me how to create custom infotype for training and event managment with following fields
PS No PA0000-> PERNR
Name - PA0001 -> ENAME
IS PS.No. PA0001-> PS no. of Immediate Superior
IS name PA0001 -> ENAME
thanx in advance
afzalHi,
Your question is not clear for me. Since it is a TEM infotype, it could be a PD infotype.
If you wish to create a PD infotype, use transaction PPCI to create the infotype.
But before that you need to create a structure HRInnnn (where nnnn is the infotype number) with all the fields relevant for the infotype.
If you wish to create a PA infotype, use transaction PM01 to create the infotype.
But before that you may be required to create a strcuture PSnnnn (where nnnn is the infotype number) with all the fields relevant for the infotype.
Regards,
Srini -
How to create an infotype in sap ecc6.0 ?
Hi all,
I know i how to create an infotype in sap 4.7, but i am facing the problem while
creating an infotype in sap ecc6.0 version. could u plz provide me the info with screen shots how to create an infotype and how to enhace that infotype ?
Waiting for u r response.
Regards,
RaviHi ,
To create OM infotype:
1. Go to SE11 and create a structure HRI9XXX (9XXX --> name of the infotype). Add the required fields to this structure and save and activate. then come out of it.
2. Go to PPCI and enter Infotype number (9XXX) and description.
3. Click create.
4. In the infotype category select details for the infotype.
5. Click create button. It should create the infotype.
6. Click on Check. A window with menu will open.
7. In that window navigate to Table Entries.
8. Under table Entries, select T777I and click on change.
9. It opens SM30. Click on Maintain.
10. Select the infotype and add information for "Time Constraint" and "Infotype Per Object Type".
11. Save.
12. Go back to check menu, see if all entries exist. Do not worry last 5 table entries. And you are done -
How to create an Infotype in OM
Dear all,
Can any one please let me know How to create an Infotype in OM.
thanks
abdulHi ,
To create OM infotype:
1. Go to SE11 and create a structure HRI9XXX (9XXX --> name of the infotype). Add the required fields to this structure and save and activate. then come out of it.
2. Go to PPCI and enter Infotype number (9XXX) and description.
3. Click create.
4. In the infotype category select details for the infotype.
5. Click create button. It should create the infotype.
6. Click on Check. A window with menu will open.
7. In that window navigate to Table Entries.
8. Under table Entries, select T777I and click on change.
9. It opens SM30. Click on Maintain.
10. Select the infotype and add information for "Time Constraint" and "Infotype Per Object Type".
11. Save.
12. Go back to check menu, see if all entries exist. Do not worry last 5 table entries. And you are done -
How to create sap query with "or" relationship
dear experts,
I need a report to display the employee whoese WSR is
changed in the month for infotype 0007.
that is ,we want to search with selection
begda OR endda between 2008-01-01 and 2008-01-31.
how to create sap query with "or" relationship?hi use like this,
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
pernr = p_pernr
infty = '0007'
BEGDA = p_date1
ENDDA = p_date2
TABLES
infty_tab = itab .
hi use this by passing the pernr to fm and giving the dates low and high in the p_date1 and p_date2.
loop at itab where condition.
endloop.
may it helps u,
regards,
venkat. -
Hi experts can any one guide me how to create OM Infotype?
I know that we need to create a structure using SE11. then we need to go with the creation of Infotype.Dear Vamsi
Check this out
How to create a HR infotype?
1) Go to Transaction PM01.
2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
3) Select the Employee Infotype radio button.
4) Select the PS Structure Infotype.
5) Click on Create A separate table maintenance window appears
6) Create a PS structure with all the fields you want on the Infotype
7) Save and Activate the PS structure
8) Go back to the initial screen of PM01.
9) Click on All push button. It takes a few moments.
10) Click on Technical Characteristics. Infotype list screen appears
11) Click on Change(pencil) button
12) Select your Infotype and click on Detail (magnifying glass) button
13) Give T591A as subtype table
14) Give T591S as subtype txt tab
15) Give your subtype field as subtype field
16) Save and come back to PM01 initial screen
17) Click on Infotype Characteristics Infotype list screen appears
18) Click on Change (pencil) button
19) Click on New Entries
20) Enter your Infotype number and short text
21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotypes infotype characteristics screen and use as the reference to fill yours)
22) Save your entries.
23) Now the Infotype is created and ready to use.
24) If you want to change the layout of the Infotype as per your requirement
25) In the PM01 initial screen Select Screen radio button and give 2000 as the screen name, then click on edit.
26) In the next screen.. Select Layout Editor and click Change.
27) Screen default layout appears here you can design/modify the screen..change the attributes of the fields..etc.
28) Save and activate. (Dont forget to Activate at every level)
Another way of creating the infotype with screen shots:
Creating a New Infotype
Step 1
Execute transaction PM01 (If you get a message saying the infotype can not be enhanced,
try transaction PPCI).
Step 2
Select create IT tab and enter new infotype number into selection box.
Step 3
Press the create ALL button (left of infotype no.). You will get a dialog box asking to confirm,
press the create button.
Step 4
You will now be presented with the standard structure creation screen (SE11) where you need to
enter the fields of the new infotype. I have entered some examples but you can put anything in
here.
Step 5
Once you have entered the fields press save and then activate, before pressing the back button.
You will now be presented with the following screen, where you will need to make a new entry
or your created infotype (i.e. 9010).
Step 6
The next step is to fill in the infotype attributes, these will initially be blank and you will need to
fill them in similar to the following, depending on your requirements. Then press save.
Step 7
Your infotype is now created and can be accessed and populated in the usual way using
i.e. using transactions such as PA20 and PA30.
Step 8
If you look at the structure of your new infotype in transaction SE11 it will look similar to the
following:
Award points if helpful
regards
jayeeta -
How to create editable table with one empty row ?
I'm looking for solution how to create editable table with one empty row using ADF BC. I have seen this solution in application that was created in JHeadstart and it's very well idea to use it insead of creation form.
hammm, i do it this:
drop the VO on the page, select Table->ADF Table....
so, drop the botton create, from de VO->operations->create (the firts), and right botton (mouse) Edit binding....
in Data collection select the VO, in Select an action select CreateInsert
luck -
How to create excise invoice with reference thorugh credit memo
Hi All,
Please provide any solution for the following qurey:
How to create excise invoice with reference thorugh credit memoHi murali,
i am unable to understand your requirement i think there is no like this scenario requirement for any client
if any requirement is there kindly explain detail
cheers
Maybe you are looking for
-
Swf works solo, but not when loaded in another swf
if u wanna see for yourself how it works, create and export a font named "Century" and create an .as file that gets and sets a textfield. Anyways the first issue is, it sometimes doesn't handle it's event listeners when I test the movie, then if i re
-
Re: Error in Goods Receipt
Hi Experts, I had error in inventory posting 501 movement that error is Fld selectn for mvmt type 501 / acct 400011 differs for Vendor goods So how to rectify this Thanks & Regards,
-
In Numbers 09 there was 'rearrange' which worked perfectly. New Numbers 13 has Sort by column but I can't get it to work. is there a bug?
-
Motion playback window MUCH better quality than final output?
I'm puzzled. I export a straight DV NTSC. The Motion playback window pops up when the job is done. It plays back the finished clip and it looks just grand, very clean. I open the clip itself in the Quicktime Player and it is quite ugly, full of artif
-
SUB-Group consol. in different currency i.e. other than group currency
HI Friends, Consolidation Group currency is "USD". In the consolidation hierarchy, i have one sub group where all the companies are in AUD. Now the requirement is that australian sub group requires sub consolidation in AUD. Currently we are doing sun