FM to Update infotype-0006 without ZIP Code

Hi All,
I am trying to create new entry in info type - 0006 (address) without using state and zip code.. I have tried with FM 'HR_INFOTYPE_OPERATION' . Using this I am able to save address without state but it is still giving zip code error is mandatory.. Even though I can create entry with out using state and zip using PA30..
Please assist..
-Rajesh

Hi Ronaldo,
Looking to this FM it is calling FM - 'HR_MAINTAIN_MASTERDATA' which in turn calling BDC..
I was able to create record without state but not able to by pass state code validation.
I am performing this action from external application so looking for FM or options by which I dont need to go for enhancement..
-Rajesh

Similar Messages

  • How to update infotype 0006

    Hello,
    I want to update infotype 0006.
    I tried the things in following way using 'HR_INFOTYPE_OPERATION' function.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
        EXPORTING
          INFTY                       = '0006'
          NUMBER                   =  PERNR
          SUBTYPE                  =  '1'
          VALIDITYEND           = IT_PA0006-ENDDA
          VALIDITYBEGIN        = IT_PA0006-BEGDA
          RECORD                   = ls_p0006
          OPERATION              = 'CHANGE'
         TCLAS                      = 'A'
          nocommit      = ''
          dialog_mode   = '0'
        IMPORTING
          RETURN                   = RETURN.
    Function was executed successfully but there was no updation in the record.
    Thanks in advance.

    ****Data declaration
    Return Table for ENQUEUE - DEQUEUE messages
    DATA: zreturn TYPE bapireturn1,
          user TYPE sy-uname.
    DATA: wa_0001 TYPE p0001.
    ****Lock the pernr for editing
              CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
                EXPORTING
                  number       = pernr
                IMPORTING
                  return       = zreturn
                  locking_user = user.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
                  EXPORTING
                    infty                  = '9009'
                    number                 = wa_0001-pernr
                   validityend            = wa_0001-endda
                   validitybegin          = wa_0001-begda
                    record                 = wa_0001
                    operation              = 'MOD'                  "It can be 'INS' for insert or 'DEL' for delete
                 IMPORTING
                   return                 = zreturn
    *******Unlock the Pernr
                CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
                  EXPORTING
                    number = pernr
                  IMPORTING
                    return = zreturn.
    Hope this will help you.
    Regards,
    Aniruddha

  • Cannot update CC info--says zip code is wrong but won't save!!

    I just moved and when I went to buy a song in itunes it said my zip code doesn't match the bank info. So I go into my account and update the info with my new address so it matches my bank info and I press done and go back to buy a song and it gives me the same message. When I go back into my account again, my old address is there. This happens NO MATTER WHAT I DO--I tried adding a new CC, tried switching my payment info to Paypal. Whatever I do, it says it takes it, but if I go to buy a song, it goes back to my old account info. WHAT DO I DO??? I have been trying to buy this one song for 30 minutes!~!

    I would try emailing iTunes store customer service:
    http://www.apple.com/support/itunes/store/browser/
    I would try switching your Payment Method to "none" and then signing out of your account completely (Store menu > Sign Out). Then, sign back in and go to enter your CC info again. You might want to contact your financial institution to see if they've switched your billing address over in their systems yet. If they goofed something, it might explain why iTunes is rejecting your info.
    CG

  • Updating infotype 0006

    Dear Experts,
    i have requirement, i have to update employee address details...........along with employee address details.....i need to update COM01,COM02,COMo3,COM04.
    in COM01, i need to update COM01,Area code(AREAC),TELN1 and same fields for COM02,COM03,COM04.
    but Area Code(AREAC) and TELNR are in Q0006 only not in P0006.....
    How can i update those details............
    Could you please help me....
    Regards,
    Sudheer

    Hi
    As far as i know the fields AREAx and TELNRx are stored both in the corresponding NUMx, so basically what you need to update is that field NUMx.
    You just have to figure out how those two fields are concatenated to form the final value in NUMx (You can take a look at  this form in the include RHEH01F1 line 130
    FORM FORMAT_TELNR USING Q_AREAC LIKE Q0006-AREA1
                            Q_TELNR LIKE Q0006-TELN1
                            P_COM01 LIKE P0006-COM01
                            P_TELNR LIKE P0006-NUM01.
      IF Q_TELNR NE SPACE.
        IF P_COM01 EQ SPACE.
          MESSAGE E053(5U).
        ENDIF.
      ELSE.
        IF Q_AREAC NE SPACE.
          MESSAGE E052(5U).
        ELSE.
          IF P_COM01 NE SPACE.
            MESSAGE E053(5U).
          ENDIF.
        ENDIF.
      ENDIF.
      PERFORM TELNR_PAI(SAPFP5U0) CHANGING Q_AREAC
                                           Q_TELNR
                                           P_TELNR.
    ENDFORM.                               " FORMAT_TELNUMBER

  • Updating InfoType 0001 in ABAP

    Our parent company is passing different begin and end dates from Infotype 0001 to our HR system. In our system an employee would have a start date of 3/1/2005 but our parent company has the same employee in there system as a start date of 1/1/2008. I was looking at using user exit EXIT_SAPLRHA0_003 to capture these and add the parent companies dates into our Infotype 0001 so that there feed doesnt overwrite our original dates. I have attempted to use HR_INFOTYPE_OPERATION with no luck. Any one have a possible way to update InfoType 0001 without using a BDC?

    What exactly is the issue? In any case HR_INFOTYPE_OPERATION in turn calls HR_MAINTAIN_MASTERDATA so you might end up with the same issue with either function call.
    ~Suresh

  • Having a problem using Workflow to update a field based on ZIP code

    I created a Workflow to update a Yes/No picklist called eligibility based on a Text (Short) field called Applicant ZIP code.
    It's set to update on the Opportunity page:
    Before modified record saved
    And the value function is:
    IIf(InStr("60601_60602",[<stApplicant_Zip_Code_ITAG>|http://forums.oracle.com/forums/]+)>0,"Yes","No")+
    That was a guess of how to try it while relying on my limited MS SQL & Access knowledge.
    It does work correctly using what I did. The problem I have is that I actually need to choose from over 600 ZIP codes. The function window only allows for 256 characters. (And I suspect my way is fairly inelegant for search a multi-thousand character string.)
    Any suggestions?

    I created a Workflow to update a Yes/No picklist called eligibility based on a Text (Short) field called Applicant ZIP code.
    It's set to update on the Opportunity page:
    Before modified record saved
    And the value function is:
    IIf(InStr("60601_60602",[<stApplicant_Zip_Code_ITAG>|http://forums.oracle.com/forums/]+)>0,"Yes","No")+
    That was a guess of how to try it while relying on my limited MS SQL & Access knowledge.
    It does work correctly using what I did. The problem I have is that I actually need to choose from over 600 ZIP codes. The function window only allows for 256 characters. (And I suspect my way is fairly inelegant for search a multi-thousand character string.)
    Any suggestions?

  • BAPI to update enhanced Infotype 0006

    Hi,
       I have enhanced the standard infotype 0006 to add a new field zzrelation. I wanto to update values for this field using a BAPI.
       Is there a standard BAPI which has extension tables, for updating this enhanced 0006 infotype. So that I can pass the value of the custom field through the extension tables.
    Thanks in advance

    Hi Mukul,
    Use HR_INFOTYPE_OPERATION FM. The example is for info type 2006, replace it with 0006, also fill the table p0006 properly else it will give problem. You may use HR_READ_INFOTYPE to fill p0006.
    DATA:          p2006              TYPE p2006,
             gs_return          TYPE bapireturn1.
                             MOVE-CORRESPONDING <ABWKONTI_PTO> TO p2006.
                             CALL FUNCTION 'HR_INFOTYPE_OPERATION'
                                 EXPORTING
                                      INFTY            = '2006'
                                      NUMBER           = pernr-pernr
                                      SUBTYPE          = '94'
                                    OBJECTID         =
                                    LOCKINDICATOR    =
                                      VALIDITYEND      = p2006-endda
                                      VALIDITYBEGIN    = p2006-begda
                                    RECORDNUMBER     =
                                      RECORD           = p2006
                                      OPERATION        = 'MOD'
                                    TCLAS            = 'A'
                                    DIALOG_MODE      = '0'
                                    NOCOMMIT         =
                                    VIEW_IDENTIFIER  =
                                    SECONDARY_RECORD =
                                 IMPORTING
                                      RETURN           = gs_return
                                    KEY              =
    Br/Manas

  • I' m trying to install Acrobat Pro 10.1.8 Update. I'm getting the Error "Istallation fehlgeschlagen" without Error code  what can I do?

    Hi,
    I' m trying to install Acrobat Pro 10.1.8 Update. I'm getting the Error "Istallation fehlgeschlagen" without Error code . What can I do? I purchased CS5.1

    You can get the updates for the MAC from Adobe - Acrobat : For Macintosh, but apparently you already found that. Two possibilities that I can think of: 1. You have anti-virus enabled and that is causing the failure or 2. You are trying to install an update and skipped ones before it. If you start with the latest update, the download indicates the previous version required for the update. It looks like 10.1.12 can install over any previous version, so I would go for broke and install the latest.

  • Updating Infotype 0077 for the New Race and Ethnicity Codes

    Hi,
    I would like to ask for a help or any ideas on below case:
    There are new race and ethnicity codes required by the US EEO Law. I've already maintained them in table T505R. My problem now is on how infotype 0077 records of the employees will be updated showing the new race and ethnicity codes. Program RPURACU0 is use to update the records in infotype 0077. In this program, I first map the old ethnic origin to the new race and ethnicity codes. But after I've run and execute the program, infotype 0077 records of the employees still shows the old ethnic origin codes. It does not show the new race and ethnicity codes which should be based on the mapping I've done.
    Another problem is that in infotype 0077 in the field "Ethnic Origin", upon clicking on the drop down list, it shows all of the entries I've entered in table T505R. I think that ethnicity and race categories should be two different fields and thus, there should be another field for the race categories. May I know on how to add such field?
    To summarized, I need help in the following:
    -how to update infotype 0077 showing the new race and ethnicity codes
    - how to create field "Race" in infotype 0077 to display the new race categories
    Thanks in advance for your help!

    Mary,
    We have applied the relevant note, updated MP007700 (as below) and executed program RPURACU0 with the required mapping.  However, the Race field check boxes are not visible on IT0077 because as you can see the relevant field is not listed below.
    Module Pool          MP007700            Variable key    10
    Standard screen      2000                Feature
    Alternative screen   2010
    Next screen          2010
    001     P0077-RACKY     Ethnic origin
    002     P0077-MILSA     Military status
    003     P0077-ETHEN     Ethnicity
    004     P0077-SURVY     Survey answered
    005     P0077-DISAB     Disability
    006     FRAME_2     Veteran Status
    007     P0077-MEDIC     Benefit Indicator for Medicare
    008     P0077-DISDT     Date of Determination of Disabil
    009     P0077-DISLE     Date Employer Learned of Disabil
    011     P0077-EEOEX     EEO Exempt Indicator
    012     Q0077-VETS2     Veteran status
    013     Q0077-VETS3     Veteran status
    014     Q0077-VETS4     Veteran status
    015     Q0077-VETS5     Veteran status
    016     Q0077-VETS6     Veteran status
    017     Q0077-VETS7     Veteran status
    018     IT_ITAB-MARK                                    
    019     Q0077-VETS1     Veteran status
    021     FRAME_1     Additional Personal Data
    023     FRAME_3     Disability
    Thanks!
    Edited by: Victoria Nate on Sep 23, 2008 6:35 PM

  • Help! My form which requires email and zip code is arriving without data. How is that possible?

    An HTML form design with Dreamweaver CS5 requires the zip code and email to be entered prior to Submitting the form. We tested the form prior to going live and it worked great. The Zip Code and Email are required entries. Today, we received our first completed form from a customer and it worked and looked great. The problem is ... we have also received two forms that are blank. No data results at all; no email or zip code either. I don't know how this can be. The form cannot Submit unless the email and zip code are present.
    Suggestions?
    This is the webpage that has the form (scroll toward the bottom to view it).
    http://www.catchaghostparanormalequipment.com/paranormaltriggerprops.html

    The PHP code is:
    <?php
    //--------------------------Set these paramaters--------------------------
    // Subject of email sent to you.
    $subject = 'Trigger Prop Contact Form';
    // Your email address. This is where the form information will be sent.
    $emailadd = '[email protected]';
    // Where to redirect after form is processed.
    $url = 'http://www.catchaghostparanormalequipment.com/confirmation.html';
    // Makes all fields required. If set to '1' no field can not be empty. If set to '0' any or all fields can be empty.
    $req = '0';
    // --------------------------Do not edit below this line--------------------------
    $text = "Results from form:\n\n";
    $space = ' ';
    $line = '';
    foreach ($_POST as $key => $value)
    if ($req == '1')
    if ($value == '')
    {echo "$key is empty";die;}
    $j = strlen($key);
    if ($j >= 40)
    {echo "Name of form element $key cannot be longer than 40 characters";die;}
    $j = 40 - $j;
    for ($i = 1; $i <= $j; $i++)
    {$space .= ' ';}
    $value = str_replace('\n', "$line", $value);
    $conc = "{$key}:$space{$value}$line";
    $text .= $conc;
    $space = ' ';
    mail($emailadd, $subject, $text, 'From: '.$emailadd.'');
    echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">';
    ?>
    The form code is:
    <form action="result.php" method="post" name="Trigger Prop Form" id="Trigger Prop Form">
          <p><strong>Trigger Prop Quote/Information Request Form</strong></p>
      <p><span class="welcomesmaller">Trigger props can be sold with or without accessories. You can select more than one item. </span></p>
      <p><span class="props" id="sprycheckbox13">
        <input type="checkbox" name="Antique Style Tin Train Engine" id="Antique Style Tin Train Engine" />
        <label for="Antique Style Tin Train Engine">Antique Style Tin Train Engine</label>
    </span></p>
      <p><span class="props" id="sprycheckbox14">
        <input type="checkbox" name="Tin Merry-Go-Round" id="Tin Merry-Go-Round" />
        <label for="Tin Merry-Go-Round">Antique Style Tin Merry-Go-Round</label>
    </span></p>
      <p><span class="props" id="sprycheckbox15">
        <input type="checkbox" name="Period Lantern" id="Period Lantern" />
        <label for="Period Lantern">Period Lantern</label>
    </span></p>
      <p><span class="props" id="sprycheckbox16">
        <input type="checkbox" name="Bisque Head China Dolls" id="Bisque Head China Dolls" />
        <label for="Bisque Head China Dolls">Bisque Head China Dolls (Variety Similar to Photos)</label>
    </span></p>
      <p><span class="props" id="sprycheckbox17">
        <input type="checkbox" name="Grungy Primitive Rag Doll" id="Grungy Primitive Rag Doll" />
        <label for="Grungy Primitive Rag Doll">Grungy Primitive Rag Doll</label>
    </span></p>
      <p><span class="props" id="sprycheckbox18">
        <input type="checkbox" name="Pocket Watch" id="Pocket Watch" />
        <label for="Pocket Watch">Pocket Watch with Chain</label>
    </span></p>
      <p><span id="sprycheckbox1">
        <input type="checkbox" name="Pirate Gold Coins" id="Pirate Gold Coins" />
        <label for="Pirate Gold Coins" class="props">Pirate Gold Coins</label>
    </span>  </p>
      <p><span class="props" id="sprycheckbox2">
        <input type="checkbox" name="Indian Artifacts with Rabbit Hide" id="Indian Artifacts with Rabbit Hide" />
        <label for="Indian Artifacts with Rabbit Hide">Indian Artifacts with Rabbit Hide</label>
      </span></p>
      <p><span class="props" id="sprycheckbox7">
        <input type="checkbox" name="Prop Pirate Gun" id="Prop Pirate Gun" />
        <label for="Prop Pirate Gun">Prop Pirate Gun</label>
    </span></p>
      <p class="props"><span class="props" id="sprycheckbox4">
        <input type="checkbox" name="Prop Pirate Sword" id="Prop Pirate Sword" />
        <label for="Prop Pirate Sword">Prop Pirate Sword</label>
    </span></p>
      <p class="props"><span class="props" id="sprycheckbox5">
        <input type="checkbox" name="Civil War Medals" id="Civil War Medals" />
        <label for="Civil War Medals">Civil War Medals</label>
    </span></p>
      <p class="props"><span id="sprycheckbox3">
        <input type="checkbox" name="West Lantern" id="West Lantern" />
        <label for="Western Style Lantern">Western Style Lantern</label>
    </span></p>
      <p class="props"><span class="props" id="sprycheckbox8">
        <input type="checkbox" name="Small Teddy Bear in Basket" id="Small Teddy Bear in Basket" />
        <label for="Small Teddy Bear in Basket">6" Small Teddy Bear in Basket</label>
    </span></p>
      <p class="props"><span class="props" id="sprycheckbox9">
        <input type="checkbox" name="Small Rag Doll in Basket" id="Small Rag Doll in Basket" />
        <label for="Small Rag Doll in Basket">6" Small Rag Doll in Basket</label>
    </span></p>
      <p class="props"><span class="props" id="sprycheckbox10">
        <input type="checkbox" name="Large Primitive Rag Doll in Basket" id="Large Primitive Rag Doll in Basket" />
        <label for="Large Primitive Rag Doll in Basket">Large Primitive Rag Doll in Basket</label>
    </span></p>
      <p class="props"><span class="props" id="sprycheckbox11">
        <input type="checkbox" name="Knitting Basket with Needles" id="Knitting Basket with Needles" />
        <label for="Knitting Basket with Needles">Knitting Basket with Knitting Needles</label>
    </span></p>
      <p class="props"><span class="props" id="sprycheckbox12">
        <input type="checkbox" name="Metal Needle Point Loom Doile" id="Metal Needle Point Loom Doile" />
        <label for="Metal Needle Point Loom Doile">Metal Needle Point Loom with Antique Doile</label>
    </span></p>
      <p class="props"><span class="props" id="sprycheckbox19">
        <input type="checkbox" name="Accessories" id="Accessories" />
        <label for="Accessories">Accessories (Chairs, Wagons, Buggy, Sleds, etc.)</label>
    </span></p>
      <p class="props"><span id="sprytextarea1">
        <label for="Custom Request">Custom Request, Questions, and/or Comments</label>
        <textarea name="Custom Request" id="Custom Request" cols="45" rows="5"></textarea>
    </span></p>
      <p class="props"><span id="sprytextfield2">
      <label for="Email Contact">Email Contact</label>
      <input type="text" name="Email Contact" id="Email Contact" />
      <span class="textfieldRequiredMsg">A value is required.</span><span class="textfieldInvalidFormatMsg">Invalid format.</span></span></p>
      <p class="props"><span id="sprytextfield3">
      <label for="Shipping Zip Code">Shipping Zip Code for Quote</label>
      <input type="text" name="Shipping Zip Code" id="Shipping Zip Code" />
      <span class="textfieldInvalidFormatMsg">Invalid format.</span><span class="textfieldRequiredMsg">A value is required.</span></span></p>
      <p>
        <input name="submit2" type="submit" id="submit" value="Submit" />
          <input type="reset" name="Reset" id="Reset" value="Reset Form" />
      </p>
      <p>  </p>
        </form>

  • ZIP CODE AREAS UPDATE

    Hi all,
    I am trying to load data with the updated zip code area. Moat of the areas are not upto date. How do i get the most updated ranges of zip codes?
    Thank you all,

    Deepthi,
    We did the Zip code update in Jan this year (It was only for Oregon) However I couldnt find the required HR package for it. My client was in a hurry and didnt have time to create a OSS note and wait. So I googled and found the latest Zip code range for US states and updated in V_T5UZC. If you have sometime, write to SAP and see what support packs are available.
    I used the following site (scroll to the bottom)
    http://www.answers.com/topic/list-of-zip-codes-in-the-united-states
    Thanks
    Sanghamitra

  • Update zip codes

    I am looking at a way to automatically update the Zip Code Area table v_T5UZC.
    One suggestion was to get the CD from USPS and update the T5PCP table by running program - RPUCODP0. I do not understand the relationship between T5PCP and v_T5UZC.
    I do not prefer to manually update the zip code table each time there are changes. Has anyone faced the same issue before? Does the BSI Tax locator product offer any zip code upload functionality?
    Help appreciated.
    Regards, Sunil

    Sunil,
    What is your business requirement to update this table?  The entries for this table should be provided by SAP.  This table does not provide individual zip codes but zip code ranges.
    Best Regards,
    Chris H.

  • My 'zip code' says 'invalid' i'm from the uk and tried both with and without the space. any ideas?

    I want to register my printer but the lack of 'zip code' won't allow me to progress. A 'zip code' is a 'postcode' right? **bleep**? can someone help? I'm not a total spaz, this site is just pissing with me....... I hope. Thanks

    If the register page will not take the information then I would give HP Tech Support a call. The agent will be able to quickly setup the account and register the printer to you. It will be a rather quick process.
    In this case, it would be the most time efficient option.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • Verizon pulls out of zip code 49636

    What recourse do I have if Verizon decided to shut down service to a tower that I use in zip code 49636?
    I've been having problems with their on/off service since September 2010 and since purchased numerous new Droid phones, a new wireless card for my laptop.  After multiple calls to their technical support over the last 8 months, all problems eventually got resolved by updated PRL updates, being taken off Hybrid mode, etc.  Now NONE of my 5 phones or my wireless card, or my wifes phone and card or anyone else with Verizon has service.
    5 calls into Technical Suport at Verizon and I finally got one guy (Zack) to tell me straight they pulled out service from their downtown Glen Arbor, MI tower and there is nothing they can do.
    Am I simply screwed with no service?  Can we get them to re-install service at their State Street tower?  I can see the darn thing from my home, but "no service available".
    Thank you in advance for your help.  Had I known this none of the 5 phone on my plan (or my wireless card) would have been renewed.

    You should have had at least had extended network available.
    Can you go to a location that Verizon remained and update your phone with the programming *228, option 1 and then option 2.
    If ATT truly did shutdown the towers (I agree with Budone that they shouldn't have done so.), you won't be able to program with *228 in an area without native Verizon towers.
    The Alltel assets in the area may not have begun the process to rebrand into Verizon yet. They have to wait until ATT has finished their transition completely.
    I have noticed that zipcodes in my area that were sold to ATT no longer go to the transition website when I try and use those zipcodes as my home area on the Verizon website. Based on that, they might be moving into the next step and should be starting the rebranding process in the next few months.

  • Trying to set download apps...says it needs my credit card info...I put it in....but then it won't take it because it says I need to enter my zip code.  I live in Canada and have a postal code, not a zip code.  Help

    I am trying to set up my new Iphone 4 and download apps.  I made an Apple Id which is all good.  But when I try and enter in my credit card info it keeps asking for my Zip code and state.  I live in Canada not US.  I changed the phone to Canadian but it still keeps asking for it and won't let me put in my right information which in turn won't let me download any apps.  Can anyone help?

    Postal & Zip codes are same.  Just enter postal code without space.  It will accept.

Maybe you are looking for