Populate hijrah date for Saudi legislation employee records when data migration

Hi,
I want to know how I should auto populate hijrah date when doing employee master data migration.
My BG legislation is Saudi.
I'm working on R12.1.3.
Please suggest how to populate when migrating data.

Any suggestions please.

Similar Messages

  • Impact of Installing legislations for Saudi Arabia and UAE

    Hi ,
    We are currently on R12.1.3 with the following installed legislations
    Installed legislations
    (Code)                        Application
    GB                            Payroll
    GB                            PQP
    GB                            Human Resources
    KW                            Payroll
    KW                            Human Resources
    Global                        Human Resources
    We have separate payroll for UAE ,Kuwait and Saudi Arabia
    I would like to know if there will be any impact if Saudi Arabia/UAE legislation is installed in our current application

    Hi Vignesh,
    View objects do you mean standard objects relevant to the particular business group ?
    we have separate elements for each payroll and the payrolls are linked to the relevant responsiblity.if we create separate Business group then we have to move all the employees and the elements to the particular business group  right ?
    if we install the legislations for Saudi arabia and UAE and the legislation defined in business group info is kuwait then the standard features applicable for each
    legislation like GOSI monthly reports will it be available ?

  • How to populate the data for additional fields in custom report of fbl5n tr

    hallo friends,
    i ha ve to add some fields to the output of custome report of transaction FBL5N.
    Till now i have only added the fields to the output.
    Now i have to write the code to populate the data for those fields in the program.
    1.     Customer Credit Group(ACM/RCM): (Table: KNKK; Field Name: VKORG )
    2.     Credit Representative Group: (Table: KNKK; Field Name: SBGRP)
    3.     Customer Account Number(CAN#): (Table: KNKK; Field Name: KNKLI)
    4.     Alternative Payer(ALTP#) : (Table: KNA1; Field Name: KUNNR)
    5.     Risk Category: (Table: KNKK; Field Name: CTLPC)
    6.     Credit Info Number: (Table: KNKK; Field Name: KRAUS)
    7.     Rating: (Table: KNKK; Field Name: DBRTG)
    8.     Payment Index: (Table: KNKK; Field Name: DBPAY)
    9.     Credit control area: (Table: KNKK; Field Name: KKBER)
    10.     Company code: (Table: KNB1; Field Name: BUKRS)
    11.     Sales Organization: (Table: KNVV; Field Name: VKORG)
    These are al fields i have to populate in the program..
    MY ATTEMPTS:
    I tried getting the data for KNKK table by GET KNKK ,but it is giving some garbage values...
    And Logical database used here is DDF,and i have to add the VKORG of KNVV too...but KNVV is not there in DDF...
    Can anybody tell me how should i proceed..
    thanks in advance.

    Thnx Andreas,
    i have following doubts again..
    I have to add sales organisation field to the selection screen...(this is given in the req.)
    now if i will say GET KNKK...it would not keep account of this 'sales organisation' field...so how should i fetch the data with these input data( i.e. 'compny code' and 'customer' are the fields given by LDB and 'sales oraganisation' is the field i put it on the selection screen)
    And what about the KNVV-VKORG ,because the KNVV is not present in the LDB.

  • How system will automatically populate clearing date field for invoices paid similar to when payments are made to the vendors

    Hi SAP Gurus,
    Could you help me on this, How system will automatically populate clearing date field for invoices paid similar to when payments are made to the vendors.
    Regards
    Mohan

    Hi Ramakrishnappa,
    If you clear the invoice against payment, then the invoice clearing date would be payment document posting date.
    Regards,
    Mukthar

  • Data Migration for Open Purchase Order

    Hi, All,
    Is there anyone know how to Count the volume for Open Purchase Order. What's the normal strategy for the Data Migration and Cut-over stage?
    My client want to know how many Open Purchase Order in the legacy system and then determine manual or automatic data migration. If manual, how to do? If automatic, how to do? Because all materials and vendors, plants are different number. How to track? How to find out to match between new and old?
    Thank you very much

    JC,
    Sounds a bit early to be making decisions about the realization phase.  It doesn't sound like you have finished the Blueprinting phase yet, much less the testing phase.
    Anyhow, in my experience I typically use LSMW (Legacy system migration workbench) to load MM master data (material masters), Inventory (WIP, RM, FG, etc) Purchasing Master data (Vendors, Purchase Info Records, Source Lists, Quota Arrangements), and Purchasing transactional documents (POs, PurReqs, Scheduling Agreements, etc).  Depending on the complexity and volume of data, it  may be necessary to write custom programs to load the data.  You will find this out during your requirements gathering.
    It is uncommon but possible to load all of these data manually.  I have never run across a client that wants to pay a consultant's hourly rate to sit at a terminal to peck away loading master data, so if the client intends to have his own users enter the data manually, the project manager should make provision that there will be qualified TRAINED client employees available for this data entry.  I did help with a portion of a conversion once manually; of Sales Credits, but there were only about 30 SD docs to load.   I did this the evening before go-live day, while I was waiting for some of my LSMW projects to complete in the background.
    A good opportunity to 'practice' your data loads is right after you have completed your development and customization, and you have gotten the approval from the client to proceed from the pilot build to the full test environment.  Once you have moved your workbench and customization into the client's test environment, but before integration testing, you can mass load all, or a substantial portion of your conversion data into the qual system.  You can treat it like a dry run for go-live, and fine tune your processes, as well as your LSMW projects.
    Yes, it is good practice to generate comparisons between legacy and SAP even if the client doesn't ask for it. For Purchase orders on the SAP side, you could use any of the standard SAP Purchasing reports, such as ME2W, ME2M, ME2C, ME2L, ME2N.  If these reports do not meet the requirements of the client, you could write a query to display the loaded data, or have an ABAPer write a custom report.
    You didn't ask, but you should also do comparisons of ALL loaded data - including master data.
    It sounds like you are implying that the client wants YOU to extract the legacy data.  For an SAP consultant, this is not very realistic (unless the legacy system is another SAP system).  Most of us do not understand the workings of the myriad legacy systems.  The client is usually expected to produce one or more legacy system technical experts for you to liase with.  You normally negotiate with the technical expert about every facet of of the data migration.  In addition, you will liase with business users, who will help you and the implementation team to logically validate that the final solution (turnkey SAP production system, fully loaded with data) will meet the client's business needs.
    Finally, you mentioned how do you track the mapping of master data between legacy and SAP.  There are many ways to do this.  I normally try to get the legacy person do the conversion on his end, eg, when he gives you the load file, you would like to have already translated the master data and inserted the SAP relevant values into the file.  If this is not possible, I usually use MS Access databases to maintain a master map, and I perform the mapping on a PC.  If your data package is small, you can probably get by using MS Excel or similar.
    Good Luck,
    DB49

  • How to populate the data in to customised cube

    hi,
    guys, i have customised the infocube (0PUR_C01)by adding the additional info object , i want populate the data (using updaterule)  in to infocube with out loosing current data for hte added info object .
    can any help this, how to write updaterule
    thanks in advace
    ram

    Hi Ramanathan,
                If you need historical data for the newly added info object, you'll have to intitialize again from the source system.
    That means you'll have to delete the data and load it again from the source.
    If you don't want to delete the data, you can create an Export data source of the existing cube(say Cube A)
    and load the data to another cube(Say Cube B which is a copy of A).
    Then you can delete the data from Cube A and add the required info objects to cube.
    Then you have to create an Export data source of Cube B and load data back to Cube A from B.
    It depends on your business requirements.
    <b>Since you don't want Historical data for the newly added info object,
    there's no need to delete the existing data.
    Add the new info object and maintain the Update rules for this new info Object.
    The new records will be have values for this Info Object depending on the routine
    you specify in the update rules.</b>
    Refer these links for more information on Routines in Update Rules.
    http://help.sap.com/saphelp_nw04/helpdata/en/21/894eeee0b911d4b2d90050da4c74dc/content.htm
    <b>Creating Update Routines</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a64fae07211d2acb80000e829fbfe/content.htm
    Hope this helps.
    Regards
    Hari
    Message was edited by: Hari Krishnan K

  • "Retro Pay by Element" for Saudi Localisation

    Fellow boarders,
    1. I am trying to run "Retro Pay by Element" for saudi localisation.
    2. While trying to define reto-pay elements, the button "retro components" is greyed out (Elements>Processing>Recalculation Tab)
    3. As per metalink note 743215.1, i try to run conc program "Generic Upgrade Mechanism" to enable the Retro Components Button In Recalculation Tab
    however this program does not pick up any parameters from the list.
    4, when I run the query
    select * from pay_legislation_rules where
    rule_type like '%RETRO%';
    it shows me the data for Us, Canada & mexico only.
    Does that mean that retro-Pay is not enabled for any other legislation other than these 3 countries ...?
    If no, then how do I configure retro-pay for saudi localisation.
    Any help/suggestions would be greatly appreciated.
    Cheers
    Shah Alam

    The "Retro Components" button on the Element screen would be enabled only if the "Enhanced Retropay" is enabled. Considering the fact that the Recalculation Tab is enabled (As you can go to the Tab where Retro Components button is present), you can use the Retropay by Element solution by attaching the Retro Element to the element.

  • Updating Employee record in Mobile bridge

    Hello Experts,
    I am trying to update the employee record flowing from CRM to CDB. I am using the BADI method USER_EXIT_DOWNLOAD_BP_MAIN for the same. Inside this I am successful in updating the structure of the employee_write. I can see the same in SMW01 with the Z fields containing the correct values. However when I go into the SMOMITABT table I cannot see this data for that employee record.
    Any pointers where I could be going wrong?
    Pradeep

    Pradeep, seeing the Z fields values in the BDoc in SMW01 is NO guarantee that the SENDBITS have been set correctly
    The most probable cause for the symptom you report is improper SENDBITS.
    Go to TX: SM37 and execute the FM: SMO_SNDBITS_GETX with the following values:
    STRUCTURENAME:        EMPLOYEE
    SNDBITS:                        <<VALUE YOU SEE IN THE SNDBITS FIELD IN SMW01 FOR THE EMPLOYEE SEGMENT>>
    FIELDNAME:
    DDIC:
    BDOCNAME:                  EMPLOYEE_WRITE
    The result in the SFIELD table should contain all the fields that Middleware would update in SMOMITABT - check if this lists the Z fields as well...
    Regards,
    Ankan

  • Data Migration- Infotypes BDC Recording

    Hi All,
    Iam currently working on data migration project.
    Before i joined here,they developed the upload programes,by using Function modules.But when we are doing that,we are able to see in Over veiw,But when we go to change mode,nothing is there on screen.Then we tried Using BDC Recording for IT0105.Then working perfectly.
    So i need a help,if any one of you any idea on list of the Infotypes which need BDC Recording.
    I need the List of infotypes,so that i make sure,we use BDC .
    Its on priority,Pls have some inputs.
    Thanks,
    Anitha

    Hey Anitha,
    BDC and LSMW are both data loading techniques.
    In both cases you will need input files in a specific format so that these are read by your BDC or LSMW program
    The main difference is
    Using BDC you can validate the data in the system. Suppose you want to check if an employee is active before loading the data then BDC is advisable because you can check the employment status of the employee and then upload data or else give a message that employee is terminated and data loading has been skipped
    If there is a straight forward upload without any validation then go for LSMW
    Finally it depends on your requirements
    Cheers
    Ajay
    As stated above IT 0008 has to be filled using table control hence BDC is helpful
    Edited by: Ajay  Hosur on Apr 13, 2010 6:41 AM

  • Automatic determination for Sales personnel / Employee responsible in sales

    Hi Gurus,
    Help me out in automatic determination for Sales personnel / Employee responsible in sales order. I have tried in Partner determination, it is not working.
    Regards,
    sushil

    There can be few options:
    Option 1: In the customer master partner determination, add the Sales Person and Employee responsible partner functions and mark them as mandatory. In the Sales Order Header Partner Determination, add the same and mark them Mandatory. Then during order processing, the relevant Sales Person and Employee responsible will flow in the order header partners
    Option 2: Mainatin a Z table based on Sales Area / any other specific parameter / Sales Person & employee responsible. You can improvise the table parameters as per your business needs and requirements.Then in the order user exit MV45AFZB in form_userexit_move_field_to_VBAK you can read this z table and get the sales person and employee responsible. May be you can add these two fields in Order Header- Additioanl Data B tab and populate them thru this program.
    Hope this helps
    Regards
    Sai

  • How to know  whether a payroll has occured for a particular employee???

    hi all,
    i have a requirement like i need to pass a outbound file to XI. the record contains demographic as well as payroll data. the interface will runs twice a week there are demographic fieds as well as payroll fields.
    payroll occurs bi weekly. as the interface runs twice weekly all the demogrphic data should be filled and payroll data should be space for the week payroll has not occured and it should fill with payroll data for the week payroll has occured .
    i am using the FM's CU_READ_RGDI and PYXX_READ_PAYROLL_RESUL for getting payroll data.
    my question is i need to run these FM's in my program only when the payroll has run how can i distinguish that paroll has occured for a pariticular employee?
    is there any FM for that pls help??

    Hello Shiva,
               You can check the payroll status infotype(pa0003) for the particular employee (Field Accounted to).The last day of payroll is shown here.If your  exists then you can continue with FM CU_RGDIR and PYXX_READ_PAYROLL_RESULT for getting the payroll results.
    Reward points if useful.
    Regards,
    Manoj.

  • Master_detail for more than one record at a time

    Hi,
    How can i display master_detail records for more than one records at a time, for example, i have two tables A and B , A has username and role and B has username and profile. here i wanted to display 10 users at a time on my 6i form with username, role and profile.
    i have created a master-detail relation ship with these tables when i'm executing F8 on blcok A , it displays 10 records on BlockA but, only one at a time on block B, how can i display all corresponding records on block B at a time.
    Thanks for your help.Bcj

    Thanks Roberts, that was realy informative due to some doubts i would like to confirm my requirements , i have two blocks A and B and each master record has only one detail record. but i wanted to display at least 10 master_detail relationships(records) on the form at a time, i would like to know is it possible to do without creating any table or view for example,
    data in table A,
    username role
    AAA R1
    BBB R2
    CCC R3
    data in table B,
    username profile
    AAA P1
    BBB P2
    CCC P3
    i wanted to display it on form like below,
    username role profile
    AAA R1 P1
    BBB R2 P2
    CCC R3 P3
    Also would like to know that how can i select data from dba_users, any restriction is there on forms 6i, i can select it on sqlplus.
    Thanks Again, Bcj

  • Not able populate correct data into fields in alv report

    hi experts,
    question: from delivery document number(likp-vbeln) go to delivery items to get lips-matnr,lips-lgort
    TYPE-POOLS:SLIS.
    TABLES: MARC,LIPS,LIKP,VBAK,VBAP,VBRP.
    SELECT-OPTIONS:S_VKORG FOR LIKP-VKORG,
                   S_VBELN FOR LIKP-VBELN,
                   S_MATGR FOR MARC-MATGR,
                   S_AUART FOR VBAK-AUART.
    DATA: BEGIN OF ITAB OCCURS  0  ,
           MATGR LIKE MARC-MATGR,
           MATNR LIKE LIPS-MATNR,
           LGORT LIKE LIPS-LGORT,
           WADAT_IST LIKE LIKP-WADAT_IST,
           AUART LIKE VBAK-AUART,
           WAVWR LIKE VBRP-WAVWR,
           KWMENG LIKE VBAP-KWMENG,
           VBELN LIKE LIKP-VBELN,
          VBELN LIKE VBAK-VBELN,
          <GORT TYPE LIPS-LGORT,
           END OF ITAB.
       DATA: BEGIN OF JTAB OCCURS 0,
             VBELN LIKE VBAK-VBELN,
             END OF JTAB.
      DATA: I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
             I_EVENTCAT TYPE SLIS_T_EVENT WITH HEADER LINE.
      START-OF-SELECTION.
      SELECT AMATNR ALGORT INTO TABLE ITAB   FROM LIPS AS
    A INNER JOIN
    LIKP AS B ON BVBELN EQ AVBELN  WHERE BVBELN IN S_VBELN AND BVKORG
    IN
    S_VKORG.
    ENDSELECT.
    *I_FIELDCAT-COL_POS = 1.
    *I_FIELDCAT-FIELDNAME = 'VBELN'.
    *I_FIELDCAT-TABNAME = 'ITAB'.
    *APPEND I_FIELDCAT TO I_FIELDCAT.
    *CLEAR I_FIELDCAT.
    I_FIELDCAT-COL_POS = 1.
    I_FIELDCAT-FIELDNAME = 'MATNR'.
    *I_FIELDCAT-TABNAME = 'ITAB'.
    I_FIELDCAT-REF_TABNAME = 'MATNR'.
    I_FIELDCAT-REF_TABNAME = 'LIPS'.
    APPEND I_FIELDCAT .
    *CLEAR I_FIELDCAT.
    I_FIELDCAT-COL_POS = 2.
    I_FIELDCAT-FIELDNAME = 'LGORT'.
    *I_FIELDCAT-TABNAME = 'ITAB'.
    I_FIELDCAT-REF_TABNAME = 'LIPS'.
    APPEND I_FIELDCAT .
    *CLEAR I_FIELDCAT.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING
        I_INTERFACE_CHECK              = ' '
        I_BYPASSING_BUFFER             =
        I_BUFFER_ACTIVE                = ' '
         I_CALLBACK_PROGRAM             = SY-REPID
        I_CALLBACK_PF_STATUS_SET       = ' '
        I_CALLBACK_USER_COMMAND        = ' '
        I_STRUCTURE_NAME               =
        IS_LAYOUT                      =
         IT_FIELDCAT                    = I_FIELDCAT[]
        IT_EXCLUDING                   =
        IT_SPECIAL_GROUPS              =
        IT_SORT                        =
        IT_FILTER                      =
        IS_SEL_HIDE                    =
        I_DEFAULT                      = 'X'
        I_SAVE                         = ' '
        IS_VARIANT                     =
         IT_EVENTS                      = I_EVENTCAT[]
        IT_EVENT_EXIT                  =
        IS_PRINT                       =
        IS_REPREP_ID                   =
        I_SCREEN_START_COLUMN          = 0
        I_SCREEN_START_LINE            = 0
        I_SCREEN_END_COLUMN            = 0
        I_SCREEN_END_LINE              = 0
      IMPORTING
        E_EXIT_CAUSED_BY_CALLER        =
        ES_EXIT_CAUSED_BY_USER         =
        TABLES
          T_OUTTAB                       = ITAB
      EXCEPTIONS
        PROGRAM_ERROR                  = 1
        OTHERS                         = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    i am unable to populate correct data into fields i am getting matnr values as all 1's
    and lgort as empty
    can anyone help me out
    thanks.

    HI there
    This is what i found on the Forum
    "You can use FM RS_VARIANT_CONTENTS to display ONE variant associated to a report
    If you want to see the information of ALL VARIANTS associated to a report I think the only way is checking table VARID to get all the variants associated to the report and then do a loop and call RS_VARIANT_CONTENTS for each variant."
    Regards
    Tatenda

  • Special character in some of the employee records

    Hi,
    I have found special character in some of the employee records which is causing some reports to error out. Our instance is configured for English language and these special characters are unrecognized by the application. I have attached some employee names with the special character below.
    Request you to please look into this and reply ASAP.
    ===
    Employee Number      Full Name
    1278     M_ü_ller-Seydlitz, Mrs Hilda Suzanne
    1009     Evas, Mrs Sîan* Elynda
    ===
    Regards
    Parvathi Arun
    +919840861075
    [email protected]

    first you need to create a database function like the one below.
    the query to identify those records is then the below:
    select full_name from per_people_x
    where is_not_valid_text(full_name) = 'N'
    you can use the function also to verify other fields like addresses and so on.
    the corrective action according to me should be a manual one, meaning open the form and update the names not compliant.
    thanks
    regards
    create or replace
    function is_not_valid_text (p_text in varchar2) return varchar2 is
    v_is_valid varchar2(100) := 'Y';
    v_length number := length(p_text);
    begin
    for i in 1 .. v_length loop
    if not ( -- allowed char
    ascii(substr(p_text, i, 1)) between 65 and 90 -- from A to Z
    or ascii(substr(p_text, i, 1)) between 97 and 122 -- from a to z
    or ascii(substr(p_text, i, 1)) = 32
    or ascii(substr(p_text, i, 1)) = 46
    ) then
    v_is_valid := 'N';
    exit;
    end if;
    end loop;
    return v_is_valid;
    end is_not_valid_text;
    Edited by: Giuseppe Bonavita on 10-Dec-2012 11:43

  • How to only update existing records when loading master data ?

    Hello experts, I need your lights one more time.
    Here is my need :
    I have created an infoobject (IO) which is a very simple version of 0material, let's call it Znewmat --> Znewmat has material type and trademark as attributes, those two fields are available in 2 different datasources :
    - 0MATERIAL_ATTR for material type (field MTART)
    - 0MAT_SALES_ATTR for trademark (field MVGR2)
    When loading my new IO from 0MATERIAL_ATTR I use a filter (at DTP level) to get only a few material types (I get something like 1000 records),
    here is my issue : when I load from 0MAT_SALES_ATTR the field "material type" is not available to keep the same filter as for 0MATERIAL_ATTR and existing records are updated with the trademark, but I also get 5000 records I don't need, and my master data is "polluated" with useless lines.
    *and my question : is there a way while performing the second loading to ONLY UPDATE EXISTING RECORDS AND NOT ADD ANY
    NEW RECORDS ? (i didn't find anything in main options of my DTP)*
    (I'd like to avoid the solution to update the 0MAT_SALES_ATTR datasource to add the missing field)
    Thanks in advance for any help, points will be distributed.
    Guillaume P.
    Still no idea ?

    in the start routine of transformation from 0MAT_SALES_ATTR to znewmat do the following:
    select materials from /BIC/PZNEWMAT into i_mat
    for all entries in source_package where material eq source_package-material.
    loop at source_package.
    p_ind = sy-tabix.
    read table i_mat with key material = source_package-material.
    if sy-subrc ne 0.
    delete i_mat index p_ind.
    endif.
    this way you'll only update records that have previously been loaded by 0MATERIAL_ATTR DS
    loading sequence:
    first load ZNEWMAT from 0MATERIAL_ATTR. then activate ZNEWMAT. then load 0MAT_SALES_ATTR to ZNEWMAT.
    M.

Maybe you are looking for

  • Adding a topic at a specific level

    I imported a framemaker file in order to create my robohelp source content. In the Project Manager I have a Project Files folder, Broken Links, URLs, TOC, Index, Glossary, and See Also. Within the Project Files folder are all my topics listed alphabe

  • I am connected via wifi and I am getting a warning of an Untrusted Connection try to connect to 10.10.7.200.

    I have connected to tons of wifi over the years with this netbook. Ihave experienced this the 2 out of 2 time I have tried to connect at this new colleve I am attending. Should I select Add Exception to try to move past this?

  • Passing parameters to a BW Report iView dynamically

    Hi All, I want to pass parameters to a BW Report iView at runtime. The requirement is as such: I have got some screen selection in a webDynpro iView and I need to pass all those selected values to a BW Report iView based on the user selection. eg. st

  • Unable to start Forms designer in Linux O/s

    Hi, I have installed Forms6i for linux on my linux workstation. I am able to connect to my database but unable to start forms designer. Its giving me this error FRM-91111 : Internal error. Windows system startup failure. FRM-10039 : Unable to start f

  • Download Music Info crashes

    I am using Xperia Z3. The download music info always crash when it reaches about 200/300 songs. However, when I have only 1 song in the list, it downloaded successfully. So the problem is the songs I have in the storage or the Walkman? Solved! Go to