Quantcast
Channel: SCN : Document List - SAP ERP Human Capital Management (SAP ERP HCM)
Viewing all articles
Browse latest Browse all 672

Dinamic Actions II

$
0
0

This document is the second part of the following document

 

Dynamic actions I

 

Variable partof the function: The content of thefunctionalvariable hasdifferent meaningsdepending on theaction indicator:

 

P-plausibilitychecks

 

Herecan be presetvalues ​​forcertain fieldsof theinfotype.It should be notedthen thefull nameof the field.Comparison values​​canbe literal, constantvalues​​must be enclosed insingle quotesand canbe variable. Theprevious valueof a field canbe extractedfor comparison, thefield namemust precedethe prefixPSAVE.
Ifcomparedtotheotherfieldsare extractedinfotypes, they must be arranged in thecurrentinfotypemodulpool.


Ascomparison operatorsare supported:

 

=equal to,
< less than,
<= less thanor equal to
> greater,
> = greater thanorequal to y
<>divergent.

 

Subsequentchecksareusuallyrelatedlogical AND. Instead, the links connected bylogical ORalsobe identifiedby/X.

 

Note:Please note thatall checksthatare linked toorhaveplus/X.
If the result ofthe comparisonis not "true",the following commandsare ignored(I,F, Wetc..) Until it reachesa newfield ornew comparisonsare made.

 

Examples:
InfotypeField.....Ind.variable part of thefunction

 

0000STAT3PP0000-STAT3 = '0'
0000STAT3P-STAT3 PSAVE= '1'

 

Actionis executedif the valueof the fieldP0000-STAT3 is modified1  to 0.

 

0013PP0013-KVKZ1 <> '0 '/X
0013PP0013-AVKZ1 <> '0 '/X
0013PP0013-RVKZ1 <> '0 '/X
0013PP0013-RVNUM = SPACE

 

The first threeconditionsare linked byO, ie, must be metat least one ofthe three conditions, the fourthcondition mustnecessarilybe met.
The action will occur, therefore, whenworthfollowing:
P0013-KVKZ1other than 0orP0013-AVKZ1 different than 0orP0013-RVKZ1 different than 0-andP0013-RVNUMempty.

 

I -Updating aninfotype record

 

Actionare indicatedinfotype, subtype, objectID, start and end of validity ofinfotype recordtoselect anda flag thatcontrols whetherthe actionis to be performedin the background.The possible actions areINS, COP, MODand DEL.
The selection criteriaare separatedwith commas. Thepointis then usedasthe separator characterinmatchcodeinput, ie a missingentryis added tothe respectivecoma.

 

The indicator forthe suppressionof dialogueis separated fromother entriesby a barD(/D).
Constant, for example, tothe subtype, there are includedsimplecommas.

 

Ticketscan also be madevariable. Fieldcarryingsuchcontentbe indicatedvaluebrackets.

 

examples:
InfotypeField.....VariablefunctionInd.Parte

 

....IINS, 19.01/D

 

Action:Creatinga recordof time,subtype01no displayprocessing(in the background).

 

....IDEL,14,M559

 

Action:Deleting an recurring payment and deductions withsubtypeM559.

 

0007 .... I INS,8,,,(P0007-BEGDA),(P0007-ENDDA)

 

Action: Create a basic payinfotype(0008), nosubtypeand object ID. Start and enddateof theinfotypeis thetheoreticalwork schedule(0007), indicate the two fieldsis appropriateonlyifdata has been enteredin these fieldsbecausethe sameinfotypelaunchesdynamic measurement(as here).

 

W- Proposedvalues ​​forthe new record.

 

Proposedliteralorvariables.
Note thatinfotype, subtype, object ID,start and endof validityeventuallybe proposedbythe Iand not bythe actionW.
In general, it is convenient if you putQofan infotypefieldsbecause the values ​​ofthese fields arederived from the correspondingfieldsP.

 

Example:
InfotypeSubtype.....Code-F Ind.Partevaryingfunction

 

0021   2          04      I  INS, 0015,M430
0021   2           04     WP0015-BETRG ='10000'

 

When creating afamilyinfotype(0021) subtype2(child) willmake anadditional payment(0015) whose amountis100.00pre-allocation.

 

V- Referenceto another action
You can groupfields.Thefunctionof thevariable containsthe field that followsthe column"field". The shares, whichin the following linesare shownonly tothe next field,are releasedfor each ofthe fields.


example


InfotypeField.....Code-FInd.Partevaryingfunction

0016 PRBZH 06 V PRBZT

0016 PRBZT 06 I DEL,0019,01/D


Infotype19,subtype01 iscleared"in the background" tochange or add(function code06)orPRBZHPRBZTfieldof infotype001.
Equivalent would be:


0016 PRBZH 06 I DEL,0019,01/D

0016 PRBZT 06 I DEL,0019,01/D

 

Continue......



Viewing all articles
Browse latest Browse all 672

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>