Status Record - Inbound

Hi,
I am using a custom FM that accepts Delevry02 idoc which is just being used as a place holder.
I am updating me22 and va02 transaction after certain logic.
When i checked the status of idoc, it is set to 50(idoc added).
As it is a test idoc, do i need to set any more thing or to change the status manually.
1. How do i know whether the FM is successful or not?
2. It is giving one syntax error called e1edl22 not a part of delevry extn though there are no data in it.
3. Please note that i am doing manual testing using we19.
Advise me to complete my inbound idoc. ASAP
Thanks in advance, Points will be awarded for everyone who gives valid tips.

Hi Krishnan,
Check these links. They might help you.
http://help.sap.com/saphelp_bw31/helpdata/en/dc/6b838d43d711d1893e0000e8323c4f/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
Dont forget to give pts if it helps ;>)
Regards,
Rakesh.

Similar Messages

  • IDOC inbound ....Status record !

    IDOC_STATUS-MSGID = 'YM'.
    What is the above variable means ?
    Where from i will be able to know what is the MSGID of my  IDOC  which i have created ...using we31 ,we30 ,we81, we82.

    Hi Friend,
    Go to transaction WE02 and execute with IDOC number.
    Doubel click IDCO number on list, expand the status records.
    Double click on any status number, in STS DETAILS table you will get the message ID.
    Hope it will solbe the probelm.
    Regards
    Krishnendu

  • Question on the status record of Idocs.

    Hi all,
    Where does the status of the idoc update::
    1) In the idoc in the sap system/Idoc Archive
    OR
    2)The one we transfer to the OS as a flat file (for the translators(EDI subsystem) to work on)?
    OR
    both of the above?
    Thanks,
    Charles.

    Hi,
    Whenever the IDOC is generated there are one to many status record updated to idoc depending on it is inbound / outbound and various process / system is goes through.
    Check transaction <b>WE47</b> to see all IDOC related status.
    This is the range of status for IDOC.
    OUTBOUND Idoc - Status between 1 to 49
    INBOUND Idoc  - Status between 50 to 74
    Also you can check the View <b>V_STACUST</b>. If you want to check status(s) of any idoc check table EDIDS.
    Regarding two scenario you are talking about.
    1. In the idoc in the sap system/Idoc Archive.
    - When IDOC is generated, it get status record
    - When you archive already created IDOC, the neither the status records are updated / changed or new status record are created
    2. The one we transfer to the OS as a flat file (for the translators(EDI subsystem) to work on)?
    - If you mean that you are sending IDOC to fine port then yes in that case also IDOC has status records.
    Can you explain your second question in more detail?
    Let me know if you have any other question.
    Regards,
    RS

  • Inbund IDOC error: Status records with status 51 after status 53

    Hi all,
    I'm looking to resolve an issue related to posting an inbound IDOC. when I process inbound IDOC created from report prg I'm getting a status message: "Status records with status 51 after 53" .
    Functionality: I'm creating an IDOC from flat file and processing it to post Customer master data into SAP. During this process creation of IDOC is successful but when I'm changing the existing data record (customer master data) IDOC is throwing this error.
    Changing data: For changing existing data I'm passing KUNNR field and overwriting the remaining data. Even though the idoc status is 51 the changed data is getting posted in to SAP. Here my concern is to see IDOC status as 53.
    Regards,
    Ganesh.
    Edited by: Ganesh Sunkara on Aug 1, 2009 3:45 AM

    Hi all,
    I solved this issue by myself. There is an error in the user exit code.
    regards,
    Ganesh.

  • Some question on IDOC (Control Record/Data Record/Status Record)

    Dear all,
    I am new in this area, and would like to enquire some question on this topic.
    When I view a IDOC via WE02, each of the IDOC record will consist of Control Record/Data Record/Status Record).
    Questions:
    I notice that the data records consists of many segment (i.e. E1EDK01, etc) which are use to store application data.
    1 - My question is do I have to manually create all these segment and do a mapping to my application field one by one (i.e. that is when I want to create a brand new message type from scratch)?
    2 - If question no. 1 is Yes, how to do it, what are the transaction code to create it? can you show me the step by step.
    3 - I don't have to create the Control record and the status record for my new message type right ? because those field value will automatically pull out from partner profile and system status message, am I correct?
    Thanks.
    Tuff

    Hi Tuff,
    As everything in SAP, with IDOCs too there are
    1) Standard IDOCs
    2) Standard IDOCs(Extending - Enhancement to an IDOC, to accomodate for custom values)
    3) Custom IDOCs
    And every IDOC has,
    Control record - EDIDC Structure - This mostly reflects the partner profile information, along with few more details which are used for IDOC extension, Sequencing etc
    Data Records - EDID4 Structure - These records contain the actual business data of the document in concern. So for ORDERS05 it would contain order details, INVOIC02 - Invoice details so on...
    Status Records - These records capture the status of an IDOC from the time it is received/sent from your system and a corresponding business document is created/changed. So this will have messages like "IDOC sent to the port OK" etc which are status from the communication layer(ALE) to application specific messages like "Sales Order XXX created" or "Invalid Material" etc.
    You would have noticed something called as Process code in the partner profile, this is associated with a FM(or work flow task etc) which has the business logic coded in.
    So in case of an Inbound IDOC, the sending system updates the IDOC - Control and Data records, and sends it to the receiving system. On the receiving system the IDOC's control record is validated against the partner profiles set, if an entry is found then using the process code it finds the associated FM which will decode the data from the IDOC data records as per the IDOC type and then use it to post data into SAP (VIA BDC, Batch Input, BAPI etc).
    And all this while the Status records are being updated accordingly.
    So with the above context will try to answer your questions,
    1 - My question is do I have to manually create all these segment and do a mapping to my application field one by one (i.e. that is when I want to create a brand new message type from scratch)?
    In case of a custom IDOC, yes you will have  to.
    In case of a standard IDOC, you wouldn't have you just have set up the necessary configuration (Partner Profile, Process code etc)
    In case of a standard IDOC extended to accommodate for some custom values(for which there are no fields in standard IDOC - Let us say you have added some new fields on VA01) - In this case you can still use the standard Process code and Standard FM associated with it, SAP provides several Function exits in these FM's which you can leverage to add your custom logic.
    2 - If question no. 1 is Yes, how to do it, what are the transaction code to create it? can you show me the step by step.
    There are several documents available on the net and on SDN detailing step by step approach for all the above three cases,
    just search for step by step guide for IDOCS - sap.
    3 - I don't have to create the Control record and the status record for my new message type right ? because those field value will automatically pull out from partner profile and system status message, am I correct?
    Again it depends, in case of using a standard IDOC you wouldn't have to. But in case you have some customizations/enhancements then you might have to.
    For Ex: updating the control record accordingly for indicating that you have extended the standard IDOC. Or append custom messages to the status record as per the business logic.
    Try out the examples you find on the net and post any specific questions you might have.
    Regards,
    Chen

  • Status record in Idocs.

    Hi SDNites,
    I wanted to know that the Idoc contains three components... Control record, Data Record and Status record. Which table contains all the status records like 54,53,03. What I mean to say is the table EDIDS gives the status of the particular Idoc with Idco number being the key field but where will i find as to which status stands for what? Like 53 stands for success. How do I find this out??? Kindly help.
    Thanks & Regards,
    Nehal.

    hi,
    an IDoc is assigned a two digit status for monitoring of the process.
    as you have already mentioned table EDIDS maintains the status records.
    status for outbound IDocs are btw '01' and '49' and for inbound IDocs '50' onwards.
    to find out what each status msg means you have to go into customization.
    goto tran. spro.
    sap netweaver->application server ->IDoc Interface/Application Link Enabling->System Monitoring->Set IDoc Status Display
    here you can find the text for all the status.
    hope this helps,
    cheers,
    Rakesh..

  • Status 51:No status record was passed to ALE by the application

    Hi All,
    my scenario is file->XI->IDOC.
    data is reaching r/3 system, but i see below error in WE02
    status 51: Application document not posted
    No status record was passed to ALE by the application
    registering the function module, linking FM with basic type with direction equal to 2, assigning FM to process code and inbound parameters of partner profiles are configured well.
    Plz let me know if i missed any steps.
    Thanks,
    Goutham

    use similar thread
    Inbound IDOC
    In WE19, Give the IDOC number & execute ... then put the cursor on the idoc control record . then click on the Standard Inbound push button on the application tool bar.it will show show all the details like partner no,type , message type , process code & function module name ...
    now put a break point in the function module .. & debug .
    if u r using customised inbound function module , then click on inbound function module .. there u will get a pop screen with FM name & debugging option in both background & foreground mode...
    Edited by: Dharamveer Gaur on Sep 19, 2008 2:17 PM

  • No status record was passed to ALE by the application

    Hi Experts,
    My requirement is something like this: The middleware (XI) is triggering an IDOC which is Inbound to SAP-ECC. This IDOC is used for posting of Financial documents (Invoice and Credit memos).
    I am processing the IDOC by writing a FM. Inside the FM I am reading data from IDOC and using a BAPI to post the documents. Then I am updating the status of the IDOC based on successful or unsuccessful posting.
    Issue: When XI triggers the IDOC, the IDOC is resulting in status "No status record was passed to ALE by the application". This is not the status that I am populating inside my FM. This means that the control is not entering the FM at all (please correct if I am wrong).
    My findings: When I re-process the same IDOC which resulted in error previously using WE19, the control goes inside my FM (obviously as I give my FM name in WE19 ) and the status gets populated according to my code.
    Problem that I am facing is only when I am trying to do an Intergration testing.
    I have searched SDN for same issue and found out that I need to clear/refresh all the necessary variables. I am doing that (and double checked it too).
    Please help me with this problem as I am running out of ways to find the solution (and time also ).
    Many thanks,
    Daljeet.

    Hi Daljeet,
    Please check SM58 logs.
    Thanks,
    Best regards,
    Prashant

  • IDocStatus Application document not posted, No status record passed to ALE

    Hi,
    I am sending CREMAS04 IDOC to receiver system.The receiver system should create vendor entry in master table by using IDOC data.
    IDOC is getting posted successfully in R/3,but while calling inbound function module i.e process code CRE1 I am getting following status records :
    51 Application document not posted
    No status record was passed to ALE by application.
    62 IDOC passed to application
    Direct call started.
    64 IDOC ready to be transfered to application
    No filters , No conversion , No version change .
    50 IDoc added
    Please help me to resolve this problem.

    Shweta,
    The IDOC has been posted by XI to the R3 system.  It is the funtional module that is not able to handle the IDOC and only your Functional Team can tell you why the IDOC is not being processed properly by the R3 system.
    It can be because of multiple reasons including invalid data, etc . For instance we once faced an issue once when the User ID used to post the IDOC did not have the authorizations to do financial manipulations and it was our functional team that was able to pin point the reason to us.
    Regards,
    Bhavesh

  • Application failed to return status record to ALE layer after Idoc procesed

    Hi,
    I am loading a full load to Product category (hierarchies) through process chain.
    One of the load failed with the following error. The Idoc has status 51 in BW.
    Can some suggest me the process for correcting this.
    Thanks
    No status record was passed to ALE by the application
    Message no. B1358
    Diagnosis
    The application failed to return a status record to the ALE layer after the IDoc was processed.
    This is due to an error in the application function module which processed the inbound IDoc.
    Procedure
    If you wrote the application function module yourself, you need to change the program.
    If the function module in question is a standard application function module, you should consult SAP.

    Hi
    If this is standard code then you will have to write code to populate the status message in exit. But in case of custom code, the above mentioned solution is best (if coding logic is correct). I have given this solution to many queries and all worked.
    Thanks
    Anuraag

  • Idoc status record

    hi,
      How idoc status records are filled when it comes to inbound side ?
    Ganesh

    Hi,
    Please try to test using this FM to check whether your ALE distribution model has been setup correctly or not for the message type.
    ALE_MODEL_INFO_GET
    ALE_MODEL_AUTH_INFO_GET
    If not, yo need to maintain distribution model (t/code BD64).
    <b>Reward points</b>
    Regards

  • Re STATUS Record-HR

    Hi,
    I have created FM for Hiring Action(HR) using BDC session,
    Inbound Process
    When i am trying to pass the FM to IDOC it is giving me Status Record 51 which specifies 'No status record was passed to ALE by the application',
    What exactly i have to do in my FM for this error,
    Can u reply with Code.
    Thanks
    Abhay

    Hi,
    using transaction PA40 in batch-input always causes problems, so maybe u can try to do it using PA30.
    Regards,

  • Can IDocs Hold only status records?

    Hello,
    Can IDOCS (inbound/outbound) hold only status records ? If yes, then pls give details.
    Many Thanks,
    Kishan

    I understand the question like...
    1.You recieve an Inbound Idoc in to the system.
    2.Now, you need to send the status value of the above inbound Idoc to the middleware system(biztalk)
    3.You can create custom Idoc with the segment having field as Status values and send it as outbound Idoc to the target system
    (OR)
    4.Run the stadard program which I have metioned above and you will get a ALEAUD Idoc generated automatically and it will be sent to the destination based on the partner profile assignment that you have done in WE20.
    5. For partner profile assignment, go to we20 select the target logical system and add the ALEAUD message type as outbound Idoc
    Hope everything is clear. You can get all the above details by giving a search in ABAP Data transfers section in SDN.
    Thanq

  • Idocs status records!!!

    Hi,
    We have a requirement in which the status records need to be added in the inbound Idoc.
    In the present scenario, Idoc status records are being created like : status 52 Inbound delivery/deliveries are created(no's are 000001 to 000005). This is current scenario.
    Requirement is like :
    we need to have the number of status records depends on Inbound deliveries created.
    For ex : If two inbound deliveries gets created in an Inbound Idoc, then In Idoc status records should be like :
    Status 52 Inbound delivery created ( no 0000001 to 0000001)
    Status 52 Inbound delivery created ( no 0000002 to 0000002)
    Status 52 Inbound delivery created ( no 0000003 to 0000003).
    and so on.......
    Please let us know how can we acheive the above scenario?
    Thanks in advance.
    Ramesh.

    The inputs to the IDoc processing function are:
    *"*"Local interface:
    *"  IMPORTING
    *"     REFERENCE(INPUT_METHOD) TYPE  BDWFAP_PAR-INPUTMETHD
    *"     REFERENCE(MASS_PROCESSING) TYPE  BDWFAP_PAR-MASS_PROC
    *"  EXPORTING
    *"     VALUE(WORKFLOW_RESULT) LIKE  BDWFAP_PAR-RESULT
    *"     VALUE(APPLICATION_VARIABLE) LIKE  BDWFAP_PAR-APPL_VAR
    *"     VALUE(IN_UPDATE_TASK) LIKE  BDWFAP_PAR-UPDATETASK
    *"     VALUE(CALL_TRANSACTION_DONE) LIKE  BDWFAP_PAR-CALLTRANS
    *"  TABLES
    *"      IDOC_DATA STRUCTURE  EDIDD
    *"      IDOC_CONTRL STRUCTURE  EDIDC
    *"      *IDOC_STATUS STRUCTURE  BDIDOCSTAT*
    *"      RETURN_VARIABLES STRUCTURE  BDWFRETVAR
    *"      SERIALIZATION_INFO STRUCTURE  BDI_SER
    *"  EXCEPTIONS
    *"      WRONG_FUNCTION_CALLED
    The status records are returned from the processing function via the parameter IDOC_STATUS which is an internal table so you can append multiple entries to it.
    The only restriction is that all records must have the same status code (ex. all must be 51 is there is an error, or all must be 53 if there are no errors).  An IDoc processing function executes as a single DB transaction so it is all or nothing.
    ~Ian

  • Error while updating the status record of IDOC in SAP

    Hi All,
    I am facing this problem. I have done outbound processing and IDOC was sent successfully from SAP to EDI system and it was processed in EDI and now EDI system wants to send the status back to SAP with a status message and the status number that we are using is '24' and we have mapped all the fields in the status table EDIDS and made sure that EDI system sends all those and I think Counter field can not be determined by EDI system so EDI system used the counter '1' since it can not determine how many counters are already there in SAP and unless we pass the value to this counter field we were getting the error. After passing all the values the status of the IDOC is updated with the status '00' instead of '24' and we do not know why it is happened and I would like to know how SAP converts the status record that is received from the EDI system.
    Please let me know how the status record will be translated into SAP from EDI system and I ahve followed basically EDIDS structure and the IDOC status is updating in SAP but with wrong status number and the alignemnt also missing in SAP fields like if I give some text in the EDI it is splitting and storing in 2 fields.
    Please help me in this and I think I have explained the problem in a detail manner.
    Thanks,
    Ramesh.

    Hi Naresh,
    Thanks for the reply and my question is since EDI system is able to send the status back to SAP from EDI system and only problem is it is updatinf the status wrong and I have checked the EDIDS table also and the entry is creating with another counter and please confirm me that it is because of EDI does not support the status record update so that I can confirm to the client that there is nothing wrong in the way SAP functions and EDI system can not update the status code in the SAP.
    Thanks,
    Ramesh.

Maybe you are looking for

  • Returning a BLOB via BPM.

    I have a situation where using an attachment will not work - because of the sensitivity of the item being stored. It has to be made available to a subset of participants within the process instance. I can use ScreenFlow mapped to a JSP to upload the

  • To Create a work wook

    HI I have 3 queries  and want to open 3 queries in different sheet at one selection. and save them in as a work book can some please tell me the steps for this . thanks

  • Trim media limit reached

    Hello, I have just installed adobe premiere cs 6....and now i have some trouble with videos transitions----->cross disolve. Normally is not a problem, but when I drag and drop the videos transitions, I can't drag the transitions longer in the sequenc

  • Browse by Album Doesn't Show All Albums

    I noticed on both my 3GS, and on an old 5th Generation iPod, that if you browse by Album on the device, not all Albums appear in the list. But if you browse by Artist, the Album is available. For example, if I browse by Album for OK Computer, it isn'

  • I play anything in iTunes. Where is my library?

    I just got my new ipad 2, and I uploaded itunes as I was compelled to do. I downloaded some podcasts using iTunes, but now I can't see how to play them on the ipad. When I click iTunes, all I get is the iTunes store. So I can BUY anything I want, but