Dynamic Action-help needed

Hi ,
My requirement is in dynamic Action I need to delimit all records in a Subtype of an Infotype and create New record for these records with BEGDA as ENDDA + 1 of the delimited records.
Iam able to delimit all records in the Subtype but , Iam not able to create new records.
My code for delimiting is as given below, in T588Z,
9901 2 06 801 P P9901-SUBTY='2'
9901 2 06 802 P PSYST-IOPER='MOD'
9901 2 06 803 P P9901-STATS='X'
9901 2 06 804 P P9901-PREAS='91'
9901 2 06 805 F DELIMIT_DTE(ZHSRAS_T588Z_9901)
9901 2 06 806 W P9901-ENDDA=RP50D-ZZDATE3
9901 2 06 807 I MOD,9901,3
9901 3 06 808 P SY-UCOMM='UPD'
9901 3 06 809 F DELIMIT_DTE(ZHSRAS_T588Z_9901)
9901 3 06 810 W P9901-ENDDA=RP50D-ZZDATE3
The above code is working fine.
My code for creating new record is as given below, even though the control is oing to the subroutine, INS statement is not working, and hence new record is not getting created.
9901 3 06 811 P SY-UCOMM='UPD'
9901 3 06 812 P PSAVE-ENDDA<>P9901-ENDDA
9901 3 06 813 P P9901-STATS<>'X'
9901 3 06 814 I INS,9901,3
9901 3 06 815 F BEGIN_DATE(ZHSRAS_T588Z_9901)
9901 3 06 816 W P9901-BEGDA=RP50D-ZZDATE3
9901 3 06 817 W P9901-ENDDA='99991231'
Kindly help me on this.
Thanks in Advance

hi,
thankyou for all ur valuable replies.
Time constraint for this custom infotype is 2.
It is not allowing to create a new subtype record if 1 exists.
Here scenerio is
Each Subtype ,ie, Subtp 2 ad 3 has got 4 records each with distinct OBJPS field.
when STATS field of subtype 2 is changed for any 1 record in Subtype 2, corresponding record in Subtype 3 should get delimited .
And, rest of the records of Subtype 3 should get created again with new start date.
The code I have written for this is ,
9901     2          06     800           *BEG*****DEATH OF WIDOW*****************
9901     2          06     801     P     P9901-SUBTY='2'
9901     2          06     802     P     PSYST-IOPER='MOD'
9901     2          06     803     P     P9901-STATS='X'
9901     2          06     804     F     DELIMIT_DTE(ZHSRAS_T588Z_9901)
9901     2          06     805     W     P9901-ENDDA=RP50D-ZZDATE3
9901     2          06     806     *     ****PSAVE-ENDDA<>P9901-ENDDA
9901     2          06     807     F     LOCK_REC3(ZHSRAS_T588Z_0015)
9901     2          06     808     I     <b>MOD,9901,3,P9901-OBJPS,(P9901-BEGDA),(P9901-ENDDA)</b>
9901     2          06     812     *     *BEGCREATE NEW REC FOR SURVIVING WIDOWS******
9901     2          06     813     *     *
9901     2          06     814     P     P9901-STATS<>'X'
9901     2          06     815     F     BEGIN_DATE(ZHSRAS_T588Z_9901)
9901     2          06     816     W     P9901-BEGDA=RP50D-ZZDATE3
9901     2          06     817     W     P9901-ENDDA='99991231'
9901     2          06     818     I     <b>COP,9901,3,P9901-OBJPS,(P9901-BEGDA),(P9901-ENDDA)</b>
9901     2          06     819     *     *ENDCREATE NEW REC FOR SURVIVING WIDOWS*****
9901     2          06     830     *     ***END*****DEATH OF WIDOW*****************
Control is going to all routines, but
MOD,9901,3,P9901-OBJPS,(P9901-BEGDA),(P9901-ENDDA)  and
COP,9901,3,P9901-OBJPS,(P9901-BEGDA),(P9901-ENDDA) is not working.
Message was edited by: Shahana Shahul
Message was edited by: Shahana Shahul

