Pbm in creating a personnel number using 'HR_MAINTAIN_MASTERDATA'  Bapi

HI experts,
I have a Z FM which is used to create a new employee personnel number.  Im getting the following details as input to this FM and these are passed to the 'HR_MAINTAIN_MASTERDATA' which is called inside the Z FM.
Infotype 0000 - Begda
Infotype 0001 - position,  personnel area,  emp group,  emp subgroup,  personnel sub area
Infotype 0002 - last name,  name prefix, first name,  nick name,  initials, forms-of-adress key, date of birth
All these input values are passed in the relevant input parameters as well as to the input table 'PROPOSED_VALUES parameter of the 'HR_MAINTAIN_MASTERDATA' FM.
But this FM is not generating a personnel number. It returns the following error.
T ID                   NUM MESSAGE
E 00                   058 Entry 10 0  does not exist in  (check entry)
What is the reason for this error?.  can the experts help me out to overcome this issue?
Regards,
Shanthi

Hi,
When i executed the same FM in one of my client's system, it generates a personnel number.
My requirement is to try the same in my IDES. So i used the same FM in my IDES. But it generates this error in my IDES. I have given the values from IT 0000, 0001 and 0002.
Regards,
Shanthi
Edited by: Shanthi on Oct 23, 2009 2:11 PM

