Bapi to update new position id

Hi
I'm trying to use the Bapi BAPI_HRMASTER_SAVE_REPL_MULT &
BAPI_ORGMASTER_SAVE_REPL_MULT
to create a new position id for already existing Organisation(O) and Position(S)
The scenario is like this
I'm having a organisation(o) and postion (s) for which i have to assign an employee (p) through Bapi but not by using any FM. So whenever i tried to put an command U to update the field it was not updating the field but when i tried with the command I then it was deleting the related employee id which i had declared over there to insert that position.
So let me know what are the other BAPI to create a new position ID or else plz provide me the necessary parameters to be passed for the same BAPI here i'm providing you the parameters which i had already passed
HR_OBJECT_HEADER 
PLAN_VER                       01
OBJ_TYPE                       S
OBJ_ID                         50000519
PROOF                          X
OPERATOR                       U
HR_INFOTYPE_HEADER
PLAN_VER                       01
OBJ_TYPE                       P
OBJ_ID                         00000013
INFOTYPE                       1001
SUBTYPE
FROM_DATE                      16.01.2008
TO_DATE                        31.12.9999
PD_OBJECT
CLIENT                         100
PLAN_VER                       01
OBJ_TYPE                       P
OBJ_ID                         00000013
INFOTYPE                       1001
SUBTYPE
PL_STATUS                      1
PRIORITY
FROM_DATE                      16.01.2008
TO_DATE                        31.12.9999
LANGU                          EN
DUMMY_9
IT_REC_NO                      000
CHANGED_ON
CHANGED_BY
REASON
HIST_FLAG
IT_TXT_MOD                     00000000
OBJ_ABB                        JACKSON
OBJ_NAME                       JACKSON BRUCE
DELIM_DATE
LANGU_ISO                      EN
I had cross verified with different different scenarios so plz check it and provide me a suitable solution
Regards
Krishna

Ramesh
I tried with the same parameters u had given to me and i got the error messages as follows
TYPE                           E
ID                             5-
NUMBER                         106
MESSAGE                        Database update not possible, data record
LOG_NO
LOG_MSG_NO                     000000
MESSAGE_V1                        01S 500006721001A008   2007010199991231
MESSAGE_V2
MESSAGE_V3
MESSAGE_V4
PARAMETER                      HR_OBJECT_HEADER
ROW                                    1
FIELD
SYSTEM                         RFCOUT
2nd msg
TYPE                           I
ID                             5-
NUMBER                         106
MESSAGE                        Database update not possible, data record
LOG_NO
LOG_MSG_NO                     000000
MESSAGE_V1                        01S 500006721001A008   2007010199991231
MESSAGE_V2
MESSAGE_V3
MESSAGE_V4
PARAMETER                      HR_OBJECT_HEADER
ROW                                    1
FIELD
SYSTEM                         RFCOUT
3rd msg
TYPE                           S
ID                             5A
NUMBER                         043
MESSAGE                        For infotype 1001 in status , function INSE
LOG_NO
LOG_MSG_NO                     000000
MESSAGE_V1                     1001
MESSAGE_V2
MESSAGE_V3                     INSE
MESSAGE_V4
PARAMETER                      HR_OBJECT_HEADER
ROW                                    1
FIELD
SYSTEM                         RFCOUT