Similar Messages

  • HR - Dynamic Actions help required

    Hi,
    We have a requirement like this:
    Each Org unit is attached to a Work Address and the same is stored in Infotype 1028.
    Whenever hiring action takes place the dynamic action should read the Infotype 1028 for the Org unit to which the employee is assigned and fetch the Work address details.
    These details should be stored in Infotype 0006 under Work Address subtype.
    Request your help as this is a very urgent requirement for us.
    Title edited by: Alvaro Tejada Galindo on Jun 12, 2008 7:05 PM

    In the dynamic actions, you can specify the name of a subroutine of a program.
    Create a subroutine, and write code inside that

  • Dynamic Action help please

    Good day
    I am a new user to SAP (roughly 6 weeks), focussing on the HR side. I have been asked to attempt to compile the code for the following requirement:
    Capture IT9007 (Service History) for new employees, or those who have a change in Position The fields required are Start Date; To Date; Employee Type; Status; Workplace; Grade; Position.
    Please help me understand how to go about gathering the data. Explanation of the syntax too would be appreciated too.
    Thanks for the help
    P.s. I have put together the following code, but my colleague has just informed me it does nothing...
    IType     STy.          Field Name     FC     No.     S     Variable function part
    0                    6          P     SY-TCODE='PA40'
    0                    6          P     PSPAR-BUKRS='5005'
    0               MASSN               P     P0000-MASSN='Z1'/X
    0               MASSN               P     P0000-MASSN='Z2'/X
    0               MASSN               P     P0000-MASSN='ZA'/X
                        0          I     COP,P0001-PLANS
                                  W     P9007-PLANS=P0001-PLANS
    0               MASSN               P     P0000-MASSN='12'/X
    0               MASSN               P     P0000-MASSN='Z9'/X
    0               MASSN               P     P0000-MASSN='ZAZ5'
                        0          I     COP,P0000-BEGDA
                                  W     P9007-BEGDA=P0000-BEGDA
                        0          I     COP,P0000-ENDDA
                                  W     P9007-ENDDA=P0000ENDDA
                        0          I     COP,PSPAR-PERSG
                                  W     P9007-EMPLOYEE_TYPE=PSPAR-PERSG
                                       EMPLOYEE STATUS
                        0          I     COP,P0001-WERKS
                                  W     P9007-WORKPLACE=P0001-WERKS
                        0          I     COP,P0001-PERSK
                                  W     P9007-GRADE=P0001-PERSK
                        0          I     COP,P0001-PLANS
                                  W     P9007-PLANS=P0001-PLANS

    Hi KNaidoo,
    Welcome to swim the SAP ocean:).
    Dynamic actions are actions that is triggered during infotype maintainance.
    lets say you enter some details in infotypes and save it (PAI ) ,it has to populate an email or populated another inoftype,its intended for this purpose.
    There are standard infotypes and customer infotypes(9000-9999).If you see in your case it IT9007(customer infotype)
    http://www.hrexpertonline.com/downloads/Rehan%20Zaidi%20Online%20Portion.doc
    tcode pa30 lets say you are opening IT0001  for one employee and when you go to view the infotype details.click system->under SAP data you will find MP000100(MPXXXX) its module pool program .when you double click on that will take you to abap editor.every module pool program of the infotype will have a standard program MPPERS00(standard include) and it wil have the routine that checks if there is a dynamic action maintained for that infotype be refering T588Z.
    Rehan zaidi power of dymamic action is an execllent one for understanding .please download the doc from the link shared.
    No Worries
    KG

  • Creating a byte Array dynamically.Urgent Help needed.

    Hi there,
    I need to create a byte Array with the values
    derived from the array and then am passing this byte array
    to a method.
    Example :
    public static void main(String[] args) throws IOException {
    char chars[] = {'a','j','a','y'};
    byte[] b = {
    (byte) chars[0],(byte) chars[1],(byte) chars[2],(byte) chars[3],
    //** Send name to a server.
    sendRequest(b);
    This is all right.
    But here I know the size of the character array chars.
    If it had more than 4 characters or less than 4,
    is there a way to create the byte array dynamically based on the values in the character array?
    Please can some one help me with creating a byte array on the fly?
    Has anyone understood my question please?
    A response is much much appreciated.

    The actual problem is this.
    The byte array already has some fixed values to it
    and i need to append the values of the character array
    to this byte array
    ie
    char chars[] = {'a','j','a','y'};
    byte b[] = {
    // Predefined values
    (byte) 0x01, (byte) 0x7E, (byte)0x03
    // I have to add the values from the array here
    (byte) chars[0], (byte) chars[1]....
    How can I add these values.? The size of the character array
    can vary

  • CP7 Shared Actions Help needed

    Hi folks.
    Looking for some help with something I'm trying to do with the new cool Shared Actions.
    First of all here is the Set up!
    What i am trying to achieve is to test if a person has followed a decision tree correctly.
    The tree will take them eventually to one of 3 possible outcomes and each person who follows the tree will be looking at a unique set of circumstances so I can't say for any of the individual choices on the tree if it is correct or wrong.
    Each choice they make is set up as a slide with a yes or no button.
    As they click yes or no I am taking them to the appropriate next decision on the tree.
    At some point they will reach a 'final' slide that tells them they should be ready to choose between the 3 possible outcomes. 'Create'  'Keep' or 'Dismiss' and offers those choices.
    I actually built 3 identical versions of this slide. I built them as MC questions so that for each of the options I can have a right answer that I can feed back to my LMS to tell me that the learner has made the correct decision.I made sure that the quiz is Branch Aware so as the user will only be presented with one question (based on the choices they took on the tree) they will either score 100% or 0%.
    I managed to do all this successfully using advanced actions.
    For each button that took me to the 'final question' slide I had to write a specific advanced action that moved a feedback message to a message variable (using an assign) and then jumped to the appropriate final question slide.
    The problem for this is that it is a specific advanced action for each slide that could take them to the final slide. And there are several in this project. and i will need to do the same thing for maybe a dozen other projects.
    So I tried to set these up as advanced actions.
    I had hoped to be able to have the variable and the target page as parameters.
    But what I cannot seem to do is have the variable as one of the parameters.
    Have I missed something about Shared Actions or is this a limitation.
    Or can someone think of a better way to achieve what I'm aiming for.
    Thanks
    Alan

    And we also need to be able to execute Advanced Actions and Conditional Advanced Actions from within other Advanced Actions or Conditional Advanced Actions.  That would give us something similar to programming functions in normal code.  But it would potentially create all manner if issues with endless loops.  So Cp will need some way of detecting unsafe conditions that could break the published output.  Something it's never been very good at doing in the past.

  • Dynamic Calendar help needed

    I am trying to convert a static events calendar to dynamic
    and I have run
    into a couple of snags that I don't seem to be able to figure
    out (darned
    Newbies!)
    The big problem that I am having is to have the Month/Year
    header display
    only one time for all the events in that month.
    The second problem is displaying a range of dates for one
    event (...Sept
    9-12)
    Example:
    September 2006
    Sept 1 - event 1, location
    Sept 9-12 - event 2, location
    Sept 14-16 - event 3, location
    October 2006
    Oct 3-4 - event 1, location
    Oct 23 - event 2, location
    This is the type of calendar I'm trying to dynamisize looks
    like this one
    http://internationalsoaringeaglesministries.org/calendar.htm
    It is not loaded with all sorts of dates so I chose to
    display only dates
    with events on them.
    Any help would be much appreciated!!
    Thanks
    Dave

    I am trying to convert a static events calendar to dynamic
    and I have run
    into a couple of snags that I don't seem to be able to figure
    out (darned
    Newbies!)
    The big problem that I am having is to have the Month/Year
    header display
    only one time for all the events in that month.
    The second problem is displaying a range of dates for one
    event (...Sept
    9-12)
    Example:
    September 2006
    Sept 1 - event 1, location
    Sept 9-12 - event 2, location
    Sept 14-16 - event 3, location
    October 2006
    Oct 3-4 - event 1, location
    Oct 23 - event 2, location
    This is the type of calendar I'm trying to dynamisize looks
    like this one
    http://internationalsoaringeaglesministries.org/calendar.htm
    It is not loaded with all sorts of dates so I chose to
    display only dates
    with events on them.
    Any help would be much appreciated!!
    Thanks
    Dave

  • Re: Including Applet in JSP with Dynamic input| Help needed

    Hi All,
    We are into a project in Oracle Portal Server where in we want to embed a result of a standalone application in Portal page.
    We can do that once we can embed the result of the standalone application which generates applet based on the input it gets from the current application's database.
    If it was static we could have used jsp:plugin but, it fails in our case!
    We are clueless as to how to embed an applet which will pick up the data dynamically.
    Can anyone of you help me in this regard?
    Thanks & Regards
    Arthi

    Hi Arthi,
    I think this might help you to get an idea why jsp:plugin tag does not allow for dynamically called applets.
    <jsp:plugin type=applet height="100%" width="100%"
    archive="myjarfile.jar,myotherjar.jar"
    codebase="/applets"
    code="com.foo.MyApplet" >
    <jsp:params>
    <jsp:param name="enableDebug" value="true" />
    </jsp:params>
    <jsp:fallback>
    Your browser does not support applets.
    </jsp:fallback>
    </jsp:plugin>
    The plugin example illustrates a <html> uniform way of embedding applets in a web page. Before the advent of the <OBJECT> tag, there was no common way of embedding applets. This tag is poorly designed and hopefully future specs will allow for dynamic attributes (height="${param.height}", code="${chart}", etc) and dynamic parameters. Currently, the jsp:plugin tag does not allow for dynamically called applets. For example, if you have a charting applet that requires the data points to be passed in as parameters, you can't use jsp:params unless the number of data points are constant. You can't, for example, loop through a ResultSet to create the jsp:param tags. You have to hand code each jsp:param tag. Each of those jsp:param tags however can have a dynamic name and a dynamic value.
    I think you can get better information if you look in to the below link
    http://pdf.coreservlets.com/CSAJSP-Chapter12.pdf
    Many Thanks,
    Ramesh.

  • Dynamic Form Help Needed !!

    Hi Guys,
    I need a form that has the following how do i code it in
    dreamweaver ?
    name :
    email address :
    phone number :
    status: item are New, Contacted, Appointment Scheduled, Sold
    ( This would be a dropdown and depending on what the user chooses
    the options below show up )
    commission amount (only shows if the status is changed to
    "Sold")
    Thumbnail Calendar (only shows if Appointment Scheduled is
    the status)

    Depends on what sort of server side processing you're going
    to be using for
    your dynamic form...
    Do you have that info??
    "NYCKIDDbx" <[email protected]> wrote in
    message
    news:fmip1k$rhv$[email protected]..
    > Hi Guys,
    >
    > I need a form that has the following :
    >
    > name :
    > email address :
    > phone number :
    > status: item are New, Contacted, Appointment Scheduled,
    Sold ( This would
    > be a
    > dropdown and depending on what the user chooses the
    options below show
    > up )
    > commission amount (only shows if the status is changed
    to "Sold")
    > Thumbnail Calendar (only shows if Appointment Scheduled
    is the
    > status)
    >

  • Dynamic Reports Help Needed

    Could someone please point me in the direction of a tutorial
    or a book on how to create a hyperlink which will dynamically run
    an Access report and display in a web page? None of the reference
    books I own cover how to do this. I know this is pretty darn basic
    but I've never done this particular task before. can someone
    help??

    Could someone please point me in the direction of a tutorial
    or a book on how to create a hyperlink which will dynamically run
    an Access report and display in a web page? None of the reference
    books I own cover how to do this. I know this is pretty darn basic
    but I've never done this particular task before. can someone
    help??

  • Dynamic VTI help needed!

    Hi all,
    I currently have an "ordinary" site-to-site VPN with static crypto maps at the spokes and a dynamic crypto map at the headend.
    What I'd like to do is replace this with static VTIs at the spokes and a dynamic VTI at the headend. I don't need any of the "flash" of DMVPN, just as straight a swap as I can possibly get.
    The static VTIs are no problem, but I'm really confused about how to set up the dynamic VTI at the headend. I don't see how the DVTI gets associated with an interface, and which IP address the spoke should use to initiate the tunnel.
    Could anybody please post a simple (but complete) config for a DVTI hub and a SVTI spoke?
    many thanks,
    alec

    Configuring the Cisco IOS? Server Load Balancer (SLB) feature to distribute large numbers of IP Security (IPsec) tunnels onto a Cisco 7200/7301 IPsec server farm. The server farm hubs are configured with dynamic Virtual Tunnel Interface (VTI) while the remote spokes can be configured using VTI or crypto maps (supporting single proxy).
    http://www.cisco.com/en/US/products/ps6635/products_white_paper0900aecd8045b552.shtml

  • CP5 Advanced Action help needed for conditions....

    Hi,
    I have created my own MultipleChoice (MC) question with 4 answer possabilities whereof 3 are right and 1 is wrong.
    As soon as a right/wrong answer is checked an advanced action is performed - checkmark in box shown and "feedback" to answer.
    In case of a right answer - the feedback of any previous answer is hidden but the check mark of correct answers stay whereas the wrong answer checkmark is hidden.
    An example of the advanced action for one of the three right answers:
    This is what the question looks like before the answer of my question needs to be implemented:
    Now to my question:
    At the end of the answers I would like the user to get a message: CONGRATULATIONS.....
    This should be displayed when all 3 right answers have been selected.
    After that CONGRAT... message they can then click the Continue button to continue the training.
    I am curious to any suggestion on how to realise this
    Thanks in advance for the reply.
    best regards
    Stephanie

    OPTION A:
    Steps to achieve congratulations message on the same slide (which is the question) 1. Actions like B_Selected,C_Selected etc. have to be conditional actions instead of standard actions which they are right now.
    2. Four variables are to be created from Project->Variables ->Add new. These can be named as a,b,c,d and set to 0(zero) which means the option is not selected 3. In the conditional action B_selected, first condition has to be something like
          If (1 equals 1)
                Show TC_Correct_B
                Show Image_230
                Hide Image_233
                Hide TC_Wrong_A
                Hide TC_Correct_C
                Hide TC_Correct_D
                Assign b = 1
    4. In second condition of same action i.e. B_selected, do the following
          If (a equals 0 && b equals 1 && c equals 1 && d equals 1)
                Show TC_Congratulations
    All the actions should have these two conditions and if there are actions like B_unselect, then 'Assign b = 0' in such actions.
    OPTION B
    On the other hand if it's fine to show the congratulations message on next slide, it will be simpler like this 1. Create the four variables a,b,c,d = 0 2. In actions like B_Selected (no need to change them to conditional action), add a statement 'Assign b = 1'
    3. In actions like B_unselected, add a statement 'Assign b = 0'
    4. On slide exit execute an advanced action which will be a conditional action as follows:
          If (a equals 0 && b equals 1 && c equals 1 && d equals 1)
                Go To Next Slide
          Else
                Jump to Slide __
    5. On next slide write congratulations message.
    Regards,
    Vandana    

  • Pl Dynamic sql help needed

    Hello Everyone
    I am using database 11g. Can someone pl suggest what are the rules for putting single quotes for dynamic sql like
    1) how many single quotes before/after a sql statement .
    2) Rules for putting single quotes if there exists i) a variable in the sql statement
    ii) a constant for e.g 100 in the sql statment.
    If you could give the answers with a simple select statement, it will be even better !!!
    Thanks and regards
    Gautam

    ms wrote:
    Hello Everyone
    I am using database 11g. Can someone pl suggest what are the rules for putting single quotes for dynamic sql like
    1) how many single quotes before/after a sql statement .
    2) Rules for putting single quotes if there exists i) a variable in the sql statement
    ii) a constant for e.g 100 in the sql statment.
    If you could give the answers with a simple select statement, it will be even better !!!
    Thanks and regards
    Gautamwrite the SQL statement as you would for any SQL client & enclose it using Q-quote
    http://askanantha.blogspot.com/2007/12/q-quote-operator-introduced-in-oracle.html
    Handle:     ms
    Status Level:     Newbie
    Registered:     Jun 3, 2007
    Total Posts:     46
    Total Questions:     17 (17 unresolved)
    WOW!
    *NEVER got any answer in 5+ years & still wasting time here again, still!
    You must be an eternal optimist.
    I hope I get credited for your FIRST answer.

  • Dynamic sort help needed

    I am trying to implement a dynamic sort using pl/sql procedure
    with two IN params, which tell what column to sort by
    and wich direction. smth. like this
    procedure getEmployees (p_dept_no in employee.dept_no%type,
    p_sortBy in varchar2,
    p_sortDir in varchar2
    p_empl_cur in out emplCur
    ) is
    begin
    OPEN p_empl_cur
    FOR
    SELECT EMP_ID, F_NAME, L_NAME
    FROM EMPLOYEE
    WHERE DEPT_NO=p_dept_no
    ORDER BY p_sortBy p_sortDir ; --> this is the part that does not work
    -- I make sure that the params values are correct
    -- possible p_sortBy values: EMP_ID, F_NAME, L_NAME
    -- and p_sortDir: 'ASC' or 'DESC'
    end getEmployees;
    Thank you in advance.

    Try execute immediate.
    Some thing like this:
    PROCEDURE GETEMPLOYEES (P_DEPT_NO IN EMPLOYEE.DEPT_NO%TYPE,
    P_SORTBY IN VARCHAR2,
    P_SORTDIR IN VARCHAR2
    P_EMPL_CUR IN OUT EMPLCUR
    ) IS
    BEGIN
    OPEN P_EMPL_CUR
    FOR
    SORT_SQL := NULL;
    SORT_SQL := 'SELECT EMP_ID, F_NAME, L_NAME FROM EMPLOYEE'||
    ' WHERE DEPT_NO=P_DEPT_NO '||
    ' ORDER BY '||P_SORTBY||' '||P_SORTDIR||';'
    EXECUTE IMMEDIATE SORT_SQL INTO P_EMPL_CUR;
    Thanks
    Vasu
    I am trying to implement a dynamic sort using pl/sql procedure
    with two IN params, which tell what column to sort by
    and wich direction. smth. like this
    procedure getEmployees (p_dept_no in employee.dept_no%type,
    p_sortBy in varchar2,
    p_sortDir in varchar2
    p_empl_cur in out emplCur
    ) is
    begin
    OPEN p_empl_cur
    FOR
    SELECT EMP_ID, F_NAME, L_NAME
    FROM EMPLOYEE
    WHERE DEPT_NO=p_dept_no
    ORDER BY p_sortBy p_sortDir ; --> this is the part that does not work
    -- I make sure that the params values are correct
    -- possible p_sortBy values: EMP_ID, F_NAME, L_NAME
    -- and p_sortDir: 'ASC' or 'DESC'
    end getEmployees;
    Thank you in advance.

  • Problem clonning dynamic pool, help needed

    Hi, again I am having problems ...
    I manage to successfully import a winxp vm and convert it to template,
    I then went to the pool tab,created a new pool, added the template and
    configured the cloning to automatic, min 1, max 3 machines (I am still in testing
    mode)
    the problem is that when the vdi is trying to clone the machines, this is
    what I get:
         Cloning Desktop Dyn-pool-VM-01      Dyn-pool      11:41:18      11:42:33      Job Failed
    the error:
    Error cloning: No suitable hosts to start a desktop for Desktop Provider xvmhost.
    the desktop provider seems to be ok:
    xvmhost - Sun xVM VirtualBox Desktop Provider Summary
    Status: OK
    Pools: Dyn-pool
    Hosts:      
    CPU Usage:2%
    Total Memory:3.87 GB
    Memory Usage:95%
    Storage:      
    Number of Storages: 1
    Total Capacity:75.30 GB
    Usage:25%
    the host appears enabled in the host tab, but when I go to the template, nothing
    appears next the the host: parameter, is that ok?
    General Information
    Machine State: Powered Off
    Desktop State:Template
    User: -
    Assignment Type: -
    Guest Operating System
    Operating System: Microsoft Windows XP
    IP Address: -
    Template: -
    Desktop Provider Resources
    Host:
    Storage: inglaterra
    ZFS Volume:rpool/edd4470e-e8eb-4e11-9ee1-f6fd2607c83b
    what am I doing wrong or what am I missing? I did not find references to this
    in the wiki page ... if there are, plz provide me with the link(s)
    thanks in advance
    -Oswaldo

    this is the output from vmstat just before enabling the auto clone for the pool,
    dont know if this is usefull....
    root [ ~ ]# vmstat 5
    kthr memory page disk faults cpu
    r b w swap free re mf pi po fr de sr s0 s1 s2 s3 in sy cs us sy id
    0 0 0 17438080 610716 2 20 0 0 0 0 1 -0 -0 0 2 617 549 358 0 0 100
    0 0 0 17297396 384496 3 11 0 0 0 0 0 0 0 0 0 454 177 211 0 0 100
    0 0 0 17297300 384460 0 0 0 0 0 0 0 0 0 0 0 470 144 219 0 0 100
    0 0 0 17297268 384432 0 1 0 0 0 0 0 0 0 0 0 850 1859 1000 0 0 99
    0 0 0 17297148 384312 0 0 0 0 0 0 0 0 0 0 0 709 1280 736 0 0 100
    0 0 0 17297148 384312 0 0 0 0 0 0 0 0 0 0 2 503 169 265 0 0 100
    0 0 0 17297132 384304 0 0 0 0 0 0 0 0 0 0 0 712 1272 736 0 0 100
    0 0 0 17297132 384304 0 0 0 0 0 0 0 0 0 0 0 451 168 208 0 0 100
    0 0 0 17297132 384296 0 0 0 0 0 0 0 0 0 0 0 831 1830 993 0 0 99
    0 0 0 17297132 384296 0 0 0 0 0 0 0 0 0 0 0 470 165 216 0 0 100
    0 0 0 17297120 384288 0 0 0 0 0 0 0 0 0 0 0 705 1290 735 0 0 100
    0 0 0 17297116 384288 0 0 0 0 0 0 0 0 0 0 2 503 166 263 0 0 100
    0 0 0 17297116 384284 0 0 0 0 0 0 0 0 0 0 0 845 1843 1010 0 0 99
    0 0 0 17297116 384280 0 0 0 0 0 0 0 0 0 0 0 451 168 208 0 0 100
    0 0 0 17297116 384280 0 0 0 0 0 0 0 0 0 0 0 471 145 220 0 0 100
    0 0 0 17297100 384268 0 1 0 0 0 0 0 0 0 0 0 712 1295 737 0 0 100
    0 0 0 17297100 384260 0 0 0 0 0 0 0 0 0 0 0 573 716 470 0 0 100
    0 0 0 17297100 384260 0 0 0 0 0 0 0 0 0 0 2 503 165 263 0 0 100
    kthr memory page disk faults cpu
    r b w swap free re mf pi po fr de sr s0 s1 s2 s3 in sy cs us sy id
    0 0 0 17297100 384260 0 0 0 0 0 0 0 0 0 0 0 467 144 214 0 0 100
    0 0 0 17297100 384260 0 0 0 0 0 0 0 0 0 0 0 451 235 243 0 0 100
    0 0 0 17297100 384260 9 79 0 0 0 0 0 0 0 0 0 591 734 481 0 0 100
    0 0 0 17295868 384140 0 27 0 0 0 0 0 0 0 0 0 1013 2667 1377 0 0 99
    0 0 0 17295048 384064 0 0 0 0 0 0 0 0 0 0 0 450 151 206 0 0 100
    0 0 0 17295044 384060 0 0 0 0 0 0 0 0 0 0 2 746 1297 784 0 0 100
    0 0 0 17295032 384052 0 0 0 0 0 0 0 0 0 0 0 595 711 478 0 0 100
    0 0 0 17295032 384048 0 0 0 0 0 0 0 0 0 0 0 699 1296 736 0 0 100
    0 0 0 17295032 384048 0 0 0 0 0 0 0 0 0 0 0 472 145 221 0 0 100
    0 0 0 17295032 384048 0 0 0 0 0 0 0 0 0 0 0 469 174 217 0 0 100
    0 0 0 17294844 383796 0 44 0 0 0 0 0 0 0 0 0 848 1855 1007 0 0 99
    0 0 0 17294796 383732 0 0 0 0 0 0 0 0 0 0 2 502 168 262 0 0 100
    0 0 0 17294796 383728 0 1 0 0 0 0 0 0 0 0 0 715 1273 738 0 0 100
    0 0 0 17294784 383716 0 0 0 0 0 0 0 0 0 0 0 451 169 209 0 0 100
    and this is the status while cloning:
    Hosts:      
    CPU Usage:1%
    Total Memory:3.87 GB
    Memory Usage:90%
    root [ ~ ]# prtdiag -v|head -20
    System Configuration: Sun Microsystems Sun Fire X4200 Server
    BIOS Configuration: American Megatrends Inc. 080010 01/31/2006
    BMC Configuration: IPMI 2.0 (KCS: Keyboard Controller Style)
    ==== Processor Sockets ====================================
    Version Location Tag
    Dual Core AMD Opteron(tm) Processor 280 SE H0
    Dual Core AMD Opteron(tm) Processor 280 SE H1
    Dual Core AMD Opteron(tm) Processor 280 SE H2
    Dual Core AMD Opteron(tm) Processor 280 SE H3
    ==== Memory Device Sockets ================================
    Type Status Set Device Locator Bank Locator
    DDR in use 0 H0_DIMM0 BANK0
    DDR in use 0 H0_DIMM1 BANK1
    unknown empty 0 H0_DIMM2 BANK2

  • Dynamic Action-Delimiting a record and creating new record

    Hi ,
    My requirement is in dynamic Action I need to delimit all records in a Subtype of an Infotype and create New record for these records with BEGDA as ENDDA + 1 of the delimited records.
    Iam able to delimit all records in the Subtype but , Iam not able to create new records.
    My code for delimiting is as given below, in T588Z,
    9901     2          06     801     P     P9901-SUBTY='2'
    9901     2          06     802     P     PSYST-IOPER='MOD'
    9901     2          06     803     P     P9901-STATS='X'
    9901     2          06     804     P     P9901-PREAS='91'
    9901     2          06     805     F     DELIMIT_DTE(ZHSRAS_T588Z_9901)
    9901     2          06     806     W     P9901-ENDDA=RP50D-ZZDATE3
    9901     2          06     807     I     MOD,9901,3
    9901     3          06     808     P     SY-UCOMM='UPD'
    9901     3          06     809     F     DELIMIT_DTE(ZHSRAS_T588Z_9901)
    9901     3          06     810     W     P9901-ENDDA=RP50D-ZZDATE3
    The above code is working fine.
    My code for creating new record is as given below, even though the control is oing to the subroutine, INS statement is not working, and hence new record is not getting created.
    9901     3          06     811     P     SY-UCOMM='UPD'
    9901     3          06     812     P     PSAVE-ENDDA<>P9901-ENDDA
    9901     3          06     813     P     P9901-STATS<>'X'
    9901     3          06     814     I     INS,9901,3
    9901     3          06     815     F     BEGIN_DATE(ZHSRAS_T588Z_9901)
    9901     3          06     816     W     P9901-BEGDA=RP50D-ZZDATE3
    9901     3          06     817     W     P9901-ENDDA='99991231'
    Kindly help me on this.

    Hi shahana,
    1. I have not worked on this dynamic action.
    2. But instead of doing in 2 steps,
       it is usually done in 1 step only, manually.
    3. If we CREATE record from some date,
       then the OLD will AUTOMATICALLY get Delimited.
    (We don't have to do anything specially for delimiting
      the old record)
    regards,
    amit m.

Maybe you are looking for