Idoc inbound problem

Hi Friends,
I am facing a problem in IDOC inbound processing.
My scenario in SALES PER RECEIPT - POS like this: I have to read XML (From PC) file and i have to post it.
I am using Idoc - WPUBON01. After reading XML file i used Function module to distribute - MASTER_IDOC_DSTRIBUTE.
In we02 i checked Idoc is generating but status showing 29.
So run the report RSEOUT00. But i am getting message like 'No idoc is selected for processing'.
Plz help me what i have to do. I created port also.
Regards,
P. Kumar.

hi kumar,
           if u get status 29-error in ale service- check partner profile first.if it exists check ur logic where u modify control record,else create partner profile and restart again.
Reward if usful.
Thanks,
Srikanth.A

Similar Messages

  • CATS IDoc inbound problem - Transaction lock, LR002

    Customer is posting CATS records via interface from externa system to IDoc for CATS processing. Either the create BAPI (BAPI_...) is used or if there is a change to an already existing posting (BAPI_...). For his i have slightly modified the SAP standard existing FM for CATS inbound processing (IDOC_) to handle both scenarios, create and change. I basically examine CATS data from external system and if it is already existing then I call the change BAPI and if not found the I call the create BAPI.
    We have no problem posting with these BAPIs when there postings are imported one by one. But, when several CATS postings arrive at the same second then not all postings are handled correctly. We receive error message "Transaction locked by user XXX" (error message e002(lr)) and XXX is the background communication user. No luck using "Where used" for error 002 in message class LR either. Also tried tracing with trans SE30 but no luck there either.  Data is always different but can be for the same personell number. User is correct and not locked - it is the transaction (like CAT2) thats SAP standard reports as locked. Some postings go through alright but then after a few corrrect posting this problem pops up. Very frustating.
    Code is correct as it seems only to be a "overflow" problem. Config and data is also correct. Customer was also facing the very same error using the same BAPIs called via RFC and not via IDoc.
    Reason to change to IDoc was of course to set the posting as synchronous thus avoiding this "overflow" problem. In standard SAP is IDocs processed in parallell which is fine in many circumstances but not here. Or it might be OK as long as this error don't occur but have found no way so far. Customer is in production and this must be solved. We also tried this in a band new upgraded ECC 6.0 EhP5 system as customer is in the process of upgrading. Same error.
    I have found very few hints when searching through Google, SAPNet, SDN etc. This is one of the very few links I found: [Locking problem with FM EDI_DATA_INCOMING;
    So I checked this in trans WE46 but as customer is running ECC 6.0 EhP3 we have no such option. Then tried trans nOYEAn setting the parameter "Synchronous processing" but I do not understand how this is supposed to work. Problem stills remains. The values are stored in table EDICONFIG and here parameter INBSYNC is used for the synchrounous setting as of my understanding but we only have this for a user called EDIADMIN and that is certainly not our background user. I don't understand how to set this parameter correctly I guess. SAP help doen't give more insight either - at least not for me.
    Does anyone have a suggestion how to solve this problem? Anyone solved this before and willing to share a solution?
    << Moderator message - Please do not promise points >>
    I maybe beed to send this to SAP OSS but trying this option first.
    To me this is puzzling. Find very few references which normally means few have encountered this. Strange. CATS BAPI interfacing must be used by a lot of companies.
    BR, Johan
    Edited by: Rob Burbank on Nov 7, 2011 2:36 PM

    Hi Johan,
    These kind of problems arise when there is a very little time gap between two successive postings. So put a 'WAIT UP TO 2 SECONDS' between each of the postings. This will give time for the previous posting to perform the updates even before the next posting hits the same transaction. This will solve your problem.

  • IDOC Inbound Problems

    Hi there experts,
    I've been through a lot of blogs, websites, google, SCN and others, but I can't find a solution for my problem.
    We need to create an interface ECC > PI using IDOC.
    All config were done to make it happen.
    When the IDOC is sent to PI (I've used WE19 for tests), it goes to PI and when I check BD87 I always have those errors:
    Error 56 : External segment name E2FIKPF007 cannot be interpreted
    Error 60 : Basic type FIDCCP02 does not exist
    So, as you can see, we are using IDOC FIDCCP02. It's basic data was configured on PI IDX2 and it is loaded just fine:
    What could be possibly wrong?
    Thank's!
    Flavio

    Hi Ramkumar, thank's for the fast response.
    When we go to IDX2, select the IDOC and choose to show the details, we have an option to show all segment versions. And there is E2FIKPF007.

  • Error : Pre Settings for IDoc inbound processing are missing error

    Hi Experts,
    There is a CRM job which executes LSMW and I am facing a strange problem during the IDOC posting the error "Pre Settings for IDoc inbound processing are missing error". Can anyone please tell me how to correct this error?
    Thanks in advance.
    Madhurima.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    [iTunes for Windows: "Registry settings" warning when opening iTunes|http://support.apple.com/kb/TS3299]

  • LSMW idoc Inbound Processing settings

    Hi,
    We have done LSMW with BAPI method to create Bank master.
    In Idoc Inbound Processing settings -
    We created partner type as 'B' i.e, for BANK
    While creating Partner Number it is not allowing to create Partner Number. The error is  "Enter a permissible partner number"
    Please let me know what would be the problem.
    Regards,
    Hari
    Edited by: Bhatlapenumarthy Hari Krishna on Sep 12, 2008 9:31 AM

    Hi,
    Use patner type as US only and LSMW as Patner number.
    this will surely solve your problem .
    plz do this way :
    The first requirement is a file port for the file transfer. If required, create a port of the file type via Maintain ports. To do this, position the cursor on "File" and press Create. You should be in change mode. SAP recommends:
    Port: LSMW
    Name: Legacy System Migration Workbench
    Version: 3 (IDoc record types SAP Release 4.x)
    Outbound file Please enter a (dummy) physical directory and a file name, i.e. u2018filelsmwu2019 ·
    As an addition, you can specify a tRFC port. This port is required, if you do not want to create a file during data conversion but submit the data in packages directly to function module IDoc_Inbound_Asynchronous.
    SAP recommends:
    Port: assigned by the system
    Version: 3 (IDoc record types SAP Release 4.x)
    RFC destination: Name of R/3 System
    Name of port: Legacy System Migration Workbench.
    Then the partner type should be defined or selected. SAP recommends:
    Partner type: "US" (User)
    As of release 4.5A, this partner type is available in the standard system. Up to release 4.0B inclusive, this partner type is not available in the standard program and should be added. SAP recommends:
    Partner type: Create US
    Report name: /SAPDMC/SAP_LSMW_PARTNERTYPES
    Form routine: READ_USER
    Short description: any.
    Finally a partner number should be defined or selected. SAP recommends:
    Partner number: LSMW
    Partner type: US
    Partner status: A (active)
    Type: US
    Language: DE or EN
    Person in charge: Your user ID.
    Activate IDoc inbound processing
    reference : help.sap
    thanx.
    Edited by: Dhanashri Pawar on Sep 12, 2008 7:10 AM

  • IDoc Inbound Processing for CREMDM & DEBMDM

    Hi experts,
    I'd like to gather some feedback from you regarding the topic ERP IDoc Inbound Processing for CREMDM & DEBMDM. As you all know, there's currently no option to directly process CREMDM/DEBMDM IDocs in ERP. Currently you have to use PI for splitting the CREMDM/DEBMDM message into its related ADRMAS and CREMAS/DEBMAS IDocs.
    My areas of interest are:
    1) How satisfied are you with the current situation? Does the split work? Are there issues or problems in the current message handling? What are the Pro's and Con's from your point of view?
    2) What would be the requirements for a CREMDM/DEBMDM handler? What would you expect? Maybe you have implemented  something similar on project basis and could post some feedback?
    One painpoint I'd see with a CREMDM/DEBMDM inbound is that you'll lose the IDoc Monitoring capabilities. The message split allows a single record tracing in the IDoc Monitor (as there is a 1:1 relation between IDocs and records). This changes for the mass processing. The monitor would display only the status of the IDoc and you'd need some other monitoring capabilities to check the results on record level. What are your thoughts about that? Is the monitoring important? Would the application log be a feasible solution for that challenge?
    Additional comments are welcome, of course.
    Best regards
    Michael
    PS: @ Matt, please contact me by mail. thanks.

    Hello ,
    Here are some other pain areas regarding the message split :
    1. Complicated monitoring proess & reprocessing error idocs : We have to monitor ADRMAS & CREMAS or ADRMAS & DEBMAS during inbound processing. Also we could not find any best practices to reprocess error idocs. E.g. If ADRMAS fails & CREMAS succeeds what is the impact . Also the impact if it is reveresed. We know for sure that if CREMAS fails , vendor will not be created / updated. But we could not find specific pointers for ADRMAS failures.
    2. It is a tedious process to link CREMAS with corresponding ADRMAS idoc specially when SAP maintains internal number range for vendors.
    3 . The process is complicated if you are managing customer or vendor contact information with contact address . We could succesfully implement the integration but it took us a while to reach end-point.
    4. Splitting really does not seem to support if ERP maintains internal number range.
    5. Another major issue we observed is , if ADRMAS is under process & corresponding DEBMAS or CREMAS is posted , it fails raising the message that Account is locked. Default serialization does work in ERP system . But overlap of few microseconds also cause this error.
    Hope this helps !!
    Please let me know if you need any other specific details since we have used MDM - ECC integration using PI to its maximum extent .
    Regards
    Yogesh

  • IDOC inbound .

    Hi Gurus ,
    i am working on IDOC Inbound process , actually it has to update picking net weight and total weight , in am using stadard message type 'SHPCON' , internally this uses the function module 'WS_DELIVERY_UPDATE_2' , but after IDOC has been posted when i search in the delivery these changes are not found.
    PLease help me on this ASAP.
    Thanks ,
    Rajeshwar.

    Hi,
    Is the issue fixed ?
    Iam also facing the same problem
    if fixed , please inform
    Thanks in advance ,
    Sarath P

  • RE:idoc inbound scenario "mapping issue"

    Hi experts,
    we r facing the problem in idoc inbound scenario, while to generate multiple idoc's.
    we need to generate the idoc's based on two fields, Location_code and Date. If any of the field is changing we need to generate the new idoc.
    below is the sender  payload :
    <row>
          <Date>20100111</Date>
          <Sign>+</Sign>
          <Tender_Code>ZSHT</Tender_Code>
          <Tender_Amount>1890.30</Tender_Amount> 
          <Location_Code>0000001000</Location_Code>
       </row>
       <row>
          <Date>20100112</Date>
          <Sign>+</Sign>
          <Tender_Code>ZSHT</Tender_Code>
          <Tender_Amount>1890.30</Tender_Amount>
          <Location_Code>0000001000</Location_Code>
       </row>
       <row>
          <Date>20100112</Date>
          <Sign>+</Sign>
          <Tender_Code>ZSHT</Tender_Code>
          <Tender_Amount>1890.30</Tender_Amount>
          <Location_Code>0000001001</Location_Code>
       </row>
       <row>
          <Date>20100112</Date>
          <Sign>+</Sign>
          <Tender_Code>ZSHT</Tender_Code>
          <Tender_Amount>4532.32</Tender_Amount>
          <Location_Code>0000001001</Location_Code>
       </row>
    for the above payload ,we need 3 idocs as below
    idoc1:
    Location_code>1000    Date->20100111
    idoc2:
    Location_code>1000    Date->20100112
    idoc3:
    Location_code>1001    Date->20100112
    under the third idoc fourth row should get repeated.
    at present we have the following mapping which is generating multiple idocs bsased on only location code, it's like
    Location_code-->removecontext-->sort-->splitbyvalue(valuechange)-->collapsecontext--->idoc
    rgds
    selvam

    Hi,
    Thanks Suraj , logic has worked but there is a simple issue , LOCATION_Code is mapped with SNDRPRN and RCVPRN of the EDI_DC40 segment when i m execuiting the payload it throws error for the second idoc generated , when the LOCATION_CODE changes this should also get updated to that field. Mapping for SDNPRN has been done like this.
    LOCATION_CODE --->removecontext-->|
                                         formatbyexample--->SNDRPRN
    idoc mapping logic---------------->|
    pl suggest...
    rgds
    selvam

  • IDOC performance problem

    Hi All,
            Currently I come across a idoc performance problem,in we20,the idoc inbound process code invoke BDC manner.
    the detail as follows:
    (1)Seebeyond send the idoc to SAP side.
    (2) Idoc added(Status 50)
    (3)IDoc ready to be passed to application(64)  11:06:27
    (4)IDoc passed to application(62)                   11:21:22
    My question is why the process time spend so much when idoc status from 64 to 62,what is the affect factor.whether the process time include BDC execution time.Thanks.

    Hi,
    I think it has taken much time to get the status 62 from 64 status.
    In the partner profile WE20 transaction for this interface you have used Collect IDOC's option. If that is the case till your background runs it will get into 62 status.
    If you use trigger immediately option in WE20 transaction then as soon as the IDOC is in 64 status it will be processed that is it will 62 status immediately.
    I hope I have answered your question.
    Thanks,
    Mahesh.

  • Urgent: Automate IDOC Inbound/ Outbound

    Hi all,
    I need to automate the whole IDOC process, inbound and outbound.
    For inbound, I need to run or schedule a program that will read all files in a given directory as separate idocs. Note that the filename is not constant, whatever file is in the given directory should be consumed. I don't know if I can use we16 for this still. If I could do this, I just need to schedule RWPOS_PARA_ENQUEUE and I' finished.
    For outbound, what do I do for the system to automatically generate IDOCs? I thought if I activate change pointers, IDOCs will automatically be generated if a change is detected. I am using SAP Retail, one of the idocs is similar to matmas but I cant use BD10 for this. The other two idocs are still problems for me.
    In short, what do I do to automate eveything?
    Thanks so much,
    Kenny

    Hi Kenny Martinez ,
    For Inbound Automation
    First attach your idoc to a process code.
    In the process code you can tell the system that the specified program should be triggered whenever an idoc of that type comes to the system.
    Then you want to have a Z-function module for your idoc processing, if I understand correctly.The steps should be:
    1. Create a z function module for idoc inbound posting (copy from a function module idoc_input_*).
    2. Set Function Modules as Inbound: - Transaction BD51
    3. Assign Function Modules to Logical Messages and Idoc types:- Transaction WE57
    4. Create process codes : Transaction WE42, and link the z-function module.
    5. Create partner profile: transaction WE20 and attach the message type and process code.
    6. In the Z- function module, extract data from the idoc segments, do whatever processing you want to do, and then call BAPI_CREATE_SALES_ORDER_FROMDAT2.
    Good Luck and Reward me for the same.
    Thanks
    Ashok.N

  • IDoc - Inbound delivery

    Hi Experts,
    Inbound EDI message order acknowledgments:
    When we cancel a purchase order item with IDoc message 'ORDRSP', this leads to an error message in the IDoc inbound processing.
    There is note 890812, but i guess it is till release 5.0
    Can anybody please guide me for the solution.
    Thanks,
    Sourabh Kothari

    Hi Experts,
    When we tested for the note, it is giving the status that this cannot be implemented.
    Could any one give me the alternate solution for the IDoc inbound processing.
    When the vendor sends the quantity 0 against any of the line items, the other line items are also not posted. There error message is ME794.
    As per the above note implementing the corrections & when the item is deleted in PO, again processing the idoc would be successful. But the note is not valid for ECC 6.0
    Please guide.
    Thanks,
    Sourabh Kothari

  • IDoc Inbound Business Connector

    Hello
    I am trying to send an inbound IDoc to SAP via Business Connector. This is shortly to be replaced by XI.
    The flow in Business Connector creates a routing rule which is blank because it is not finding the control information from the IDoc I believe.
    I think I am missing a step in my flow.
    Currently the flow is
    document to record
    Transform hierarchy to Flat.
    Map ( mapping the fields into the IDoc)
    Record to Idoc
    Inbound process
    The inbound process always fails because it doesnt recognise the message type, sender etc.
    This is all the idoc and in record to Idoc this is an input with an output of Idoc list which is passed to the inbound process.
    However Idoclist I believe doesn't seem to contain any data.
    I think a step is missing can anyone help??
    Thanks

    Hi,
    Please see this.
    Hi,
    BC adapter can be used when you want to communicate to a existing interface on Business Connector. If you are talking to SAP, you use RFC / IDOC adapters.
    The SAP Business Connector (BC) is used in a large number of SAP production environments. SAP Business Connector will probably be gradually phased out and replaced by SAP XI technology. For the short term SAP Business connector and SAP XI will inevitably continue to coexist in companies IT landscapes.
    See Below links
    Integrating your SAP Business Connector with SAP XI
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/96ed2129-0b01-0010-2e91-c45e1fad0d03
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4f27ad80-0c01-0010-f8b8-c5e153a16ca1
    Before XI
    Before XI
    webMethods Integration Server Vs.  SAP Business Connector 4.7 (BC)
    Choose the Right Adapter to integrate with SAP systems
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    Thanks
    akshay

  • Need IDOC inbound and outbound programs

    hi,
    i am new to xi.
    i want IDOCs , inbound and outbound / function module  programs for    PURCHASE ORDER
    and GOODS RECEIPT.
    ex:  BD10 for material master (matmas01).
    thanks and regards
    v ijender

    for purchase order.
    ORDERS / ORDERS04
    ORDCHG / ORDERS04
    ORDRSP / ORDERS04
    Programs
    RBDMIDOC – Creating IDoc Type from Change Pointers
    RSEOUT00 – Process all selected IDocs (EDI)
    RBDAPP01 - Inbound Processing of IDocs Ready for Transfer
    RSARFCEX - Execute Calls Not Yet Executed
    RBDMOIND - Status Conversion with Successful tRFC Execution
    RBDMANIN - Start error handling for non-posted IDocs
    RBDSTATE - Send Audit Confirmations
    FOr testing you can use WE19.
    and also check the below link
    http://www.erpgenie.com/sapedi/message_types_masterdata.htm
    regards
    kummari

  • *IDOC INBOUND ( NON SAP system - SAP system )*

    I am transferring IDOC  INBOUND ( NON SAP system ->> SAP system ) by calling SAP standard funtc module IDOC_INBOUND_SINGLE using SAP JCo.
    In which I am passing all necessary information in Control Record regarding sender and receiver port/IDOC/segment etc.
    BUT help me to clarify my doubt that if i am calling a function and i am able to access SAP FM, then why i have to specify the SAP port/RFC connection at RECEIVER end in WE21.
    Whats the Significance if i am calling the FM from same SAP system and configuring the port explicitly in WE21.*
    If i don't Specify in we02 i am getting error as EDI : RECEIVER PORT in CONTROL RECORD is INVALID

    Dear Sree,
    For Basic understanding of IDOC read : saptechnical - Step-by Step ALE IDOC guide ( all necessary TCodes available here )
    Kindly let me know your data flow .
    In short :
    As per my scenario the data flow is from  non SAP to SAP  i,.e. Inbound processing.
    At my non SAP  i am calling SAP standard function IDOC_INBOUND_SINGLE using SAP Jco 2.1.
    You have to fill all Control Structure EDI_DC40 ( port etc. ) and Table parameter EDI_DD40 ( segment etc. )
    Read IDOC status and error in WE02.
    Goodluck.
    - Aakash

  • Need help for IDOC inbound function module !

    Hi guys please help me to create a IDOC inbound function module.
    What are the parameters and tables.
    How to write the code.
    What it does.
    Please send me one inbound func module code if possuble
                                                                                  Thanks

    Hi,
    You need to create an inbound function module. Then define the process code in transaction we42 and attach the function module to this process code.
    In the function module you create you need to define tables of types EDIDC (Control record (IDoc)), EDIDD (Data record (IDoc)) and BDIDOCSTAT (ALE IDoc status (subset of all IDoc status fields)).
    Regards,
    Soumya.

Maybe you are looking for

  • STARTING ORMI Server

    How do I start the ORMI Server? I trying to deploy an application using the em console. I don't get any error.. I looked at the forum and found that if we deploy using the command line utilitty, I may get some trace.. So can anybody help me in starti

  • I got the new iPhone 4 but can't put my music on it because it says I need Mac OS X 10.5

    I am trying to put the music from my iTunes account on my MacBook Pro onto my iPhone 4 and it says I must install the new version of iTunes. When I try to install the new version of iTunes it says I can't because I don't have Mac OS X 10.5.

  • Installing Premiere 6.5 on a Vista 64 Machine

    I have been trying to install Premiere 6.5 on my Vista 64 Laptop.  It won't even let the install begin.  If I click on the setup it says "The version of this file is not compatible with the version of windows you are running.  Check your computer's s

  • How to force dg4msql to use a specific port

    I've configured an Oracle Database Gateway (Linux RHEL 5) to connect to my SQL Server boxes, but have a host based firewall (on the Linux box) in between them. Sniffing shows that the communication to port 1433 comes from a range of port numbers on t

  • HT5922 I do not see the air play icon, can someone help

    I do not see the air play icon, can someone help?