HR Programming :  Problem with IDOC HRMD_A

Hello ,
We use Idoc HRMD_A for transferring PA records from
one R3 system (ECC5) to another R3 system (46d).
We have a problem - The Idoc doesn't check the data
inserted against the database check tables and
inserts wrong values into the target system database.
(At least that what has happened when we transferred
wrong value of MASSN in 0000 records).
Is there something we can do ?
Maybe - Some flag we can sign in order a check against check tables will be done ?
Is it a problem with this IDOC ?
Thanks .
I appreciate any help.
Nitzan S.

Consultancy note 134085 :
"Ultimately you are responsible for consistency of this data. SAP saves this data directly on the database without checking the single fields and consistency of the data records (time constraints check, writing change pointers, value check) because the consistency for an R/3 - R/3 lingage is of course ensured."
The IDOCs were intended for R3->R3 data replication, and not for data loads/interfacing. Since you're having problems, I'm guessing in addition they require the same SAP version as well.

Similar Messages

  • Problem with IDoc scenario - IDocs do not aarive to XI

    Hi guys!
    I have a problem with IDoc->XI->File scenario. Colleagues send IDocs from R/3 and they are not in the XI. In R/3 they look like if they were correctly sent, however, I can not see them in sxmb monitor. BUT, when they send them again explicitly from R/3 (t-code WE19), they arrive...
    REALLY strange...
    Any suggestions?
    IDX2 metadata loaded.. I think, all needed settings are done.
    Question - do I need to set up LS in XI ABAP part?
    Thanx, Olian!
    P.

    Hi Olian ,
    just check if u have followed all the following steps
    SAP XI
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2) a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    In SLD – System Landscape Directory
    TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
    Ts for Third Party (Logical system):-
    BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
    BS for Third Party (Logical system):-Enter the XI logical system name.
    In Transaction SALE
    Define and Assign the logical system name
    Regards,
    AshwinM

  • Problem with idoc DEBMAS

    Hi everybody.
    We have a problem with idoc DEBMAS.
    This idoc is sent from R3 to PI throw change pointers then the idoc is field only with the data modified in the master custumer.
    We need the information fill it in the segment /IDOC/E1KNA1M/E1KNVVM to determine the receiver determination but this segment is not always sent.
    What can be done in R3 to send always this segment.
    We dont want to sent the whole data but always this segment.
    Any idea???
    Thanks a lot!!!!!

    Hi,
    As E1KNVVM segement is not mandatory, when you are triggering IDoc based on change poitner data might not populted in the E1KNVVM segment until some sales data is changed.
    if you need that segement always just copy the Idoc type and make it mandaotry field.
    otherwise yoy can populate some fields like STDVRS with the reruried constant and can use in your receiver determination.
    Regards,
    Suresh

  • Problem with IDoc for an outbound delivery

    Dear All,
    I am facing a problem with the IDoc defined for an outbound delivery.
    Scenario:
    Implementation of a small enhancement for an IDoc (DESADV, DELVRY01) created for an outbound delivery (in VL02N).
    What I did:
    I implemented the EXIT_SAPLV56K_002 exit in the V56K0001 enhancement, activated in SMOD, assigned V56K0001 component in CMOD and acivated it. Then I put a breakpoint on the ZXTRKU02 include. For me everything in SMOD and CMOD looks OK.
    I have also created a partner profile, port, outbound message config. (message DESADV, basic type DELVRY01, application V2, output message type LAVA, process code DELV. function module used for this process code is IDOC_OUTPUT_DELVRY).
    What I can do:
    I can issue an IDoc message, it looks ok and contains the standard data.
    Problem:
    It seems that the enhancement does not work. Finally I put there only one line of code to avoid a program bug and just to check . The system does not stop at the breakpoint (set on the ZXTRKU02 include in the EXIT_SAPLV56K_002 exit).
    Am I using the proper exit? I appreciate any suggestions.
    Thanks,
    Grzegorz Skorus

    Hello Grzegorz
    Not an expert on this, but noone is responding so I thought let me try and help you. You seem to be doing the right things as mentioned in OSS note 1498409.
    Firstly since this can be called form Shipment Idoc also, you may need to make a differentiation by the interface parameter 'MESSAGE_TYPE' or segment name. See the attached OSS note, though it belongs to older releases,  it may help you.
    Also help says 'The callup of this function module is programmed for each enhancement of the internal table for the IDoc (in other words, when you add an extra segment'. So may be you need to add an extra segment/field to make it work.
    Futher  the user exits are replaced by BADIs. May be you should use exit_badi_v56k.
    Hope this helps and others will pitch in.
    1498409 - Valuation Type unavailable when creating deliveries using IDOC
    631913 - Exit after formatting delivery IDoc type DELVRY

  • Problem with IDOCs

    Hi all,
    I am trying to send MATMAS IDOCs to Siebel server using plain HTTP Reciever Adapter.I am able to see success messages in SXMB_MONI for Some IDOCs I mean where the IDOC have minimum segments which does not contains mandatory data.
    In some IDOCs it is showing the following error which includes all the relavant fields for Siebel.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
      <SAP:P1>500</SAP:P1>
      <SAP:P2>Internal Server Error</SAP:P2>
      <SAP:P3>Internal Server Error</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Http server code 500 reason Internal Server Error explanation Internal Server Error</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Any ideas on this ???
    Sekhar

    Hi all,
    sorry for the confusion...problem with the IDOC data only..
    Sekhar

  • Programming problems with INT / FLOAT

    I got a problem with datatypes float and int.
    I'm just developing a c-program on HP-UX with the gcc-compiler. 'cause i have not ever been done an ORACLE-access before, i has started with the "cdemo2.c" - example from the oracle-demo-dircetory in version 8.0.4.
    in the DB there's a column with NUMBER-TYPE, but when i call the oci-function (or what ever it is) "odescr()", the variable "scale" (which is supposed to differentiate between FLOAT_TYPE and INT_TYPE) always is set to "0". this variable should be set to anything else but "0" if a FLOAT_TYPE is detected, but it isn't.
    what I do wrong ???
    How can I know the exact datatype, when a NUMBER_TYPE in the DB appears ???
    if there is a better way to realize an oracle-access in C, please don't wait to tell it to me
    many thanks
    null

    You basically got it. Another approach is to always work on the rightmost digit; that way you'll always be dividing, mod'ing, or multiplying by 10.
    You don't need to know the length of anything to use a for loop. Remember that a for loop has 4 parts: the initialization, the conditional, the "update", and the body. (There are probably more correct names for these that I can't recall right now.) The conditional and the update tend to be length checks and increments only because for loops are commonly used over arrays or strings, but they don't have to be.
    Another hint: how do you know when you're done pulling the digits out of the source number? What is the value of the source number when you're done?

  • Problems with Idoc Artmas03 to create a variant

    Hi everyone, We had created a individual material through Idoc artmas03, we need to create a variant, we have problems with some segments E1BPE1VARKEY & E1BP1AUSPRT, our problem is how to create a variant & how to full this segments, is this correct from Idoc Armas03? or is it necesary another Idoc? Some have some examples, thank you very much
    Best Regards from Mexico,
    Atte Israel

    Guys,
    I am running mozilla firefoz 5.0 and the only option that is coming to me is to create folder in CA.
    even though SAP recommands IE and allows portal from Mozilla, the later seems to have serious issues with Portal.
    I remember working with several versions of mozilla, sometimes you right click, all option will come but you will be unable to choose options coz when u bring cursor to them they will skid here and there..
    I hope no SAP note elobrates this as of now.
    Ankur

  • Problems with IDOCS

    Hi everyone!
    I'm working with IDOCs and I am having the following problem:
    I'm modifiying a specific standart IDOC (DELVRY03), adding a new structure called ZSTRUCTURE. When making an example to create the IDOC I am not able to find the new structure that I have just created in the IDOC.
    Does anybody know why? Maybe the structure is empty, is this a problem?
    Thank you very much.
    Regards

    hi,
       I dont think u can direct modify sap standard idoc type.
       Instead u can go for Idoc extension.
       Create structure ie segment u want to add say EDIT->set release
        and in we30 choose extension create zobject type  with extension as standard idoc and choose EDIT->set release
       and goto we80 add msgtype,Basic idoc type, extension.
       I think this will  fix ur problem.
    Regards
    Shanmukhi

  • PPC program problem with MacPro

    Hello all.
    Suddenly all my PPC programs stopped working on the MacPro.
    I have tried standard diskcheck and repair permissions on my boot harddrive.
    I have 4 different PPC program: Windows Media Player, Photoshop, MS Office and cannon scangear. All stopped working.
    It seems to be a problem with the PPC emulation.
    Any idea what I should do? Do I really need to reinstall my mac? It feels like Windows all over...
    Kind regards Mau
    MacPro 3ghz   Mac OS X (10.4.8)  

    I did download the full 10.48 update an installed. It still does not work.
    I am not shure what cused the problem. Had issus with that my root filesystem was full. It was /var/spool/qmaster that was filled with junk data.
    I could not delete the useless data in that directory. it took 50% of my harddriva space.
    I logged in as root and pwd to /var/spool/qmaster and the directory name of my qmaster que. Lets call it buhu.
    cd /var/spool/qmaster/buhu.
    To delete the data. The wonderful command:
    rm -rf *
    My computer works great, but no rosetta programs anymore. It worked since I got my Macpro in Aug.
    Thanks all for the help, and sorry for my shaky enlish.
    The 1049 update should have som rosetta updates. My problems could be solved with it?
    I am desperate and thinking about installing a beta build of 10.49.

  • Mapping Problem with IDOC HRMD_A05

    Hi All,
    When i am mapping source structure with IDOC HRMD_A05 i am getting Mapping not sufficiently defined...
    The idoc is used to change the address of employee(infotype 0006)..
    my source structure is
    EMPADDR_MT
       EmpAddr1
         Trans_INFTY *
        Address1
          AddressType *
          PERNR       *
          EFdate      *
          Addr1       *
          Addr2       *
          ADDR4       *
          City        *
          Country     *
          state       *
          Postalcode  *
    the fields to be mapped
    So can any one help me out what r fields to be maintained for <b>HRMD_A05</b>...
    Regards,
    Sridhar
    Message was edited by: sridhar reddy kondam

    All the required fields & segments(shown red in mapping editor or min occurence:1) of idoc need to be mapped.If any of the fields are not available in your source for mapping..map those fields with empty constants using constant option of the mapping editor.

  • Problems with idoc ORDERS05

    Hi experts,
    I created a new Z segment for idoc ORDERS05 and it works fine. This idoc is generated whenever a PO is created or modified. But if the PO has locked or deleted items, there is no segment for this items in the IDOC. Should I modify any code or something in SPRO??
    Thanks in advance,
    Maria

    Hi again...
    I'm trying to make a copy of the standr FM IDOC_OUTPUT_ORDERS because I think it may be easier to add the segments I need. I have also created in tx. WE41a new operation code ZME10 with my new fm. An in tx. WE20 I have assigned ZME10.
    The problem is when I run ME9F i get this error:
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_SY_DYN_CALL_ILLEGAL_FUNC',
    was neither
    caught nor passed along using a RAISING clause, in the procedure
    "NEW_DYN_PERFORM" "(FORM)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    The program "RSNASTED" contains the CALL FUNCTION statement.
    The name of the function module to be called is "ZIDOC_OUTPUT_ORDERS".
    but "ZIDOC_OUTPUT_ORDERS" cannot be found in its function group.
    Any idea ??
    thanks in advance !

  • Problem with IDoc filtering in the distribution model

    Hello Experts,
    We are using a distribution model in which we have set filters as like the following
    Filter Group 1
               Plant : XYZ
               Sales Org: SAP1
    As far as the documentation says this Condition should work with AND logic between Plant and Sales Org
    (i.e ~ Plant XYZ and  SO SAP1 ) but the IDoc gets created even if any one of the condition is met(looks like working in OR logic).
    How to achieve the AND filtering between the different objects.
    Would appreciate your kind help.
    Thanks in advance.
    RGds,
    Vasanth.

    > Jakub ~ Yes I checked the generated IDocs(classified pertaining to my Model)for my model alone and that's where we are facing this problem
    So that's the filtering problem.
    I would check in which segments are the "filtering objects" located (BD59) and whether it is a mandatory segment. If it is a mandatory segment - IDoc should not be created. If it is an optional segment - this segment and its subsegmets will be filtered out - but IDoc will be created.
    > ~ Do we need to apply some SAP Notes to avoid this problem ?
    >  But why the filter should behave in OR fashion ? I do not understand.
    I believe that Sachin meant that the logic is:
    Filter Group1 OR Filter Group 2 OR ... Filter Group N
    Filter Group 1 Object 1 AND Filter Group 1 Object 1 ... AND Filter Group 1 Object M
    Filter Group 1 Object 1 Value 1 OR Filter Group 1 Object 1 Value 2 OR ... Filter Group 1 Object 1 Value L
    regards,
    Jakub

  • Problem with Idoc Mapping

    Hi,
    Target field is : Bank Address 1:
    Source mapping: it is a Idoc with the following requirements
    IF E1IDB02 BA-FIIKWAER = CNY and LEN(E1IDB02 BB-FIIBKNAM)<=11
          then MID(E1IDB02 BB-FIIBKNAM,2,10)
    IF E1IDB02 BA-FIIKWAER = CNY and LEN(E1IDB02 BB-FIIBKNAM)>11
           then MID(E1IDB02 BB-FIIBKNAM,12,11)
    IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1IDB02 BB-FIIBKNAM)<=35
            then MID(E1IDB02 BB-STRAS,1,35)
    IF E1IDB02 BA-FIIKWAER <> CNY and LEN(E1IDB02 BB-FIIBKNAM)>35
           then MID(E1IDB02 BB-FIIBKNAM,36,35)
    E1IDB02 -- is a segment name with occurence 1..1
    BA and BB are the qualifiers
    FIIBKNAM is the field name.
    I am unable to map this as the condition has to be given with two qualifiers at a time.
    Can some one help me out on this. Can we define the UDF where we can store this information as temporary variable. If UDF can be defined, please let me know with the details.
    Regards,
    Manoj

    HI,
    Yes, but you have to write your own UDF ,
    but i can give example use this to solve your problem.
    IF E1IDB02 BA-FIIKWAER = CNY
    then MID(E1EDKA1 BE-NAME1,12,11)
    1)
    input E1EDKA1 BE-NAME1,E1IDB02 BA-FIIKWAER
    if (E1IDB02 BA-FIIKWAER = CNY) {
    return substring(E1EDKA1 BE-NAME1,12,11);
    2)
    input E1EDKA1 BE-NAME1,E1IDB02 BA-FIIKWAER
    IF (E1IDB02 BA-FIIKWAER <> CNY ) && ( (E1EDKA1 BE-NAME1).length<=35)
    return substring(E1EDKA1 BE-STRAS,1,35);
    3)
    IF (E1IDB02 BA-FIIKWAER <> CNY) && ((E1EDKA1 BE-NAME1).length>35)
    return substring(E1EDKA1 BE-NAME1,36,35);
    Before map this first map with same level of empty constant and concat it, if it is empty,later map with substring.
    Regards
    Chilla

  • A Uncanny Problem with IDoc Outbound:

    Hi,
    I meet a problem When outbounding a Z idoc: a field in a segment has no value (While according the trigerred FM logic, should not space):  segment structure: matnr lorvm sprat1 ... vkorg
       the data source is from table MVKE. Some times the field 'VKORG' is space in IDoc created using FM 'MASTER_IDOC...'.
    It is uncanny one as 'VKORG' is a key field in a record, it's value always is not space!
    Why the issue occurs?

    Hi Nitzan,
    ALE does not do these checks! Maybe you can do some coding in ALE-Userexits do achieve this with your own ABAP (i.e EXIT_SAPLRHA0_005).
    Where does wrong data come from? Can't it be checked before sending to targetsystem.
    What shall ALE do with data, which it cannot insert? Shall it stay there in ALE-input without ever been worked up?
    Regards
    Herbert

  • Some problem with IDoc's Settings while loading data

    Hey Experts,
    Previously i tried data loading using LIS & LO, but i was not able to load data, i was taking it as some transfer structure problem.
    But just today i tried to load Master Data, and its displaying the same error. I feel its something related to IDoc/Basis settings, please see the below wrror described and try to help.
    <b>Error when updating Idocs in Business Information Warehouse
    Diagnosis
    Errors have been reported in Business Information Warehouse during IDoc update:
    Could not find code page for receiving system</b>
    When i am checking the details its saying:
    Transfer (IDocs and TRFC): Missing messages or warnings ,
    Request IDoc : sent, not arrived ; Error passing data to port.....
    Please suggest the solution?
    Thanks.....

    Hey Roberto,
    in the details tab of RSMO, before that IDOC, i m getting this error message also:
    1. Requests (messages): Everything OK
    1.1 Data request arranged
    1.2 Confirmed with: OK
    2Extraction (messages): Missing messages
    2.1Missing message: Request received
    2.2Missing message: Number of sent records
    2.3Missing message: Number of sent records
    after that its
    Transfer (IDocs and TRFC): Errors occurred
    If it can add something extra in getting the solution.....
    Message was edited by: BI Project

Maybe you are looking for

  • In Album View Same Album Art Shows On Mulitiple Albums

    Hi, When I view my music collection in "album" view in itunes 11 many of the albums I have are using the same cover art, ie the album art from a single album is being incorrectly repeated across multiple albums. This is not the case for all my albums

  • Music in my playlist are grayed out and I'm not able to play from the Windows nor my devices

    I tried syncing and the songs are bypassed while playing from a playlist. Help!!!

  • IPhoto '11 - Create album of photos NOT in any Smart Album

    I've searched these forums and couldn't find anything to help me out.  I'm using iPhoto '11, and have converted all my albums to smart albums, primarily using keywords.  In my old scenario, using albums, I could create a "to file" album of photos tha

  • Init scripts

    It has been a while since I last posted, but I like arch. My question is regarding the init scripts used in arch.  Specifically, three common commands used in the init scipts, and they are "stat_fail","stat_done", and "add_daemon". Could some refer m

  • Wireless connectivity problems using IOS 6.0.2?

    After installing IOS 6.0.2 on my iPhone 5 I can no longer connect to known wireless sites.  I've been through troubleshooting with both Apple and my ISP and no luck.  I'm thinking there's wireless connectivity problems with this latest update (my iPa