Want to save address in IT0006 with country only

Hi ,
I have a requirement where i want to save the address in IT0006 , but with country(LAND1) and field ORT01 , begin date and end date , subty only .
From  HR_INFOTYPE_OPERATION i m passing these parameters , but it throws error and says "Fill in all required entry fields"  .
But when i save a record from PA30 with these parameters only , then it allows me to save the data .
Please let me know the other FM or how to use HR_INFOTYPE_OPERATION  correctly .
I tried but not working .
I am using the code  :
p0006-pernr = '00529797'    .
p0006-subty = 'WL06'    .
p0006-begda = sy-datum    .
p0006-endda = '99991231'          .
p0006-anssa = 'WL06' .
p0006-ort01 = 'TEST' .                
p0006-land1 = 'AF' .
APPEND p0006.
CLEAR  p0006.
LOOP AT p0006.
   CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
     EXPORTING
       number = p0006-pernr.
   CALL FUNCTION 'HR_INFOTYPE_OPERATION'
     EXPORTING
       infty            = '0006'
       number           = p0006-pernr
       subtype          = 'WL06'
*     OBJECTID         =
*     LOCKINDICATOR    =
       validityend      = '99991231'
       validitybegin    = sy-datum
*      record           = p0006
       operation        = 'INS'
     IMPORTING
       return           = return
   IF  return IS INITIAL.
     WRITE 'Successfully records created'.
   ELSE.
     WRITE 'Error'.
   ENDIF.
   CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
     EXPORTING
       number = p0006-pernr.
ENDLOOP.
Thanks,
Sachin Sharma

Hi,
Please follow the below suggestion
1)
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
     EXPORTING
       infty            = '0006'
       number           = p0006-pernr
       subtype          = 'WL06'
*     OBJECTID         =
*     LOCKINDICATOR    =
       validityend      = '99991231'  
       validitybegin    = sy-datum
*      record           = p0006            ******Uncomment this
       operation        = 'INS'
     IMPORTING
       return           = return
2) add this
p0006-infty = '0006'.
Try this , it will work
Thanks and Regards,
Vijayakumar SR

