IDoc-Status 64 out of AIF

Hello,
we are facing the following problem:
we get an IDoc telling us that we have to move stock from the goods-receipt-area to the warehouse. This IDoc is created by the warehouse stuff by putting the pallet on the material transport vehicle after unloading the truck.
However the creation of the goods receipt is only possible after all the pallets have left the truck. So the IDoc gets an error because the goods receipt has to be done before the movement to the warehouse is created (the error comes out of the handling-unit process (Error HUFUNCTIONS 254).
This error causes an alert, that should be avoided because when the goods receipt is processed the next automatic job for the IDoc will repeat the process of booking the pallets to the warehouse.
In our opinion we could solve the problem by giving the IDoc the status 64 when the program finds out, that the goods receipt is missing.
But how can we do that?
(Background: the users working on IDoc problems are always complaining that they have alerts and can't find an incorrect IDoc so the acceptance of the tool is shrinking)
thanks for help in advance
Ignaz Erhart

Hi Ignaz,
with AIF2.0 SP3, a new functionality in AIF called Automatic Reprocessing is available.
So the Error Handling process was extended by automatic reprocessing,
triggered by certain error messages.
Example: If a business partner is locked, a job should be triggered to
reprocess this data message after a certain time (e.g. after 5 minutes, but
max. 3 times).
There are two new Transaction codes (/AIF/REP_AC_DEF and /AIF/REP_AC_ASGN) in the System for the configuration tables of the Automatic Reprocessing.
In the first configuration table /AIF/REP_AC_DEF it is possible to define the Reprocessing Action. One reprocessing action will be delivered for automatically restart the maintained error messages. The function module will be /AIF/RESTART.
In the second configuration table /AIF/REP_AC_ASGN it is possible to register the AIF
Interface and the corresponding single error messages (by message class and
number, e.g. R1/084 = “Business Partner &1 is Currently Being Processed By
&2”) for automatic reprocessing. In this configuration table, it will also
be possible to define a minimum waiting time, maximum waiting time and the
number of restart trials.
It is also being possible to select the status that the message should reach while “waiting” for the next restart; it can be either “I” (in process), “E” (application error) or “A” (technical error).
In your case you should select status “I” and then no alert should be generated. The alert is generated when the IDoc is still in error state after unsuccessful reprocessing of the error message.
I hope this will help you. 
Thanks and regards,
Nicole

Similar Messages

  • Setting status 68 out of AIF

    Hello,
    sometimes it happens, that an action in AIF fails but the IDoc should not be reprocessed. Therefore we set the status 68 within conventional IDoc-Processing. But with implementation of AIF we don't se a possibility to set the status to 68.
    The status 68 gave us the possibility to trace the IDocs and do some manual work according to the contents of the IDoc.
    Example: We have a automatic Warehousesystem. As batches and Handling-Units are created within SAP the external system sends us an IDoc with the goods that were produced. Within SAP we are doing the goods-receipt and in the end we are sending another IDoc back to the trigger-system providing the Handling-Unit and the Batch-Information. Now the trigger-system is able to print the right labels that are belonging to the pallet next to the printer.
    Sometimes the process fails, and the pallet is put aside. Necessary actions have to be done manualy as the production of the next pallet is already in action. Restarting the IDoc would cause the wrong label on the wrong pallet.
    So far the rework-process could be done very easily by checking the IDocs with Status 68.
    Is it possible to set the status 68 out of AIF?
    best regards
    Ignaz

    Hi Ignaz,
    with AIF2.0 SP3, a new functionality in AIF called Automatic Reprocessing is available.
    So the Error Handling process was extended by automatic reprocessing,
    triggered by certain error messages.
    Example: If a business partner is locked, a job should be triggered to
    reprocess this data message after a certain time (e.g. after 5 minutes, but
    max. 3 times).
    There are two new Transaction codes (/AIF/REP_AC_DEF and /AIF/REP_AC_ASGN) in the System for the configuration tables of the Automatic Reprocessing.
    In the first configuration table /AIF/REP_AC_DEF it is possible to define the Reprocessing Action. One reprocessing action will be delivered for automatically restart the maintained error messages. The function module will be /AIF/RESTART.
    In the second configuration table /AIF/REP_AC_ASGN it is possible to register the AIF
    Interface and the corresponding single error messages (by message class and
    number, e.g. R1/084 = “Business Partner &1 is Currently Being Processed By
    &2”) for automatic reprocessing. In this configuration table, it will also
    be possible to define a minimum waiting time, maximum waiting time and the
    number of restart trials.
    It is also being possible to select the status that the message should reach while “waiting” for the next restart; it can be either “I” (in process), “E” (application error) or “A” (technical error).
    In your case you should select status “I” and then no alert should be generated. The alert is generated when the IDoc is still in error state after unsuccessful reprocessing of the error message.
    I hope this will help you. 
    Thanks and regards,
    Nicole

  • Need to change the Idoc Status based on the Text in the Idoc

    Hi All,
    I have developed Idoc--SOAP Sync Process Scenario Using BPM and Works Perfectly.
    I have used STATUS.SYSTAT01 Idoc to capture the Response that is comming from the Webservice.
    I have mapped the response Text( Success or Fail) to one of the field in the Response Idoc, this is perfect.
    Requirement:
    1) If the Response Idoc Field receives Success Text means the Idoc Status shld be in Green Status.
    2) If the Respnse Idoc Field Receives FAIL means the Idoc Status shld be in RED Status.
    How can i Do this. please suggest me......
    Regards

    Hi Santhosh,
    YES, I have to Capture the Response from Webservice in SAP R/3 by using STATUS.SYSTAT01 Idoc.
    I have mapped the response from webservice to the one of the field in the Idoc.
    If this field contains Success as text means the Idoc Status in We05 shld be 53 else it shld be 56
    With out changing the FM code, can we use any other process to achieve this???
    @ Mario
    Can u please Allobarate your views more based on my requirement
    Regards

  • Inbound Processing of iDoc Status Message

    Silly me - I thought this would be simple ...
    I am currently changing our bank interface from a customized ABAP solution to use more standard SAP utilities (particularly iDocs).  I have the configuration set up to use the PAYEXT message type sending PEXR2002 iDocs to a file port.  Our bank is receiving these documents and is returning an iDoc status message containing the status of each payment iDoc that they received from us.
    My problem is that I can't figure out how to get these status iDocs to update the status of the corresponding PEXR2002 iDoc.
    I am trying to execute an RFC interface to apply these status messages to my system using the following OS command:
    D:\usr\sap\VPR\SYS\exe\uc\NTAMD64\startrfc.exe -3 -d RT2 -u xxxxxx -p xxxxxx -c 220 -h SPR32K36 -s 00 -F EDI_STATUS_INCOMING -E PORT=ZFI_INT003
    The error message that I receive when this is run is:
    RFC Call/Exception: SYSTEM_FAILURE
    Group             Error Group 104
    Key                RFC_ERROR_SYSTEM_FAILURE
    Message        Status record 1 is invalid (TABNAM: 'EDI_DC40')
    The port (ZFI_INT003) is the file port that is configured for the outbound file.  in WE20, this port has the "Status File" tab set to use the logical file name where the status file is being stored on the server.  the startrfc command is connecting to the SAP system and opening the status file.  I'm not sure where I'm going wrong here. 
    Can someone please help get me pointed in the right direction?  I've obviously missed something here.
    Thanks,
    Glen

    Hi,
    call function modules:
    EDI_DOCUMENT_OPEN_FOR_PROCESS
       EDI_DOCUMENT_STATUS_SET
       EDI_DOCUMENT_CLOSE_PROCESS
    kind regards,
    HP

  • IDOC Status 68 & 51

    Hi,
    There is an IDOC with status 68 (Error - no further processing) , Earlier it was in status 51 with the status text  "INVALID DATE' .
    How to find out for which particular date field's  the error is being thrown..?? what is the approach to find out the root cause of the issue.?? the IDOC is being sent to R3 through XI.
    Plz give suggestions on how to tackle the issue.
    Thanks in advance,
    Jai

    Hi ,
    The idoc Status for 59 and 51 for indound idoc is....
    68    Error - no further processing                            
    51    Application document not posted     
    the possible solution is checkthe Partner profile for the Idoc and Port number..
    and go to T_code we20 and check the Partner.and check the Syntax in the application tool bar...
    then you will come to know the problem..
    Regards,
    Prabhudas

  • IDOC Status 26: EDI: Syntax error in IDoc (segment cannot be identified).

    Hi All,
    I have created IDOC extension for IDOC Basic type "PROACT01" and have followed all required necessary steps but getting IDOC
    Status 26. EDI: Syntax error in IDoc (segment cannot be identified). The exact error is:
    Please check Error Details and the details of the steps I followed for Setting up IDOC Extension:
    Error Detail :
    EDI: Syntax error in IDoc (segment cannot be identified)
    Message no. E0078
    Diagnosis
    The segment ZPROSEG does not occur at the current level of the basic type PROACT01 (extension PROACTEX).
    This error can have several reasons:
    The segment ZPROSEG is assigned to a group whose header segment does not occur.
    The segment ZPROSEG does not exist in the syntax description of the basic type PROACT01 (extension PROACTEX).
    The sequence of segments in the group in which the segment appears is incorrect.
    Previous errors ('mandatory' segment or group missing) may be due to this error.
    Procedure
    Please check the IDoc or the syntax description of the basic type PROACT01 (extension PROACTEX).
    Can you please look at this problem and suggest what is wrong with IDOC Extension/Custome Segment?
    Below is the Details of the Steps which I have followed:
    1. Tcode WE31 - Created new custom Segment ZPROSEG with 4 fields. Released segment.
    2. TCode WE30 - Created IDOC Extension PROACTEX for Basic Type PROACT01. Released IDOC extension.
         Here when I run syntax check warning appears "No predecessors exist".  I am not sure if its okay!!
    3. TCode WE82 - Added Extension PROACTEX in the Message Type PROACT with BASIC Type PROACT01.
    4. TCode WE20 - Added IDOC Extension PROACTEX in the predefined partner profile in WE20 transaction.
    5. Added the following code in the Customer Exit EXIT_SAPLWVMI_001 include ZXWVMIU01 .
    DATA segnam(27).
    READ TABLE dedidd WITH KEY segnam = 'ZPROSEG'.
    IF sy-subrc NE 0.
    LOOP AT dedidd WHERE segnam = 'E1EDP31'.
    CLEAR dedidd.
    dedidd-segnam = 'ZPROSEG'.
    zproseg-matnr = 'Mat1'.
    zproseg-lgort = '001'.
    zproseg-gernr = 'SNo1'.
    zproseg-labst = 2.
    dedidd-sdata = zproseg.
    APPEND dedidd.
    ENDLOOP.
    ENDIF.
    Finally ran  transaction WVM2 (Transfer of Stock & Sales Data) to generate IDOC, its creating IDOC but when checked IDOC in WE05 its getting Status Error "26".
    Looking forward for your reply.
    Many thanks in advance.

    Hello,
    Actually you are appending the Z segment instead of inserting into the correct position. So the segment is added at the last, so hierarchy of segments is collapsed.
    So get the index of the previous segment E1EDP31 and increase the index by 1 and INSERT the Z segment with that new index as below.
    LOOP AT dedidd WHERE segnam = 'E1EDP31'.
    lv_index = sy-tabix. " <<--
    ADD 1 TO lv_index. " <<--
    CLEAR dedidd.
    dedidd-segnam = 'ZPROSEG'.
    zproseg-matnr = 'Mat1'.
    zproseg-lgort = '001'.
    zproseg-gernr = 'SNo1'.
    zproseg-labst = 2.
    dedidd-sdata = zproseg.
    *APPEND dedidd.
    INSERT dedidd INDEX lv_index. " <<---
    ENDLOOP.
    Here actually we are insering the record inside the LOOP and it regenerates the index again. It is not actually a good practice.
    So the best practice is get the index and generate the segment inside the loop, store them into another internal table, come out the loop and insert the Z segments into DEDIDD by looping the new internal table.

  • Idoc status 51 after 53

    Hi,
       I have the following scenario, we are getting the file to sap and the file data needs to be updated in to sap. we had custom inbound idoc processing program which will load the data into sap. the problem is idoc should have status for each main segment of the idoc. lets take if we have 10 main segments then 10 status should be there in the idoc status so that user will varify which record in the file failed or errored out. The issue is if 9 records updated successfully and last record in the file failed while updating the idoc should have status like (53,53,53...(9 times) and at the end it should 51) when i debugged i found the same result but after this custom inbound fm standard process is replacing all the status messages with 'Status records with status 51 after status 53'.
       In reverse way if i have 9 failed and last one successful then i can see (9)...51s and 10th one as 53) but if last record failed then getting 'Status records with status 51 after status 53'. Could any one faced this kind of situation please let me know.
    Thanks in advance.

    No matter how many 53's you have, if you have one 51(order doesnt matter) the Final Idoc status will be 51. If you want the idoc to be successfully processed all messages should be 53.
    Or you have to develop the reproccessing logic to process only the failed entry and then make it 53.

  • IDoc Status Messages

    Hi All, Is there any Function Module or standard report which will list out all the Status messages of an IDoc...Basically i need to capture all the segments which are in error state... In EDIDS table i am not able to link to a particular segment.
    Please help me out
    Thank You,
    Regards,
    Swaroop Patri...

    HI,
    <b>ALE/IDOC Status Codes/Messages</b>----
    01 Error --> Idoc Added
    30 Error --> Idoc ready for dispatch(ALE Service)
    then goto SE38 --> Execute the Program RBDMIDOC
    29 Error --> ALE Service Layer
    then goto SE38 --> Execute the Program RSEOUT00
    03 Error --> Data Passed to Port ok
    then goto SE38 --> Execute the Program RBDMOIND
    12 Error --> Dispatch ok
    <b>Inbound Status Codes</b>
    50 Error --> It will go for ALE Service Layer
    56 Error --> Idoc with Errors added
    51 Error --> Application Document not posted
    65 Error --> Error in ALE Service Layer
    Regards
    Sudheer

  • What makes an idocs go out of SAP to external systems.

    Hi Experts,
    I have created many idocs in sap. they are in status of 03 meaning ready to be
    transmitted. but they don't go out of sap, they still remain in queue in sm58.
    If i process it manually it is going. but it should be done automatically.
    what makes an idocs go out of SAP to external systems.
    It is very urgent issue.
    Can any body help in this. Valuable answers will be rewarded.
    Thanks & Regards,
    Satish.

    Hi Sathis,
    Same proble i was faced recently.
    The problem was occured because of error opening an RFC connection.
    you can see by yourself in the following way.
    Goto SM 59.
    Select your appropriate RFC destionation say if destination is assigned  'TCP/IP connection' or 'R/3 Connection', under that select ur destination and press 'TEST <b>CONNECTION'</b> if shows green mark there is no error in connection or it indicates with red there is error in RFC destination connection.
    Suppose if error is occured there is no basic communication setting done between these cleints, if it is case you would be go and talk to BASIS guy and he will make provides destination.
    if any furthore doubts feel free to mail me to [email protected] or reach me 09886869625
    <b><REMOVED BY MODERATOR></b>
    Regards,
    Vijay
    Bangalore
    Message was edited by:
            Alvaro Tejada Galindo

  • User-Exit for IDoc status

    Hello all!
    I'm trying to send a message with the status of an IDoc that has been processed, but I can't find an exit right after the status of the IDoc has been set, do you have any idea on what can I do for this?
    Regards!

    This is the exit where we have the control of setting idoc status. If there no scope of this idoc status.
    Then try to find out an exit which will be triggered before this exit with idoc status ( with value ). Then export this to memory and get back the same from memory in Vijay's suggested exit.
    Also if you could able to find the exit after THIS exit you won't have option to set custom idoc status.
    Regds
    Manohar

  • Steps For Updating the IDOC Status using ALEAUD

    Hi all,
    My Scenario  is : R/3(IDOC)--> Legacy System(File).After the IDOC is received successfully on the Receiver System.I should Update the Status of IDOC on the Sender System.
    Can anyone help me out :
    What all the Steps & Configurations involved for Sending an Acknowledgement & Updating the IDOC status  from the Legacy System.
    Thanks in Advance,
    Dattatreya.

    Hi,
      You may need to set up another flow (a reverse one), where the Legacy sends a msg to XI with the Idoc number of the initial idoc you sent (onward flow).
      now, you can map the idoc number in E1ADHDR/E1STATE/DOCNUM and other statuses as required (in various tags) and also other information as per your environment. Pls see the below links
    Re: Acknowledgements ever switch to Status 39
    Re: Asyncronous acknowledge from file adapter
    Re: R3<->XI<->Auto-ID:How to check result of Idocs sending out from R3 in aii ?
    Regards
    Vishnu

  • A new IDOC status - ex. 80

    Is it possible to create a new IDOC status code? we want to capture some of the intermediate processing messages in the IDOC status log. ex. "status 80 - BDC x done" -> "Status 80 order created" -> "Status 53 order has been imported".
    I couldn't find anything under SALE but did saw couple of tables that list out status numbers and associated texts w/ it.  I thought I would be able to add in a new status number - code, but 'new entries' is not an option.
    Thanks in advance.

    Yes, you have an option to create new status messages. I have done this before.
    Please try running the area menu WEDI from your SAP easy acess screen.
    You will find an option to create new status.
    Let me know if you need more details.
    Regards
    Sabu

  • Program to check IDOC Status

    Hi,
    I am new to ABAP and this is my first assignment so request you to please help me with step wise details.
    I have to create a program which should trigger the mail automatically to the specific set of people about the status of an IDOC as per the
    Message Type,
    Direction,
    Message Variant,
    Message Function.
    Thank you
    I hope this is markes as question

    I am not a ABAPer but I will tell what we did to achieve this for Inbound IDOCs.
    We had different plants across the globe and they send IDOCs into SAP and wanted to send a status email to the plant leads if the idocs posted in SAP or not.
    We created a Business Workplace SBWP distribution list with plant code in the distribution list name, and included all the list of people email address in this distribution list who should receive the IDOC status email when IDOC's failed to post in SAP.
    In the inbound Process Code/Function module WE42, you can also click on process code from WE20 for your inbound message type and go to the function module characteristics and in the event INPUTERROROCCURRED, my ABAP team wrote the code to look for distribution list for the plant where the IDOC is coming from based on partner profile that we setup in WE20 and send an email out.
    Please also look into
    Mail to be triggered when IDOC fails
    thanks

  • IDOC status at 30, but in we05 it is 03

    Hello Gurus!!
    My program generates an IDOC and as soon as the idoc is generated it the status is 03 then i have todo something else.
    Within the program when i am cheking the status is 30 but actually in transaction we05 the status is 03.
    I have cheked the partner profiles and transfer_idocs_immeadiately has already been selected.
    I have already gone thru the forum but no valid solution was given,
    There is no need to change any ALE configurations / port configurations because everything just work fine. It is only that within the program i am not able to catch the status 03. the proram is not waiting untill the idoc status is 03. it is capturing only the status 30.
    Is there any thing that i can do within the program? should i capture the idoc number and then check the idoc status from EDID4?
    Please answer o this questions ASAP.
    Regards.

    Initially when you create the outbound idocs then status is 30. then you have to run the program RSEOUT00 to process the idoc then after the processing the status changes to 03.
    But the Program RSEOUT00 is optional. In the partner profile (WE20) If you select the option  'Collect Idocs', then you have to schedule the program RSEOUT00 to process the Idocs otherwise if you have choose the option 'Transfer idoc immediately', you don't need to do anything.
    Thanks,
    Srinivas

  • Is it possible to create a custom IDOC status?

    Is it possible to create a custom idoc status on table TEDS1?
    I have looked through customising and cannot seem to find a way to create a new idoc status.
    Has anybody done this?

    Hello Chester..
    hope this link will be helpful,
    Re: IDOC status
    *********Please reward points ,if found useful

  • IDoc status 53 in employee replication from SAP HR

    Hi experts,
    We are having some problems in CRM BP creation with role employee.
    We are using CRM 5.0 and SAP ECC 6.0 and we are trying to replicate employee’s information to CRM from HR.
    After read the notes 934372, 615896, 550055, 363187, 312090 we made the next configuration steps in our systems:
    R/3:
    - Creation of connection port (trans. WE21)
    - Creation of logical system (trans. WE20) and assignment of outbound message HRMD_ABA
    - Creation of distribution model (trans. BD64) with all filters indicated in note 312090
    CRM
    - Creation of logical system (trans. WE20) and assignment of inbound message HRMD_ABA
    - Creation of conversion between basic types HRMD_A05 and HRMD_ABA01 (trans. WE70) as described in note 312090
    - Creation of conversion between message types HRMD_A and HRMD_ABA (trans. WE73) as described in note 312090
    - Creation of external number range “ZE” from HR01200001 to HR01299999 (using PA04 in R3 we found the number range between 01200001 and 01299999)
    - Creation of BP Grouping with the same name of number range (“ZE”) checked to be external too
    - Update of table T77S0 (using SM30):
    HRALX HRAC X
    HRALX PBPON OFF
    HRALX PBPHR ON
    HRALX PBPON ON
    HRALX PNUMB 3
    HRALX PPROL BUP003
    HRALX PSUBG ZE
    PLOGI PLOGI MV
    We know we should have the same value in R3 and CRM for PLOGI/PLOGI, so we created in CRM MV because that is the plan version used in R3. To create it, we just manually add a new row in table T778P and then selected it in table T77S0. Is this the correct way to create a plan version?
    After these steps, in R3 we execute program RHALEINI with parameters:
    - Plan version = MV
    - Object type = P
    - Object ID = an active employee
    - Reporting period = all
    - Transfer mode = Insert
    - Receiving system:
    Receiving partner No = DCRCLNT300 (logical system created in WE20)
    Message type = HRMD_ABA
    And everything looks fine in R3.
    In CRM, using trans. WE05, we can see that the iDoc is created, apparently without problems with status 53 - "Applicaton document posted" but the business partner is never created.
    Did we miss some configuration steps?
    Should we do something more after see the iDoc in CRM to create BP?
    Thanks in advance.
    Alda

    hi pratk bhai,
    ya i have done the same setting what Ada has mentioned eariler,
    and as of your suggestion to maintatin the mandatory infotype, i have even done tht,
    after running RHALEINI in R3, the status is all green here.
    when i run the tcode BD87  to check the Idoc status its showing fine (Error free).
    now, through tcode se38 the report CRMHRALE_CENTRAL_PERSON shows all the employees as status green,,
    but the partner number is not getting generated. ( i have used HRALX-PNUMB= 3 (Prefeexing the number range coming from R3)).
    kindly advice me what should be done in order to generate a BP number for the replicated HR Employee.
    best regards,
    Madhup

