HR_INFOTYPE_OPERATION mod not working

Hi all,
Getting a bit desperate here. Using HR_INFOTYPE_OPERATION in 'INS' mode and that is working fine. However, when trying to change one field - ENDDA - with OPERATION=MOD it is just not doing it. Going thru most of the other posts regarding this I get the impression that its a no-go thing. Im using HR_INFOTYPE_OPERATION in a FM that is called thru ALE processing (Process code etc).
ANY HELP IS MUCH APPRECIATED...

Hello,
It is possible to delimit a record, see this example:
DATA: lv_ret TYPE bapireturn1,
      lv_key TYPE bapipakey.
DATA: lv_1 TYPE pa0105,
      lv_2 TYPE p0105.
SELECT SINGLE * FROM pa0105 INTO lv_1 WHERE pernr = '31000417' AND subty = '0021'.
MOVE-CORRESPONDING lv_1 TO lv_2.
lv_2-subty = '0021'.
lv_2-infty = '0105'.
lv_2-endda = sy-datum.
CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
  EXPORTING
    number = '31000417'
  IMPORTING
    return = lv_ret.
IF lv_ret IS INITIAL.
  CALL FUNCTION 'HR_INFOTYPE_OPERATION'
    EXPORTING
      infty         = '0105'
      number        = '31000417'
      subtype       = '0021'
      objectid      = ''
      lockindicator = ''
      validityend   = '99991231'
      validitybegin = '20060601'
      recordnumber  = 0
      record        = lv_2
      operation     = 'MOD'
    IMPORTING
      return        = lv_ret
      key           = lv_key.
  IF 1 = 2. ENDIF.
  CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
    EXPORTING
      number = '31000417'
    IMPORTING
      return = lv_ret.

