Value updation through IDOC

hi all,
If I run standard transaction for master data upadation through
ALE PFAL and include the message Hrmd_A and it data can upload, but while updation it can show the text of the position
for the particular person, the relationship maintain through person not through position
Roopesh

Roopesh
For better results post it in the ABAP Genral
Best Regards

Similar Messages

  • MO Opearting UNIT value update through back end

    Friends,
    I have a MO: Default operatng UNIT and MO: operatng UNIT defined in my Oracle apps 11i.
    and by mistake i deleted both theses values through system profile options.
    and now i would like to update the MO values through back end .
    please let me know the table related to these and as which user i have to update.
    Regards,
    Arun

    I have a MO: Default operatng UNIT and MO: operatng UNIT defined in my Oracle apps 11i.
    and by mistake i deleted both theses values through system profile options.
    and now i would like to update the MO values through back end .
    please let me know the table related to these and as which user i have to update.When you remove the MO:Operating Unit Profile option value at site level, no user will be able to login to the system and even SYSADMIN user also.
    follow the document and see if it helps
    How to Restore System Profile 'MO: Operating Unit' When it Has Been Set to Blank Doc ID: 387581.1
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=387581.1
    Morever, if you want to prevent this type of mistakes in future,
    please follow the below document
    How To Prevent the Profile Option MO: Operating Unit being set to NULL at Site Level? Doc ID: 393560.1
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=393560.1

  • To Update the IDOC segment values through report program

    My requirement is to update the Idoc segment through the report program. Any SAP provided standard function module is available to update the Idoc segment values. Please help needed.

    DATA: LT_EDIDD TYPE STANDARD TABLE OF EDIDD."Local Table to Hold EDIDD
        LT_EDIDD = I_EDIDD. "table should have the data
    *-- Opening the IDoc for Edit
        CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_EDIT'
          EXPORTING
            DOCUMENT_NUMBER               = X_EDIDC-DOCNUM
          TABLES
            IDOC_DATA                     = IT_EDIDD
          EXCEPTIONS
            DOCUMENT_FOREIGN_LOCK         = 1
            DOCUMENT_NOT_EXIST            = 2
            DOCUMENT_NOT_OPEN             = 3
            STATUS_IS_UNABLE_FOR_CHANGING = 4
            OTHERS                        = 5.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    *-- Editing the IDoc
        CALL FUNCTION 'EDI_CHANGE_DATA_SEGMENTS'
          TABLES
            IDOC_CHANGED_DATA_RANGE = LT_EDIDD
          EXCEPTIONS
            IDOC_NOT_OPEN           = 1
            DATA_RECORD_NOT_EXIST   = 2
            OTHERS                  = 3.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    *-- Closing the IDoc after Edit
        CALL FUNCTION 'EDI_DOCUMENT_CLOSE_EDIT'
          EXPORTING
            DOCUMENT_NUMBER  = X_EDIDC-DOCNUM
            DO_COMMIT        = 'X'
            DO_UPDATE        = 'X'
            WRITE_ALL_STATUS = 'X'
          EXCEPTIONS
            IDOC_NOT_OPEN    = 1
            DB_ERROR         = 2
            OTHERS           = 3.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    thanks
    vijay

  • Updating Street2 for Ship-To through Idoc in Sales Order

    Hi,
    I am trying to update Street 2 for the Ship-To / Bill-To customers while creating the Sales Order through Idoc by updating the value in E1EDKA1-STRS2 but it is not getting reflected in Sales Order.
    Please suggest if there is any way to handle this.

    Hi,
    Option 1)
    Search in the oss notes with the keyword E1EDKA1-STRS2.
    Option 2)
    Use the user exit EXIT_SAPLVEDA_001 and modify the following internal table in the user exit
    DXVBADR   = XVBADR
    Thanks
    Naren

  • Problem in updating CT04 through IDOC

    hi,
    The main problem is the same code working in one server and not working in other.
    I am creating characteristic using IDOC with message type CHRMAS and standard function module.
    characteristic  created successfully. But while trying to update the characteristic through Idoc, the Basic data description field becomes empty though it processes successfully.
    I am also passing values for the description tab for language EN and Z1.
    Passing the following values in both create and change :
    E1CABNM-->
    ATNAM
    ATFOR
    ANZST
    ATKLA
    ATMST
    FUNCTION
    E1CABTM-->
    ATBEZ
    SPRAS_ISO
    Any suggestion.........
    Regards,
    Tanmay

    Hi,
    Populate it this way :-
    LOOP AT IT_DATA into wa_data.
      CALL METHOD CL_ABAP_CONTAINER_UTILITIES=>FILL_CONTAINER_C
        EXPORTING
          IM_VALUE               = WA_DATA
        IMPORTING
          EX_CONTAINER           = EDIDD-SDATA
        EXCEPTIONS
          ILLEGAL_PARAMETER_TYPE = 1
          others                 = 2    .
    append EDIDD.
    ENDLOOP.
    Thanks,
    Best regards,
    Prashant

  • Function Module to Update Shipment Cost Document through Idoc.....?

    Is there any EDI function module which can Update Shipment Cost Document through Idoc.....

    Hi Vijendra,
    Welcome to SDN.
    You can use FM IDOC_INPUT_SHPMNT with message SHPMNT and IDoc type SHPMNT01/02/03/04/05 to update shipment document.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if very helpful.

  • Updating Cnfigurable Material through IDOC to AFS material master

    Hi Guru's,
    Well i am trying to create a afs material through IDOC, i created all the views in the afs material master using /AFS/MATMAS type in WE19 and i got the result as well all the master data views came. But the thing is i am not able to pass the configurabile material in MRP3. As of , SDN or OSS note is saying that it is not possible to do that.
    I hope there will be some possiblities to get done it. It will be greatfull if any one provide the information about it.
    Thanks and Regards,
    Madhu.G

    Hi Gurus,
    Well my previous question about the creating configurable material through IDOC.?
    At last we find the solution for that, as in SAP OSS note says there is nopossibility in some way and also said that STD PD field was added wrongly in /AFS/MATMAS05.
    But the ultimate solution is we need to add a segment in the IDOC which contains the characteriastics will be updated automatically and  add up the segment E1CUCFG.
    Here is the solution:
    *add up the segment E1CUCFG
    Thanks & Regards,
    Madhu.G
    Edited by: madhu333mac on Aug 25, 2011 1:07 AM

  • Item text is not appearing in the print output through IDOC?

    Hello ,
    I am changing the PO through IDOC. When ever there is change in the quantity ,net price and delivery date  the print out put is generated autoamtically and changes are appearing the print output.
    when ever there is change in the item text of PO print output is not generatiing but item text is updated in the PO.
    If i change manually print out is generating for item text also but through IDOC print output is not generated . please help to slove this isuue.
    i am passing the value as :
        idoc_data-segnam = 'E1BPMEPOTEXT'.
        e1bpmepotext-po_item = Po line item number .
        e1bpmepotext-text_id = txtid.
        e1bpmepotext-text_form = textform.
        e1bpmepotext-text_line = line item text .
        idoc_data-sdata = e1bpmepotext.
        APPEND idoc_data.
        CLEAR idoc_data.
        CLEAR e1bpmepotext.
    please help me it is urgent
    Thanks
    Venkatesh

    Hi Venkatesh,
    Check the condition record in transaction NACE. Whether the print output field is present in the condition record.
    Regards,
    Gajendra.

  • Performing multiple updates through a grid

    I'm pretty green as far as Dynpro goes so please forgive me if this is an easy one.
    Basically I have a table (grid) which allows a user to view and edit pricing information.
    The data is retrieved and updated through .NET web services.
    The pricing values are edited through an InputField contained in one of the columns of the grid.  This InputField is, in turn, bound to a property in the response from the web service in my view context.
    Lets say a user edits one price, hits the down arrow on the keyboard and edits another field and then hits Enter.
    Somehow, I need to identify in my "OnEnter" event handler, exactly which rows were edited so I can then pass the pertainent data to the web service for processing.
    I don't think I can use the typical "getLeadSelected" and "isMultiSelected" scenario that you would for deleting a row. 
    I really don't want to have to create a separate view for editing individual grid lines one at a time and relegate the grid to being a simple read only selection control.
    Any suggestions?
    -Sheldon

    Ended up solving this one today.   Wasn't too bad once I got a good handle on tranversing the Context and using the .isChangedByClient() property.  (Like I said, I'm pretty new to Dynpro)
    For completeness I am including my solution with this post.  (sorry for the exceedingly long names)
      public void onActionUpdatePricing(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionUpdatePricing(ServerEvent)
         //Find out how many records we have
        int n = wdContext.nodeRequest_EmployeeSalesServicesSoap_getAllProductPrices().nodeProductPrice_Response().nodeProductPrice_Result().size();
         // create an instance of the update web service class
         Request_EmployeeSalesServicesSoap_updatePrice reqUpdPrice = new Request_EmployeeSalesServicesSoap_updatePrice();
         wdContext.nodeRequest_EmployeeSalesServicesSoap_updatePrice().bind(reqUpdPrice);
         //temporary storage for a single element as we iterate through them
        IWDNodeElement PriceElement;
         for (int i = 0; i <= n - 1; i++)
              //Get an element
              PriceElement = wdContext.nodeRequest_EmployeeSalesServicesSoap_getAllProductPrices().nodeProductPrice_Response().nodeProductPrice_Result().getElementAt(i);
              //Check to see if it has been modified
              if (PriceElement.isChangedByClient())
                   //If it has been modified then call the update function in the component controller.  This
                   // method will, in turn, call the web service class with the appropriate parameters
                   // TO DO: error checking for update failure.
                   wdThis.wdGetMainmenuController().UpdatePrice(Integer.parseInt(PriceElement.getAttributeAsText("priceID")),Float.parseFloat(PriceElement.getAttributeAsText("productSellingPrice")));
         //After we are done updating, reset the Context changed bit for all items
         wdContext.getContext().resetChangedByClient();
        //@@end

  • True about updates through a view

    hi frds
    i just need the right answer for the choices mentioned below with explanation
    plz help me
    What is true about updates through a view?
    A. You cannot update a view with group functions.
    B. When you update a view group functions are automatically computed.
    C. When you update a view only the constraints on the underlying table will be in effect.
    D. When you update a view the constraints on the views always override the constraints on the underlying tables.

    And a very tricky only it is.
    Peter, you are correct that view constraints are not enforced in the sense of PKs and FKS, but there are two other view constraints that are enforced.
    SQL> CREATE TABLE t AS
      2  SELECT rownum id, object_name
      3  FROM all_objects
      4  WHERE rownum < 11;
    Table created.
    SQL> CREATE VIEW t_read AS
      2  SELECT * FROM t
      3  WITH READ ONLY;
    View created.
    SQL> CREATE VIEW t_check AS
      2  SELECT * FROM t
      3  WHERE mod(id,2) = 0
      4  WITH CHECK OPTION;
    View created.
    SQL> CREATE VIEW t_nocheck AS
      2  SELECT * FROM t
      3  WHERE MOD(id, 2) = 0;
    View created.
    SQL> INSERT INTO t_read VALUES (100, 'READ ONLY');
    INSERT INTO t_read VALUES (100, 'READ ONLY')
    ERROR at line 1:
    ORA-01733: virtual column not allowed here
    SQL> INSERT INTO t_check VALUES (100, 'EVEN ID');
    1 row created.
    SQL> INSERT INTO t_check VALUES (101, 'ODD ID');
    INSERT INTO t_check VALUES (101, 'ODD ID')
    ERROR at line 1:
    ORA-01402: view WITH CHECK OPTION where-clause violation
    SQL> INSERT INTO t_nocheck VALUES(100, 'EVEN ID');
    1 row created.
    SQL> INSERT INTO t_nocheck VALUES(101, 'ODD ID');
    1 row created.
    SQL> UPDATE t_check SET id = 201
      2  WHERE id = 2;
    UPDATE t_check SET id = 201
    ERROR at line 1:
    ORA-01402: view WITH CHECK OPTION where-clause violation
    SQL> UPDATE t_nocheck SET id = 201
      2  WHERE id = 2;
    1 row updated.The WITH READ ONLY constraint bars all changes to the view. The WITH CHECK OPTION stops any changes that would make the record invisible to the view. It is essentially a CHECK constraint on the view.
    John

  • Error when updating through "Role import"

    Hi all
    I get this error when I update through Home > Authentication > SAP > Role Import:
    "An error occurred while communicating with the CMS.
    The following error message was returned:
    Error occurred in CSAPSecHttpRolePage::OnCommitRoles. Return value = -2147213817 (0x80041e07)j Failed to commit objects to server : Duplicate object name in the same folder."
    Does this mean that I have duplicate users or groups? If this is the case, how come I get the error even if I remove all roles, update, and then add a role and update again? Then everything should have been cleared?
    And the funny part is that the import of users seems to work, because I can log on to the InfoView using SAP authentication... But I don't like this error, and would like to get rid of it.
    Best regards,
    Martin Søgaard

    Hi Sogaard,
    when you remove all roles can you verify that all the user groups and users are being removed from the system ?
    after removing the roles could you also delete the entitlement system and re-create it ?
    Ingo

  • Partner function for customer through IDOC

    Hi All,
    I have a requirement in which I need to create the customer master through IDOC. I am using DEBMAS basic type for that. In its functionality, I need to assign different partner functions to it.
    When I create customer without giving any partner details,  4 entries get created by default with partner functions as BP, SP, PY, SH and KUNN2 value as INTERNAL or the same customer number which is getting created. But I want that the customer number provided by me should be assigned as partner function. Is there any way to change the default entry which is getting created so that I can replace the INTERNAL customer number with the one provided by me.
    I identified the segment as E1KNVPM in it at hierarchy level 3. I passed the partner function in the PARVW field of it and provided the customer number which I want to assign as partner function in the KUNN2 field. But I am getting error Customer INTERNAL already exists for function <Partner function>.
    Am I missing something. Any msgfn or any other input.
    Please help me on this.
    Thanks
    Natasha

    Hi,
    Im facing similar problem
    Im trying to create the customer master through IDOC.
    I am using DEBMAS06 Idoc. 
    I need to assign two partner functions to it.
    When I create a customer with  giving  two partner details, 
    6 entries get created by default with partner functions as BP, RP, EM, SH and KUNN2 value as INTERNAL,
    two others entries (ZC,ZV) are created because this partner roles i defined to be created but KUNN2 hasnt assined value and request to fill it.
    I identified the segment as E1KNVPM in it at hierarchy level 3.
    I passed the partner function in the PARVW field of it and provided the customer number which I want to assign as partner function in the KUNN2 field.
    But I am getting error when  "Customer INTERNAL already exists for function <Partner function>".
    Am I missing something. Any msgfn or any other input.
    How can avoid this error?
    Please help me on this.
    Thanks
    Armand

  • Inbound delivery creation through IDOC

    Dear Experts,
    I have scenaris like one STO with multiple deliveries with same materials and the same assigned to shipment, through the shipment out put IDOC will generate and created the inbound delivery, the same hace to updated the STO.
    in the above scenario, inbound delivery is creating base don the outbound delivery items through IDOC (in case the same material is available in the different deliveries it is getting copied)
    by in my case inbound deliveri has to created bbased on the STO items. can you please let us know how to develop the logic for the same and is there any function modules for the same.
    Please keep in mind if the same materila with same batch is in outbound delivery we have to cosolidate the same and create one line item in inbound delivery.
    awaiting your response soon. please help me out with IDOC programe and tables and fields with function modules.
    Thanks & ragrds
    Raju.

    Dear,
    so for no updates , can you let us know your possible solution to take up this challange.
    Thanks
    Raju.

  • LSMW to upload Business Partner through IDOC

    Hello,
    I have requirement to upload Business partner  through IDOC. I am using below message type and IDOC type.
    1:- Message Type :- CRMXIF_PARTNER_SAVE_M
    2:- Basic Type :- CRMXIF_PARTNER_SAVE_M02
    Could you please tell me what configuration I need to do for this? Like creating partner profile, port etc
    Also I need to extend this IDOC segment to take care of my Z fields.
    After extending the IDOC segment do I need to write code in order to update this Z filed or it will be take care and also how to extend existing IDOC.
    If any one have has done this before then please share the logic.
    Kindly help.
    Regards
    Sachin

    Hi,
    Try LSMW with the IDOC method.
    Message type: BUPAFS_FS_CREATE_FRM_DATA2
    Basic type: BUPAFS_FS_CREATE_FRM_DATA201
    You will need to setting for IDOC: port, partner type, etc.
    Manish

  • Partner Function for Vendor through IDOC

    Hi All,
    I have a requirement in which I need to create the vendor master through IDOC. I am using CREMAS basic type for that. In its functionality, I need to assign different partner functons to it. I identified the segment as E1WYT3M in it at hierarchy level 3. I passed the partner function like OA or PI in the PARVW field of it and provided the vendor number which I want to assign as partner function in the LIFN2 field.
    Vendor is getting created but Partnering details are not getting updated when I am seeing in the XK03 Txn. Am I missing something.
    Please help me on this.
    Thanks
    Natasha

    Hi All,
    Moving further, I got another issue in changing the partner details of a vendor. Changing includes assigning another partner function to an existing vendor or deleting any already assigned partner function. I am doing this through IDOC. I am getting an error message 'Deletion of mandatory partner function 'VN' is not possible.'
    I tried changing the msgfn also.
    How should I proceed here.
    Thanks
    Natasha Garg

Maybe you are looking for