BAPI or FN. MOD to change Relationship Data in HRP1001

Hello Gurus,
Is ther any BAPI or Function Module to Change the Relationship Data( in HRP1001).
Iam using BDC to Change(Update) the Data.In SHDB, the PO13 transaction is OK but while Loading the Records(or running the program), its totally different.
If anyone has come across such an Issue and resolved it, Please help.
Thanks

Thanks Suresh,
I could not test it but as our Client has asked us to cont. with the BDC's only
I have gave you the points.
This is very helpful for me though as Iam working in Org. Management currently

Similar Messages

  • Regarding VX22 Transaction [Change License Data]

    Hi All,
    I have a issue related to <b>VX22 Transaction [Change License Data]</b>.
    Do anybody knows the wether any <b>BAPI</b> available for <b>Change License Data[VX22]</b>.
    I actually have to perform a BDC for change license data some times for <b>Multiple items for single Sales Document number</b> at a time.
    I have Done the recording[SHDB] and added the following code to main program.
    Can anybody tell me wether this code will perfectly work for <b>Multiple Items of Single Sales Document Number</b> in <b>VX22 Transaction</b>.
    <b>  PERFORM f_bdc_dynpro      USING 'SAPMV52G' '0100'.
      PERFORM f_bdc_field       USING 'BDC_CURSOR'
                                      'VBAK-VBELN'.
      PERFORM f_bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
      PERFORM f_bdc_field       USING 'VBAK-VBELN'
                                      i_data-vbeln.
      PERFORM f_bdc_field       USING 'RV52G-SELKZ'
                                      c_x.
      LOOP AT i_pdata.
        PERFORM f_bdc_dynpro      USING 'SAPLV52E' '0500'.
        PERFORM f_bdc_field       USING 'BDC_CURSOR'
                                        'RV52G-SELKZ(08)'.
        PERFORM f_bdc_field       USING 'BDC_OKCODE'
                                        '=DETA'.
        PERFORM f_bdc_field       USING 'RV52G-SELKZ(08)'
                                        c_x.
        PERFORM f_bdc_dynpro      USING 'SAPLV52E' '0520'.
        PERFORM f_bdc_field       USING 'BDC_CURSOR'
                                        'VBEX-MODCO'.
        PERFORM f_bdc_field       USING 'BDC_OKCODE'
                                        '/00'.
        PERFORM f_bdc_field       USING 'VBEX-ALNUM'
                                        i_pdata-zzalnum.
        PERFORM f_bdc_field       USING 'VBEX-EMBGR'
                                        i_pdata-zzembgr.
        PERFORM f_bdc_field       USING 'VBEX-GENNR'
                                        i_pdata-zzgennr.
        PERFORM f_bdc_field       USING 'VBEX-MODCO'
                                        i_data-modco.
        PERFORM f_bdc_dynpro      USING 'SAPLV52E' '0520'.
        PERFORM f_bdc_field       USING 'BDC_CURSOR'
                                        'VBEX-ALNUM'.
        PERFORM f_bdc_field       USING 'BDC_OKCODE'
                                        '=BACK'.
        PERFORM f_bdc_field       USING 'VBEX-ALNUM'
                                        i_pdata-zzalnum.
        PERFORM f_bdc_field       USING 'VBEX-EMBGR'
                                        i_pdata-zzembgr.
        PERFORM f_bdc_field       USING 'VBEX-GENNR'
                                        i_pdata-zzgennr.
        PERFORM f_bdc_field       USING 'VBEX-MODCO'
                                        i_data-modco.
      ENDLOOP.
      PERFORM f_bdc_dynpro      USING 'SAPLV52E' '0500'.
      PERFORM f_bdc_field       USING 'BDC_CURSOR'
                                      '*VBEX-VBELN'.
      PERFORM f_bdc_field       USING 'BDC_OKCODE'
                                      '=SICH'.
      PERFORM f_bdc_transaction USING 'VX22'.</b>
    I have make use of Session Method for it.
    I had run through it against VX22 in all 3 modes and it is working fine for single line item for a sale order.
    If any changes required for it to work for Multiple line items please suggest.
    If any body knows <b>BAPI</b> for the same process please post.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi All,
    Anybody worked on above kind of scenario,
    If yes please sujjest!
    Has Anybody worked with <b>VX22</b> Transaction
    If worked please reply to above post!
    Thanks & Regards,
    Rayeez.

  • BAPI for changing delivery date and delivery time fields in LIKP table

    Hi All,
         Is there any BAPI or function module to change the delivery date and delivery time in LIKP table ?
    Please tell me experts if exists.
    Thank you,
    Raghu.

    try these:
    BAPI/FM to update LIKP and VTTK tables
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bapi-for-changing-sales-headertable-likp-662800

  • Function module / BAPI for changing planning date (FDTAG)

    Hi everyone,
    Let's go for a problem.
    Many FI documents have been created in our system, with a wrong planning date, these documents have to be changed and I have been trying to develop a report.
    I am having a big trouble finding a function module or a BAPI which allows me to change the planning date (FDTAG field). I have been trying these function modules:
    FI_ITEMS_CHANGE
    FI_DOCUMENT_CHANGE
    The first one works for changind data in the FI documents but it seems like it can't change the planning date, it returns an error message that informs that the FDTAG field can not be changed.
    The second one is confusing, I have been unable to feed the function module with the data it needs to determine a single document.
    I am trying to use BAPI_ACC_DOCUMENT_POST right now, it doesn't seems promising but you never know.
    Has anyone had the same problem? I have been looking for an answer in both google and here but I can't find one, just some people with the same problem.
    I will keep trying to find the solution, if I find it I will post it here.
    Thanks in advance,

    Hi again Max,
    This worked perfectly, even better because we where already using the FDTAG field for mass changes (don't remember right now which note we implemented) so I have just used FI_ITEMS_MASS_CHANGE with no changes at all.
    Thank you very much for the help.

  • FM or BAPI to change Operation data

    Hi,
    Is there any BAPI to change operation data? BAPI_ALM_ORDER_MAINTAIN is not useful in my case. I want to use   IBAPI_ORDER_OPERATION_CHANGE but not able to get proper documentation for same.Can anyone give me a sample code about how to use IBAPI_ORDER_OPERATION_CHANGE?
    My requirement is to tick check box 'Required Splitting' in operation if some conditions are met. I am planning to do this using cuatomer exit. Everything is working fine only i need to know how to use above BAPI. If this doesn't work then as a last option i will go with BDC.
    Regards,
    Kamal

    Hi Kamal,
    Unfortunately I can not see any BAPI which changes operation data of a production order.
    BAPI_PRODORD_CHANGE is available only for changing header details.
    BAPI_ALM_ORDER_MAINTAIN and IBAPI_ORDER_OPERATION_CHANGE are used for changing maintenance or service orders, and not production orders, most probablty this won't work or cause issues.
    I'm afraid BDC is the only option in this case.
    Regards,
    Marcelo Pacheco

  • Function Or BAPI to Change BP Data

    Hi All
    We need to change the value of a field Classification of the BP after we create a Quotation, but we are not able to find the function to do it.
    Best Regards.

    Hi Kamal,
    Unfortunately I can not see any BAPI which changes operation data of a production order.
    BAPI_PRODORD_CHANGE is available only for changing header details.
    BAPI_ALM_ORDER_MAINTAIN and IBAPI_ORDER_OPERATION_CHANGE are used for changing maintenance or service orders, and not production orders, most probablty this won't work or cause issues.
    I'm afraid BDC is the only option in this case.
    Regards,
    Marcelo Pacheco

  • BAPI Function for EG70 change rate data

    I am searching a BAPI function which can perform the function of EG70 (change rate data), ie, update the RateType and Fact Group is each register under an installation and device.
    Can anybody helps?  Thanks very much and point must be rewarded.

    Hi,
    ISU_DB_EASTL_RATETYPE_SELECT - Use this for selecting rate type & fact group.
    ISU_DB_EASTL_UPDATE -Use this to update rate type & fact grp at device level
    ISU_DB_EASTS_RATETYPE_SELECT  - Use this for selecting rate type & fact group at register level.
    ISU_DB_EASTS_UPDATE-use this to update rate type & fact grp at register level.
    Two tables are updated by EG70 EASTS & EASTS,you can search any FM from SE37 by ISUEAST
    Hope this helps.

  • Difference between "change auth data " and "expert mode" in pfcg

    Gurus ,
    i need to know , what is the difference between
    "change  authorization data "
    and
    "expert mode for profile generation" in PFCG .
    and what is the significance of the three options that we get when we choose expert mode ?

    Hi Susin,
    To change the authorization data for the transactions assigned to the role, choose Change Authorization Data or Expert Mode for Profile Generation.
    If you are generating the profile for the first time, there is no difference between the two modes.
    When you change a role, you must regenerate the authorization profile. In this case, the status of the profile generation is displayed red or yellow at the top of the Authorizations tab page.
    If the status display is red, you must perform an authorization data comparison, since the menu was changed since the last profile generation or no authorization data exists.
    If the display is yellow, the authorization data for the role was changed and saved after the last generation. The generated profile is no longer current. You need to regenerate it.
    The significance of the three options that we get when we choose expert mode is as follows:
    Choose one of the options to maintain the authorization values (in normal mode, the correct option is automatically set):
    1> Delete and recreate profile and authorizations
    All authorizations are recreated. Values which had previously been maintained, changed or entered manually are lost. Only the maintained values for organizational levels remain.
    2> Edit old status
    The last saved authorization data for the role is displayed. This is not useful, if transactions in the role menu have been changed.
    3> Read old status and compare with new data
    If you change transactions in the role menu, this option is the preconfigured. The profile generator compares the existing authorization data with the authorization default values for the menu transactions. If new authorizations are added during this process, they receive the status New. Authorizations that already existed receive the status Old.
    Note the following during the comparison:
    Values for organizational levels that are no longer required are deleted, all others are retained. If new organizational levels are added, you need to maintain them.
    The standard authorization for the object S_TCODE is always automatically filled with the current transactions from the role menu. It cannot be copied or manually changed, only deactivated.
    Thanks,
    Saby..

  • Any one knows how to change "TransptnPlanng date" in delivery document?

    Deal All,
    Could any one provide the BAPI/FM that can change "TransptnPlanng" date/time in inbound/outbound delivery documents?
    I need to update the dates only in ABAP program based on external information.
    I tried WS_DELIVERY_UPDATE with the following parameters setup:
    VBKOK_WA-VBELN_VL = target delivery number
    VBKOK_WA-TDDAT = "12/12/2009"
    VBKOK_WA-TDUHR = "12:12:12"
    (for the other fields in structure VBKOK_WA, I leave them blank)
    DELIVERY = target delivery number
    After run the FM in test mode, no error returns but no data updated in the delivery... (dates not change)
    Do I need to specify all the other fields for the delivery (like delivery date, line item details etc) even though I just want to update two fields in the header of the delivery?
    Thanks & Regards,
    Wenling

    BAPI_OUTB_DELIVERY_CHANGE works in this case (just to change the date)
    Need to put "X" on the date field on structure BAPIOBDLVHDRCTRLCHG and need to use table BAPIDLVDEADLN with correct date type to update.
    Thank you all for your replies.

  • How to change value date from posting date to net due date

    Hi Gurus,
    My client wants to change value date from posting date to net due date. currently posting date is considered as value date but in future client wants to change value date to net due date of documents.
    1. what configurations need to be maintained to change value date from posting date to net due date.
    2. Will these changes effect automatic payment run.
    Thanks and Regards,
    Suresh

    Hi Suresh,
    In Future
    While posting the documents you can mention the value date as due date of the documents.
    For already posted documents
    You can change the value date to net due date.
    If the value date is display mode i.e. if you are not able to change the value date in FB02 (Document Change Mode), use OB32 transaction and make value date field as eidtable (BSEG-VALUT).
    In OB32 transaction enter all the required fields like Account type, transaction type, company code and finally activate the Field can be changed check box.
    But not sure, whether we can change the value date to previous date or not?
    This would help you..
    Regards,
    Praisty
    Edited by: Praisty on Jul 28, 2009 9:56 AM

  • How to change Due date in Cash flow (yet to post) lines in a contract.

    Hello All,
    I have a requirement where i want to change the due date of cash flow line items of a contract. I am able to do that in RECN transaction, by clicking on the date field and change the date. Here i am looking for a BAPI or function module using which i can update the date of cash flow items. Can anybody help me in doing this.
    Thanks,
    Bala.

    Hi Bala,
    we had a similar requirement during the initial implementation project.
    We have used BADI_RECD_CASHFLOW for this purpose. We have used both Methods - CHANGE_CASHFLOW_OBJ and CHANGE_CASHFLOW_PAY in such a way (for the last one):
      LOOP AT ct_pay ASSIGNING <ls_cashflow_pa>
                 WHERE ( cfstatus = 'P'              ) AND
                       ( origflowtype IS NOT INITIAL ) .
        IF <<condition>>.
          <ls_cashflow_pa>-dfaell = ....
        ENDIF.
      ENDLOOP.
    HTH,
    Siarhei

  • How to change the date value in FM SD_CUSTOMER_HIERARCHY_PATH

    Hi,
    I have one requirement while creating sales order the pricing herarchy should be
    based on the date mentioned in the Delivery date. Generally the pricing hierarchy
    happens based on system date.
    So how to get the hierarchy based on the date mentioned in the delivery date ?
    I analysed in debugging if I change the date field in debugging mode in the function module
    SD_CUSTOMER_HIERARCHY_PATH then i am getting the pricing hierarchy based on the desired date
    other then system date.
       CALL FUNCTION 'SD_CUSTOMER_HIERARCHY_PATH'
               EXPORTING
                    CUSTOMER        = lvf_knvh_kunnr
                    DATE            = SY-DATLO -
    > Desired Date menioned
                    HTYPE           = fif_hityp
                    SALES_CHANNEL   = fis_sdorgdata-vtweg
                    SALES_DIVISION  = fis_sdorgdata-spart
                    SALES_ORG       = fis_sdorgdata-vkorg
               IMPORTING
                    CUSTOMER_HZUOR  = lvf_customer_hizuor
               TABLES
                    HPATH           = lvt_hierarchy_partners
               EXCEPTIONS
                    HITYP_NOT_EXIST = 1
                    NODE_NOT_EXIST  = 2
                    PARVW_NOT_EXIST = 3
                    OTHERS          = 4.
    The Field for delivery date I mentioned is RV45A-KETDAT and this value is not appearing in this
    position of function module.
    Can any one have Idea to change the hierarchy based on the desired date other than system date.
    Waiting for kind response.
    Best Regards,
    Bansidhar

    Hi,
    I have one requirement while creating sales order the pricing herarchy should be
    based on the date mentioned in the Delivery date. Generally the pricing hierarchy
    happens based on system date.
    So how to get the hierarchy based on the date mentioned in the delivery date ?
    I analysed in debugging if I change the date field in debugging mode in the function module
    SD_CUSTOMER_HIERARCHY_PATH then i am getting the pricing hierarchy based on the desired date
    other then system date.
       CALL FUNCTION 'SD_CUSTOMER_HIERARCHY_PATH'
               EXPORTING
                    CUSTOMER        = lvf_knvh_kunnr
                    DATE            = SY-DATLO -
    > Desired Date menioned
                    HTYPE           = fif_hityp
                    SALES_CHANNEL   = fis_sdorgdata-vtweg
                    SALES_DIVISION  = fis_sdorgdata-spart
                    SALES_ORG       = fis_sdorgdata-vkorg
               IMPORTING
                    CUSTOMER_HZUOR  = lvf_customer_hizuor
               TABLES
                    HPATH           = lvt_hierarchy_partners
               EXCEPTIONS
                    HITYP_NOT_EXIST = 1
                    NODE_NOT_EXIST  = 2
                    PARVW_NOT_EXIST = 3
                    OTHERS          = 4.
    The Field for delivery date I mentioned is RV45A-KETDAT and this value is not appearing in this
    position of function module.
    Can any one have Idea to change the hierarchy based on the desired date other than system date.
    Waiting for kind response.
    Best Regards,
    Bansidhar

  • BADI ME_PROCESS_PO_CUST for changing header data

    Hello Experts,
    I'm using Method PROCESS_HEADER in Badi ME_PROCESS_PO_CUST in order to change some header data.
    I want to change header data depending on the partner data which are on header level.
    It works fine as long as there are data changed in the header or item level and not only on the partner screen.
    The method in this Badi isn't processed if only partner data are changed. But for me it is necessary to set a special field on the header depending on the partner data.
    Regards,
    Sven

    Hi,
    Firstly, for changing Header data without any INSERT/UPDATE?MODIFY statement, badi - ME_PROCESS_PO_CUST  will not be useful.
    As method you mentioned has no header parameters under CHANGING / EXPORTING clause.
    You can use the badi which has the parametrs you want in either change/ Export mode. It can be defined under table also.
    Below is the list of important badis gettign called, however none of them contains header values in change/export clause.
    ME_CCP_ACTIVE_CHECK
    MD_STOCK_TRANSFER
    ME_DEFINE_CALCTYPE
    ME_PO_PRICING
    ME_FIELDSTATUS_STOCK
    ME_COMMITMENT_STO_CH
    ME_COMMITMNT_PARKING
    ME_INFOREC_SEND
    ME_CHECK_SOURCES
    ME_PURCHDOC_POSTED
    Instead you can use enhacement MM06E005  Customer fields in purchasing document.
    Create a project under Transaction CMOD.
    Assign enhancement as Project component.
    You'll find Exit 012. At time of save you can change header im_ekko based on you parterner data tab.
    Regards,
    Amee.

  • URL generation of Change Own Data Photo

    Hello,
    The URL for employee photo under ESS "CHANGE OWN DATA" application is getting generated via FM HRWPC_RFC_EP_READ_PHOTO_URI.
    This FM is returning the URL as http://<server>:<port>/sap/bc/contentserver........
    Now the <server> in the above url points to the ECC server url. This ECC serevr url is NOT accessible over intenet for our environment. Becaus of this photo is NOT visible over internet though the same is working fine within our INTRANET.
    We want to change the <server> url with the webdidpsatcher url so that the final url that will be returned by the FM will be
    http://<webdispatcher>/sap/bc/contentserver.......
    Can anyone please suggest where exactly we need to make the setiings for this. Do we have to modifty the FM itself OR this can be done through configuration?
    Regards
    Deb

    It seems that it is something to look into the entries in the table
    HTTPURLLOC. Please can you check the url here?
    The URL is generated from the FM HRWPC_RFC_EP_READ_PHOTO_URI,
    So check it from here correct URL is generated or not
    Please review documentation :
    http://help.sap.com/saphelp_nw04s/helpdata/en/59/31ae42e0fac911e10000000
    a1550b0/frameset.htm
    Please review below SAP Notes :
    1033071
    685521
    Please also check the attached note 712330.
    Also take a look at notes 1094976 and 1289938 too.
    You would need to do the repository settings in order to enable https
    communication. Kindly follow the below steps for your photo repository:
    1. Go to transaction OAC0 and select the repository
    2. In edit mode, type %https in the command field for advanced settings.
    3. Now select "HTTPS required" from the dropdown for both HTTPS on
    frontend and HTTPS on backend. Save the settings.
    Please also refer the notes 712330,712332.
    Currently we generate a HTTPS URL to acces the photo to the R/3 system.
    But since there is no https service active in
    R3, we do not get any response and thus no photo is displayed.
    You can check services available in R/3 system using transaction SMICM
    and usingn menu path Goto-> services. . I did see HTTPS service
    activated this is correct.
    Maintain an entry in the table HTTPURLLOC with following details:
    protocol: https
    host: <web despatcher host name>
    port: <web despatcher port number>
    This will ensure that the URL will be generated to web despatcher and
    not backend and if the HTTPS service is active in Web Despatcher, then
    we will get the  response and photo will be displayed.

  • How to change billing date in S1 - cancellation billing document

    Dear Friends,
    Could you please tell How to change billing date in S1 - cancellation billing document which is even not released to accounting & in gray mode.
    Is it possible?
    Thanks in advance.
    Ranjan

    Dear,
    Thanks for asking exact problem.
    1. PGI in 2008
    2. F2 Billing date in 2003 ( By mistake by the user)
    3. S1 Billing date in 2008
    4. PGI reverse in 2008 & OBD deleted in 2008
    So reduced billing qty is shown in report in 2008 because of S1 Billing date in 2008,
    Billing qty  is not matching with the actual PGI quantity.
    So here if the cancellation billing document S1 could be changed for billing date in 2008, then you could balance it
    Now my issue is how to balance it.
    hope you find it it very interesting
    Awaiting your response.
    Ranjan

Maybe you are looking for