AEDTM + UNAME not filled via HRMD_A inbound idoc

Sorry if this is the wrong forum but I couldn't find any forum related to IDocs.
I have an inbound idoc:
message type: HRMD_A
basic type: ZHRMD_A0701
Processing the idoc is working, however, AEDTM and UNAME isn't filled (the fileds are empty). I would assume that those fields are filled automatically with sy-datum and sy-uname. I did some debugging and found the corresponding INSERT:
IDOC_INPUT_HRMD
- IDOC_PROCESS_HRMD
  - RH_IDOC_OBJECTS_SAVE
    - inbound_objects_block
      - RH_CREATE_INFTY_PA_PB
        - SAVE_PA_PB_INFTY
          - insert_pa_pb_objects
            INSERT (dbname) FROM <f_prel_db>.
AEDTM and UNAME are emtpy in <f_prel_db>. Any idea why? Is this a known issue?

HR inbound idocs actually do not override change date / time (aedtm, uname) with date/ user id of the user who processes the inbound idoc. These info should automatically be populated in the oubound idocs as is from sending SAP system.
I guess the reason being is this is meant to replicate data (with all original info from sending system) to receiving system. If you notice in the receiving system, when HR inbound idocs are processed, change pointers are not recorded.
Therefore, if the inbound idcocs are not senf from SAP, these info would need to be populated when outbound idocs are created. Otherwise, you may have to look at inbound user-exit to see if these fields can be populated in the idocs segments.

