Issues with Reprocess Idoc

Hi all,
The developement for BOM interface is done.
it is working fine.But my client extented requirement like this
after processing IDOC , if there is any status 51 idocs available.
he will do reprocess from BD87. that time some part of code in FM needs to be triggered.
I am not able make Difference b/w first IDOC number and Reprocess IDoc number.
means for keeping conditon , i need one unique differenet between new IDOC and Reprocess IDOC.
Is there any point to know that properties.
thanks in Advance,
regards,
JBR

Hi,
Reprocessing a idoc would not create a new IDoc, only the status of the IDoc would be changed if the error with which it was already occuring has been modified.
Thanks
Krithika

Similar Messages

  • Issue with ORERS05 IDOC sending immediately after Purchase Order creation.

    Hello,
    When output mode of an outbound partner profile was setup as Transfer
    immediately then when ever EDI output is generated in Purchase Order then
    system creates IDOC and sends immediately out of system. But middle
    ware has received only control record and whole data records were missing in IDOC file received by middle ware and we were receiving status 29 back from middle ware.
    Right now we changed outbound partner profile, output mode was set to
    Collect IDOC's and we are running RSNAST00 program in background to send those IDOC's but we
    were looking into go for first option to send idoc out of system as soon EDI output is generated in Purchase Order.
    Is there any way of fixing this issue.
    Thanks in advance.
    Regards
    Prasad

    Yes, I'm facing with PO IDOC only and as I said it is not issue with middle ware as they were receiving only IDOC control record.
    If I resend same idoc by setting status back to 30 they were able to receive whole IDOC and more over if we set partner profile to Collect IDOC and schedule back ground job every 5mins then middleware was bale to get whole idoc.
    Looks like it is SAP issue as this the message I got from SAP.
    The problem only exists if the messages are supposed to be output by
    means of transmission time-spot
    4, that is 'immediately' (during the saving of the application).
    With the output of the change message, the change documents are read for the purchasing document (all as of the last successful transmission).
    With the transmission time-spot 4, it can occur that the change
    documents do not physically exist on the database yet. No change message can be generated in this case and the system generates message ME140 or ME760 in the message log.

  • Issue with DEBMAS IDoc,not all fields are reflected in the IDoc Seg E1KNB1M

    For IDoc type DEBMAS, there is a segment E1KNB1M. This segment is relate to the customer correspondence details (XD02 -> company code data -> Correspondence).
    For any change to the customer master a DEBMAS IDoc is triggered which has data in segments including the E1KNB1M.
    In my case for few customers, the not all fields in the segment E1KNB1M contain data. Few fields contain data but the rest are filled with u2018\u2019. This is happening only in the production system, for the same customer in the quality system the data is there as required.
    I checked in debugging, and found that the data is correctly passed to the segment in program SAPLVV01 Include LVV01F01. And the segment contains data till the IDoc is triggered.  I.e. the fields are not getting cleared at any point.
    Can anyone suggest what is happening and how to fix this? Please note that the issue is only in the production system and not in the quality system ( for the same customer).

    BTT... Need some help on the above

  • Issue with PO IDOC

    Hi,
    IDOCs for creation and change of PO is done successfully. But when I try to delete a particular line item in the PO (ME22N), the IDOC is not generated and when I try to issue the output manually, an error message No Items Found is displayed.
    Please let me know how to do testing for deletion of IDOC and also let me know whether generation of an IDOC is possible when there is deletion in the PO or not?
    Helpful answers will be rewarded.
    Thanks & Best Regards,
    Phani Kumar. S

    Hi
    have u configured the msg type ORDCHG in the outbound parameter of the Partner profile with the correspoding message control parameters?
    If so try to trigger the idoc manually form PO transaction.
    Cheers,
    Hakim
    Mark all useful answers

  • Performance issue with custom IDOC download into SAP MII

    Hi,
    We have a custom IDOC which has ten fields. We take the data from these ten fields and insert into database. The issue is
    we have some where around 4500 idocs flowing into SAP MII and then from SAP MII to sql database. The time taken for these idocs is around 30 mins.
    Is there a way where we can improve the performance in terms of time taken?
    Additional information is
    MaxReaderThreadCount has been set to 5 in Configuration Management -> Infrastructure -> Application Resources
    sample idoc structure
    <IDOCNAME>
      <FIELD1>val1</FIELD1>
    <FIELD10>val2</FIELD10>
    </IDOCNAME>
    Please let us know if more information is needed.
    Regards,
    Manish Jain

    Hi Manish,
    My thinking about the queuing is that for each transaction, you are calling your database and passing in the IDoc content.  Depending upon your system, database, transactions, etc., you may be having to establish a connection between MII and the database each time you process an IDoc.  Each "handshake" takes a finite amount of time.  So queuing up the IDocs, establishing a single DB connection and processing large numbers of IDocs in a batch might reduce your processing time substantially.  Something worth investigating.
    I don't think that adding additional IDoc Listeners for different IDoc types will work if the source ECC system is the same for each type.  It will simply use the first one it finds and process all the types there.
    Additional threads may improve performance and is certainly a low risk, easily implemented test.  Just do it in small increments as you can add too many threads (check with the NW administrator) and lock up your NW system.
    And you may want to check with your DBA to see if there are limits on the connections which MII can establish for uploading the IDoc content (or for that matter, any other improvements to be made on the DB side).
    Regards,
    Mike
    Edited by: Michael Appleby on Feb 10, 2012 2:37 PM

  • Issue with LSMW IDOC method

    Hello there,
             I am facing an issue while creating a LSMW using IDOC method. I am creating it for PROFIT CENTER upload. My file is having the data as, there can be multiple company codes for one profit center, so my file will have more than one record for single profit center. I have to create only one IDOC per profit center, so I have to create multiple segments in that IDOC for different company codes.
             I am not sure how to create multiple segments using LSMW. It will be very helpful, if anyone can tell me how to do it.
    Thanks,
    Ganesh Khumse

    Hello Ganesh,
    I assume that you are using the IDoc Type PRCMAS02 for the creation of Profit Centers along with Company Code assignment.
    In order to be able to extend the Profit Center for Multiple Company Codes, please segregate the source structures into Profit center general data and company code data...along with respective source fields.
    In the structure relations, assign the Profit Center General data to the Idoc segments E1KEPCM & E1KEPCT. Then assign the Company Code data to the segment E1KEPCB.
    The input file layout expected will be something similar to the below layout...
    PCHEAD1
    - CCODE1
    - CCODE2
    PCHEAD2
    - CCODE1
    - CCODE2
    Hope this info resolves your problem.
    Pls reward if this answers your query.
    With Regards
    Vijay Gajavalli

  • BPM: Issue with Collect Idocs in Production which is used to work in Test.

    Hi,
    We are using BPM for our interface to collect the idocs,
    - Header Idoc will consists of number of bundles of Detail idocs.
    - Each bundle consists of 100 Details Idocs..
    We used packet size as 100 in ECC partner profile and Idoc package as 100 in Sender Idoc adapter in PI.
    Example for 103 idocs,
    header idoc will send count as 2 (100 and 3).
    Detail Idocs will come in two 2 bundles(2 message ids), with 100 in one message id and 3 in another message id.
    we used BPM to collect all the detail idocs before mapping to final target message.
    The interface is working fine in our test system, but it is not working in production.
    The interface is working fine for the idocs less than 100. Problem is only when the count is more than 100.
    We compared BPM in both test and production and we didn't find any difference in the process steps.
    Anyone has any idea what might be wrong ?
    Any help will be appreciated.
    Thanks
    Deepthi.

    Mapping problem which is cleared now.

  • Configuration issue with ISMBP_CREATE IDOC

    Hi Experts,
    Currently my client is creating Business Partners through BP transaction.
    The issue now we have is that create and changes made using a BAPI for creation  BAPIBUSISM007_CREATEFROMDATA and change BAPIBUSISM007_CHANGE.
    For both bapis i have find message type and basic types.
    BP creation: Message type ISMBP_CREATE and  basic type ISMBP_CREATE01
    BP change  :Message type ISMBP_CHANGE adn basic type ISMBP_CHANGE01
    Now i am using existed partner profiles, partner profile LS ->  added message type and basic types in outbound parameters.
    Then i have added this BAPI IDOC details in distribution model Add BAPI using the old distribution model.
    Now i am creating BP using Bapi in my system business partners are creating but IDOCs are not triggering.
    Please help me.
    Thanks,
    Anji

    Hi,
    I got solution my self.
    By doing below steps we can get it work.
    Business Partner IDOCs will be generate in the both create and change time, for this we have to call BAPIBSUISM007_SAVEPROXIES. The input of this function module is business partner only.

  • Issue with PO IDOC Change

    Hi,
    When I change purchasing organzation and purchasing group of a PO, the IDOC is not generated and the error message in process log says that "No IDoc items belonging to purchasing document found". Is there any way to generate an IDOC when we change these details also?
    I have configured the message type ORDCHG for changes in PO. Please help me in generating the IDOC for changes to purchasing organization, purchasing group and other header details of PO.
    Thanks & Best Regards,
    Phani Kumar. S

    Hi,
    Whenver you change the fields(EKGRP/EKORG) are there any entrires in the table BDCP?
    And also didi you make configuration for the above fields using BD52.
    Regards,
    Ashok

  • Could not trace the issue with IDOC to file

    Hi All,
        We are facing issue with missing idoc data in the file, There were 20 idocs got generated (msg type - PAYEXT) from the payment run but only 15 of them written to the file, in the Outbound partner profiles we are using file port to create file. Noticed that all idocs were showing the same status (03) and The IDoc was written to file & file location.
       When we checked the file and found that 5 idocs data was not written to the file, but surpricingly status was showing that it was written to file. Can any one give clue / similar experience ... on this. Not sure how to track the issue ... i checked SMQ1, but nothing was locked.
    Thanks
    Satya

    Hi Kumar,
    As Jose mentioned please check the occurrence of the 6th file. It should be 0..unbounded. Also if you do this it will pass the mapping but you will get the error for the 6th file in sxmb_moni, because it would be an empty root message only. This is a known issue and I dont think we have a solution for this. But one workaround would be to create a custom mapping exception so that you have that exception in sxmb_moni when the message fails and if you have alerts then you will have this mapping exception in your alert.
    Regards,
    ---Satish

  • Idoc flatfile to IDOC xml issue with new PI7.11 module SAP_XI_IDOC/IDOCFlat

    Hi,
    I am trying to develop a scenario as mentioned in the blog using the new module available in PI7.1,but I am getting this error
    "Error: com.sap.conn.idoc.IDocMetaDataUnavailableException: (3) IDOC_ERROR_METADATA_UNAVAILABLE: The meta data for the IDoc type "ORDERS05" is unavailable."
    I have made every configuration correct and IDOC meta data available in both SAP R3 and PI,but it is still complaning about the meta data does not exist.
    Blog:  http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13743%3Fpage%3Dlast%26x-order%3Ddate
    did anybody face issue with the new module available "SAP_XI_IDOC/IDOCFlatToXmlConvertor",please help me or give me mre information why I am getting this meta data error.
    Thank you,
    Sri

    Hi Sri,
    To Convert IDOC Flat file into IDOC xml from the given blog, the IDOC flat file should be present in standard format like:
    E2EDK01005                    0000047110815000000000001.........
    E2EDKA1003                    0000047110815000000000002.........
    E2EDKA1003                    0000047110815000000000003..........
    E2EDKA1003                    0000047110815000000000004........
    The Flat file have relationship as IDOC Number "000004711081500000" and segment sequence "0000001".
    If your flat file is not in this formate so i don't think that module is able to convert into IDOC xml. and if your file is already in this format then it may be issue with destinations which are created in NWA.
    Thanks
    Harish

  • Issue with IDOC occurence and SeeBurger message mapping

    Hey Guys
    While developing a EDI 850 to IDOC scenario i came across this issue with pre-delivered Seeburger mapping(A_850_V4010_to_I_ORDERS05).
    I actually need to post multiple IDOC's to SAP system in the same message so i changed the IDOC occurence to unbounded and re-imported that as a .XSD file in Integration repository.
    Earlier the pre-delivered message mappings provided by SeeBurger(under SEEBURGER_HIGH-TECH, 1.7.1 of seeburger) was working fine for me since i was posting only 1 IDOC but now the mapping is failing as the IDOC occurence has changed(unbounded).
    Is there a way we can do some settings on SeeBurger server or Bic so that we can use the pre-delivered mapping for Multiple IDOC's as well?
    I just want to make sure before i start off with doing whole of the mapping manually.
    Thanx
    Aamir

    Thanx for the input guys
    @Deepthi.
    Doing whole of mapping manualy is definitely the last option but i m looking for ways to re-use the pre-delivered SeeBurger mapping.
    >>Seeburger Mapping is only just to convert XML to EDI and EDI to XML.
    Bic mapping designer does this,i m dealing with message mapping of XI(convert source to target) not Bic designer right now,and Bic does more than just XML to EDI and vice versa,it handles other industry standards too.
    @Jens
    >>The XI message mappings from Seeburger in the Industry solutions are mapping templates
    Yeah,but the mapping template i have deals with 850 to ORDERS05,when i change IDOC occurence and re-import it back in Integration repository,it doesn't stays as ORDERS05,it has to be changed to user defined message interface(in my case MI_ORDERS05) so i m unable to use 850 to ORDERS05 template.
    @Seshagiri
    >>Open the Seeburger SWCV From the IR--goto External Def---Select the right one and copy it and paste it in notepad.
    Changing the occurence is not an issue,i want to re-use the pre-delivered mapping in Integration repository,which is not working.
    Looks like i need to do it manually
    Thanx
    Aamir

  • PO outbound IDOC - Issue with Unit of measure

    Hi,
    I am facing issue with unit of measure.
    1) In the PO outbound idoc in segment E1EDP01, the unit is always converted into ISO code and sent. Is there any way to avoid it.
    2) Now while changing unit to ISO code, it checks if it is preset in T006 table. Now in some of the cases like Unit FT3, there are no entries in T006 table, hence IDOC is going into error. Let me know how can this be resolved. Do I need to update T006 table if yes then how can I do it.
    Thanks.
    Regards,
    Shahu

    Sorry.. Posting it in ABAP Development forum.

  • Posting Data Issue with IDOC Type : COND_A03

    Friends,
    I'm posting the data from Middleware(Message Broker) to SAP using the IDOC Type : COND_A03 with Message Type : COND_A.
    For this IDOC,I'm populating the below Segment's data.
    Segement :E1KOMG:
    Fields:
    KVEWE,KOTABNR,KAPPL ,KSCHL,VAKEY ,KONDA,MATNR .
    Segement :E1KONH:
    Fields:
    KNUMH,DATAB,DATBI
    Segement :E1KONP:
    Fields:
    KSCHL,STFKZ,KSTBM,KSTBW,KRECH ,KBETR,KONWA,KPEIN,KUMZA,KUMNE,MXWRT,GKWRT,ZAEHK_IND ,KBRUE,VALTG,
    VALDT,ANZAUF,MIKBAS,MXKBAS,KOMXWRT,KLF_STG,KLF_KAL
    Problem:  In SAP, IDOC's are processing successfully with status 53 and updating the tables : KONH,KONP  successfully.
    But Table A957 which is passing against KOTABNR field is not pupulating with the Materials passing.
    Can anyone please guide me why the Materials are not populating in the table : A957.
    Regards,
    Sreeram

    Hi,
    I guess there might be some issue with VAKEY population.
    All the key fields in A957 should be concated properly while populating VAKEY. (Leading zeros must be prefixed to the material)
    Regards,
    Ganga

  • Reprocessing Idoc's with 51 and 54 status.

    Hi Gurus,
    My client wants to reprocess Idocs with status 51 and 54 by Batch job.
    Is there Any program which can reprocess both status 51 and 54.
    After the Idocs get reprocessed it should update the Shipment end in the Shipment document.
    Thanks in advance!!!
    Regards,
    Aslam

    Hi,
    program to reporcess depends on status. Run report RBDINPUT. Here when selecting status 51 you will be redirected to report RBDMANI2 (as stated by Génia). For status 54, you can reprocess idocs manually with tcode we19.
    Regards,
    JM

Maybe you are looking for