How to do log interface in pa

Hallow
I doing an inteface to other system that log the pa in the first time and I wont to now if im in the write way?
If not please give me ideas how to do it in better way.
regards
CALL FUNCTION 'HREIC_GET_LOGGED_INFTY_CHANGES'
    EXPORTING
      is_log_key     = is_log_key
    IMPORTING
      et_infty_modif = et_infty_modif.
*Perform check external employee
*---FM THAT BRING ALL THE DATA WAS CHANGE--
*---- Split in this loop & Fm to all infotypes----
  SORT et_infty_modif BY pernr bdate btime infty.
  LOOP AT et_infty_modif INTO wa_et_infty_modif.
    ON CHANGE OF wa_et_infty_modif-pernr.
      ASSIGN wa_et_infty_modif-pernr TO <fs_pernr> CASTING.
      ASSIGN wa_et_infty_modif-infty TO <fs_infty> CASTING.
      CALL FUNCTION 'HR_INFOTYPE_LOG_GET_DETAIL'
        EXPORTING
          logged_infotype  = wa_et_infty_modif
          auth_check       = 'X'
          use_archive      = ' '
        TABLES
          infty_tab_before = infty_tab_before
          infty_tab_after  = infty_tab_after
          fields           = fields.
*--- Check Action Hire/Fire/Change---
      PERFORM action_type.
*---Take care on change infotype-----
      IF <fs_action>  = '1'.
        PERFORM change_infotype.
      ENDIF.
*---Take care on hire employee--
      IF <fs_action>  = '0'.
        APPEND LINES OF et_infty_modif TO hire_tab.
        DELETE hire_tab WHERE pernr NE <fs_pernr>.
        SORT hire_tab BY infty.
        READ TABLE hire_tab ASSIGNING <wa_hire_tab> WITH KEY infty = '0000'. "subrc = 0 its action
        IF sy-subrc = 0.
          PERFORM action.
        ENDIF.
      ENDIF.
*---Take care on delete records--
      IF <fs_action>  = '8'.
        PERFORM delete_record.
      ENDIF.
    ENDON.
  ENDLOOP.
FORM action_type .
  IF infty_tab_after[] IS NOT INITIAL AND infty_tab_before[] IS INITIAL. "Create infotype
    ASSIGN '0'  TO <fs_action> CASTING.
  ELSEIF  infty_tab_before[] IS NOT INITIAL AND infty_tab_after[] IS NOT INITIAL." Update infpotype
    ASSIGN '1'  TO <fs_action> CASTING.
  ELSEIF infty_tab_before[] IS NOT INITIAL AND infty_tab_after[] IS INITIAL."Delete infotype
    ASSIGN '8'  TO <fs_action> CASTING.
  ENDIF.
ENDFORM.

Hello Vasil,
Use "no" with * to remove them.
For example we have gigabitEthernet 0/1/0/6 and we like to remove all the sub interfaces. Use "no gigabitEthernet 0/1/0/6.*"
To make the main config to default, use "no gigabitEthernet 0/1/0/6"
Before coming, you can use "show" to see what going to be removed:
RP/0/RSP0/CPU0:mercy(config)#no interface gigabitEthernet 0/1/0/6.*
RP/0/RSP0/CPU0:mercy(config)#show
Wed Oct 10 16:01:14.212 CEST
Building configuration...
!! IOS XR Configuration 4.2.1
no interface GigabitEthernet0/1/0/6.2
no interface GigabitEthernet0/1/0/6.3
end
RP/0/RSP0/CPU0:mercy(config)#
Regards,
/A

