Data replication problem in SRM using inbound idoc FM IDOC_INPUT_HRMD

Hello Experts,
We are using FM IDOC_INPUT_HRMD for replicating HR data in SRM 5.0.
Now the data which was passed to port is in insert mode i.e in transaction PFAL we are passing Idoc in Insert mode.
So this means whatever data exist in target system that should be overwritten by this new Idoc data.
The Idoc which is created in target system (in SRM) is in status 52 & message is 'Business Partner already exist',
So data is not posted in system due to this error.
Idoc details as below:
Process code:HRMD
FM: 'IDOC_INPUT_HRMD'.
Could you please help in this?
regards,
Amol'

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

Similar Messages

  • I can create material using inbound Idoc of type MATMAS01, but not MATMAS05

    I can create material using inbound Idoc of type MATMAS01 in WE19, but MATMAS05 failed. In fact I used same data ( different material number), and same inbound function, but got different result.
    What is different between MATMAS01 and MATMAS05? Is there some configuation need for MATMAS05?
    My system is ECC5.0. Thanks.

    Hi, nagaraj
    this is inbound IDoc, not outbound IDoc, so we can't assign Basic type in WE20, only can assign Message type.
    In WE82, there are 5 records about Messagetype MATMAS:
         Message type   Basic type     Release
          MATMAS         MATMAS01        30A
          MATMAS         MATMAS02        30D
          MATMAS         MATMAS03        40A
          MATMAS         MATMAS04        46C
          MATMAS         MATMAS05        470
       I think it should be ok.
    In WE57, there 2 records are exist:
       FM_name                 BasicType       MessageType
      IDOC_INPUT_MATMAS01       MATMAS01         MATMAS
      IDOC_INPUT_MATMAS01       MATMAS05         MATMAS
    so I think all configurations should be ok.
    Message was edited by:
            liu bin

  • Purchase Order triggering Sales Order using Inbound Idocs

    Hi All,
    Can any one explain the flow of Purchase Order triggering Sales Order using Inbound Idocs..??
    Thanks & Regards
    Anoop

    Use search tool to find sample like Integrating MM & SD Modules in Same Client to Create Sales order in Supplying Company Code Using PO raised in Receiving Company Code By I-Doc Message Type ORDERS Part1,  Part 2 and Part 3.
    Regards,
    Raymond

  • Issues during Contract creation using Inbound IDOC BLAORD03

    Dear Experts,
    We need to create Contract using Inbound IDOC BLAORD03.
    I am facing following issues and need some one's help ASAP.
    (1) Contract is generated without  Header Texts and Item Texts through IDOC BLAORD03 .
    (2) Not able to create CONTRACT for service masters using Inbound IDOC BLAORD03.
    Is there any body who has implemented this scenario and able to guide ?
    Looking forward to help ASAP.
    Thanks in Advance,
    Best Regards,
    Mitesh Desai
    [email protected]

    Hi All,
    I am also facing the same issue. I am trying to upload service outline agreements thru LSMW using  idoc basiv type BLAORD03 ( FM->IDOC_INPUT_BLAORD).
    Immediate help highly appreciated.
    Thanks & Regards,
    Vijender

  • Update EKKO Z field using Inbound Idoc

    I have an requirement where  I have to update Z field in EKKO while creating PO using inbound Idoc.
    Basic Idoc Type: PORDC103
    Function module: BAPI_PO_CREATE1
    Extended POHEADER and EKKO with z field.
    I am using exit EXIT_SAPL2012_001 to populate Z field while creating PO as below.
    poheader-zfield = '123'.
    extensionin-structure =  'Z_HEADER'.
    extensionin-valuepart1 =  '123'.
    APPEND extensionin.
    PO is getting created but z fields is not populated. Do i need to add any thing else apart from the above steps?.
    Any help appreciated.

    Rajitha,
    Add your Z field in structure BAPI_TE_MEPOHEADER and a corresponding flag in BAPI_TE_MEPOHEADERX.
    extensionin-structure = 'TE_MEPOHEADER'.
    extensionin-valuepart1 = '__________123'                      "'10 spaces than value for the field'.  
    APPEND extensionin.
    extensionin-structure = 'TE_MEPOHEADERX'.
    extensionin-valuepart1 = '__________X'                      "'10 spaces than X.  
    APPEND extensionin.
    You don't need to implement/use any exit for filling the custom fields.
    Regards,
    Diwakar

  • GR posting using inbound Idoc against Outbound delivery

    Hi,
    We are doing SAP ISR integration with third party POS and there we have a scanario where we have to post GR against outbound delivery using inbound Idoc. Can anybody help me out, how can we do it.
    In SAP processing would happen using MIGO against outbound delivery number and movement type 101. We tried the same with Idoc WMMBXY message type but not suceed.
    Looking for positive reply.
    Regards
    Vikrant pathak

    Hi,
    You can never do a GR against an outbound delivery, but where as you can do a GR against PO with reference to corresponding sales order with special stock indicator.
    That means when the GR is done the goods what ever you have received is going to be blocked against the corresponding sales order and when you do the outbound delivery against the sales order stock is already available and the goods issue will happen smoothly without any errors.
    We have implemented the same in my earlier project.
    Thanks,
    Mahesh.

  • How to Create a Return Order wrt a Standard Order using Inbound IDOC Orders

    HI,
    We have a scenario :
    Standard Order - is exiting in System with 2 line items :
    Item 10
    Qty 20
    Item 20
    Qty 30
    Is it possible create a Return Order With Reference to this standard order for Line Item 20 only using inbound IDOC Orders?
    If yes what should be the mapping in the IDOC about the Standard Order, Item and QTY ?
    Regards
    Anurag

    hi,
    try using this bapi.
    /AFS/BAPI_SALESORD_CREATEFDATA.
    thanks,
    satish

  • Create credit memo request using inbound IDOC

    Hi Experts,
    I want to create credit memo request using inbound IDOC, currently I am using GSVERF03 basic type and process code GSVE, I am getting below error:
    No records exist in T661W for vendor XXXXX, plant, unloading point
    Anyone suggest me is this correct message type to create credit memo request or suggest me the correct one. because we are working with customer sales order and invoice not with vendor purchase order.
    Thanks for your help.

    ah, apologies i read outbound! I think you are using the correct message type i.e. GSVERF.
    Can you not simply create the missing entry in T661W? i.e. for the missing records?

  • Using Inbound IDOC from Java system creation of Outbound delivery

    Dear Experts,
    The scenario we are having is really very interesting. Hopefully its a good learning for me and also for others also.
    The scenario is,
    After sales order creation the details will be sent to one Non SAP system (Java) for performing some tasks related to forwarding agent decision, shipping date and etc. Once the details are finalized in that Java system then, the details needs to be transferred to SAP as "Inbound IDOC" process. For this proposed to use the SAP Jco middle ware.
    Once the details transfered from Java system to SAP then, the outbound IDOC needs to get generated automatically. Assuming the stock for that sales order line item is available. Also one more complexity is, our client is using custom transaction (ZVl10C) for delivery creation.
    Now Query is,
    1. Which IDOC, message type and Functional module needs to be used for creating the delivery automatically..??
    2. As per assumption, stock of that sales order line item should be available. Due to some business reason the stock was removed during inbound IDOC transfer then, what will happen to the IDOC..?. How to avoid this situation..??
    3. As we told we are re going to use SAP Jco b/w SAP & Java system. In this case, how the data will get transfered from Java system to SAP..?
    Thanks in advance for the replies I am going to get
    Regards,
    VEL

    Thanks for the feedback. This question is resolved

  • Payment Terms wrongly getting updated using Inbound Idoc

    Hi All,
    I have a inbound IDOC which creates new invoice evrery time it gets triggered. In the function module attached with that IDOC there is a logic written to fetch the payment terms from the vendor master LFB1. System should display that Payment terms in tcode MIR4 (Display Invoice) as per the logic written in the IDOC FM. But, It is displaying wrong payment terms.
    Select single ZTERM
    into v_zterm
    from lfb1
    where lifnr = p_lifnr.
    I have checked while debugging my logic fetches the correct payment terms (20NM) but the same is not getting updated in MIR4 . wrong value (42 Net days ) geting updated. Please suggest what needs to be done to correct this.
    Thanks,
    VB

    Vikas,
    Your quesion can be bit more clear. What is that 42 days..?? To my guess based on your payment terms due date might be calculated and kept as 42 days. If you can tell us about 42 days then someone can help you.
    Regards
    Venkat

  • SEND PR data from ECC to SRM using PI

    Hi PI Guru's
    Please advise if there is any documentation to send the PR's from ECC to SRM using PI.
    If not PRs in general if need to exchange any documents from ECC6.0 to/from SRM using PI.
    Can we use ABAP proxys or IDOCs.
    Any help would be greatly appreciated.
    Rgds
    Nikki

    decide proxy or IDOC or RFC based on the business requirement, first search any std IDOc or RFc available if not then go for proxies.
    chirag

  • Problem with processing edited inbound idoc

    hi
    i am editing an inbound idoc as a result it goes to status 69.
    Then to process this IDoc through program 'RBDAPP01', i am changing the status of the idoc to 64 through IDOC_STATUS_WRITE_TO_DATABASE'.
    But after that when i am calling transaction for RBDAPP01 passing the idoc number it gives me a message 'IDoc is still being processed' and the status is 64.
    Any help on the same is highly appreciated.
    Thanks.

    Hi Anand,
    If you have custom program written, please add FM <b>DEQUEUE_ALL</b> at the end of FM IDOC_STATUS_WRITE_TO_DATABASE. This will prevent overflow of the lock table for large number of IDOCs prior to call program RBDAPP01.
    If you run manually via SE37, please ensure you are completely out from FM IDOC_STATUS_WRITE_TO_DATABASE. Then you can run program RBDAPP01. Please use program RC1_IDOC_SET_STATUS to convert IDoc status.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward point if helpful

  • Creation of  sales order using inbound idoc

    hello all,
             I have a scenario where i need to read data from a flat file, then create a sales order with the flat file data using IDOC. we can also create sales order using BAPI but the problem is that we need to handle serveral errors so we want to use IDOC.
           we are trying to use the function modules 'Idoc_input_orders'  but we are not sure how exactly we need to pass the parameters into the function module, actullays data control structure is asking for different parameters like partner, idoc number, idoc port etc which we need not have as we are processing it internally in the same system.
        It would be great if some one could help me regarding.
    Thanks
    krishnam raju N
    Message was edited by:
            krishnam Raju N
    krishnam Raju N

    Hi,
    see FUNCTION 'IDOC_INBOUND_FROM_FILE'
    Regards,
    Clemens

  • Vendor Acknowledgment for PO using Inbound Idoc.

    HI,
    I have a scenario, where we send the PO to the supplier through Idoc, which is sucessfully recieved, when the supplier tries to send the acknowledgment for the PO through Idoc the Idoc fails with an error message "Confirmed price cannot be set in document conditions" - A condition type with condition category 'd' is not included among the document conditions. I am using message type as ORDRSP. Can any one please tell me where i would have gone wrong in the settings.
    Regards
    JJJ

    Hi,
    As per my assumption If the IDOC is recieved with the Error status.There shouldn't be  any problem with settings.Please put the break point in the Inbound function module and test the IDOC in Tcode WE19 and try to find out from where the error is.
    Please let me know if you require anything else.
    Regards,
    Sharath
    Edited by: sharath Girmaji on Aug 29, 2008 7:58 PM

  • Create Stock transfer Order using Inbound IDOC ORDERS05

    Hi,
    I am creating Inbound STO using ORDERS05. But it is triggering Sales Orders.
    The below message is coming.
    No sales organization, distribution channel or division were sent to the IDOC. This data is necessary if a sales order is to be added automatically. If this data is unavailable, you cannot create a sales order document.
    Suggest what are the required fields we should pass to segments?
    Regards,
    Balavardhan.K

    Hi Bala,
          I sugget you to pass the fields what ever it is showing as required fields.Till the end of the messages.

Maybe you are looking for

  • My ipod nano 3rd G is not working

    I have an ipod nano 3rd generation that does not funtion. When i turn it on it show the apple for 1 or 3 seconds and then a red circle with a red X in the middle appears. I have tried putting it in disk mode and restoring it but fail. The ipod does n

  • New Payment Terms for Spain

    Hallo everyone, I must create a new payment term: "75 DAYS FROM INVOICE DATE - FIXED DAY 20". This means that if a create an invoice on 27/09/10, its due date must be 20/12/10, because:: 27/09/10 + 75 DAYS = 11/12/10 + FIXED DAY 20 = 20/12/10. How ca

  • How to set JTable row background color

    Hello, I have seen JTable with rows having alternate background color (mostly white and light blue). How can i set the same. Thanks, Deepak

  • How to get sum of highlighted column values.

    Is there currently any functionality that allows you to highlight a certain number of column values in the returned result set and to see the sum of the values highlighted.

  • New attributes for resource

    Hi, I have AD as a resource in IDM. The attributes in IDM are mapped to corresponding attributes in AD. Now i have a requirement wherein I have some new attributes in AD. So i need to have IDM attributes mapped to these new AD attributes so that when