Similar Messages

  • BAPI to update Employee position?

    Hi All,
    what is the BAPI to update an employee's job title/position.
    Thanks
    Thruna
    Moderator message: please (re)search yourself before asking.
    Edited by: Thomas Zloch on Nov 4, 2010 10:51 PM

    very nice explaination on Bapis is given on this link please check.
    without so much technical stuff and in simple terms u can say. They are Function Modules only that they are SAP provided Remote function calls. meaning. Function modules can be used only within SAP, where as Bapis can be used from outside SAP,thru external applications.
    if u want to understand using an HR example.
    consider ur company has Intranet portal or any other front end which all the employees are comfortable using. but the company wants to use SAP. and they r not comfortable with SAP interface.they want to continue using their own old portal for various reasons.
    in such scenarios, although front end is different portal, it connects to SAP in the back end. the employers do not know that whenever they r changing their phone no/email id etc in thier portal in back end its getting changed in his employee master in IT0105 in SAP.
    So how are tey able to acheive this? inputing data in different system but updating SAP system? well thats where BAPIS come into picture. SAP has exposed certain functions to be accessed remotely thru external systems..for such functions it provided BAPIS. in this case of communication SAP provided
    BAPI_EMPLCOMM_CHANGE Change communication
    BAPI_EMPLCOMM_CREATE Create communication
    BAPI_EMPLCOMM_DELETE Delete communication
    BAPI_EMPLCOMM_DELIMIT Delimit communications
    BAPI_EMPLCOMM_GETDETAIL Read communication This is just an example.
    go to TCODE: BAPI and check out all the bapis.
    go to TCODE: SE37 give a bapi name and read documentations/see source code/etc.
    Bapis manipulate SAP business objects,thru API methods.
    with this descriptions as a base, try making sense out of what BAPI is by reading above link and other material.and come back with more precise quesions.
    To use bapis u require different authorisations..usually authorisation object s_rfc is given
    inputs given by hurser
    this may be helpful
    sikindar

  • Creating new positions in deliveries

    Hello,
    I need Function Module or BAPI to create new positions in deliveries (vl02n). Could you help me please to find something useful?
    Regards

    Hi,
    New position in delivery is a new row on the first screen after enter vl03n. Delivery header is in LIKP (VBELN = delivery number), positions are in LIPS (VBELN, POSNR - position in delivery).
    I have problem as below:
    At first I have delivery with one position (it is created by hand, the is only one row in LIPS related with delivery), next I have to add the second position and I don't know how...

  • BAPI to Update the OA/PO with the new partners from vendor masters

    Hello All,
    We got a requirement to update the Contract or purchase order with new partners from vendor  master.
    In brief the partner information of a  PO when created with reference to a contract  will be reflected from the contract but not from Vendor Master partners .So when the vendor master got changed after the creation of the Contract the partner information in the PO is not in synchronous with Vendor Master partnes.
    Hence please help us with any BAPI to update the PO partners with Vendor masters .
    Regards
    Kalyani

    MAP2e_lfa1_to_bapivendor_04
    MAP2e_lfa1_to_bapivendor_05
    will be helpful

  • Creating a new position and updating IT 1028 using HCM processes and forms

    I have to create a new position and update the related infotypes using the design time framework of HCM processes and forms. The problem I am facing is the info type 1028 is not a part of the de coupled infotype framework and does not appear in the service fields list. How can I update the infotype 1028? I was thinking of updating it using the FLUSH method of the class implementing the ADV services interface IF_HRASR00GEN_SERVICE_ADVANCED by calling the function module RH_INSERT_INFTY. But, how do I get the position ID created? Is there any other way of achieving this? Please help as soon as possible.

    HI
    Create one Function Module to return all the vacant positions and load that in a drop down.
    For IT1028 you have to update via the RH_INSERT_INFTY.
    Kind Regards,
    Mukesh

  • Update Measurement Point with new Position

    Hi,
    I need to update existing measuring points with new measurement positions. I was looking at FM "MEASUREM_POINT_RFC_SINGLE_002", but don't know how to pass the new Measurement Position to that.
    Can anybody please let me know how has already implemented this?
    Thanks.

    I was looking at FM 'MEASUREM_POINT_DIALOG_SINGLE' to update Masurement Point.
    I wrote the code like this. But it's not updating the Measurement Point with the new position.
    Not sure if I missed anything.
    Pelase help.
    Thanks.
    PARAMETERS: p_point type imrc_point,
                             p_psort type imrc_psort.
    DATA: l_rimr03 type rimr03,
           l_ind(1) type c.
      l_rimr03-mandt = sy-mandt.
    l_rimr03-point = p_point.
    l_rimr03-psort = p_psort.
    BREAK-POINT.
    CALL FUNCTION 'MEASUREM_POINT_DIALOG_SINGLE'
    EXPORTING
       ACTIVITY_TYPE                  = '2'
       MEASUREMENT_POINT              = p_point
       NO_DIALOG                      = 'X'
       IS_RIMR03                      = l_rimr03
    IMPORTING
       INDICATOR_UPDATE               = l_ind
    EXCEPTIONS
       IMPTT_NOT_FOUND                = 1
       TYPE_NOT_FOUND                 = 2
       OBJECT_NOT_FOUND               = 3
       NO_AUTHORITY                   = 4
       POINT_IS_REFMP                 = 5
       POINT_IS_NOT_REFMP             = 6
       OTHERS                         = 7

  • Creating new Positions using RH_CREATE_POSITIONS?

    Hi
    I tried to use the RFC rh_create_positions to create new positions using C#. But
    i get an error:"Screen output without connection to user".
    Well is there any work around for it or is there any other RFC/BAPI i can use to create positions under an org unit.
    any suggestions are welcome!!!!!
    thanks

    Yes, the BAPI doesn't create the position ID.  You need three tables to be populated for update
    1. hr_object_header - one entry for entire update
    2. hr_infotype_header - one entry for each infotype record update
    3. pd_object - required if you have IT1000 in hr_infotype_header
    4. pd_object_relationships - required if you have IT1001 in hr_infotype header
    Similarly all other tables need update based on records on hr_infotype_header.
    Regards

  • BAPI to update a single characteristic in IE02

    Hi,
          I am trying to update a single characteristic in IE02.I am able to do that with the BAPI "BAPI_OBJCL_CHANGE",but this BAPI is updating only 1 characteristic and is initializing all the remaining characteristcs.
          Any pointers on this is highly appreciable.
    Navin

    Hi,
    the documentation of the bapi says:
    Caution
    This BAPI only changes the parameters of an existing assignment (or creates a whole new assignment), but it does not delete the assignment to a class and replace it with an assignment to another class. If you want to reassign an object, the old assignments must be read with BAPI_OBJCL_GETCLASSES and deleted with BAPI_OBJCL_DELETE, then the new assignments must be created with BAPI_OBJCL_CREATE.
    The information transferred by this BAPI replaces all old information. An empty field means "delete entry!", not "no change".
    This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.
    You can only use this BAPI for objects that are not classes!
    This BAPI only processes assigned values for classification - not for configuration
    so i guess you have to pass all information you do not want to lose.
    i´ve  found this as well:
    http://www.sapfans.com/forums/viewtopic.php?t=125320
    Best regards.
    Edited by: Pablo Casamayor on Jan 2, 2009 7:08 PM

  • Is there any BAPI to update LFA1/LFB1?

    Hi, Expert:
    I wrote one customer program to upate the following two fields. Is there any BAPI I can use, because It's master data. we need create CHANGE POINTERS.  we can't directly update them.
    LFA1-SPERQ (2)  Function That Will Be Blocked
    LFB1-ZAHLS (1) - Block key for payment
    Regards,
    Zhang

    Hi experts, I have to modify the master data also, but, the scenario for me is diferent. I have to update the withholding - tax information. I need to create new rows , and also modify others. I know that´s information is in the LFBW table, but i can´t find any bapi to update it. Any Idea?
    Thanks in advance.

  • Dynamically move a tab to a new position

    I have a tabstrip with 4 tabs.
    Depending on some user settings or other variables, I would like to move one of the tabs to a new position.
    I tried this in WDDOMODIFYVIEW, using the classes cl_wd_tabstrip and cl_wd_tab.
    The only solution I found to move the tab is to remove the tab and to add it again at a new position afterwards.
    lr_tab = lr_tabstrip->remove_tab( id = 'TAB4' ).
    IF lr_tab IS BOUND.
      lr_tabstrip->add_tab( the_tab = lr_tab  position = 2 ).
    ENDIF.
    This code works, but isn't there a possibility to do it without REMOVE?
    Furthermore, it seems that there is no easy solution to find out the position of a given tab, or can somebody tell me one?
    Thx and regards,
    D.

    Hi,
    Any updates ? Have you found the solution ?

  • BAPI_PO_CHANGE ADD NEW POSITIONS WITH AGREEMENT REFERENCE ACCOUNT ASSIG. U

    Hello, we are trying to add new positions to a MM orders
    using "BAPI_PO_CHANGE". The positions take into account an agreement number as reference and executing it, the bapi overwrites the value of the account asingment and sets 'U' instead of blank which is the value set as parameter in the field POITEM-ACCTASSCAT and shows the error message ME069 unknown account assignment.
    I tried to set in the bapi the value '*', for example, and the bapi returns correctly the message: This value doesn't exist as an account assingment category. I did this to confirm that the bapi substitutes the value set as parameter for the U value brought from the agreement. I need the same functionality but setting blank. I tried to create a blank entry as account assignment category but the bapi doesn't recogniced it.
    I have tried to code in the next points:
    Field exit KNTTP
    Includes ZXM06U41, ZXFMYU03, zxmewu09 and ZXMEWU11.
    In none of the mentioned cases we have changed the value 'U' for blank,
    because the system always runs before the function MEX_PSTYP_KNTTP where makes the check and shows the error message ME069 unknown account assignment.
    Thanks for your help.
    Jose Luis.

    Hi,
    please check the note 420332.
    If you want to add a new service line please use a dummy packno in the structures POITEM ,POSERVICES, POSRVACCESSVALUES.  A dummy packno means that it does not have any entries in the tables ESLL and ESLH yet. The best solution would be to choose a packno which is a very low number which is not occupied in esll and eslh.
    If you add a new service line please fill in first the father line into POSERVICES and add also the service line (2 entries), like it was described in note 420332, part 3.7
    Regards,
    Edit

  • Create Delivery from a Sales Order adding a new position

    Hi experts!
    I need to create a delivery from an existing Sales Order (with just 1 position), and add a new position to this Delivery so it creates with two positions, the one from the SO and the added one.
    I'm using FM RV_DELIVERY_CREATE. Is it possible to do this?
    Thanks!!
    Carles

    Hi Carles,
    I would prefer BAPI_OUTB_DELIVERY_CREATE_SLS. At least the delivery creation will be fine, your second position might be more complicated. But there are exits in the Bapi and you might go for an exit of the delivery creation itself -> then also manual triggered creation of a delivery will be correct.
    BR, Christian

  • Lock Insertion of new position in a Sales Order

    Hi guru!
    I've to lock the insertion of new position in a Sales Order from VA02 transaction, users can update only some fields of existing positions but thay can't insert a new position in order.
    I have to lock the blank position in a position's table control so they can't insert data for a new position.
    Is it possible to do?
    Thanks!!

    If you're talking about "new POSNR" (item), you could change the visibility of the insertion button, any menu drop downs, probably with user exit or (perhaps better) with screen variants (transaction SHD0) for transcode VA02....perhaps a combination of the two would get you the results you need.

  • New positions with BAPI_DELIVERYPROCESSING_EXEC

    Hi, Masters.
    I've got a VBELN from tables LIPS and I must create new positions (the current POSNR + 1) using BAPI_DELIVERYPROCESSING_EXEC.
    What I can do for add a position with this BAPI?
    I didn't find any example, using LIPS...
    Thanks a lot.

    Have you read the documentation? And what have you tried to do so far?

  • Ios 5 Update New Features says that iCal now has a week view for iPhone but after updating last weekend, I don't see any week view--just List, Day and Month..How do I get the week view?

    ios 5 Update New Features says that calendar now has a week view but after updating my iPhone 4 last weekend, I don't see any week view for iCal--just List, Day and Month as in the past. Is the weekly view available for iCal and if so, how do I access it?

    Rotate your phone to landscape.

Maybe you are looking for

  • My iMac tries to connect to old network startup

    Greetings, When I start up, I receive a message that my computer is trying to connect to the my old iMac, the one that I used with Migration Assistant to transfer files and such. That computer is no longer around, but the new one always searches for

  • Jumpy Video over imported audio clips on time line.

    I have faltering or jumpy video occurring only where I have imported music. this has never happened before. It happens on all music even aiff. I need help, cant finish last DVD in a sequence of five.

  • Help... Ipod display a sad Ipod icon..

    Help me. My Ipod display a sad Ipod icon whenever I turn it on. I have already try the method here (Active Disk mode) but I can´t activate it. Don´t know what to do. I´ve bring it to an Ipod store, but they also don´t know what to do. How can I send

  • "sign in required" error. Can't use gift cards!

    I am unable to redeem gift cards, even when signed in, on any of my devices! I get a repeated request to sign in...over and over and over. How can I stop this and use my gift card? Thanks!

  • Image Thumbnail creation issue

    Hi, I am trying to create thumbnail images using jre 1.4, WAS 5.1 in unix. The problem is that some of the thumbnail images are not being created. When i checked the image directory i found that these images are having size 0! But after say 5-10 minu