Similar Messages

  • Widgets on my desktop using dev-mode not working in Lion

    I'm trying to get iStat back ontop of my desktop like I had in Snow Leopard. Dev-mode not working to bring widgets forward anymore. Any Ideas how to do this in lion? In Snow Leopard it was defaults write com.apple.sashboard devmode YES now that isn't working.

    When I connect my MBP (mid 2010) to iMac 27" (mid 2010), via Mini DisplayPorts, after pressing Command+F2, iMac screen went "blank" while MBP screen stays "blue" for few seconds and went back to normal. How to solve this problem?

  • Blue screen on start up. Safe mode not working?

    Blue screen on start up. Safe mode not working, any suggestions?

    Thank you, I had forgotten about target mode. I was able to back up all of my files. I also copied some additional 50 GB of files of the disk as a stress test and the hard drive worked fine and quick (and because it was quicker than retrieving the same files from a network drive to my desktop).
    I was hoping to also unpack the Applejack files on my desktop and put them back so I could run them in single user mode without running /etc/rc. However I haven't been able to get my Linux desktop to mount the iBook in Read-Write instead of Read-Only yet (I don't have access to another Mac at the moment).

  • Target Display Mode not working iMac 27(2012) Bootcamp to iMac 27(2013)

    Hi All,
    I recently purchased an iMac 27" 2013 which replaced my iMac 27" 2010.
    ===============
    PREVIOUS SETUP
    ===============
    (1) iMac 27" 2012 - Running Windows 8.1
    (2) iMac 27" 2010 - Running OS X Mavericks
    (1)+(2) were connected with a Mini-Display-Port cable.
    (1) was using (2) as external display while (2) was set to Target Display Mode using CMD+F2
    ==============
    CURRENT SETUP
    ==============
    (1) iMac 27" 2013 - Running Windows 8.1
    (2) iMac 27" 2012 - Running OS X Mavericks
    (1)+(2) are connected with Thunderbolt cable.
    (1) can't use (2) as external display anymore becuase CMD+F2 has no effect anymore on (2) in this scenario.
    If (1) and (2) are both running OS X all works as expected.
    I am aware about the support hint from Apple where they state TDM is not working under Bootcamp.
    And I agree, while booted into Windows Bootcamp this machine can't serve as external display. Makes sense because TDM is baked into OS X display drivers.
    Anyone had the same experience and came to a soltuion?
    Thanks,
    Martin

    "Apple has no plans to implement a client driver for Windows since there is no Thunderbolt SW stack available for Windows like there is for Display Port."
    That is a little bit funny since Gigabyte and other big companies have said that 2014 is the year that they are going to implement Thunderbolt in many motherboards.
    "GIGABYTE 7 series motherboards are the very first to offer fully certified dual onboard Thunderbolt™ ports. Capable of connecting up to 12 devices plus 3 digital displays simultaneously with breathtaking data transfer speeds that can transfer 1TB of data in only five minutes, GIGABYTE Thunderbolt™ motherboards offer the fastest connection interface on the desktop PC."
    Have you asked Apple about that? I dont understand why Apple is crippling Thunderbolt on their devices...

  • Layout Mode not working in T-Code SQVI for some GUI

    Dear Experts,
    It has been found that the Layout mode is not working in T-code SQVI in some of our users Systems . The Layout Mode is working perfectly fine in some system though. If we select Layout mode in some system it is showing screens the same as in Basis Mode.
    The GUI version is same in both the machines and both are having the same OS.
    GUI Version : 710
    OS : XP
    Kindly suggest if any settings needs to be done in System or GUI so that all the systems get the same interface of Layout Mode as required.
    - Jitesh

    Hi experts,
    Just wished to post the solution of the Issue raised by me...
    I just needed to update my GUI Patch level available at market Place.
    Thanks.
    Jitesh

  • HR_INFOTYPE_OPERATION is not working in user exit ZXPADU02

    Hi frndz,
      i want to delimit/modify record in infotype 0014 after checking some condition when user clicks on SAVE in infotype 0008.
    For this i'm using the code like below.
    In Include ZXPADU02.
    when '0008'.
    IF sy-ucomm = 'UPD'.
    chek <condition>
    if sysubrc = 0.
    Lock employee.
    Delimti(LIS9) record in IT0014 using HR_READ_INFOTYPE_OPERATION.
    Unlock employee.
    endif.
    Here every thing working fine but record is not getting delimitted.
    Could anybody please help me any other possibilities to solve it.
    Thanks and Regards,
    Venkat

    Hi,
    I tried to use the FM HR_INFOTYPE_OPERATION in ZXPADU02 but I found that it will
    not update data in the real DB table(PAXXXX).I found that in FM 'HR_MAINTAIN_MASTERDATA' from FM 'HR_INFOTYPE_OPERATION' will set the field 'PSPAR-PBPFL' as 'X'.
    In standard program, it looks like if this field is set it will not do the logic to update the DB table. So I put the code in other report and then call in the ZXPADU02. I think it's about LUW.
    Code as follows to understand.
    data:
          lw_p0008      LIKE p0008,
          lw_pskey      LIKE pskey,
          lv_option,
              EXPORT lw_p0008 lw_pskey lv_option
                to memory id 'ZXPADU02_0008'.
              submit ZHRR_PA_ZXPADU02_0008
                     and return.
    Inside program ZHRR_PA_ZXPADU02_0008
    IMPORT w_p0008 lw_pskey lv_option
        FROM MEMORY ID 'ZXPADU02_0008'.
      CALL FUNCTION 'ENQUEUE_EPPRELE'
            EXPORTING
              pernr          = lw_p0008-pernr
            EXCEPTIONS
              foreign_lock   = 1
              system_failure = 2
              OTHERS         = 3.
      CALL FUNCTION 'HR_INFOTYPE_OPERATION'
        EXPORTING
          infty                  = '0008'
          number                 = lw_p0008-pernr
          subtype                = lw_pskey-subty
          objectid               = lw_pskey-objps
          lockindicator          = lw_pskey-sprps
          validityend            = lw_pskey-endda
          validitybegin          = lw_pskey-begda
          recordnumber           = lw_pskey-seqnr
          record                 = lw_p0008
          operation              = lv_opera
    *      TCLAS                  = 'A'
    *      DIALOG_MODE            = '1'
    *      nocommit               = 'X'
    *     VIEW_IDENTIFIER        =
    *     SECONDARY_RECORD       =
        IMPORTING
          return                 = lw_return
    *      KEY                    =
      IF NOT lw_return IS INITIAL AND
         lw_return-type EQ 'E'.
        MESSAGE e000(38) WITH lw_return-message.
      ENDIF.
      CALL FUNCTION 'DEQUEUE_EPPRELE'
        EXPORTING
          pernr = lw_p0008-pernr.
    If this not works, then go for dynamic action from V_T588Z as suggested by Suresh.
    Regards
    Eswar

  • N95 8Gb USB Data Transfer Mode not working

    I have a bizarre problem with USB Data transfer.
    a) I upgraded to the new 15.x firmware with the correct HKCSL package - 0557980
    b) I connected PC #1 in data transfer mode with no issue and copied a bunch of installers onto the mass memory and went on to install them - to the PHONE memory.
    c) Later in the day, connected PC #2 and did the same with the last few applications.
    d) Next day tried to connect PC #1 and it didn't work
    e) Thought I must have an application using the MASS storage but checked and not so - all apps on Phone memory.
    f) Went to PC #2 and tried - Data transfer mode works - no problem.
    g) Tried PC #1 again, and still not working. I get all the right messages (Mass storage cannot be used at this time etc) on the handset, and I get the "safely remove hardware" option appearing on the PC - but I don't get a drive letter assigned in the Windows Explorer.
    h) I have tried it on PC #3 and this works as well - no problem.
    1. The working PC's both have PC Suite 2-Beta installed, while the problem PC has no PC suite at all.
    2. I have downloaded the Nokia-connectivity_cable_driver_rel_6_85_10_0 and it installs properly - giving all the expected wireless... options in Device Manager, but I still don't get a drive letter assigned with the basic data transfer mode on this problem PC #1
    So the issue seems to be with a PC that has never seen any version of PC suite, but it worked straight after the firmware upgrade.
    All PC's are XP SP2.
    Any suggestions on anything else to try ?
    Regards

    SOLVED by:
    - attaching N95, selecting USB Data Transfer Mode
    - Going to Device Manager
    - Selecting the USB Mass Storage Device for N95
    - "Uninstall"
    - Remove cable when N95 says its safe to
    - Re-attach cable
    The PC then re-discovered and reloaded the drivers including the mass storage which then worked normally.
    No idea what messed it up in the first place though.

  • Adding 3 Airport Extremes to Linksys WGT4400N in Bridge Mode  Not working

    I have a network that starts in a homerun closet and is expanded across 5 acres to differnet locations via CAT5e.
    Homerun Closet has Linksys WGT4400N with Cat5e running to three different locations on property. The cables are within length limitations.
    1st Airport Extreme N Running in Bridge Mode Connected and Working in Main House
    2nd Airport Extreme N Running in Bridge Mode Connected and Working in Guest House
    3rd Airport Extreme Replaced with new one Connected and Not Working in Office. This Airport Extreme N is configured just like the others but it cannot see the network. Cables Verified with Testers and Mac Pro at office location, works when ethernet cable is directly connected to system.
    Not sure what is going on. IS there s limit to the number of Airport Extreme N's used as bridges?
    I have 2 of ther working and the last is not. First Airport Extreme N for office was bad replaced.
    Thank You
    GldnSabre

    The Netgear wireless server has control over what what devices are allowed to connect.
    Unless you tell the Netgear what devices you want to allow to connect, it will allow any wireless device to connect as long as it knows the wireless network password.
    IF.... .you were using two AirPort Extremes, and not a Netgear, the two Extremes would communicate to each other....so you would only have to enter Timed Access settings on one router and other AirPort would automatically pick those settings up.
    But, even this was not the case until the last year or so when Apple updated firmware.  A few years ago, you might have had 2 Apple AirPort Extremes on the network, but you still had to manually set up Timed Access on both devices separately.
    Bottom line, you need to setup the equivalent of Timed Access on the Netgear router.

  • Printing in TUMBLE mode not working

    hello,
    I have the problem that the TUMBLE mode does not work in my program.
    I have tested the printer with MS Word to be sure it works with my hardware and
    it succeeded.
    I use a DocPrint Object and specified the PrintRequestAttributeSet attributes OrientationRequested.LANDSCAPE and Sides.TUMBLE (=Sides.TWO_SIDED_SHORT_EDGE).
    If I change this to Sides.ONE_SIDED, the printer correctly prints each pair of sides on 2 papers (one-sided).
    If I change this to Sides.DUPLEX, the printer prints in DUPLEX mode correctly (TWO_SIDED_LONG_EDGE)
    If I change this to Sides.TUMBLE, it still prints in DUPLEX !
    If I use OrientationRequested.PORTRAIT, the printer prints always binding to the short side , like I need it (no matter if I switch to DUPLEX or TUMBLE).
    What could be the reason that the program ignores the TUMBLE attribute ?
    Here is my code:
    public static void doPrint(Print printData)  throws Exception {
                    PrintService printer = null;     
              printer = printerLookup(printerName);                         
              DocPrintJob job = printer.createPrintJob();
              DocFlavor flavor = DocFlavor.SERVICE_FORMATTED.PRINTABLE;
                    Doc doc = new SimpleDoc(printData, flavor, null);
                    PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
              aset.add(OrientationRequested.LANDSCAPE);               
              aset.add(Sides.TWO_SIDED_SHORT_EDGE);
                 job.print(doc, aset); //print
    }

    Yes, it's not a permission issue. And it only happens on this one machine too. No error messages in any of the log files. This is a real tough one. I'm tempted to think that it might be a graphics driver issue. The machine with the problem is a 2008 Mac Pro with a GeForce 8800 GT. So if anyone with a similar configuration could test it I'd at least have another hint for what's going on.
    As an interesting sidenote, other capture applications like Voila work fine, which makes the graphics driver theory unlikely, but well, I'm running out of possible causes.
    Thanks,
    Jazz

  • Airport in bridge mode not working in Windows7

    Hi everyone,
    Last night as I was browsing the web on my iPad the internet stopped working...I am using an Airport Express router plugged directly into the wall socket of my apartment which was configured by the ISP.
    I have been using this config for the past 7 months with no issues but last night it just stopped working and the yellow indicator started flashing.
    I went into Airport utility and it tells me the Double NAT problem has been found (maybe the ISP changed something?)...and they suggest to change the Airport configuration to Bridge Mode ... said and done...now the Internet works fine under OSX and on my iPad but it does not work anymore in Windows 7.
    Some of my family uses Windows 7 for some very specific apps and now it's just dead, internet does not work anymore.
    Also, in OSX / iOS I didn't make any changes, I just changed the Airport configuration to Bridge mode and it worked right off the bat.
    Has anybody else confronted such problems before ? If so, what would be the best way to fix this ?
    Thanks!

    " I tried trunk port also but it got disabled"   <----- if your L2 config is not correct, nothing will work.
    What is the setup on the switch ? Trunk or access vlan ?
    What is the status of the interface ? up ? down ?
    Do you see something in your arp table ?
    Gilles.

  • Real-time apply in Maximum Performance Mode Not Working

    We have configured physical standby database in maximum performance mode. It's working perfectly fine. Archive logs are being applied to the physical standby.
    We can open the DB in read-only mode, but real-time apply is not working. Physical standby database is lagging behind the primary db by an archive log. As soon as primary database generates an archive log, it's transported over to the standby and applied immediately by the media recovery process. But real-time redo is not working. Standby redo logs have been configured.
    On Physcial Standby:
    SQL> alter database recover managed standby database using current logfile disconnect ;
    Database Altered.
    SQL> select group#, DBID, status,first_time, last_time from v$standby_log ;
    GROUP# DBID STATUS FIRST_TIM LAST_TIME
    4 UNASSIGNED UNASSIGNED
    5 UNASSIGNED UNASSIGNED
    6 UNASSIGNED UNASSIGNED
    7 UNASSIGNED UNASSIGNED
    SQL> select * from v$dataguard_stats ;
    NAME
    VALUE
    UNIT TIME_COMPUTED
    apply lag
    +00 00:31:36
    day(2) to second(0) interval 22-JUN-2010 08:42:06
    transport lag
    +00 00:31:34
    day(2) to second(0) interval 22-JUN-2010 08:42:06
    As you could see from the output above, value of transport and apply lag is equal to the elapsed time since last archive log switch.
    ********* Standby init.ora
    db_name = CPRD
    db_unique_name = CPRDS
    instance_name = CPRD
    service_names = hrDBSBY.WORLD
    log_archive_format = CPRD%r%s.%t
    log_archive_dest_1 = "location=f:\orarch\hresysprod"
    log_archive_dest_2='service=hresysprod async db_unique_name=cprd valid_for=(primary_role,online_logfile)'
    log_archive_config='dg_config=(cprd,cprds)'
    fal_server=hresysprod
    fal_client=hresysprods
    standby_file_management=auto
    log_archive_trace=1
    log_file_name_convert = ('hresysprod','hresysprods')
    db_file_name_convert = ('hresysprod','hresysprods')
    remote_login_passwordfile = exclusive
    ******* Primary init.ora
    log_archive_config='dg_config=(cprd,cprds)'
    fal_server=hresysprods
    fal_client=hresysprod
    standby_file_management=auto
    log_archive_format = CPRD%r%s.%t
    log_archive_dest_1 = "location=f:\orarch\hrESYSPROD"
    log_archive_dest_2='service=hresysprods async db_unique_name=cprds valid_for=(primary_role,online_logfile)'
    log_archive_trace=1
    remote_login_passwordfile = exclusive
    Please advise.
    Thanks,
    jay

    Hi,
    In your case you are using ARC process for redo transfer as you have not specified any process in log_archive_dest_2 and default is arch.
    I will suggest you to use LGWR to transfer the redo to standby and also check the size of standby redo logs on standby is same to the size of online redo logs on primary
    Regards
    Anudeep

  • Palm Drive Mode not working with Mac OS 10.4.9

    Since upgrading to Mac OS 10.4.9, my Palm LifeDrive PDA does not work in Drive Mode (no hard drive icon appears when connected by USB). There were no problems in 10.4.8 or earlier. This issue has been mentioned by other users on the Palm Discussion forums but no solutions have been offered. Palm Tech support also seems to be in the dark (for now).
    Does any one else have a similar problem and any suggestions/advice would be greatly appreciated?
    MacBook Pro, 15" display, 2.33GHz, 160GB, 3GB RAM   Mac OS X (10.4.9)  

    Yep. Found the same thing with my Tungsten T5. I even tried the trick that seems to be working for the TomTom guys by plugging it in through a USB 1.1 hub but that doesn't work either. It just locks up the Palm and I have to reset via the button on the back.
    Apple doesn't seem to be doing anything from what I can see either as I've not heard of any proposed fixes from them on this.

  • Stand-by / sleep mode not working when USB is connected

    Hello!
    When the USB cable from my 24" LED Cinema Display is connected to my new Mac Pro 2,66 GHz Quad-Core, the stand-by / sleep mode does not work correctly: the Mac Pro goes to sleep normally, then the LED behind the on-/off-button flashes one time and then the Mac Pro awakes from sleep mode without any user interaction.
    I already tried to reset PRAM, I tested all three rear-side USB connectors (I did not test the front-side USB connectors because the display's cable is way too short), I unplugged all other USB and Firewire devices and also tried sleep mode from a freshly created account. Alas, nothing helps.
    As soon as the display's USB connector is plugged in, sleep mode does not work any more. It even doesn't matter if there are USB devices plugged into the display. Without connecting the display's USB plug, sleep mode works fine.
    So, any ideas out there?
    Thanks in advance & best regards!
    Mario.

    I fixed the problem, so I just post this to help others that might run into the same trouble.
    The Mac Pro and the display were connected to a master/slave power socket. The problem is: when the Mac Pro goes to sleep, there still seems to be some power left in the display (which socket is switched off by the master/slave power socket). Therefore, the display goes off slightly after the Mac Pro. This powering off seems to release a signal on the display's USB wire that is connected to the Mac Pro and therefore switches the Mac Pro on again.
    So, this is the same effect as removing a USB device from the Mac during sleep mode, what (at least in most cases) also starts up the Mac again.
    As a result, there seems to be no other solution to this problem than removing the display from the master/slave power socket. Sadly enough, the LED Cinema Display consumes other 2 watts in stand-by mode...
    Cheers!
    Mario.

  • Clamshell Mode Not Working With Acer V223W

    I recently got an Acer V223W 22" monitor to use at the office with my MBP. Using the DVI port, it works well, but I cannot get clamshell mode to work. I close the lid, and when I awaken the computer with a mouse click, I know it wakes up because I can hear the audio, but the Acer display does not light up.
    Any suggestions as to how to fix this are welcome!

    This may be relevant: 2011 MacBook Pro Repair Extension Program for Video Issues.

  • Full screen mode not working in Mountain Lion

    I'm using the new Retina Macbook Pro. The full screen mode to preview pictures and movies is not working; the dock still remains open when the full screen is open. I have to manually hide the dock by pressing command + D and do the same to open the dock again. This doesnt seem to an OS issue because my Macbook Air, which is also running Mountain Lion is doing just fine. I can preview a picture and the dock automatically hides.
    Has anyone experienced the same issue? What is the fix for this problem?

    Bingo! Problem solved. I didn't realize that you could "right click" the mouse over the "resize" icon in full screen mode. When I did that I found I was in the tiny postcard mode. Selecting "full screen" got me back to where I used to be..enjoying the tv shows in full screen mode. Kinda of weird. Choosing "full screen" from the menu bar didn't make the show full "pictured" though I was in full screen mode. But while in the full screen mode, I could right-click and choose "full screen" and there I be, watching a show in "full pictured". Learned something new.

Maybe you are looking for

  • Mailboxes have disappeared

    I've had our iPad since the day the iPad was originally released and have had no issues with it. Last night when I checked my mail on the iPad, all the the mail accounts and all the mailboxes have disappeared. In the network setting they are all ther

  • What's up with your support?

    so Adobe -listen to this- i have a problem with my Illustrator and i called the Hebrew support. After a life time of waiting- i got to english support, OMG- i an telling you i lost a decade of my life just trying to tell her my email address. my engl

  • Audio bit rate (kbps) and file size balance

    I'm new to Flash, and I'm trying to decide how to set the bit rate (kbps) for my audio files. I'm creating PowperPoint-like presentations with voice audio. You can see what I'm doing at http://preparatorychemistry.com/Bishop_Audio_Book.htm I first de

  • Strange case!

    Hi, We have users from the inside network, part of the users can access a server in the DMZ using Xmanager and some of them can't access this server. For example: i have assigned the following IP address 10.10.10.10 to my pc and i can access this ser

  • Connecting mobile phone to Oracle VM 2.2

    We would like to connect a cellullar phone to a virtual machine. Connecting this phone to the hypervisor is detected as /dev/ttyACM0 [root@vmserver10 scripts]# xm block-attach picmon04 phy:/dev/ttyACM0 xvdb:disk w Error: Device 51728 (vbd) could not