Similar Messages

  • Create a Personnel number

    Could you describe me how to create a PERSONNEL NUMBER.
    I will use it in PM (plant maintenance)
    Laure

    hai
    to create a personnel number there are two ways
    1. let the system generate
    2. you give manually
    these two ways are defined in IMG
    and in that u also specify which number ranges are system generated and which are manually given
    so then when u di the hiring action  these numbers will be alloted
    you use a feature called NUMKR  in which internal number ranges(system generated) are used in which scenario  and manual ones in which scenario
    regards
    nalla

  • Creating GRN by the use of BAPI

    Dear All,
    I want to create, GRN by the use of BAPI.
    For this i am using BAPI  BAPI_GOODSMVT_CREATE
    I have passed all the required field in this BAPI.
    System without any error generating GRN Number,
    When i am looking this GRN NUmber in MB03 Transaction of material document display. The system showing the error that this grn number does not exist.
    Please provide solution.
    With Regards
    Shantanu Modi

    use BAPI_TRANSACTION_COMMIT after calling the BAPI.
    or simply use COMMIT WORK
    http://www.sap-img.com/fu018.htm
    http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
    Cheers
    VJ
    Message was edited by: Vijayendra  Rao

  • Create a Purchase order using the BAPI using the data in the XML file.

    Hello Gurus,
    here is the scenario can anyone help me how to proceed explaining the procedure?
    Create a Purchase order using the BAPI using the data in the XML file.
    comprehensive explanations are appreciated.
    thanks in advance.

    hi,
      first use fm "bapi_po_create".
      then use fm "BAPI_ACC_GL_POSTING_POST"
    The demo environment was made with real business scenario in mind, but following subjects need to be addressed in a live implementation:
    •     No exceptions and error handling is implemented, except the order rejection (e.g. partly delivery);
    •     In Navision both XML Ports and the XML DOM has been used to integrate with SAP XI, because XML ports has some drawbacks regarding to Namespaces in XML Documents (mandatory in SAP XI);
    •     A minimum of SAP and Navision customization is required to implement this solution. (e.g. user exit in SAP, Navision XML DOM).

  • Create a work order using the BAPI for IW31

    Hi,
          I want to create a work order using the BAPI for IW31 tr. can any one help me with the program description.
    Full points will be awarded for the useful answers.
    Thanks and regards,
    Sunil

    hi,
      first use fm "bapi_po_create".
      then use fm "BAPI_ACC_GL_POSTING_POST"
    The demo environment was made with real business scenario in mind, but following subjects need to be addressed in a live implementation:
    •     No exceptions and error handling is implemented, except the order rejection (e.g. partly delivery);
    •     In Navision both XML Ports and the XML DOM has been used to integrate with SAP XI, because XML ports has some drawbacks regarding to Namespaces in XML Documents (mandatory in SAP XI);
    •     A minimum of SAP and Navision customization is required to implement this solution. (e.g. user exit in SAP, Navision XML DOM).

  • How to create a new material using a BAPI?

    Dear friends,
    How to create a new material using a BAPI? I mean without knowing the material no., how to just create a new one using function modules(BAPI)?
    Thanks a lot!

    Dear,
    New material can be created by using a BAPI_MATERIAL_SAVEDATA.
    More over their are lots of threads available on SDN on the question you raised so kindly search the SDN before posting any thread .
    Cheers
    fareed

  • Is It Possible To Create Different Personnel Number For One Employee

    HI Experts,
            My Client need to get Different Personnel number for one employee,i.e for Trainee one Personnel number need to generate and same person when moving from Trainee to Probation another new personnel number should generate and again when same person move from Probation to Permanent another new personnel number should generate.
    1. How to generate 3 different Personnel number for One employee?
    2. How these 3 Personnel number should get linked, if want to get report for this one employee?
    Kindly help me.
    Thanks,
    Lavanya
    Message was edited by: Sikindar A

    Hi Lavanya,
    Your requirement can be fulfilled but not recommended...
    As you want to generate different position number at different stage of employment....
    i.e Trainee to Probation to Permanent...
    First go for Trainee Position Hiring ....  and generate first Number Say 5000000
    Then suppose employee complete training after 1 Yrs.. then again go PA 40 enter date as 01.01.2015 say... & execute... & give Ref. Personnel Number (5000000) & different position number... this time...
    This will link up all the personnel date from previous hiring record... & as per your need you can modify it.... Finally one more number be generated....
    Similarly,, you can do for Permanent employee...
    Once training or Probation period gets completed you can lock/ separate that employee  number
    Report ...
    You can get necessary details in IT0031...& with different Position numbers which you will using at different stage of hiring...
    Hope this should sort your issue..
    Regards,
    Veeram

  • Creating the Sales Order using the bapi BAPI_SALESORDER_CREATEFROMDAT2

    Hi,
    My problem is , i have created one module pool program for accelerating the Sales Order creation.
    I am using the bapi BAPI_SALESORDER_CREATEFROMDAT2 for sales order creation. After executing the program
    bapi is given an errot that, incomplete sales order document is saved.
    Can any body tell me plz what are the necessary fields i need to take in the header and item level , so that the complete
    document will be saved through BAPI.
    <removed_by_moderator>
    Thanks
    Edited by: Julius Bussche on Jan 11, 2010 12:09 PM

    TABLES: VBAK,                             "Sales Document: Header Data
            VBAP.                             "Sales Document: Item Data
    *************************************WORK AREA DECELERATION************************
    DATA: BEGIN OF WA_HEADER,
            LI    TYPE I,                      "LINE TYPE
            AUART TYPE VBAK-AUART,             "Sales Document Type
            VKORG TYPE VBAK-VKORG,             "Sales Organization
            VTWEG TYPE VBAK-VTWEG,             "Distribution Channel
            SPART TYPE VBAK-SPART,             "Division
            KUNNR TYPE BAPIPARNR-PARTN_NUMB,   "Customer number
          END OF WA_HEADER.
    DATA: BEGIN OF WA_ITEM,
            LI     TYPE I,
            MATNR  TYPE VBAP-MATNR,            "MATERIAL NUMBER
            ZMENG  TYPE VBAP-ZMENG,           "QUANTITY
          END OF WA_ITEM.
    ***********************************INTERNAL TABLE DECELERATION***************************************
    DATA: IT_HEADER      LIKE TABLE OF WA_HEADER WITH HEADER LINE.                   "IT FOR HEADER
    DATA: IT_ITEM        LIKE TABLE OF WA_ITEM WITH HEADER LINE.                     "IT FOR ITEM
    DATA: IT             LIKE VBAK OCCURS 0 WITH HEADER LINE.
    ***************************SALES ORDER INTERNAL TABLE DECELERATION********************************
    DATA:
          HEADER  TYPE TABLE OF BAPISDHEAD WITH HEADER LINE,        "SALES HEADER DATA
          ITEMS   TYPE TABLE OF BAPIITEMIN WITH HEADER LINE,         "SALES ITEM DATA
          PARTNERS TYPE TABLE OF BAPIPARTNR WITH HEADER LINE.      "SALLES PARTNERS
    ***********************************DYNAMIC FIEL PATH GETTING DECELERATION************************
    DATA : HL_FIELD_NAME TYPE DYNPREAD-FIELDNAME VALUE 'G_P_SPATH',              "SCREEN FIELD NAME
           HL_FILE_NAME  TYPE IBIPPARMS-PATH VALUE 'G_P_SPATH',                  "Local file for upload/download
           IL_FIELD_NAME TYPE DYNPREAD-FIELDNAME VALUE 'G_P_EPATH',              "SCREEN FIELD NAME
           IL_FILE_NAME  TYPE IBIPPARMS-PATH VALUE 'G_P_EPATH',                  "Local file for upload/download
           FL_FIELD_NAME TYPE DYNPREAD-FIELDNAME VALUE 'G_P_EPATH',              "SCREEN FIELD NAME
           FL_FILE_NAME  TYPE IBIPPARMS-PATH VALUE 'G_P_EPATH'.                  "Local file for upload/download
    DATA : CTR TYPE I .
    DATA : CTR2 TYPE STRING.
    DATA : CTR1 TYPE STRING.
    Sales document number
    DATA : L_VBELN LIKE BAPIVBELN-VBELN.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE T1.
    SELECTION-SCREEN : SKIP.
    PARAMETER        : P_HPATH TYPE STRING.
    PARAMETER        : P_IPATH TYPE STRING.
    SELECTION-SCREEN : SKIP.
    SELECTION-SCREEN : END OF BLOCK B1.
    SELECTION-SCREEN : BEGIN OF BLOCK B2 WITH FRAME TITLE T2.
    SELECTION-SCREEN : SKIP.
    SELECTION-SCREEN : BEGIN OF LINE.
    SELECTION-SCREEN : PUSHBUTTON 10(14) UPLOAD USER-COMMAND CLICK1.
    SELECTION-SCREEN : END OF LINE.
    SELECTION-SCREEN   END OF BLOCK B2.
    ******************************************INITIALIZATION.***************************************************
    INITIALIZATION.
      T1       = 'Putchase Order Source File Path'.
      T2       = 'Push Button'.
      UPLOAD   = 'Upload'.
    *******************************************AT SELECTION SCREE EVENT********************************************
    AT SELECTION-SCREEN.
      CASE SY-UCOMM.
        WHEN 'CLICK1'.
          IF P_HPATH IS INITIAL AND P_IPATH IS INITIAL.      "CHECKING BTHE THE TEXT BOX
            MESSAGE I009.
          ELSE.
            PERFORM SELECT.                                  "CALLING THE SELECT SUBROUTINE
          ENDIF.
        WHEN OTHERS.
          MESSAGE 'PRESS FORM BUTTON' TYPE 'I'.      "WHEN EXECUTE BUTTON IS PRESSED
      ENDCASE.
    ***********************************GETTING HEADER FIEL PATH*******************************************
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_HPATH.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          PROGRAM_NAME  = SYST-CPROG
          DYNPRO_NUMBER = SYST-DYNNR
          FIELD_NAME    = HL_FIELD_NAME
        IMPORTING
          FILE_NAME     = HL_FILE_NAME.
      P_HPATH = HL_FILE_NAME.
    ***********************************GETTING ITEM FIEL PATH*******************************************
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_IPATH.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          PROGRAM_NAME  = SYST-CPROG
          DYNPRO_NUMBER = SYST-DYNNR
          FIELD_NAME    = IL_FIELD_NAME
        IMPORTING
          FILE_NAME     = IL_FILE_NAME.
      P_IPATH = IL_FILE_NAME.
    START-OF-SELECTION.
    *&      Form  SELECT
          text
    -->  p1        text
    <--  p2        text
    FORM SELECT .
      CALL FUNCTION 'GUI_UPLOAD'             " function resposible to get the local flat
          EXPORTING                          " and upload it in a internal table
            FILENAME            = P_HPATH
            FILETYPE            = 'ASC'
            HAS_FIELD_SEPARATOR = '#'
          TABLES
            DATA_TAB            = IT_HEADER.
      CALL FUNCTION 'GUI_UPLOAD'             " function resposible to get the local flat
          EXPORTING                          " and upload it in a internal table
            FILENAME            = P_IPATH
            FILETYPE            = 'ASC'
            HAS_FIELD_SEPARATOR = '#'
          TABLES
            DATA_TAB            = IT_ITEM.
      LOOP AT IT_HEADER.
        Initialize Header values
        HEADER-DOC_TYPE     =  IT_HEADER-AUART.
        HEADER-SALES_ORG    =  IT_HEADER-VKORG.
        HEADER-DISTR_CHAN   =  IT_HEADER-VTWEG.
        HEADER-DIVISION     =  IT_HEADER-SPART.
        APPEND HEADER.
        PARTNERS-PARTN_ROLE = 'WE'.
        PARTNERS-PARTN_NUMB = IT_HEADER-KUNNR.
        APPEND PARTNERS.
        CTR = 10.
        LOOP AT IT_ITEM WHERE LI = IT_HEADER-LI.
          CTR2 = CTR.
          CONCATENATE '0000' CTR2 INTO CTR1.
    ***Initialize Item values
         ITEMS-ITM_NUMBER   = IT_ITEM-ITEM.
          ITEMS-ITM_NUMBER   = CTR1.
          ITEMS-MATERIAL     = IT_ITEM-MATNR.
          ITEMS-REQ_QTY   = IT_ITEM-ZMENG.
          APPEND ITEMS.
          CTR = CTR + 10.
        ENDLOOP.
        CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
          EXPORTING
            ORDER_HEADER_IN = HEADER                      "SALES HEADER DATA
          IMPORTING
            SALESDOCUMENT   = L_VBELN                        "RETRIEVED SALES DOCUMENT NUMBER
          TABLES
            ORDER_ITEMS_IN  = ITEMS                       "SALES ITEM LEVEL DATA
            ORDER_PARTNERS  = PARTNERS.                    "SAKES PARTNERS
        APPEND L_VBELN TO IT.
        COMMIT WORK AND WAIT.
        CLEAR : HEADER , ITEMS[] ,PARTNERS,CTR,CTR1,CTR2.
        REFRESH : ITEMS.
      ENDLOOP.
      IF IT[] IS NOT INITIAL.
        LOOP AT IT.
          WRITE: / 'SALES ORDER', IT-VBELN , 'CREATED'.
        ENDLOOP.
        LEAVE TO LIST-PROCESSING.
        SET PF-STATUS SPACE.
      ELSE.
        MESSAGE I044.
      ENDIF .
    ENDFORM.                    " SELECT

  • How to Create an FI document using a BAPI

    Hi,
    I have a requirement as under(for a report creation):
    I need get all the Account numbers(from table BSIS) depending on the Posting date(BUDAT) and the Price difference accounts(HKONT) for the previous month(say 1/1 to 31/1).
    After I get all the details from BSIS, I will have to get the Material Number(MATNR), Plant(WERKS), Local Currency, Foreign Currency, Material Quantity and etc., from BSEG(by comparing the Accounting Document Number) which is common in both the tables BSIS and BSEG.
    Now, for all these docs, I need to create a single FI document(that has to cover all these documents) by using the Document type,Posting date and Reclassed Account number and some text has to be inserted into the Item text field.
    I came to know that, we have to use a BAPI inorder for this purpose, I could not get the exact one.
    Please help me in this regard by giving your valuable inputs.
    Regards,
    Vishnu.

    Continue..........
      accountgl-itemno_acc = '2'.
          accountgl-gl_account = 'WRITE UR GL NO'.
          accountgl-comp_code = '1000'.
          accountgl-pstng_date = itab-budat.
          accountgl-doc_type = 'SA'.
          accountgl-profit_ctr = itab-prctr.
          accountgl-alloc_nmbr = itab-zuonr.
          accountgl-po_number  = itab-ebeln.
          accountgl-po_item = itab-ebelp.
    *    accountgL-DE_CRE_IND = 'S'.
          APPEND accountgl.
          currencyamount-itemno_acc = '2'.
          currencyamount-currency = 'USD'.
          currencyamount-amt_doccur = itab-grval.
          APPEND currencyamount.
    *    zsched_line = zsched_line + 1.
    ***line itme 2
          accountgl-itemno_acc = '1'.
          accountgl-gl_account = 'YOUR GL NO'.
          accountgl-comp_code = '1000'.
          accountgl-pstng_date = itab-budat.
          accountgl-doc_type = 'SA'.
          accountgl-profit_ctr = itab-prctr.
          accountgl-alloc_nmbr = itab-zuonr.
    *    accountgl-po_number  = itab-ebeln.
          accountgl-po_item = itab-ebelp.
    *    accountgL-DE_CRE_IND = 'H'.
          APPEND accountgl.
          currencyamount-itemno_acc = '1'.
          currencyamount-currency = 'USD'.
          itab-grval = itab-grval * -1.
          currencyamount-amt_doccur = itab-grval.
          APPEND currencyamount.
    ELSE.
          documentheader-username = sy-uname.
          CONCATENATE itab-mblnr itab-mjahr INTO documentheader-header_txt.
          documentheader-comp_code = '1000'.
          documentheader-doc_date = itab-bldat.
          documentheader-pstng_date = itab-budat.
          documentheader-doc_type = 'SA'.
          documentheader-ref_doc_no = itab-xblnr.
    *    documentheader-BUS_ACT = 'F-02'.

  • Which FM to use while creating a Profit Center using LSMW BAPI

    Which FM to use while creating a Profit Center using LSMW using BAPI: BUS0015

    Hi,
    For creating Profit centre using LSMW bapi method.
    You need to give this values in the 1st step of LSMW.
    Business Object       BUS0015
    Method                    CREATE                                    Create
    Message Type         PROFITCENTER_CREATE          Create profit center
    Basic Type              PROFITCENTER_CREATE01      Create Profit Center
    In We20 port creation use process code as BAPI
    Regards,
    Shan

  • How to Create a Personnel Number

    Hi To All,
    We need to create personnel numbers in SAP for entering Mechanics time, there is a tcode that allow us to do that?
    thanks
    C.

    Dear,
    PA03                 Maintain Personnel Control Record
    PA10                 Personnel File
    PA20                 Display HR Master Data
    PA30                 Maintain HR Master Data To create a new record.
    PA40                 Personnel Actions
    Regards
    S Mangalraj

  • Using BAPI to create Personnel Number.

    Greetings SAP Gurus,
    I have a requirement to create and fill  infotypes 0000, 0001 and 0002 from a legacy system flat file. While searching the forums i have seen a few posts recommending the use of HR_MAINTAIN_MASTERDATA. Will this actually create a Personnel Number? If not are there any HR BAPIs that will?
    My plan right now is to run a BDC for infotype 0000, use HR_MAINTAIN_MASTERDATA to fill most of the Infotype 0001, use BAPI_PERSDATA_CREATE to fill most of Infotype 0002 and finally use HR_INFOTYPE_OPERATION to fill in any fields not covered by the previous BAPI and FM. Is there a better way to approach this problem?
    Thanks for your time and knowledge,
    Alex ODell

    there is a number range object for personnel numbers, transaction PA04.
    the ranges can be set externally or internally. if you do not provide a personnel number with the hiring action (subtype of infotype 0000) the pernr is taken from the internal part of the number range.
    it is recommanded to create the action type with infotype order 0000 -> 0002 -> 0001 because there are fields ENAME and SNAME in infotype 0001filled automatically from infotype 0002.
    infotype 0003 is created automatically in the background as well as objects P (Person) and CP (Central Person) with relations in infotypes 1000 and 1001.

  • How to create a Sales order with ref. with serial number using BAPI

    Hi Gurus...
    I have a requirement where,  i need to create an order with reference to serial number using a BAPI.
    The inputs will be the Order type..Sales area..Sales office..Sales group..Sold-To-party..Material number...Serial number...
    When i create the order using VA01 the configuration data will be automatically copied from the BUMP order which will have all the required information.
    But to create using a BAPI, i am struck ed..Please help
    Thanks in advance..
    Srinu

    You can use this BAPI.
    You can pass ITM_NUMBER to the ORDER_ITEMS_IN parameter. I think this will act as serial number.
    Regards,
    Murali

  • How to set Q0000-RFPNR using HR_MAINTAIN_MASTERDATA

    Greetings all!
    I am using HR_MAINTAIN_MASTERDATA to do a new benefits participant into the system.  It works fine until I need to find a reference personnel number (using the SSN of the record I'm trying to setup) and set it on the IT0000 screen during the action.  I'm creating a table of proposed values and using "Q0000-RFPNR" as the field name and the pernr I find as the value:
    lv_proposed_value-infty = gc_infty0000_action.
    lv_proposed_value-fname = 'Q0000-RFPNR'.
    lv_proposed_value-fval  = lv_refnr.
    append lv_proposed_value to lt_proposed_values.
    However, when HR_MAINTAIN_MASTERDATA executes I get an error saying that the "Social Insurance Number is already assigned to another employee".  Of course I know this but I need it to create the participant anyway with that other pernr in Q0000-RFPNR.
    I don't know if this matters but the field on IT0000 (Q0000-RFPNR) is a SELECT-OPTIONS type of field so I don't know if that will require filling it out differently or not.
    Any suggestions?

    The short answer is "you can't" so I'm having to revert back to BDC.

  • How to Generate a new PERNR using  HR_MAINTAIN_MASTERDATA in WD?

    Hi Experts;
    Can I get some sample code for creating a new PERNR using HR_MAINTAIN_MASTERDATA  FM. ???!!!
    I've created  a  some input fields in webdynpro using infotype PA0002 and depending upon those  fields I want to generate a PERNR number .
    Plz help me with some sample code ..
    Thanks in Adv.
    Bunty

    what am I missing in the below code ??? is the code correct ??? Using the below code how will I get the new PERNR value ??
    method ONACTIONSAVE .
        DATA lo_nd_final_node TYPE REF TO if_wd_context_node.
        DATA lo_el_final_node TYPE REF TO if_wd_context_element.
        DATA ls_final_node TYPE wd_this->element_final_node.
          DATA lv_inits LIKE ls_final_node-inits.
          DATA lv_nachn LIKE ls_final_node-nachn.
          DATA lv_vorna LIKE ls_final_node-vorna.
           DATA lv_titel LIKE ls_final_node-titel.
           DATA lv_gesch LIKE ls_final_node-gesch.
           DATA lv_natio LIKE ls_final_node-natio.
           DATA lv_famst LIKE ls_final_node-famst.
             DATA lv_gbpas LIKE ls_final_node-gbpas.
             DATA lv_stras LIKE ls_final_node-stras.
              DATA lv_ort01 LIKE ls_final_node-ort01.
              DATA lv_pstlz LIKE ls_final_node-pstlz.
               DATA lv_telnr LIKE ls_final_node-telnr.
              DATA lv_locat LIKE ls_final_node-locat.
                DATA lv_usrid LIKE ls_final_node-usrid.
    *   navigate from <CONTEXT> to <FINAL_NODE> via lead selection
        lo_nd_final_node = wd_context->get_child_node( name = wd_this->wdctx_final_node ).
    *   get element via lead selection
        lo_el_final_node = lo_nd_final_node->get_element(  ).
    *   get single attribute
        lo_el_final_node->get_attribute(
          EXPORTING
            name =  `INITS`
          IMPORTING
            value = lv_inits ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `NACHN`
        IMPORTING
          value = lv_nachn ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `VORNA`
        IMPORTING
          value = lv_vorna ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `TITEL`
        IMPORTING
          value = lv_titel ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `GESCH`
        IMPORTING
          value = lv_gesch ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `NATIO`
        IMPORTING
          value = lv_natio ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `FAMST`
        IMPORTING
          value = lv_famst ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `GBPAS`
        IMPORTING
          value = lv_gbpas ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `STRAS`
        IMPORTING
          value = lv_stras ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `ORT01`
        IMPORTING
          value = lv_ort01 ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `PSTLZ`
        IMPORTING
          value = lv_pstlz ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `LAND1`
        IMPORTING
          value = lv_land1 ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `LOCAT`
        IMPORTING
          value = lv_locat ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `TELNR`
        IMPORTING
          value = lv_telnr ).
    * get single attribute
      lo_el_final_node->get_attribute(
        EXPORTING
          name =  `USRID`
        IMPORTING
          value = lv_usrid ).
    DATA lv_new_pernr LIKE ls_final_node-new_pernr.
    * get single attribute
      lo_el_final_node->SET_attribute(
        EXPORTING
          name =  `NEW_PERNR`
        IMPORTING
          value = lv_new_pernr ).
    CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
    * EXPORTING
    *   PERNR                    = '00000000'
    *   MASSN                    =
    *   ACTIO                    = 'INS'
    *   TCLAS                    = 'A'
    *   BEGDA                    = SY-DATUM
    *   ENDDA                    = '99991231'
    *   OBJPS                    =
    *   SEQNR                    =
    *   SPRPS                    =
    *   SUBTY                    =
    *   WERKS                    =
    *   PERSG                    =
    *   PERSK                    =
    *   PLANS                    =
    *   DIALOG_MODE              = '0'
    *   LUW_MODE                 = '1'
    *   NO_EXISTENCE_CHECK       = ' '
    *   NO_ENQUEUE               = ' '
    * IMPORTING
    *   RETURN                   =
    *   RETURN1                  =
    *   HR_RETURN                =
      TABLES
        proposed_values          =
    *   MODIFIED_KEYS            =
    endmethod.

Maybe you are looking for

  • Can we set up a forum for Security related issues?

    I know many of us think security is a Windows related issue, but from time to time there are security issues that may come up. I had a question so I looked and couldn't find a forum, so I posted in one of the OS X 10.6 sub forums. Thanks!

  • Connecting Sony DCR-TRV330E (Digital8) to iMac

    Hi, I wanted to capture some old video I shot years ago on my Sony DCR-TRV330E (Digital8) camera. I originally used this on a PC with the supplied FireWire card and all was well. I needed to buy a new Firewire 800 cable (which I did today) to try thi

  • What is used in place of skeleton interface?

    So in Java 2 SDK, Standard Edition, v 1.2 the skeleton interface was deprecated - i.e. should not be used since it will eventually be removed. So what on the server side allows for the marshalling and unmarshalling of objects? Is it RemoteObject or R

  • Modvat Output

    Dear All, Excise invoice is generated at the time of Billing doc creation automatically, when we cancel billing doc both accounting as well as excise doc gets reversed . Again when we create billing document only accounting document is generated but

  • Where are Smart Mailbox settings?

    Hello I set up a large number of Smart Mailboxes on my Macbook and they synced over to my iMac. Now, however, they have disappeared from the Macbook and i am getting a prompt to delete them on the iMac when it tries to sync. Can anyone tell me where