Maybe you are looking for

  • Creating partner application in Oracle

    $ORACLE_HOME/sso/bin/ssoreg.sh -oracle_home_path <oracle_home_path> -config_sdk_papp TRUE -site_name SSO_APEX -home_url http://hal-00-dbs-08.hal.net:7777/pls/apex -success_url http://hal-00-dbs-08.hal.net:7777/pls/apex/wwv_flow_custom_auth_sso.pro ce

  • How to configure CoSign Electronic Digital Signatures for UCM 11g

    Hi everyone, current I am doing a UCM poc with CoSign Electronic Digital Signature for a customer, this case is that when user approve a check-in PDF document in workflow, the user can use "sign and approve" to invoke the electronic digital signature

  • How to find the structural difference between two tables

    Hi all, How to find the structural difference between two tables . Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production PL/SQL Release 11.1.0.7.0 - Production CORE 11.1.0.7.0 Production TNS for 32-bit Windows: Version 11.1.0.7.0 - P

  • Oracle Apps and HTML DB Integration Problems

    Hi, I have integrated Oracle Apps and HTML DB, using custom authentication schema so that HTML DB looks for APPS username and password for validation. Also, i have created menu, responsiblity, functions, custom application etc, so that user can login

  • XML node variable

    HI I'm trying to access RootNode in the code from anywhere in the timeline. I assigned a value in the loadFile function but when I try to access it from outside this function I get "undefined". How can I have this easily accessible from anywhere in t