Similar Messages

  • When I try to download the newest version of Firefox, it pops up with a box saying do you want to save this binary file with something like daimaijin.mirror in the address. Is this a safe thing to do or is it spyware or something?

    If I cancel it and try it again, the same binary file box pops up with a different address.

    Mozilla has download mirror websites around the globe and uses them to "balance" the downloads of Firefox so users don't need to "wait in line" for their download.
    Here's a listing of those mirrors. <br />
    http://www.mozilla.org/community/mirrors.html

  • Want to limit users to prebook with note only, not just to save

    Hi there,
    I was wondering if you could assist me. Is there any way to limit the users on training & events to only prebook with a note and not just to press the save button. I have tried to find if there is a transaction or seperate program used for these 2 functions by debugging it but it doesn't seem to go into the program while i debug it.
    Please can someone help,
    Thanks,
    Chantal

    This will be a complete modification of the screen
    like if you want to prebook using LSO_PV02 screen, you can see 2 options
    prebook and 'prebook + note'
    to disable the option of prebook can only be done via modification...
    however this will be applicable for all the users.
    seems that there is no alternative way or  code written in the prog. with which you can achieve your requirement for particular users.
    regards

  • How do you specify the folder that you want to save a download to? I only see the options for recent places or favourites? How do you drill down?

    how do drill down into the folders when downloading? I only get the option of recent places and favourites?

    Using Safari ??
    From your Safari menu bar click Safari > Preferences then select the General tab.
    Click the:  Save downloaded files to pop up menu then click Downloads or click Other then navigate to the folder you want to use to save downloaded files to.

  • Save quickly as jpeg with keyboard only (mac)...

    On a PC in Photoshop, I can hit Ctrl S to save, then when the save window opens I can hit Tab then J which will highlight the jpeg format, then hit Enter. I can save an image without using my mouse.
    Can I do the same thing on a Mac? It saves me so much time when saving a few jpegs and I don't want to set up an Action.
    Thanks,

    cmd-shift-S, then hit tab until the formats field is selected and then use the arrow keys.
    Edit: At least that’s the closest to the described I can think of on a Mac, maybe someone else has more insight.
    But frankly that seems inconvenient, I would recommend using Scripts for frequently used for frequently used file formats and settings and assigning those keyboard shortcut.

  • I have 2 apple id's with different apps and data saved under each.  It's very annoying so now I want to create a new id with my primary email address I use now.  If I do that is there any way to transfer all my saved apps and app data like game saves etc?

    I have 2 apple id's with different apps and data saved under each.  It's very annoying so now I want to create a new id with my primary email address I use now.  If I do that is there any way to transfer all my saved apps and app data like game saves etc so I don't lose all of that information and can easily switch to a singular apple id?

    Apple does not transfer content bought with one Apple ID to another Apple ID. Apple will not merge two Apple IDs.
    If most of your content was bought with the Yahoo! Apple ID but you now want the Gmail address for your Apple ID, the trick will be to change the address used for the Yahoo ID with the Gmail address. However, to do that you must first free the Gmail address from that other Apple ID. Use the instructions from Apple to substitute another address that is not used as an Apple ID for your Gmail address in the Apple ID with the Gmail address. Then, when the Gmail address is no longer used in an Apple ID, you can use the same instructions to substitute the Gmail address for the Yahoo address in the Apple ID with the Yahoo address.
    Changing the email address you use for your Apple ID -
    http://support.apple.com/kb/HT5621

  • Adding a country to an address in Addressbook with AppleScript

    Hi,
    I'm stuck on a simple script to add a certain country to every contact that hasn't one in my Address Book.
    This is the code at the core:
    repeat with thisPerson in every person
    repeat with thisAddress in every address of thisPerson
    if (country of thisAddress) is "" then
    set (country of thisAddress) to "My Country"
    end if
    end repeat
    end repeat
    The log however shows a 'missing value' every time I want to get the country of an address. How can I fix this?
    (And how can I format code in this forum?)
    Thank you for any input,
    christian

    The log however shows a 'missing value' every time I want to get the country of an address. How can I fix this?
    That's correct - there is a difference between 'missing value' (no value recorded) and "" (an empty string).
    The solution is simple - check for 'missing value' - rather obscurely, 'missing value' is an AppleScript keyword used just for that purpose:
      if (country of thisAddress) is missing value then
        set country of thisAddress to "My Country"
      end if

  • I want to save with alt s in the program Exact Online. This function is not working. this is the first time that i use this program with firefox.

    Question
    I want to save with <nowiki><alt><s></nowiki> in the program Exact Online. This function is not working. this is the first time that i use this program with firefox.
    '''edit''', mod escaped the '''<nowiki><s></nowiki>''' to prevent line through question

    Submitted too soon... To change your accelerator key for accesskeys to Alt alone (or a different combination), you can change a setting using Firefox's about:config preferences page.
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the filter box, type or paste '''ui.k''' and pause while the list is filtered
    (3) Make sure '''ui.key.generalAccessKey''' is set to its default value of -1 (or right-click and choose Reset if it is not).
    (4) Double-click '''ui.key.contentAccess''' to open a dialog box to change the value from its current default (on Windows, 5) to your choice of the following:
    * 2 = '''Ctrl''' (Fx default on Mac thru Fx13)
    * 3 = Ctrl + Shift
    * 4 = '''Alt''' (IE/Chrome/Safari default on Win/Linux)
    * 5 = '''Alt + Shift''' (Fx default on Windows & Linux)
    * 6 = '''Ctrl + Alt''' (Fx default on Mac from Fx14) (Chrome/Safari default on Mac)
    * 7 = Ctrl + Alt + Shift
    This should take effect as soon as you OK the dialog, so you can experiment in a separate tab. Other combinations are available if you want to try them. See http://kb.mozillazine.org/Ui.key.contentAccess (inaccessible at the moment?)

  • I want Firefox to ask me if I want to save this password for login purposes. It did that with the first 3 sites i went to... but now it stopped asking!

    Question...
    I want Firefox to ask me if I want to save this password for login purposes. It did that with the first 3 sites i went to... but now it stopped asking!
    I've gone to several DIFFERENT websites that require a login and in ALL instances since the first 3 it saved... I don't get the popup window asking if I want to save the password.
    How do I get that feature back????
    Thanks...
    Rick

    Hi seraphim99,
    You will get that [http://dmcritchie.mvps.org/icons/fx4_quittabs.png Quit Firefox message] "Do you want to save your tabs for the next time it starts?" [Save and Quit] [Quit] [Cancel] if you follow what is currently step 31 in the link I had provided [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#tabslost Restoring tabs from a lost session] (#tabslost)
    Which indicates as follows: (boldface is user set)
    * <b>browser.showQuitWarning user set boolean true</b>
    * browser.tabs.warnOnClose default boolean true
    * browser.warnOnQuit default boolean true
    * <b>browser.warnOnRestart user set boolean true</b>
    Links were included there for assistance with '''about:config''' for those that don't know how to change configuration variables, along with additional reference for that and so that other similar questions of making Firefox 4 look/act like Firefox 3.6.17 would also be answered particularly the items in the first 10 steps in the same area. Which was addressed by the following part of my original reply
    You can make Firefox 4.0.1 look like Firefox 3.6.17, see numbered items 1-10 in the following topic ["http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 look like 3.6)].
    I don't know if you looked at the web page or not, but I've highlighted some additional words there to try to make the webpage more clear to others in the future.
    Hope that Helps

  • How can I get a pdf. to open in Safari, all i'm getting is a new window with a black, blank page, instead of the pdf., and I don't want to save the file to the desktop, Safari didn't use to do that, and I don't have Adobe in the internet plug in folder.

    How can I get a pdf. to open in Safari, all i'm getting is a new window with a black, blank page, instead of the pdf., and I don't want to save the file to the desktop, Safari didn't use to do that, and I don't have Adobe in the internet plug in folder.

    Hi
    Please take a look to this thread Re: Can I refresh the browser rather than open a new tab?

  • JPEG/PSD issue--I open a jpeg and edit it (levels, crop) and then "save as" and the save as option shows there are now levels in the image and it wants to save it as a .psd file or a copy with layers.  What am I doing that has these settings appear?

    JPEG/PSD issue--I open a jpeg and edit it (levels, crop) and then "save as" and the save as option shows there are now levels in the image and it wants to save it as a .psd file or a copy with layers.  What am I doing that has these settings appear?

    16bit? Pixels extending beyond the canvas? (from a crop with delete unused pixels turn off).  Have you previously been saving PSD files?
    IME you sometimes have to tell Photoshop that the first save of a session is JPG, and it remembers from there on.  The way to 'tell' Photoshop that JPG, or PDF, or PNG etc are now your preferred format is to Ctrl (Cmd) click on that format in the Save As drop down list.  So long as the file does not have parameters that your chosen format does not support, then this should work for you.
    [EDIT]  Just noticed that you did include 'Crop' in the subject line.  Do you have 'Delete cropped pixels' checked?

  • I want to switch my user id with my rescue email address, how can i change my rescue email address to something else to free that up?

    i want to switch my user id with my rescue email address, how can i change my rescue email address to something else to free that up?

    Hi EllaBella0902,
    Welcome to the Support Communities!
    The information below may be able to answer your questions about how to change your rescue email address:
    Manage your Apple ID primary, rescue, alternate, and notification email addresses
    http://support.apple.com/kb/HT5620?viewlocale=en_US
    Before you make any changes, you may want to review the information in the Frequently Asked Questions section of this article:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    This article explains how to update the information in the various services that use the Apple ID if you change it:
    Apple ID: What to do after you change your Apple ID
    http://support.apple.com/kb/HT5796?viewlocale=en_US&locale=en_US
    Cheers,
    - Judy

  • HT1553 Hi, I'm stuck at step 9. I don't see my external harddrive when I want to save the DMG backup file. Can you please help me with this? I'm desperate to make this backup! Big thanx in advance!

    Hi, I'm stuck at step 9. I don't see my external harddrive when I want to save the DMG backup file. Can you please help me with this? I'm desperate to make this backup! Big thanx in advance!
    http://support.apple.com/kb/HT1553

    Repair permissions and restart your computer.  If this does not work, zap the pram.  You should now see your external hard drive. 

  • A file want to save with this name "xstat_save" when i enter to some site .what is the problem?

    hi
    when i enter to some site like "http://www.mehrnews.com/en/" , a massage appear that a file with this name "xstat_save" want to save in hard disk.type of file is "aspx"
    what is the problem?
    plz help me
    thanks for your attention

    You usually see such a dialog to save a file if you have ad-blocking or security software that remove the GET data appended to a link to specify which file to load from the server.

  • Everytime I save a file from chrome it wants to save it with a (1) at the end of the file name. It i

    Everytime I save a file from chrome it wants to save it with a (1) at the end of the file name. It is extremely frustrating since I save hundreds of pdf files every month.
    It is the first time opening the file so it shouldn't be reverting to adding a (1) every time.
    I have chrome Version 28.0.1500.95 m

    Chrome does not use Adobe Reader to view or save PDF files. It does it all itself.
    Similarly FireFox, though it can be told to use Adobe Reader to view PDF files, doesn't do so by default. And Adobe Reader has nothing to do with saving.

Maybe you are looking for