Similar Messages

  • Message type is not populating in the Inbound idoc control record

    Hi,
    I have created an Inbound Idoc function module and have done the necessary Idoc settings. But, while testing in WE19, I observed that control record is not getting populated with message type and it is dumping.
    The settings which I have done in WEDI as follows:
    1. Created Idoc segments with necessary fields and released
    2. Created Idoc type for the segment type
    3. Created message type
    4. Assigned message type to basic type
    5. In the inbound processing settings,
       filled the ALE attributes with the Idoc function module name and input value '0'
    6. Assigned FM to basic type and message type
    7. Created process code and assigned the process code to message type
    Please let me know, the reason for the message type not populating in the control record. Useful answers will be surely rewarded.
    Best Regards,
    Mallika

    Hi,     
    Maintain partner profile (Transaction code WE20) for the message type you defined in WE81 and put your process code in partner profile and check your logical system settings also in transaction SALE.
    Thanks
    Rahul

  • Cost center not checked during the inbound idoc FIDCCP2

    Hi all,
    Could you please give any input on this strange issue.
    I am testing inbound Idoc FIDCCP2 (GLVOR = 'HRP1' ) with tcode WE19 and when I fill cost center with value 'ZZZZZ' the system post the FI document and deosn't check the cost center like in FB01.
    With FB01 I have a error message "Coste center 'ZZZZ 'does not exist on 21.08.2014" and cannot post the document.
    Thanks.
    Farouk.

    Try OSS note 114814.
    Regards
    Waza

  • Workitem is not generating for an Inbound Idoc

    Hi All,
    The problem I am facing, when inbound idoc is processing in SAP, if there are any errors occurred, it would generate a work item and that will be sent to user Inbox (SBWP) as per the workflow. Here it is not generating a work item for an inbound idoc where is there is an error. So user is not receiving work item mail to inbox, to check about the idoc error. This idoc has been processed through the function module.
    Could you please let us know your input on this issue.

    Hi Hitu,
    The problem could be at multiple places.
    To debug check the workflow which sends the workitem to the user when an error occurs.
    Check if this workflow is getting triggered when the error occurs. If yes, then check the step whre this workflow fails.
    Else, check the event linkage of this workflow and check if the associated event is getting triggered or not. If yes, check if the event linakge is active for the workflow.
    There could be other places as well to diagnose the error.
    Check if these inputs gives you some direction.
    Regards,
    Saumya

  • HRMD_A Inbound Idoc with process Code:HRMD not updated in SAP

    Dear friends,
    I'm facing a problem with Personnel data creation in SAP (this is not a SAP HR system).
    I have a data file with Personnel data, in WE19, I use idoc_input_hrmd to process the data (with basic type: hrmd_a06). Idoc has been created with status '53'. However, when I check in SAP, t-code PA30 with the Personnel number, the record does not exist. Checked infotype tables PA0000, PA0001, PA0002 and PA0003 as well, no luck.
    I wonder where does the data go? Is it sitting somewhere in the system and waiting to be processed?
    Please help!!!!!

    Hi
    Authorizations might be one of the reason.
    So IDOC transfered but no records to be writeen to DB.
    regards
    vijay

  • Additional account assignments could not be determined in inbound idoc

    Hi Gurus,
    Iam getting the error for inter company billiing idoc .
    Direction         2     Inbox
    Current status    51 --> Application document not posted
    Basic type        INVOIC01
    Extension         ZINVOIC2
    Message type      INVOIC
    Partner No.       I0107IC
    Partn.Type        LI
    Port              P12INTERCP
    Error is : Item: 002 - additional account assignments could not be determined
                    Message no. FD171
    Please let me know where we can assign the additional account assignment for intercompany billing .
    Thanks in advance
    RameshG

    Check Note 137686 - ALE_INVOIC01: Internal allocatn Customizing in FI
    thanks
    G. Lakshmipathi

  • PORDCR - Inbound IDOC via User-Exit

    Hi All,
    I would like to create a Purchase Order via an inbound Idoc with a message type PORDCR.
    I would like to make use of the enhancement MM06E001 and the function module EXIT_SAPLEINM_002 to populate data segments.
    Please advise if this is the correct user-exit to process an inbound idoc.
    Any input appreciated.
    Meghna

    Hi Meghanarrao,
    IDOC_INPUT_ORDRSP-->PERFORM fill_data_ordrsp-->and find the below user exits for each segment...
    List of user exits available for --
    EXIT_SAPLEINM_001   
    EXIT_SAPLEINM_002   
    EXIT_SAPLEINM_003   
    EXIT_SAPLEINM_004   
    EXIT_SAPLEINM_005   
    EXIT_SAPLEINM_006   
    EXIT_SAPLEINM_007   
    EXIT_SAPLEINM_008   
    EXIT_SAPLEINM_009   
    EXIT_SAPLEINM_011   
    EXIT_SAPLEINM_012   
    EXIT_SAPLEINM_013   
    EXIT_SAPLEINM_014   
    EXIT_SAPLEINM_015   
    EXIT_SAPLEINM_016   
    EXIT_SAPLEINM_017   
    EXIT_SAPLEINM_018   
    EXIT_SAPLEINM_019   
    EXIT_SAPLEINM_020   
    IDOC----- Dir -Enhancemnt --Description
    ORDCHG -O -MM06E001   -- Purch. Ord. Change
    ORDCHG- I -VEDB0001     --Sales Ord. Change
    ORDERS- O -MM06E001   --Purchase Orders
    ORDERS -I- VEDA0001     --Sales Orders
    ORDRSP -O- SDEDI001    --Order Confirmation
    ORDRSP -I- MM06E001    --Order Response for Purchase Order   "This is the Right one for Purchase order create
    IDOC           Msg        ANSI EDIFACT I O
    ORDERS01 ORDCHG 860 ORDCHG X X
    ORDERS01 ORDERS 850 ORDERS X X
    ORDERS01 ORDRSP 855 ORDRSP X X
    IDOC_INPUT_ORDRSP--Function module-BUS2012-Inbound-Purchase order / order confirmation
    regards,
    Prabhudas

  • Inbound IDOC Format (Flat File)

    Hi,
    I'm using SAP CRM Middleware for communication between CRM and Legacy System.
    I have configured Outbound IDOCs and I see something like this:
    EDI_DC40  2200000000000000023700 3012  CRMXIF_PARTNER_SAVE_M01                                     CRMXIF_PARTNER_SAVE_M
    E201CRMXIF_PARTNER_COMPLEX000 220000000000000002300000100000001CRMXIF_PARTNER_COMPLEX
    E201CRMXIF_PARTNER_HEADER000  220000000000000002300000200000102CRMXIF_PARTNER_HEADER         BusinessPartner                 U
    E201CRMXIF_PARTNER_KEYS000    220000000000000002300000300000203CRMXIF_PARTNER_KEYS           0000000014488DDB8AD891249EE10080010A6CA883
    The questions are:
    I need to know how do the following information must be filled in an Inbound IDOC:
    The first characters I understand that corresponds to the Structure name, IDOC Number, IDOC Line...
    So I need how do fields like IDOC number must be filled in an Inbound IDOC
    Thanx in advance..
    BTW. I'm expecting IDOCs as flat files so I need to explain to the Legacy Technician how to fill this fields.

    Hi,
    Go to transaction WE30 and give the IDoc basictype name CRMXIF_PARTNER_REL_SAVE_M01 and press the view-button (or press F7 key).
    This information you will need.
    The records are builded using the following structure:
    1st record contains control record information and follows the structure of table EDIDC.
    Starting at where "220" is given (this is the CLIENT), it is followed by the IDoc number field DOCNUM (16 digits) and so on. Not all fields must be filled, only those that are used for inbound messaging. Keep here in mind: Less fields filled will probably work better (because SAP will add its own details on arrival of the IDoc).
    All following records follow the structure of table EDID4 upto the field: HLEVEL (Hierarchy level, identical to the level found in WE30).
    Thereafter it is followed by the name of the segment (including spaces) and after this it will follow the exact structure of the segment.
    To view a sample, just generate a dummy (test) IDoc and use transaction WE19 to fill in the fields after changing to the correct IDoc type.
    Hope this helps you out.
    Regards,
    Rob.

  • Inbound IDoc must trigger a workflow if shipment already exists

    Hi friends, my requirement is that:
    I will be getting shipment details via an Inbound IDoc into my SAP system. (IDOC_INPUT_SHPMNT) If the shipment number already exists in the system a workflow error must occur. Also the delivery number in the shipment should be validated for the shipment, if not a workflow notice should generate.
    Could someone please help me in doing this.
    All helpful answers will be appreciated.
    Thank You

    This report might help you
    RSEIDOCM
    Otherwise maybe in ALE customising you could create an event in a user program and use FM SAP_WAPI_START_WORKFLOW to launch your workflow.
    You will have the IDOC message types coming in and the process codes which are executed so you should be able to monitor the process and take whatever action you need during the process..
    (Customising -- use transaction SALE) 
    cheers
    jimbo

  • Scheduling agreement inbound idoc error.

    Hi Experts,
    I am creating an Scheduling Agreement with DELFOR02 inbound idoc, while creation the Scheduling Agreement system is giving error regarding Scheduling Agreement not found. In fact I have create the Scheduling agreement by T-code VA31. And I check the table VLPKM, there are relevant record stored.
    Then I maintain the view V_T663A to not check everything when inbound idoc recevie. and tried agan in t-code BD87. the system give me another message Make an entry in all required fields.
    How can I handle these error messages?
    Thanks..
    Regards....

    Does any one has ideas for that?
    Thanks.

  • Inbound IDOC receiver port not getting filled in

    Hi All,
    I checked the WE20 configuration and it is fine. Just wanted to check if there is any other sap configuration which might be missing.
    The IDOC is coming from a web server and they confirmed that they are filling the receiver port information while sending, but in the IDOC that we receive in SAP the receiver port is coming as blank.
    Any pointers will be appreciated.
    Thanks,
    Anil

    Hello Anil,
    When they say they are filling receiver port that means they filling EDIDC-RCVPRT, please note with out receiver port you will not be able to receive the Idoc.
    It means this value might be cleared somewhere in SAP. may be user exit or BADI or enhancement. what you can do is try to create inbound idocs by populating receiver  port using WE19 and check whether the created idoc contains this value or not.By doing the you can get an idea where this value is disappered.

  • Inbound IDoc not getting generated in XI System

    Hi all,
    I have created a scenario following the given weblog:
    <b>/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements
    The first half of this scenario is working fine and the <b>idoc data is getting posted into the the oracle table successfully</b>.
    The business process is successfully sending the <b>acknowledgement IDOC 'ALEAUD'</b> to the XI server using an HTTP Receiver Channel.
    The problem is that <b>no inbound IDOC</b> can be seen in the XI system using tcode <b>we05</b>.
    Next the xi system has to send the same IDoc to the R/3 system. But as no IDoc is getting generated in XI, nothing gets sent to R/3.
    Can anyone suggest what could be the possible error.
    Pls help.
    Regards,
    Neetu

    Hi,
    You will not see that IDOC in WE05 of the XI system. You can see that only in SXMB_MONI. XI system will not store any IDOC. When it enters XI it is a XML message and it will not post any IDOC that you can see in WE05.
    If you need to send the IDOC back to R/3 system, you can use BPM and send back the IDOC to R/3. If you need few details from Oracle tables that is to be sent back to R/3 then get those values from Oracle tables and fill in the same IDOC and send it back to R/3.
    Try this and let me know.
    Thanks,
    Prakash

  • Error in number range while testing inbound idoc via we19

    hi all,
    i have done all configurations but while testing the inbound idoc via we19 i am getting an error 'error in assigning number to idoc'..i checked and found that the number range object for idoc is edidoc in it number interval is defined from 1 to 99
    i dont think that anything is wrong with the number object..
    Can u tell me how dow i eliminate this error?

    Increase Higher limit the reason is when you look at current idoc number ( This idoc number already exists ) ,it will not create new idoc number.
    System will get the number from SNRO Based on IDOC Object.
    Just look at EDIDC and see the current idoc number.
    Simple example :
    I have one number - 100 ,it is already exists in database,if i insert same record to the database ,did system will accept ?
    Thanks
    Seshu

  • Post long text for document line item via FI-GL Inbound IDoc

    Hi guru,
    I am trying post extension ZFIDCP02 linked basic type FIDCCP02 and message type FIDCC2 IDoc in R/3 (4.6c) via IBM Websphere (Inbound IDoc),
    I am use inbound function module IDOC_INPUT_FIDCC2 and activate exit 008 (EXIT_SAPLF050_008) and exit 002 (EXIT_SAPLF050_002),
    In the extension ZFIDCP02 and under E1FISEG, I am add my segment  ZITEXT include field TDSPRAS, TDID, TDOBJECT, TDLINE.
    I am send  ZFIDCP02 IDoc via IBM Websphere no error  but all field TDSPRAS, TDID, TDOBJECT, TDLINE in my segment  ZITEXT not post in FI-GL.
    How can I  post long text for document line item (ZITEXT) in FI-GL ?.
    and I'm mean post ZITEXT to bank statement via IDOC.
    Please throw light on this  and  may be I  'm want solution or example ABAP code for exit 002 (EXIT_SAPLF050_002).
    Thanks in advance,
    Akkapong Pirachai
    CAT Telecom
    Edited by: Akkapong Pirachai on Aug 20, 2008 7:40 AM

    Close question because long time for answer.

  • LFA1 Table fields are not updated via IDOC for particular vendors

    Hello,
    We have a scenario where some of the additional vendor fields in transaction xk02 should be updated via inbound IDOC.
    The IDOC segments have the corresponding vendor field values in it.
    For particular vendors, the updation is not taking place for those fields.
    What could be the possible reason. Kindly help me with this.

    Hello,
    that may be due to customizing.
    You should check with functional consultant.
    Regards

Maybe you are looking for

  • # in url

    Suppose I have the value: "...&dbname=DB#001" in my url. How do I write a query that accesses the value with the #? For instance: WHERE DBNAME = #url.dbname# Currently, CF can't handle the # in the url variable. Thanks in advance. Tom

  • Select one record per person from multiple conditions

    Perhaps been staring at this too long and making changes to try and gather the correct population, but can't seem to figure it out at the moment. Trying to determine logic to select one record per person. If person has more than one record would like

  • Trying to get the darn new AE up THEN connected to the internet

    I have been trying different things for 3 hours...I give up. How Apple can possible say they make it easy to configure and connect...I think either they or I live on another planet! I have been using a DHCP with my DSL to D-Link Wireless Router to MB

  • HELP  iPhoto database stuck

    iPhoto & Aperture database stuck on 'processing' for days. Measage preparing thumbnails.  Tried to cancel  but just keeps processing and I can't use either app. Any ideas?  Thanks

  • Upgrade to Ios7, now getting duplicate messages

    My daughter upgraded her iPhone 4 to Ios7.  We do share the same Apple ID.  Now, when we are using iMessage, we get copies of each other's messages and my phone continues to send my response as a separate messages to my phone.  I did get a message fr