Similar Messages

  • How to restrict logging on portal (Performance issue)

    Hi guys,
    does anyone know how to restrict logging of the portal? Even though I made a change on Visual Administrator -> Services -> Log Configurator setting ALL categories to severity = 'Error', I keep getting 'Info' severity traces logged in defaultTrace.trc (viewed by Logg Viewer). Which in practise means tons of logged trace information! I think this might be one of the reasons we have been experiencing performance issues lately.
    Does anyone know how to restrict this logging?
    Any help greatly appreciated!
    Cheers,
    Frank

    Hi,
    I would not only set the severity of categories to 'Error' but also locations to 'Error'.
    A log controller - can be a "category" or a "location".     Categories are used for "logging" and represent problem areas such as network, database, security, user interface, etc. Identified by a slash-separated ('/') path of names, prefixed with an additional slash.     Locations are used for "tracing" and correspond to places in the development components. Identified by a dot-separated ('.') path of names, which is often the name of the respective java package.
    Greetings,
    Praveen Gudapati

  • How do i log into export pdf

    how do i log into export pdf?

    Hi gregb73859509,
    You can log in via either the web interface at https://cloud.acrobat.com or from within Adobe Reader, by clicking the blue Sign In link in the upper-right corner. In either case, use your Adobe ID and a password, and you should be all set!
    Please let us know if there's anything else we can help with!
    Best,
    Sara

  • Determin how many user log on the site using JSP/Servlet?

    Hi all,
    Is there a way to determine how many user log on the site using JSP/Sevlet? I'm running Apache 2.x & Tomcat 4.x
    I'm trying to get a list of user currently log in the site.
    Please help!
    Thanks,
    -JN-

    You could use the HttpSessionBindingListener interface. Every time a user logs into the session put a user object into the session. The user object will implement the HttpSessionBindingListener interface. When the user object is added to a sessiion it recieves an event and it increments a counter. When the session times out or you invalidate the session because the user has logged out the user object will recieve an event and it can then decrement the counter.
    This will at least tell how many active user sessions there are.

  • How can I log the process id associated to a local socket blocked by the PF firewall?

    Hi,
    There seem to be a problem with mac OSX PF firewall logging capabilities.
    I am trying to find the process id associated with a connection attempt blocked by PF. I am replicating, in a way, the feature found in a commercial firewall caled "Little Snitch"
    This is the method I have tried so far:
    1- I wrote a new pf config file with a ruleset that blocks all outbound connection attempts and logs it (see my ruleset at the bottom)
    2- I create the pflog0 interface
    sudo ifconfig pflog0 create
    3- I load the new pf config file
    sudo pfctl -d && sudo pfctl -f ./mypf.conf && sudo pfctl -e
    4- I log the blocked packet and try to retrieve the process names
    sudo tcpdump -n -e -vvv -ttt -i pflog0 > mypf.log
    OR
    sudo tcpdump -n -s0 -w ./mypf.pcap
    Either way, none of my "mypf.log" or "mypf.pcap" files contains any information about the processes.
    Any idea how I could log the PID of the processes?
    ##my ruleset mypf.conf
    ##MACRO
    host_if = "en0"
    ##OPTIONS
    set loginterface $host_if
    set debug misc
    set skip on lo
    ##RULES
    #I dont want to log all incomming connection, I just want to block it by default
    block in all
    #I want to log all attempts from processes to establish a connection outside
    block out log (user) all

    Hmmm....
    Your story is familiar - many folks here are somewhat bewildered by the
    technology that keeps coming up in their faces when they think that this
    process should be a simple one.  It SHOULD be, but....
    SONY Reader software for your PC is designed to 'captivate' you so that
    your ereader will function well with their store.  It is, in essence, their
    way of managing your elibrary.  And it's proprietary to SONY.   You can add
    ebooks to it in a similar way that you can add them to ADE.  Since we're an
    ADE forum, I don't have those steps in my reference file - sorry.
    As you've explained it, DRM protection is really not the issue here.  ADE's
    way of managing the relationship between you and the ebook is to keep track
    of who did the original download in a small ID file embedded in the ebook.
    ADE is telling you that your husband downloaded the ebook in question, and
    that you're not able to read it with your own ID.  The SONY message is
    essentially the same thing, but in different and confusing wording, which
    makes you believe that DRM protection is getting in your way.  That's
    probably not true, because you're not getting a 'No Permission To Copy
    Here' message from ADE - their way of telling you that the digital rights
    assigned by the publisher, distributor or author will prevent you from
    making a copy.  Shame on SONY for confusing the issue!
    What you can try is to deauthorize ADE by using the CNTLSHIFTD keys
    together after it opens and is waiting for you to do something.  Then,
    close ADE.  When you reopen ADE, it will ask you to authorize it, and you
    can put your husband's ID in.  ADE now thinks you are your husband, and
    will let you access all of his ebooks.  You can copy them to your ereader
    at this point and then open them to read - assuming that there really is no
    DRM protection that prohibits the copy.
    There's more, but let's take this one step at a time, eh?
    ================

  • I have forgotten what the url is for icloud, how do I log in?

    I have forgotten what the url is for icloud, how do I log in?

    iCloud web interface: www.icloud.com
    To set up your device with iCloud go "Settings > iCloud" (iOS 5) or "System Preferences > iCloud" (Lion & Mountain Lion)

  • Why do i have two game center accounts on one apple id and how do i log into the other one

    One day while i was bored i started up a game but all of my progress items and everything that i paid for was gone and it was the same in all of my other game center related apps. After a long chain of emails with the maker of the game he stopped being helpful but we figured out that i have two game center accounts but only one apple id. So how do i log into the account with all of my data?

    Get a separate Apple ID for one of the phones. Or turn OFF iCloud contacts synching on the one you do not want contacts to synch.
    Settings>>iCloud

  • Wrong email for new ID verification email, how can I log in to change the wrong email?

    Just changed my Apple ID but after I was done I realized the email I used as my ID is wrong.  Now when I try to sign into iTunes I am being asked to verify the new ID using the verification email sent to the new email, problem being that that new email is wrong and I can't access it.  How can I log back into my account to change that email?  Help please.

    Did you get an answer to this? i have a new email and I can't verify the old one as it is blocked so can't log into it.  Any help will be appreciated.... thanks

  • HT204053 when I attempt to log in to my i Cloud account I get a message that my Apple ID is valid but not an iCloud account.How do I log in?

    When I try to log in to iCloud I get a message that my Apple ID is valid but not an iCloud account.How do I log in?

    Hi reswaikiki,
    Usually if it says your Apple ID is not an iCloud account, that means you have not yet enabled your Apple ID as an iCloud account.  So you did set it up correctly on your iPod touch?
    If not yet, please see Set up iCloud on all your devices.
    ivan

  • How to write log information into SM37 batch job log

    Hi,
    I have a report running in batch mode, and I would like to log the start time and end time for some part of the code (different Function modules). I need to write this log information into the batch job log. Therefore I can check the time frame of my FMs.
    After search the SDN, I can only get some information on how to write log into the application log displayed in SLG1, but that's not I want. I want to write batch log information, and check it in SM37.
    If you have some solution or code to share, please. Thanks a lot.
    Best Regards,
    Ben

    Hi Nitin
    Thanks for the reply. Could you explain it with some code ?
    I tried to use the write statement , but it did not wrok. I could not see the result in SM37.
    write : "start of the FM1 processing".
    FM1 code
    write : "end of the FM1 processing".
    but those two statement did not show in SM37..
    1) how to use  a information message  ?
    2) how to use NEW PAGE PRINT ON and PRINT OFF command. ?
    I would appreciate if you can write some code ,that I can use directly.
    Thanks a lot.
    Best Regards,
    Ben

  • I created a new Apple ID for iCloud on my iPhone, but I can't seem to find a way to "sign out" or "log out" of that Apple ID (for iCloud) to sign in with another Apple ID. The only account login I could change was the Store. How do I "log out"

    I created a new Apple ID for iCloud on my iPhone, but I can't seem to find a way to "sign out" or "log out" of that Apple ID (for iCloud) to sign in with another Apple ID. The only account login I could change was the Store.
    How do I "log out" or "sign out" of iCloud on my iPhone? There is an option to delete the account, but I just want to log off. I want to keep the account name for future use.

    @fernandamagalhaes
    It looks like the article below has the information you are looking for.
    iCloud: Change iCloud feature settings
    http://support.apple.com/kb/PH2613
    Turn off iCloud completely
    Depending on whether you want to stop using iCloud on all or only some devices, do one or more of the following:
    On your iOS device’s Home screen, go to Settings > iCloud, then at the bottom of the screen, tap Delete Account.
    Note:   If you delete your iCloud account, iCloud will no longer back up your iOS data. You can still back up your device in iTunes (for more information, open iTunes and choose iTunes > Help). 
    On your Mac, open iCloud preferences, then click Sign Out.
    If your Mac has OS X v10.7.5 and you turn off iCloud, your calendar information and reminders aren’t stored locally in iCal. If you want to retain your calendar and reminder information, you need to back it up before turning off iCloud. For more information, see the Apple Support article iCloud: Calendar & reminder data removed from Calendar and Reminders or iCal when disabling iCloud Calendar.
    On your Windows computer, open the iCloud Control Panel, then click Sign Out.
    Note:   If you turned on automatic download of music, app, or book purchases (in iTunes preferences or in Settings on your iOS device), your iTunes purchases are still downloaded to your devices.
    Set up iCloud on your devices

  • I changed my name on MacBook pro, I could not log in after that though the password is unchanged but tHe name appeared on the login window is the original name?..how I can log in?

    I changed my name on MacBook pro, I could not log in after that though the password is unchanged but tHe name appeared on the login window is the original name?..how I can log in?

    Hmmm.  Maybe try this?
    OS X: Changing or resetting an account password

  • I have forgotten my password how can I log in?

    Hi I have bought a new mac book air and have already forgottten the password! How do I log in there is no data to lose

    OS X 10.7 Lion, 10.8 MountainLion & 10.9 Mavericks
    Reset Password using Recovery HD
    Boot into Recovery Partition.
    Start the computer,then press and hold down command and R keys to start into recovery partition.
    When you see the Apple logo, release the keys.
    Wait until  OS X Utilities window shows up.
    Move the mouse to the menubar at the top and click "Utilities", then select "Terminal"
    from the drop down.
    Terminal window will appear.
    Type in   resetpassword   and press enter on the keyboard.
    Leave the Terminal window open.
    Reset Password Utility window will open with Macintosh HD selected.
    Select the user account from the popup menu box.
    Enter a new password.
    Reenter the new password for the user.
    Enter a hint.
    Click the "Save" button.
    Click  in the menubar and select Restart.

  • How can i log off another device from my apple id

    some time ago i have logged in with apple id on my friends iPad. and now his son is giving me a troubles in my game Clash of Clans. i have changed my apple id password, it doesnt resolve the problem. how can i log off on his ipad remotely ??

    Go to Settings>Mail, Contacts, Calendars and look in the Mail section.  If you have an icloud account listed there, just delete it.

  • How can I log onto iCloud from my iPad when the option is in grey and therefore not available

    How can I log onto iCloud from my iPad when the option is in grey and therefore not available. I deleted my account as it was showing up with an old Id ( I'd changed my email) but now I've done that it won't give me the option of logging back on. Do I have to do this on another device Or computer linked to iTunes first?
    THanks

    Hi Kate, have you perchance enabled restrictions on your device. (Settings > General > Restrictions)

Maybe you are looking for